* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, sans-serif;
  background: radial-gradient(circle at 10% 10%, rgba(96, 165, 250, 0.15), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(249, 115, 22, 0.18), transparent 48%),
    linear-gradient(160deg, #111827 0%, #1f3044 60%, #101b2c 100%);
  color: #f2f6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px 72px;
  position: relative;
  overflow-x: hidden;
}

.page {
  width: min(960px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  position: relative;
}

.page::before,
.page::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  z-index: -1;
}

.page::before {
  top: -160px;
  left: -120px;
  background: rgba(96, 165, 250, 0.4);
}

.page::after {
  bottom: -200px;
  right: -140px;
  background: rgba(249, 115, 22, 0.35);
}

.studio-logo-wrap {
  display: inline-flex;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.studio-logo-wrap:hover,
.studio-logo-wrap:focus-within {
  transform: translateY(-4px) rotate(-2.5deg) scale(1.02);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.4);
}

.studio-logo {
  width: min(320px, 70vw);
  height: auto;
  display: block;
  border-radius: 24px;
}

.games-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.games-section h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-card {
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(24px, 5vw, 36px);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  position: relative;
  backdrop-filter: blur(4px);
  animation: floaty 12s ease-in-out infinite;
}

.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.game-art-link {
  display: inline-block;
  width: min(560px, 100%);
  border-radius: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.game-art {
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition: transform 0.4s ease;
  display: block;
}

.game-art-link:focus-visible {
  outline: 2px solid #f2f6ff;
  outline-offset: 4px;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.4);
}

.game-art-link:hover {
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.4);
}

.game-art-link:hover .game-art {
  transform: scale(1.02);
}

.platform-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: clamp(56px, 14vw, 90px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.game-description {
  margin: 0;
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  line-height: 1.6;
  color: rgba(242, 246, 255, 0.9);
  max-width: 52ch;
}

.game-description .color-rush-color {
  color: #f97316;
  font-weight: 700;
}

.game-description .color-rush-rush {
  color: rgb(81, 201, 208);
  font-weight: 700;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 999px;
  background: #f97316;
  color: #1f3044;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.4);
}

.cta-button.disabled {
  background: rgba(148, 163, 184, 0.2);
  color: rgba(226, 232, 240, 0.85);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.cta-button:hover,
.cta-button:focus {
  background: #fb923c;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.5);
}

.cta-button:focus {
  outline: 2px solid #f2f6ff;
  outline-offset: 4px;
}

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 999px;
  background: #5865f2;
  box-shadow: 0 12px 24px rgba(88, 101, 242, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  animation: pulse-glow 5s ease-in-out infinite;
}

.discord-button:hover,
.discord-button:focus {
  background: #6d78ff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(88, 101, 242, 0.45);
}

.discord-button:focus {
  outline: 2px solid #f2f6ff;
  outline-offset: 4px;
}

.discord-button img {
  height: 1.1rem;
  width: auto;
}

.game-highlights {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px 24px;
}

.game-highlights li {
  padding: 16px 20px 18px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.6), rgba(30, 41, 59, 0.35));
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-highlights li::before {
  content: '';
  position: absolute;
  inset: -40% -30% auto auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15), transparent 65%);
  transform: rotate(35deg);
  pointer-events: none;
}

.game-highlights li:nth-child(2)::before {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 65%);
}

.game-highlights li:nth-child(3)::before {
  background: radial-gradient(circle, rgba(81, 201, 208, 0.2), transparent 65%);
}

.highlight-title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.highlight-copy {
  font-size: 0.95rem;
  color: rgba(242, 246, 255, 0.78);
}

.game-highlights li:hover,
.game-highlights li:focus-within {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.35);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 12px 24px rgba(88, 101, 242, 0.35);
  }
  50% {
    box-shadow: 0 16px 40px rgba(88, 101, 242, 0.5);
  }
}

@media (max-width: 600px) {
  body {
    padding: 32px 12px;
  }

  .game-card {
    gap: 20px;
  }

  .cta-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .game-highlights {
    grid-template-columns: 1fr;
  }
}
