* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
  background: radial-gradient(ellipse at top, #14203a 0%, #0a0a14 60%);
  color: #eef2ff;
  font-family: "Segoe UI", "Arial", sans-serif;
}

.dashboard {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 24px;
  gap: 28px;
}

.dashboard-header {
  text-align: center;
}

.dashboard-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #ffcc00;
  text-shadow: 0 0 20px rgba(255, 204, 0, 0.35);
  letter-spacing: 0.5px;
}

.tagline {
  margin-top: 8px;
  color: #9fb3d9;
  font-size: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 360px));
  gap: 24px;
  width: 100%;
  max-width: 800px;
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: minmax(0, 420px);
  }
}

.game-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  background: rgba(20, 30, 55, 0.75);
  border: 2px solid #2a4a6a;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 0 0 rgba(0, 160, 255, 0);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.15s;
}

.game-card:hover,
.game-card:focus-visible {
  border-color: #4fa8ff;
  box-shadow: 0 0 30px rgba(0, 160, 255, 0.35);
  transform: translateY(-2px);
}

.game-card:active {
  transform: translateY(0);
}

.card-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #7dffb0;
  background: rgba(30, 90, 60, 0.4);
  border: 1px solid rgba(125, 255, 176, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
}

.card-badge-proto {
  color: #ffb86c;
  background: rgba(90, 60, 20, 0.4);
  border-color: rgba(255, 184, 108, 0.4);
}

.card-art {
  height: 110px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-art-2d {
  background: linear-gradient(180deg, #1b3a5c 0%, #0e2138 70%, #16321f 70%, #123018 100%);
}

.card-art-3d {
  background: linear-gradient(180deg, #b9c8d6 0%, #7f96ad 60%, #587a5c 60%, #4a6b4d 100%);
}

.art-sprite {
  width: 26px;
  height: 34px;
  background: #ffcc00;
  border-radius: 6px 6px 3px 3px;
  box-shadow: 0 0 16px rgba(255, 204, 0, 0.6);
}

.art-cube {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #d8d0c0, #9a9080);
  border-radius: 6px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transform: rotate(20deg);
}

.game-card h2 {
  font-size: 1.25rem;
  color: #fff;
}

.game-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #b8c4dd;
  flex-grow: 1;
}

.play-button {
  align-self: flex-start;
  margin-top: 4px;
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffdd55, #ffaa00);
  color: #1a1400;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 0 #a06e00, 0 6px 14px rgba(0, 0, 0, 0.35);
}

.play-button-alt {
  background: linear-gradient(180deg, #7fd4ff, #2a9cf0);
  color: #001a2e;
  box-shadow: 0 4px 0 #0a5f9c, 0 6px 14px rgba(0, 0, 0, 0.35);
}

.dashboard-footer {
  text-align: center;
  color: #6f83aa;
  font-size: 0.8rem;
  max-width: 480px;
}
