/* ============================================================
   MEM BLITZ — styles.css
   ============================================================ */

/* 1. FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

/* 2. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --bg-primary:    #0a0a0f;
  --bg-secondary:  #12121a;
  --bg-tertiary:   #1a1a28;
  --text-primary:  #f0f0f0;
  --text-secondary:#888899;
  --accent-green:  #00e676;
  --accent-red:    #ff5252;
  --accent-blue:   #448aff;
  --accent-yellow: #ffd740;
  --accent-purple: #b388ff;
  --accent-pink:   #f06292;   /* Directions */
  --accent-orange: #ffa726;   /* Color-Word  */

  --gradient-hero: linear-gradient(135deg, #00e676 0%, #448aff 50%, #b388ff 100%);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 48px;
  --sp-xl: 80px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  /* Misc */
  --transition:     all 0.3s ease;
  --container-max:  1200px;
  --container-pad:  24px;
}

/* 3. RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

/* 4. BASE
   ============================================================ */
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Dot-grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

a   { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

h1 { font-size: clamp(36px, 5vw,  56px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.5vw,40px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.5vw,24px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

/* 5. UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.text-gradient {
  background: var(--gradient-hero);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientShift 5s ease infinite;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  margin-top: 12px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* 6. KEYFRAMES
   ============================================================ */
@keyframes gradientShift {
  0%, 100% { background-position: 0%   50%; }
  50%       { background-position: 100% 50%; }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,230,118,0.25); }
  50%       { box-shadow: 0 0 48px rgba(0,230,118,0.55), 0 0 90px rgba(0,230,118,0.15); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 7. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10,10,15,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  flex-shrink: 0;
  z-index: 101;
  position: relative;
}

.nav__logo:hover { color: var(--accent-green); }

.nav__toggle-input { display: none; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 102;
  position: relative;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__link {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
}

.nav__link:hover,
.nav__link--active { color: var(--text-primary); }

.nav__link--cta {
  background: var(--accent-green);
  color: #0a0a0f !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 600;
}

.nav__link--cta:hover {
  background: #1fffa0;
  box-shadow: 0 0 24px rgba(0,230,118,0.45);
  transform: translateY(-1px);
}

/* Hamburger — mobile */
@media (max-width: 768px) {
  .nav__hamburger { display: flex; }

  /* checked → X animation */
  .nav__toggle-input:checked ~ .nav__hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle-input:checked ~ .nav__hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav__toggle-input:checked ~ .nav__hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    display: none;
    z-index: 99;
  }

  .nav__toggle-input:checked ~ .nav__menu { display: flex; }

  .nav__link { font-size: 22px; }

  .nav__link--cta {
    padding: 12px 36px;
    font-size: 18px;
  }
}

/* 8. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
}

.btn--primary {
  background: var(--accent-green);
  color: #0a0a0f;
}

.btn--primary:hover {
  background: #1fffa0;
  box-shadow: 0 0 32px rgba(0,230,118,0.5);
  transform: translateY(-2px);
}

.btn--coming-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.btn--outline {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
  background: transparent;
}

.btn--outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* 9. HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

/* Ambient glow */
.hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,230,118,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(68,138,255,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  padding: 60px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,230,118,0.08);
  border: 1px solid rgba(0,230,118,0.2);
  color: var(--accent-green);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeIn 0.5s ease both;
}

.hero__title {
  margin-bottom: 20px;
  letter-spacing: -1px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero__subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* Watch mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.7s ease 0.35s both;
}

.watch-mockup {
  position: relative;
  animation: float 5s ease-in-out infinite;
}

.watch-mockup__frame {
  width: 220px;
  background: linear-gradient(145deg, #2c2c3e, #1a1a28);
  border-radius: 56px;
  padding: 20px 18px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 48px 96px rgba(0,0,0,0.7),
    0 0 80px rgba(0,230,118,0.08);
  position: relative;
}

/* Digital crown */
.watch-mockup__frame::after {
  content: '';
  position: absolute;
  right: -9px;
  top: 46%;
  transform: translateY(-50%);
  width: 7px;
  height: 44px;
  background: linear-gradient(145deg, #2c2c3e, #1e1e2e);
  border-radius: 0 5px 5px 0;
  box-shadow: 1px 0 0 rgba(255,255,255,0.06);
}

.watch-mockup__screen {
  border-radius: 38px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 410 / 502;
}

.watch-mockup__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ambient ring */
.watch-mockup::before {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 80px;
  background: radial-gradient(ellipse, rgba(0,230,118,0.07) 0%, transparent 65%);
  z-index: -1;
  animation: pulseGlow 3.5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 40px 0 60px;
  }
  .hero__actions { justify-content: center; }
  .hero__visual  { order: -1; }
  .watch-mockup__frame { width: 170px; }
}

/* 10. GAME CARDS
   ============================================================ */
.games { background: var(--bg-secondary); }

.game-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.55s ease both;
}

.game-card:nth-child(1) { animation-delay: 0.05s; }
.game-card:nth-child(2) { animation-delay: 0.15s; }
.game-card:nth-child(3) { animation-delay: 0.25s; }

/* Top accent line */
.game-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.game-card--directions::before { background: var(--accent-pink); }
.game-card--colorword::before  { background: var(--accent-orange); }
.game-card--numbers::before    { background: var(--accent-blue); }

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.game-card--directions:hover { box-shadow: 0 24px 48px rgba(240,98,146,0.12); }
.game-card--colorword:hover  { box-shadow: 0 24px 48px rgba(255,167,38,0.12); }
.game-card--numbers:hover    { box-shadow: 0 24px 48px rgba(68,138,255,0.12); }

.game-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.game-card--directions .game-card__icon { background: rgba(240,98,146,0.12); }
.game-card--colorword  .game-card__icon { background: rgba(255,167,38,0.12);  }
.game-card--numbers    .game-card__icon { background: rgba(68,138,255,0.12);   }

.game-card__title  { margin-bottom: 12px; font-size: 22px; }

.game-card--directions .game-card__title { color: var(--accent-pink);   }
.game-card--colorword  .game-card__title { color: var(--accent-orange); }
.game-card--numbers    .game-card__title { color: var(--accent-blue);   }

.game-card__desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.game-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.game-card--directions .game-card__link { color: var(--accent-pink);   }
.game-card--colorword  .game-card__link { color: var(--accent-orange); }
.game-card--numbers    .game-card__link { color: var(--accent-blue);   }

.game-card__link:hover { gap: 10px; }

/* 11. HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}

.step { text-align: center; }

.step__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
}

.step__number {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 8px;
}

.step__title   { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step__desc    { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

.steps__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 36px;
  color: var(--text-secondary);
  font-size: 22px;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 280px;
    gap: 12px;
  }
  .steps__connector {
    transform: rotate(90deg);
    padding-top: 0;
  }
}

/* 12. FEATURES GRID
   ============================================================ */
.features { background: var(--bg-secondary); }

.feature-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.feature-item__icon  { font-size: 32px; margin-bottom: 12px; }
.feature-item__title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.feature-item__desc  { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

/* 13. CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 100px 0;
  background:
    linear-gradient(135deg,
      rgba(0,230,118,0.04)   0%,
      rgba(68,138,255,0.04)  50%,
      rgba(179,136,255,0.04) 100%);
  border-top:    1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.cta-banner__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.cta-banner__title    { margin-bottom: 16px; }
.cta-banner__subtitle { color: var(--text-secondary); font-size: 18px; margin-bottom: 40px; }

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 15px;
}

.coming-soon-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
  animation: pulseGlow 2s ease-in-out infinite;
}

/* 14. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer__tagline { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

.footer__nav-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer__nav-list    { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__nav-link    { color: var(--text-secondary); font-size: 14px; }
.footer__nav-link:hover { color: var(--text-primary); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy,
.footer__made-with { color: var(--text-secondary); font-size: 13px; }

@media (max-width: 768px) {
  .footer__top    { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   GAMES PAGE
   ============================================================ */

.page-header {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-header__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.page-header__subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  margin-top: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Game detail sections */
.game-detail {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.game-detail--directions { background: var(--bg-primary); }
.game-detail--colorword  { background: var(--bg-secondary); }
.game-detail--numbers    { background: var(--bg-primary); }

.game-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.game-detail__inner--reverse { direction: rtl; }
.game-detail__inner--reverse > * { direction: ltr; }

.game-detail__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.game-detail--directions .game-detail__eyebrow { color: var(--accent-pink);   }
.game-detail--colorword  .game-detail__eyebrow { color: var(--accent-orange); }
.game-detail--numbers    .game-detail__eyebrow { color: var(--accent-blue);   }

.game-detail__title   { margin-bottom: 20px; }
.game-detail__desc    {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 32px;
}

/* Round items */
.rounds { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }

.round-item { display: flex; gap: 16px; align-items: flex-start; }

.round-item__num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.game-detail--directions .round-item__num {
  color: var(--accent-pink);
  border: 1px solid rgba(240,98,146,0.3);
}
.game-detail--colorword .round-item__num {
  color: var(--accent-orange);
  border: 1px solid rgba(255,167,38,0.3);
}
.game-detail--numbers .round-item__num {
  color: var(--accent-blue);
  border: 1px solid rgba(68,138,255,0.3);
}

.round-item__text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  padding-top: 5px;
}

/* Score table */
.score-table {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 8px;
}

.score-table__header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 12px 20px;
  background: rgba(255,255,255,0.03);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-family: var(--font-heading);
}

.score-table__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
}

.score-table__row:last-child .score-table__cell--label {
  color: var(--accent-yellow);
  font-weight: 600;
}

/* Detail visual */
.game-detail__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.game-detail--directions .game-detail__visual::before,
.game-detail--colorword  .game-detail__visual::before,
.game-detail--numbers    .game-detail__visual::before {
  content: '';
  position: absolute;
  inset: -48px;
  z-index: -1;
  border-radius: 50%;
}

.game-detail--directions .game-detail__visual::before {
  background: radial-gradient(ellipse, rgba(240,98,146,0.07) 0%, transparent 65%);
}
.game-detail--colorword .game-detail__visual::before {
  background: radial-gradient(ellipse, rgba(255,167,38,0.07) 0%, transparent 65%);
}
.game-detail--numbers .game-detail__visual::before {
  background: radial-gradient(ellipse, rgba(68,138,255,0.07) 0%, transparent 65%);
}

.game-detail--directions .watch-mockup::before {
  background: radial-gradient(ellipse, rgba(240,98,146,0.09) 0%, transparent 65%);
}
.game-detail--colorword .watch-mockup::before {
  background: radial-gradient(ellipse, rgba(255,167,38,0.09) 0%, transparent 65%);
}
.game-detail--numbers .watch-mockup::before {
  background: radial-gradient(ellipse, rgba(68,138,255,0.09) 0%, transparent 65%);
}

.game-detail__note {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(68,138,255,0.06);
  border: 1px solid rgba(68,138,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
  font-style: italic;
}

@media (max-width: 768px) {
  .game-detail__inner          { grid-template-columns: 1fr; gap: 48px; }
  .game-detail__inner--reverse { direction: ltr; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-story {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.about-story__inner {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.about-story__quote-mark {
  font-family: var(--font-heading);
  font-size: 160px;
  line-height: 0.75;
  color: rgba(0,230,118,0.08);
  font-weight: 900;
  user-select: none;
  padding-top: 8px;
}

.about-story__content h2  { margin-bottom: 28px; }
.about-story__content p   {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about-story__inner        { grid-template-columns: 1fr; }
  .about-story__quote-mark   { display: none; }
}

/* Science */
.about-science {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.science-item {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.science-item:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.science-item__icon  { font-size: 36px; margin-bottom: 16px; }
.science-item__title { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.science-item__text  { color: var(--text-secondary); font-size: 14px; line-height: 1.75; }

@media (max-width: 768px) {
  .science-grid { grid-template-columns: 1fr; }
}

/* Vision / Timeline */
.about-vision {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.timeline {
  max-width: 680px;
  margin: 64px auto 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 23px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    var(--accent-green) 0%,
    rgba(0,230,118,0.2) 60%,
    transparent 100%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item__dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-item__dot--upcoming {
  border-color: rgba(255,255,255,0.18);
}

.timeline-item__body { padding-top: 8px; }

.timeline-item__status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.timeline-item__status--done {
  background: rgba(0,230,118,0.1);
  color: var(--accent-green);
}

.timeline-item__status--upcoming {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
}

.timeline-item__title { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.timeline-item__text  { color: var(--text-secondary); font-size: 14px; line-height: 1.75; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-info {
  padding: 40px 0 100px;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.contact-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: rgba(0,230,118,0.25);
  background: rgba(0,230,118,0.03);
}

.contact-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.contact-card__value { font-size: 16px; font-weight: 500; }
.contact-card__value a { color: var(--accent-green); }
.contact-card__value a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .contact-info__grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.faq__list {
  max-width: 780px;
  margin: 64px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details.faq__item {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

details.faq__item[open] {
  border-color: rgba(0,230,118,0.22);
}

summary.faq__question {
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

summary.faq__question::-webkit-details-marker { display: none; }
summary.faq__question::marker               { display: none; }

summary.faq__question:hover { color: var(--accent-green); }

summary.faq__question::after {
  content: '+';
  font-size: 26px;
  font-weight: 300;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-left: 16px;
  line-height: 1;
  transition: transform 0.25s ease;
}

details.faq__item[open] summary.faq__question::after {
  content: '−';
}

.faq__answer {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
}

/* ============================================================
   PRIVACY & TERMS
   ============================================================ */

.legal-page {
  padding: 140px 0 100px;
  position: relative;
  z-index: 1;
}

.legal-page__inner {
  max-width: 780px;
  margin: 0 auto;
}

.legal-page__title   { margin-bottom: 6px; }
.legal-page__updated {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 56px;
  display: block;
}

.legal-section       { margin-bottom: 48px; }
.legal-section h2    { font-size: 22px; margin-bottom: 16px; }

.legal-section p,
.legal-section li    {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 12px;
}

.legal-section ul    { padding-left: 24px; margin-bottom: 12px; }
.legal-section ul li { margin-bottom: 6px; }
.legal-section a     { color: var(--accent-green); text-decoration: underline; }

/* ============================================================
   ACCESSIBILITY & FOCUS
   ============================================================ */

*:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE — TABLET & DESKTOP
   ============================================================ */

@media (max-width: 1024px) {
  .grid-3            { grid-template-columns: repeat(2, 1fr); }
  .science-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer__top       { grid-template-columns: 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .section__header  { margin-bottom: 40px; }
  .section__subtitle { font-size: 16px; }

  .grid-2, .grid-3   { grid-template-columns: 1fr; }
  .science-grid      { grid-template-columns: 1fr; }

  .cta-banner        { padding: 60px 0; }
  .cta-banner__subtitle { font-size: 16px; }

  .page-header       { padding: 110px 0 60px; }
  .page-header__subtitle { font-size: 16px; }

  .game-detail       { padding: 60px 0; }

  .about-story,
  .about-science,
  .about-vision      { padding: 60px 0; }

  .contact-info      { padding: 32px 0 60px; }
  .faq               { padding: 60px 0; }
  .faq__list         { margin-top: 40px; }

  .legal-page        { padding: 100px 0 60px; }

  .timeline          { padding-left: 8px; }
}
