@charset "UTF-8";

:root {
  --space-deep: #060b18;
  --space-mid: #0d1833;
  --space-soft: #16264d;
  --space-mist: #3c558f;
  --paper: #f8f5ef;
  --paper-soft: rgba(248, 245, 239, 0.78);
  --paper-faint: rgba(248, 245, 239, 0.55);
  --mint: #dbe9db;
  --gold: #ebc767;
  --line: rgba(248, 245, 239, 0.14);
  --content-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--space-deep);
  color-scheme: dark;
}

body {
  width: 100%;
  min-height: 100%;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(81, 111, 190, 0.18), transparent 22%),
    radial-gradient(circle at 80% 16%, rgba(241, 206, 112, 0.07), transparent 14%),
    radial-gradient(circle at 52% 70%, rgba(73, 102, 181, 0.12), transparent 24%),
    linear-gradient(180deg, #0a1328 0%, #081121 22%, #060d1b 58%, #040912 100%);
  color: var(--paper);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.space-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.nebula {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.34;
  animation: nebulaFloat 18s ease-in-out infinite;
}

.nebula-1 {
  width: 220px;
  height: 220px;
  top: 8%;
  left: -30px;
  background: radial-gradient(circle, rgba(98, 125, 201, 0.24), transparent 70%);
}

.nebula-2 {
  width: 260px;
  height: 260px;
  top: 54%;
  right: -60px;
  background: radial-gradient(circle, rgba(78, 103, 177, 0.18), transparent 70%);
  animation-delay: 4s;
}

.nebula-3 {
  width: 240px;
  height: 240px;
  bottom: 4%;
  left: 20%;
  background: radial-gradient(circle, rgba(88, 73, 162, 0.14), transparent 72%);
  animation-delay: 8s;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 249, 236, 0.95);
  box-shadow: 0 0 12px rgba(255, 249, 236, 0.4);
  animation: twinkle 4.4s ease-in-out infinite;
}

.star::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  filter: blur(4px);
}

.star-1 { top: 8%; left: 18%; width: 3px; height: 3px; }
.star-2 { top: 16%; left: 72%; width: 4px; height: 4px; animation-delay: 1.1s; }
.star-3 { top: 24%; left: 42%; width: 2px; height: 2px; animation-delay: 2.8s; }
.star-4 { top: 34%; left: 84%; width: 3px; height: 3px; animation-delay: 0.7s; }
.star-5 { top: 44%; left: 14%; width: 4px; height: 4px; animation-delay: 3.2s; }
.star-6 { top: 52%; left: 61%; width: 2px; height: 2px; animation-delay: 1.8s; }
.star-7 { top: 66%; left: 28%; width: 3px; height: 3px; animation-delay: 2.2s; }
.star-8 { top: 74%; left: 80%; width: 4px; height: 4px; animation-delay: 0.5s; }
.star-9 { top: 82%; left: 10%; width: 2px; height: 2px; animation-delay: 2.7s; }
.star-10 { top: 88%; left: 58%; width: 3px; height: 3px; animation-delay: 1.4s; }
.star-11 { top: 12%; left: 6%; width: 2px; height: 2px; animation-delay: 3.6s; }
.star-12 { top: 60%; left: 90%; width: 2px; height: 2px; animation-delay: 2.9s; }

.home-page {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-width));
  min-height: 100svh;
  margin: 0 auto;
  padding:
    max(22px, env(safe-area-inset-top))
    clamp(18px, 5vw, 34px)
    max(18px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.brand-header {
  display: flex;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark {
  width: clamp(58px, 13vw, 76px);
  height: auto;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.14));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-name {
  font-size: clamp(0.98rem, 3vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.28em;
}

.brand-tagline {
  margin: 0;
  color: var(--paper-faint);
  font-size: clamp(0.76rem, 2.7vw, 0.86rem);
  letter-spacing: 0.04em;
}

.home-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(32px, 7vh, 72px) 0 clamp(28px, 5vh, 48px);
}

.featured-game {
  width: 100%;
  text-align: center;
}

.quiet-constellation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 26px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

.quiet-constellation span:nth-child(2) {
  color: #fff4bf;
  font-size: 1rem;
  animation: constellationPulse 3.6s ease-in-out infinite;
}

.game-label {
  margin: 0 0 14px;
  color: var(--paper-faint);
  font-size: clamp(0.68rem, 2.5vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.22em;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 9vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.mobile-break {
  display: none;
}

.game-hook {
  margin: 18px 0 0;
  color: var(--paper-soft);
  font-size: clamp(1rem, 3.6vw, 1.15rem);
  letter-spacing: -0.025em;
}

.start-button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 168px;
  min-height: 58px;
  margin-top: 34px;
  padding: 15px 28px;
  overflow: visible;
  border: 1px solid rgba(248, 245, 239, 0.82);
  border-radius: 999px;
  background: rgba(248, 245, 239, 0.95);
  backdrop-filter: blur(10px);
  box-shadow:
    0 12px 30px rgba(4, 9, 25, 0.22),
    0 0 0 0 rgba(255, 255, 255, 0.14);
  color: #16233d;
  font-size: clamp(1rem, 3.8vw, 1.08rem);
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.start-button:hover,
.start-button:focus-visible {
  transform: translateY(-2px);
  background: #fffdf7;
  box-shadow:
    0 18px 38px rgba(7, 16, 40, 0.24),
    0 0 0 10px rgba(255, 255, 255, 0.08);
}

.start-button:active {
  transform: translateY(1px) scale(0.985);
}

.start-button:focus-visible {
  outline: 3px solid rgba(255,255,255,0.75);
  outline-offset: 5px;
}

.button-whisper {
  position: absolute;
  top: -23px;
  right: -10px;
  color: rgba(248, 245, 239, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px) rotate(4deg);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.start-button:hover .button-whisper,
.start-button:focus-visible .button-whisper {
  opacity: 1;
  transform: translateY(0) rotate(4deg);
}

.game-meta {
  margin: 16px 0 0;
  color: rgba(248,245,239,0.72);
  font-size: clamp(0.74rem, 2.7vw, 0.84rem);
  letter-spacing: -0.01em;
}

.next-game-status {
  width: min(100%, 480px);
  margin: 0 auto;
  padding-top: 10px;
  text-align: center;
}

.cat-orbit {
  position: relative;
  width: 100%;
  height: 46px;
  margin-bottom: 9px;
  overflow: hidden;
}

.orbit-line {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(248, 245, 239, 0.14) 18%,
      rgba(248, 245, 239, 0.24) 50%,
      rgba(248, 245, 239, 0.14) 82%,
      transparent
    );
}

.reviewing-cat {
  position: absolute;
  left: 7%;
  bottom: 0;
  display: inline-flex;
  align-items: flex-start;
  transform-origin: center bottom;
  animation: catReviewing 11s ease-in-out infinite;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.18));
}

.reviewing-cat-image {
  width: clamp(18px, 4.25vw, 25px);
  height: auto;
  object-fit: contain;
  background: transparent;
}

.cat-glass {
  position: absolute;
  top: 8px;
  right: 2px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: clamp(1rem, 4vw, 1.28rem);
  transform: rotate(-18deg);
  animation: glassCheck 2.4s ease-in-out infinite;
}

.orbit-star {
  position: absolute;
  color: rgba(255, 248, 227, 0.8);
  animation: starBlink 3.2s ease-in-out infinite;
}

.star-one {
  top: 10px;
  left: 24%;
  font-size: 13px;
}

.star-two {
  top: 38px;
  left: 56%;
  font-size: 18px;
  animation-delay: 0.8s;
}

.star-three {
  top: 14px;
  right: 13%;
  font-size: 12px;
  animation-delay: 1.6s;
}

.status-title {
  margin: 0;
  color: rgba(248, 245, 239, 0.84);
  font-size: clamp(0.86rem, 3.3vw, 1rem);
  font-weight: 670;
  letter-spacing: -0.025em;
}

.status-subtitle {
  margin: 7px 0 0;
  color: rgba(248, 245, 239, 0.60);
  font-size: clamp(0.74rem, 2.9vw, 0.86rem);
  line-height: 1.5;
}

.loading-dots::after {
  content: "";
  display: inline-block;
  width: 1.45em;
  text-align: left;
  animation: loadingDots 2.2s steps(4, end) infinite;
}

@keyframes nebulaFloat {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(8px,-10px,0) scale(1.04); }
}

@keyframes twinkle {
  0%,100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes constellationPulse {
  0%,100% { opacity: 0.42; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes catReviewing {
  0% { left: 7%; transform: translateY(0) scaleX(1); }
  16% { transform: translateY(-2px) scaleX(1); }
  40% { left: 68%; transform: translateY(0) scaleX(1); }
  48% { left: 68%; transform: translateY(-3px) scaleX(1); }
  54% { left: 68%; transform: translateY(0) scaleX(-1); }
  78% { transform: translateY(-1px) scaleX(-1); }
  94% { left: 7%; transform: translateY(-2px) scaleX(-1); }
  100% { left: 7%; transform: translateY(0) scaleX(1); }
}

@keyframes glassCheck {
  0%,100% { transform: translate(0,0) rotate(-18deg); }
  50% { transform: translate(2px,-2px) rotate(-10deg); }
}

@keyframes starBlink {
  0%,100% { opacity: 0.28; transform: scale(0.84); }
  50% { opacity: 1; transform: scale(1.14); }
}

@keyframes loadingDots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75%,100% { content: "..."; }
}

@media (max-width: 460px) {
  .home-page {
    padding-inline: 18px;
  }

  .brand {
    gap: 12px;
    align-items: center;
  }

  .brand-mark {
    width: 54px;
  }

  .home-main {
    padding-top: 30px;
    padding-bottom: 22px;
  }

  .mobile-break {
    display: initial;
  }

  .cat-orbit {
    height: 42px;
  }

  .reviewing-cat-image {
    width: 22px;
  }

  .brand-name {
    letter-spacing: 0.20em;
  }
}

@media (max-height: 700px) {
  .home-main {
    padding-top: 24px;
    padding-bottom: 18px;
  }

  .quiet-constellation {
    margin-bottom: 12px;
  }

  .start-button {
    margin-top: 26px;
  }

  .cat-orbit {
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reviewing-cat {
    left: 50%;
    transform: translateX(-50%);
  }

  .loading-dots::after {
    content: "...";
  }
}


/* 엄갱딸기 엄마의 우주 순찰 */
.patrol-badge {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(248, 245, 239, 0.13);
  border-radius: 999px;
  background: rgba(5, 10, 22, 0.34);
  backdrop-filter: blur(9px);
  color: rgba(248, 245, 239, 0.52);
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  pointer-events: none;
}

.patrol-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef796c;
  box-shadow: 0 0 10px rgba(239, 121, 108, 0.48);
  animation: patrol-dot 1.9s ease-in-out infinite;
}

.patrol-event {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(6px, env(safe-area-inset-bottom));
  z-index: 20;
  width: min(94vw, 360px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(115%);
  pointer-events: none;
}

.patrol-event.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    transform 430ms cubic-bezier(.16, .86, .22, 1),
    opacity 250ms ease;
}

.patrol-event.is-leaving {
  opacity: 0;
  transform: translateY(118%);
  transition:
    transform 360ms ease,
    opacity 220ms ease;
}

.patrol-whistle {
  margin-right: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 231, 165, 0.2);
  background: rgba(255, 231, 165, 0.08);
  color: #ffe7a5;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  animation: patrol-whistle-pop 620ms ease both;
}

.patrol-bubble {
  position: relative;
  width: min(100%, 318px);
  margin-right: 12px;
  padding: 14px 16px;
  border-radius: 20px 20px 7px 20px;
  background: rgba(248, 245, 239, 0.97);
  color: #17213a;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.patrol-bubble::after {
  content: "";
  position: absolute;
  right: 25px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  background: rgba(248, 245, 239, 0.97);
  transform: rotate(45deg);
}

.patrol-line {
  margin: 0;
  min-height: 2.7em;
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.patrol-actions {
  display: flex;
  gap: 9px;
  margin-right: 16px;
}

.patrol-action {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(248, 245, 239, 0.24);
  border-radius: 999px;
  background: rgba(8, 16, 33, 0.9);
  color: #f8f5ef;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.patrol-action:hover,
.patrol-action:focus-visible {
  transform: translateY(-1px);
  background: rgba(18, 31, 58, 0.96);
}

.patrol-action:focus-visible,
.patrol-mom-button:focus-visible {
  outline: 3px solid rgba(255,255,255,0.34);
  outline-offset: 3px;
}

.patrol-mom-button {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.patrol-mom-image {
  display: block;
  width: clamp(150px, 41vw, 205px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.22));
  transform-origin: center bottom;
}

.patrol-event.is-visible .patrol-mom-image {
  animation:
    patrol-arrive 440ms cubic-bezier(.16, .86, .22, 1) both,
    patrol-scan 2.6s ease-in-out 520ms 1;
}

.patrol-mom-button.is-scolding .patrol-mom-image {
  animation: patrol-scold 380ms ease 2;
}

@keyframes patrol-dot {
  0%, 100% { opacity: 0.34; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes patrol-whistle-pop {
  from { opacity: 0; transform: translateY(7px) scale(0.82); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes patrol-arrive {
  from { transform: translateY(48px) scale(0.95); }
  to { transform: translateY(0) scale(1); }
}

@keyframes patrol-scan {
  0% { transform: translateX(0) rotate(0deg); }
  22% { transform: translateX(-5px) rotate(-1.8deg); }
  48% { transform: translateX(6px) rotate(1.4deg); }
  74% { transform: translateX(-2px) rotate(-0.6deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

@keyframes patrol-scold {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-7px) rotate(-1.5deg); }
  70% { transform: translateX(5px) rotate(1deg); }
}

@media (max-width: 520px) {
  .patrol-event {
    right: 8px;
    width: min(95vw, 338px);
  }

  .patrol-bubble {
    width: min(100%, 180px);
    margin-right: 0;
    padding: 10px 11px;
  }

  .patrol-actions {
    width: 100%;
    justify-content: flex-end;
    margin-right: 0;
  }

  .patrol-mom-image {
    width: 160px;
  }

  .patrol-badge {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .patrol-dot,
  .patrol-event.is-visible .patrol-mom-image,
  .patrol-mom-button.is-scolding .patrol-mom-image,
  .patrol-whistle {
    animation: none !important;
  }
}


.brand-text-only {
  justify-content: center;
  text-align: center;
}

.brand-text-only .brand-copy {
  align-items: center;
}


/* v12 patrol redesign */
.patrol-event {
  width: min(90vw, 250px);
  gap: 6px;
}
.patrol-whistle {
  margin-right: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 216, 120, 0.06);
  border: 1px solid rgba(255, 216, 120, 0.32);
  color: #ffe397;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: none;
}
.patrol-bubble {
  position: relative;
  width: min(100%, 185px) !important;
  margin-right: 2px;
  padding: 10px 12px !important;
  border: 1.5px solid rgba(255, 216, 120, 0.78) !important;
  border-radius: 16px 16px 6px 16px !important;
  background: transparent !important;
  color: #ffd86f !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.patrol-bubble::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -7px;
  width: 11px;
  height: 11px;
  background: transparent !important;
  border-right: 1.5px solid rgba(255, 216, 120, 0.78);
  border-bottom: 1.5px solid rgba(255, 216, 120, 0.78);
  transform: rotate(45deg);
  border-radius: 0;
}
.patrol-line {
  min-height: 2.1em !important;
  color: #ffd86f !important;
  font-size: 0.8rem !important;
  font-weight: 700;
  line-height: 1.4;
}
.patrol-actions {
  gap: 8px !important;
  margin-right: 0 !important;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.patrol-action {
  min-height: 34px !important;
  padding: 7px 12px !important;
  border: 1px solid rgba(255, 216, 120, 0.76) !important;
  border-radius: 999px;
  background: rgba(255, 216, 120, 0.06) !important;
  color: #ffe29a !important;
  font-size: 0.78rem !important;
  font-weight: 750 !important;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}
.patrol-action:hover,
.patrol-action:focus-visible {
  background: rgba(255, 216, 120, 0.14) !important;
  border-color: rgba(255, 216, 120, 0.98) !important;
  color: #fff0bf !important;
  transform: translateY(-1px);
}
.patrol-mom-image {
  width: clamp(24px, 6vw, 30px) !important;
  height: auto;
}
.patrol-mom-button::before {
  inset: 18% 18% 5%;
  filter: blur(10px);
}
@media (max-width: 520px) {
  .patrol-event {
    width: min(92vw, 235px);
    gap: 5px;
  }
  .patrol-bubble {
    width: min(100%, 174px) !important;
    padding: 9px 10px !important;
  }
  .patrol-line {
    font-size: 0.76rem !important;
  }
  .patrol-action {
    min-height: 32px !important;
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
  }
  .patrol-mom-image {
    width: 26px !important;
  }
}


/* v13: larger patrol mom */
.patrol-mom-image {
  width: clamp(88px, 22vw, 118px) !important;
  height: auto;
}

@media (max-width: 520px) {
  .patrol-mom-image {
    width: 96px !important;
  }
}


/* v21: two-experiment home */
:root {
  --content-width: 1040px;
}

.home-page {
  width: min(100%, var(--content-width));
}

.home-main-games {
  display: block;
  padding: clamp(34px, 6vh, 66px) 0 clamp(34px, 6vh, 62px);
}

.game-lab {
  width: 100%;
  text-align: center;
}

.game-selection-label {
  margin: 0 0 12px;
  color: rgba(248, 245, 239, 0.46);
  font-size: clamp(0.64rem, 1.8vw, 0.72rem);
  font-weight: 760;
  letter-spacing: 0.23em;
}

.game-lab h1 {
  margin: 0;
  font-size: clamp(2rem, 6.2vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.game-selection-copy {
  margin: 14px 0 0;
  color: rgba(248, 245, 239, 0.62);
  font-size: clamp(0.9rem, 2.8vw, 1.02rem);
}

.game-grid {
  width: 100%;
  margin-top: clamp(28px, 5vw, 44px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.6vw, 24px);
  text-align: left;
}

.game-card {
  position: relative;
  min-height: 390px;
  padding: clamp(22px, 3.8vw, 34px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(248, 245, 239, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 12%, rgba(92, 121, 196, 0.16), transparent 32%),
    rgba(8, 16, 34, 0.48);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.15);
  isolation: isolate;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 120, 194, 0.12), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.game-card-new {
  border-color: rgba(235, 199, 103, 0.32);
  background:
    radial-gradient(circle at 82% 12%, rgba(235, 199, 103, 0.12), transparent 31%),
    radial-gradient(circle at 14% 82%, rgba(79, 109, 187, 0.12), transparent 36%),
    rgba(8, 16, 34, 0.56);
}

.game-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(248, 245, 239, 0.42);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.game-state {
  text-align: right;
}

.game-state strong {
  margin-right: 6px;
  padding: 3px 6px;
  border: 1px solid rgba(235, 199, 103, 0.44);
  border-radius: 999px;
  color: #f4d98f;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.game-card-symbol {
  width: 50px;
  height: 50px;
  margin-top: clamp(32px, 5vw, 48px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(248, 245, 239, 0.16);
  border-radius: 17px;
  color: rgba(248, 245, 239, 0.74);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  background: rgba(248, 245, 239, 0.04);
}

.game-card-new .game-card-symbol {
  border-color: rgba(235, 199, 103, 0.34);
  color: #f4d98f;
}

.game-card h2 {
  margin: 19px 0 0;
  font-size: clamp(1.72rem, 4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.052em;
}

.game-card-hook {
  min-height: 3em;
  margin: 14px 0 0;
  color: rgba(248, 245, 239, 0.76);
  font-size: clamp(0.9rem, 2.4vw, 1rem);
  line-height: 1.5;
  letter-spacing: -0.022em;
}

.game-card-meta {
  margin: 12px 0 0;
  color: rgba(248, 245, 239, 0.42);
  font-size: 0.73rem;
}

.game-card-button {
  width: fit-content;
  min-height: 48px;
  margin-top: auto;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(248, 245, 239, 0.28);
  border-radius: 999px;
  background: rgba(248, 245, 239, 0.06);
  color: rgba(248, 245, 239, 0.9);
  font-size: 0.84rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease;
}

.game-card-new .game-card-button {
  border-color: rgba(235, 199, 103, 0.54);
  background: rgba(235, 199, 103, 0.1);
  color: #f6df9b;
}

.game-card-button:hover,
.game-card-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(248, 245, 239, 0.72);
  background: rgba(248, 245, 239, 0.12);
}

.game-card-button:focus-visible {
  outline: 3px solid rgba(235, 199, 103, 0.38);
  outline-offset: 4px;
}

.next-game-status {
  padding-bottom: 4px;
}

@media (max-width: 720px) {
  :root {
    --content-width: 620px;
  }

  .home-main-games {
    padding-top: 34px;
  }

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

  .game-card {
    min-height: 330px;
    border-radius: 25px;
  }

  .game-card-symbol {
    margin-top: 30px;
  }
}

@media (max-width: 460px) {
  .game-lab h1 {
    font-size: clamp(1.9rem, 9.4vw, 2.55rem);
  }

  .game-selection-copy {
    font-size: 0.87rem;
  }

  .game-card {
    min-height: 315px;
    padding: 21px 20px;
  }

  .game-card h2 {
    font-size: 1.9rem;
  }

  .game-card-hook {
    min-height: auto;
  }
}


/* v23: clearer spacing between experiment symbol and title */
.game-card h2 {
  margin-top: 30px;
}

@media (max-width: 720px) {
  .game-card h2 {
    margin-top: 27px;
  }
}

@media (max-width: 460px) {
  .game-card h2 {
    margin-top: 25px;
  }
}

/* v25: visibly lower and separate the experiment buttons */
.game-card {
  min-height: 430px;
  padding-bottom: clamp(24px, 2.6vw, 32px);
}

.game-card-footer {
  margin-top: auto;
  padding-top: clamp(34px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.game-card-footer .game-card-meta {
  margin: 0;
}

.game-card-footer .game-card-button {
  margin: 20px 0 0;
}

@media (max-width: 720px) {
  .game-card {
    min-height: 380px;
    padding-bottom: 24px;
  }

  .game-card-footer {
    padding-top: 30px;
  }

  .game-card-footer .game-card-button {
    margin-top: 18px;
  }
}

@media (max-width: 460px) {
  .game-card {
    min-height: 355px;
    padding-bottom: 22px;
  }

  .game-card-footer {
    padding-top: 26px;
  }

  .game-card-footer .game-card-button {
    margin-top: 17px;
  }
}
