/* ==========================================================================
   PGP Studio — Design System
   Fonts: Fredoka (display/headings) + Poppins (body) — per PGP brand guide
   ========================================================================== */

/* Native cross-page fade for supporting browsers (Chrome/Edge, Safari 18+,
   Firefox 129+); browsers without support just get a normal navigation. */
@view-transition {
  navigation: auto;
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

:root {
  /* Brand colors */
  --color-primary: #5F2EEA;
  --color-primary-600: #5027C9;
  --color-primary-700: #4321A8;
  --color-primary-100: #EEE8FD;
  --color-secondary: #FF8A23;
  --color-secondary-600: #E5751A;
  --color-secondary-100: #FFEEDD;
  --color-tertiary: #FFD23F;
  --color-tertiary-600: #E8BC2E;

  /* Neutrals — light mode */
  --color-bg: #FFFFFF;
  --color-surface: #F7F8FC;
  --color-text: #1A1A1A;
  --color-text-secondary: #575757;
  --color-border: #E6E8EF;

  /* Neutrals — dark mode */
  --color-bg-dark: #0E0F14;
  --color-surface-dark: #15171F;
  --color-text-dark: #F5F6FA;
  --color-text-secondary-dark: #ABA9B3;
  --color-border-dark: #2A2E3B;

  /* Fonts */
  --font-display: "Fredoka", "Baloo 2", ui-rounded, system-ui, sans-serif;
  --font-body: "Poppins", "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing — 8px grid */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-7: 56px;
  --sp-8: 72px;
  --sp-9: 80px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-card: 0 10px 30px rgba(31, 41, 55, 0.08);
  --shadow-card-hover: 0 20px 48px rgba(95, 46, 234, 0.20), 0 4px 12px rgba(31, 41, 55, 0.06);
  --shadow-nav: 0 2px 16px rgba(31, 41, 55, 0.06);

  /* Brand glow tints — for layered backgrounds on light surfaces */
  --glow-primary: rgba(95, 46, 234, 0.14);
  --glow-primary-soft: rgba(95, 46, 234, 0.08);
  --glow-secondary: rgba(255, 138, 35, 0.12);
  --glow-tertiary: rgba(255, 210, 63, 0.14);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);

  /* Brand gradients — the Hero's gradient family, reused everywhere */
  --gradient-brand: linear-gradient(135deg, #5F2EEA 0%, #7B4CF0 55%, #8F5CF5 100%);
  --gradient-brand-diag: linear-gradient(120deg, #5F2EEA, #8F5CF5 60%, #FF8A23);
  --gradient-warm: linear-gradient(135deg, #FF8A23, #FFD23F);
  --gradient-mesh-light:
    radial-gradient(1000px circle at 8% 0%, rgba(95, 46, 234, 0.16), transparent 55%),
    radial-gradient(800px circle at 100% 20%, rgba(255, 138, 35, 0.12), transparent 50%),
    radial-gradient(700px circle at 50% 100%, rgba(255, 210, 63, 0.10), transparent 45%);

  /* Layered shadow — ambient ground shadow + tight contact shadow */
  --shadow-elevated: 0 2px 8px rgba(20, 10, 50, 0.06), 0 24px 56px rgba(95, 46, 234, 0.16);
  --shadow-elevated-hover: 0 4px 12px rgba(20, 10, 50, 0.08), 0 32px 72px rgba(95, 46, 234, 0.26);

  --container: 1200px;
}

/* ---------- Headline accent color ---------- */
.text-gradient {
  color: var(--color-primary);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 var(--sp-2);
  color: var(--color-text);
  letter-spacing: -0.01em;
}
h1 { font-size: 56px; line-height: 1.15; }
h2 { font-size: 40px; line-height: 1.2; }
h3 { font-size: 28px; font-weight: 600; line-height: 1.3; }
h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 var(--sp-1);
}
h5 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 var(--sp-1);
}
h6 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 var(--sp-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
p { margin: 0 0 var(--sp-2); color: var(--color-text-secondary); }
.body-1 { font-size: 14px; line-height: 1.7; }
.body-2 { font-size: 14px; line-height: 1.6; }
.caption { font-size: 12px; line-height: 1.4; color: var(--color-text-secondary); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}

@media (max-width: 720px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}
.section { padding: var(--sp-9) 0; }
@media (max-width: 720px) {
  .section { padding: var(--sp-6) 0; }
}
.section-head {
  max-width: 640px;
  margin: 0 0 var(--sp-5);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  color: var(--color-primary);
}
.grid { display: grid; gap: var(--sp-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--sp-1); }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--r-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border: none;
  transition: transform 0.2s var(--ease-premium), box-shadow 0.2s var(--ease-premium), background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 8px 20px rgba(95, 46, 234, 0.32); }
.btn-primary:hover { background: var(--color-primary-600); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(95, 46, 234, 0.4); }
.btn-secondary { background: transparent; color: var(--color-secondary); border: 1.5px solid var(--color-secondary); }
.btn-secondary:hover { background: var(--color-secondary); color: #fff; transform: translateY(-2px); }
.btn-yellow { background: var(--color-tertiary); color: #402D00; box-shadow: 0 8px 20px rgba(255, 210, 63, 0.35); }
.btn-yellow:hover { background: var(--color-tertiary-600); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  height: auto;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 14px;
}
.btn-text .arrow { transition: transform 0.15s ease; }
.btn-text:hover .arrow { transform: translateX(4px); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Badges / Tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  background: var(--color-primary-100);
  color: var(--color-primary);
}
.badge-orange { background: var(--color-secondary-100); color: var(--color-secondary-600); }
.badge-yellow { background: #FFF7DD; color: #8A6A00; }
.badge-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-text-secondary); }
.badge-live { background: #E6F7EE; color: #17803D; }
.badge-muted { background: var(--color-border); color: var(--color-text-secondary); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: linear-gradient(165deg, #fff 0%, #FBFAFF 60%, var(--color-primary-100) 130%);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-elevated);
  padding: var(--sp-3);
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium), border-color 0.3s ease;
}
.card {
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--color-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-premium);
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated-hover); border-color: rgba(95, 46, 234, 0.22); }
.card-hover:hover::before { transform: scaleX(1); }
.card-flat { box-shadow: none; }
.card-flat::before { display: none; }

/* ---------- Inputs ---------- */
.field { margin-bottom: var(--sp-3); }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  height: 48px;
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0 16px;
  font-size: 14px;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(95, 46, 234, 0.18);
}
.field .error-msg { display: none; color: #D64545; font-size: 12px; margin-top: 6px; }
.field.has-error input,
.field.has-error textarea { border-color: #D64545; }
.field.has-error .error-msg { display: block; }
.field-hint { font-size: 12px; color: var(--color-text-secondary); margin-top: 6px; }

/* ---------- Decorative shapes ---------- */
.dot-pattern {
  background-image: radial-gradient(rgba(95, 46, 234, 0.18) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}
.dot-pattern-light {
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}
.icon-badge-frosted {
  position: relative;
  width: 140px; height: 140px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}
.icon-badge-frosted img { width: 92px; height: 92px; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2)); }
.blob { position: absolute; border-radius: 50%; filter: blur(0); opacity: 0.9; pointer-events: none; }

/* ---------- Soft glow blobs for light sections (echoes Hero's .blob on white/gray) ---------- */
.blob-soft { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(50px); z-index: 0; }

/* ---------- Tinted section — replaces flat var(--color-surface) alternation ---------- */
.section-tinted {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(560px circle at 12% 15%, var(--glow-primary), transparent 62%),
    radial-gradient(480px circle at 88% 85%, var(--glow-secondary), transparent 58%),
    var(--color-surface);
}
.section-tinted > .container { position: relative; z-index: 1; }

/* ---------- Dark hero-echo section — the Hero's exact gradient, recurring down the page ---------- */
.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--gradient-brand);
  color: #fff;
}
.section-dark::before,
.section-dark::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(60px); z-index: 0;
}
.section-dark::before { width: 380px; height: 380px; background: var(--color-tertiary); opacity: .22; top: -140px; right: -100px; }
.section-dark::after { width: 300px; height: 300px; background: var(--color-secondary); opacity: .24; bottom: -120px; left: -80px; }
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5 { color: #fff; }
.section-dark .section-head h2 { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.section-dark p, .section-dark .body-1, .section-dark .body-2 { color: rgba(255, 255, 255, 0.82); }
.section-dark .eyebrow { color: var(--color-tertiary); }
.section-dark .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 44px rgba(20, 10, 50, 0.22);
}
.section-dark .card .caption { color: rgba(255, 255, 255, 0.65); }
.section-dark .card::before { background: linear-gradient(90deg, #fff, var(--color-tertiary)); }
.section-dark .value-icon, .section-dark .service-icon, .section-dark .process-detail-icon {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(20, 10, 50, 0.25) !important;
}
.section-dark .btn-primary { background: #fff; color: var(--color-primary); box-shadow: 0 8px 20px rgba(20, 10, 50, 0.28); }
.section-dark .btn-primary:hover { background: var(--color-tertiary); color: #402D00; }
.section-dark .badge-outline { border-color: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.9); }
.section-dark .capability-group h6 { color: rgba(255, 255, 255, 0.75); }
.section-dark .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.section-dark .btn-secondary:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
/* Safety net: neutralize hardcoded inline text/icon colors authored for light backgrounds */
.section-dark [style*="color:var(--color-text-secondary)"] { color: rgba(255, 255, 255, 0.82) !important; }
.section-dark [style*="color:var(--color-primary)"] { color: var(--color-tertiary) !important; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 52px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text);
  padding: 8px 2px;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.15s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--color-primary); }
.header-actions { display: flex; align-items: center; gap: var(--sp-2); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--color-text); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--sp-2) var(--sp-3) var(--sp-3);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .nav-links a { width: 100%; padding: 12px 0; }
  body.nav-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .header-actions .btn-primary.desktop-only { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #5F2EEA 0%, #7B4CF0 55%, #8F5CF5 100%);
  color: #fff;
  padding: var(--sp-9) 0;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-5);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .hero-stats { justify-content: center; }
}
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255,255,255,0.86); font-size: 16px; max-width: 480px; }
.hero-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin: var(--sp-3) 0; }
.hero-stats { display: flex; gap: var(--sp-5); margin-top: var(--sp-4); flex-wrap: wrap; }
.stat-num { font-family: var(--font-display); font-weight: 700; }
.hero-stats .stat-num { font-size: 28px; color: #fff; }
.hero-stats .stat-label { font-size: 12px; color: rgba(255,255,255,0.75); }
.hero-art {
  position: relative;
  display: block;
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: var(--sp-3);
  backdrop-filter: blur(6px);
  aspect-ratio: 9/16;
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s ease;
}
.hero-art:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.28); }
.hero-art img { border-radius: var(--r-lg); }
.hero-art-rating {
  position: absolute; left: -14px; bottom: 20px; z-index: 3;
  display: flex; align-items: center; gap: 6px;
  background: #fff; color: var(--color-text);
  padding: 8px 14px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-card-hover);
  font-size: 13px; font-weight: 700;
}
@media (max-width: 900px) { .hero-art { margin: 0 auto; } }
.hero .blob-1 { width: 260px; height: 260px; background: var(--color-tertiary); opacity: 0.25; top: -80px; right: -60px; }
.hero .blob-2 { width: 200px; height: 200px; background: var(--color-secondary); opacity: 0.25; bottom: -60px; left: -40px; }

/* ==========================================================================
   Stats / Highlights strip
   ========================================================================== */
.stats-strip {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px circle at 50% 0%, var(--glow-primary-soft), transparent 65%),
    linear-gradient(180deg, var(--color-surface), #fff);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--sp-5) 0;
}
.stats-strip .grid-4 { text-align: center; position: relative; z-index: 1; }
.stats-strip .grid-4 > div {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-2);
  box-shadow: var(--shadow-elevated);
  transition: transform .3s var(--ease-premium), box-shadow .3s var(--ease-premium);
}
.stats-strip .grid-4 > div:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated-hover); }
.stats-strip .grid-4 > div::before {
  content: ""; display: block; width: 34px; height: 4px; border-radius: var(--r-pill);
  background: var(--color-primary); margin: 0 auto var(--sp-2);
}
.stats-strip .stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
}
.stats-strip .stat-label { font-size: 13px; color: var(--color-text-secondary); margin-top: 4px; }
@media (max-width: 620px) { .stats-strip .grid-4 { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Game cards
   ========================================================================== */
.game-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.game-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-surface);
}
.game-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s ease; }
.game-card:hover .game-cover img { transform: scale(1.06); }
.game-cover .cover-scrim {
  position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  pointer-events: none;
}
.game-cover .badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.92); z-index: 2; }
.game-cover .cover-rating {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(255,255,255,0.92); border-radius: var(--r-pill);
  padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--color-text);
}
.game-cover .cover-rating .rating { display: inline-flex; align-items: center; gap: 3px; }
.game-cover .cover-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.7);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.22); backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}
.game-cover .cover-play svg { width: 22px; height: 22px; margin-left: 3px; }
.game-card:hover .cover-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.game-icon-sm { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.game-body { padding: var(--sp-3); flex: 1; display: flex; flex-direction: column; gap: 6px; }
.game-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 8px; }
.game-meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--color-text-secondary); }
.game-meta .rating { display: flex; align-items: center; gap: 4px; color: var(--color-text); font-weight: 600; }

/* ==========================================================================
   Filters
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  padding: var(--sp-3);
  background: linear-gradient(120deg, var(--glow-primary-soft), var(--color-surface) 60%);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-4);
}
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-group .label { font-size: 12px; font-weight: 600; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.04em; }
.chip {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: var(--r-pill);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  transition: border-color 0.2s var(--ease-premium), color 0.2s var(--ease-premium), background-color 0.2s var(--ease-premium), box-shadow 0.2s var(--ease-premium);
}
.chip:hover { border-color: var(--color-primary); box-shadow: 0 4px 14px rgba(95, 46, 234, 0.14); }
.chip.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); box-shadow: 0 6px 18px rgba(95, 46, 234, 0.28); }
.results-empty { text-align: center; padding: var(--sp-8) var(--sp-3); color: var(--color-text-secondary); }

/* ==========================================================================
   Team / Value cards
   ========================================================================== */
.team-card { text-align: center; }
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto var(--sp-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.value-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-2);
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(95, 46, 234, 0.28);
}
.card:nth-child(even) .value-icon { background: var(--gradient-warm); box-shadow: 0 8px 20px rgba(255, 138, 35, 0.28); }

/* ==========================================================================
   Job / Career cards
   ========================================================================== */
.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3);
  flex-wrap: wrap;
}
.job-row + .job-row { border-top: 1px solid var(--color-border); }
.job-info h4 { margin-bottom: 4px; }
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ==========================================================================
   Blog cards
   ========================================================================== */
.blog-featured-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-4);
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease;
  align-items: stretch;
}
.blog-featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.blog-featured-cover { position: relative; min-height: 260px; overflow: hidden; }
.blog-featured-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-featured-card:hover .blog-featured-cover img { transform: scale(1.05); }
.blog-featured-body { padding: var(--sp-4) var(--sp-4) var(--sp-4) 0; display: flex; flex-direction: column; justify-content: center; gap: var(--sp-2); }
.blog-featured-body h2 { margin: 0; font-size: 28px; }
.blog-featured-body .badge-yellow { align-self: flex-start; }
@media (max-width: 800px) {
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 0 var(--sp-3) var(--sp-3); }
  .blog-featured-cover { min-height: 200px; }
}
.blog-post-hero { width: 100%; height: clamp(200px, 32vw, 420px); overflow: hidden; background: var(--color-surface); }
.blog-post-hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--color-surface); }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-cover img { transform: scale(1.06); }
.blog-body { padding: var(--sp-3); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--color-text-secondary); }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: var(--sp-5); flex-wrap: wrap; }
.page-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--color-border); background: var(--color-bg);
  color: var(--color-text); font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.page-btn:hover:not(:disabled) { border-color: var(--color-primary); color: var(--color-primary); }
.page-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.page-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- Blog post byline & share bar ---------- */
.post-byline { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-3); }
.post-byline-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--color-primary-100); display: flex; align-items: center; justify-content: center; }
.post-byline-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-byline-name { margin: 0; font-weight: 700; font-size: 14px; color: var(--color-text); }

.share-section { margin: var(--sp-5) 0 var(--sp-3); padding: var(--sp-3) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.share-label { font-weight: 600; font-size: 14px; margin-bottom: var(--sp-2); color: var(--color-text); }
.share-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--color-border); background: var(--color-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text); transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  cursor: pointer;
}
.share-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); transform: translateY(-2px); }
.share-btn.copied { background: #16a34a; color: #fff; border-color: transparent; }
.share-btn-primary {
  width: auto; padding: 0 18px; border-radius: var(--r-pill); gap: 8px;
  background: var(--color-primary); color: #fff; border-color: var(--color-primary);
  font-weight: 700; font-size: 14px;
}
.share-btn-primary:hover { opacity: .88; transform: translateY(-2px); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, #5F2EEA, #8F5CF5);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-5);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-actions { display: flex; gap: var(--sp-2); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-3); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--color-bg-dark); color: var(--color-text-secondary-dark); padding: var(--sp-8) 0 var(--sp-4); }
.site-footer::before {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 700px; height: 300px; max-width: 100%;
  background: radial-gradient(circle, rgba(95, 46, 234, 0.20), transparent 70%);
  pointer-events: none; z-index: 0;
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--color-border-dark);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand p { color: var(--color-text-secondary-dark); max-width: 280px; }
.footer-col { min-width: 0; }
.footer-col h6 { color: var(--color-text-dark); margin-bottom: var(--sp-2); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--color-text-secondary-dark); font-size: 14px; overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: var(--sp-2); }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border-dark);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--color-primary); border-color: var(--color-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-3);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--color-text-secondary-dark); }
.footer-bottom a:hover { color: #fff; }
.site-footer { overflow: hidden; }

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(680px circle at 18% -20%, var(--glow-primary), transparent 60%),
    radial-gradient(520px circle at 100% 120%, var(--glow-secondary), transparent 55%),
    linear-gradient(180deg, #FBFAFF 0%, var(--color-surface) 100%);
  border-bottom: 1px solid var(--color-border);
  padding: var(--sp-7) 0 calc(var(--sp-6) + 64px);
  text-align: center;
}
@media (max-width: 720px) {
  .page-header { padding-bottom: calc(var(--sp-5) + 40px); }
}
.page-header > .container { position: relative; z-index: 1; }
.page-header .eyebrow { justify-content: center; width: 100%; }
.page-header h1 {
  color: var(--color-primary);
}
.page-header .blob-soft.blob-a { width: 320px; height: 320px; background: var(--color-primary); opacity: 0.20; top: -110px; left: -80px; }
.page-header .blob-soft.blob-b { width: 260px; height: 260px; background: var(--color-secondary); opacity: 0.18; bottom: -100px; right: -60px; }

/* ---------- Hero → next-section wave divider ---------- */
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; z-index: 2; pointer-events: none; }
@media (max-width: 720px) { .hero-wave { height: 36px; } }
.breadcrumb { font-size: 13px; color: var(--color-text-secondary); margin-bottom: var(--sp-2); }
.breadcrumb a { color: var(--color-primary); }

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.legal-content h2 { font-size: 22px; margin-top: var(--sp-5); }
.legal-content h3 { font-size: 17px; margin-top: var(--sp-3); }
.legal-content p, .legal-content li { color: var(--color-text-secondary); }
.legal-content ul { padding-left: 20px; list-style: disc; margin-bottom: var(--sp-2); }
.legal-content ul li { margin-bottom: 6px; }
.legal-content figure { margin: var(--sp-4) 0; }
.legal-content figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.legal-content figcaption { font-size: 12px; color: var(--color-text-secondary); text-align: center; margin-top: 8px; }
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(95,46,234,0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 90;
  border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--color-primary); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Motion system — custom cursor, reveals, magnetic/tilt, counters, sparkles
   ========================================================================== */

/* ---------- Custom cursor ---------- */
.has-vcursor, .has-vcursor * { cursor: none !important; }
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 14px; height: 14px;
  background: #fff;
  mix-blend-mode: difference;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: width .35s cubic-bezier(.16,1,.3,1), height .35s cubic-bezier(.16,1,.3,1),
              background .35s ease, border-radius .35s ease, mix-blend-mode .1s ease, padding .35s ease;
  will-change: transform, width, height;
}
.cursor-dot.down { width: 10px; height: 10px; }
.cursor-dot.hover { width: 52px; height: 52px; }
.cursor-dot.label {
  width: auto; height: 46px; padding: 0 20px;
  border-radius: var(--r-pill);
  background: #fff; mix-blend-mode: normal;
  box-shadow: var(--shadow-card-hover);
}
.cursor-dot-label {
  display: none; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: var(--color-text);
  font-family: var(--font-display);
}
.cursor-dot.label .cursor-dot-label { display: block; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ---------- Auto-stagger for card grids (no per-card delay class needed) ---------- */
.grid > .reveal:nth-child(2) { transition-delay: .06s; }
.grid > .reveal:nth-child(3) { transition-delay: .12s; }
.grid > .reveal:nth-child(4) { transition-delay: .18s; }
.grid > .reveal:nth-child(5) { transition-delay: .24s; }
.grid > .reveal:nth-child(6) { transition-delay: .3s; }

/* ---------- Hero text line reveal ---------- */
.hero-line { display: block; overflow: hidden; line-height: 1.08; }
.hero-line-inner { display: block; }

/* ---------- Magnetic buttons ---------- */
.magnetic { will-change: transform; }

/* ---------- 3D tilt ---------- */
.tilt { will-change: transform; }

/* ---------- Mouse glow (hero / dark sections) ---------- */
.glow-surface {
  --gx: 50%; --gy: 30%;
  position: relative;
}
.glow-surface::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--gx) var(--gy), rgba(255,255,255,0.10) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
  z-index: 1;
}
.glow-surface.glow-on::before { opacity: 1; }

/* ---------- Floating decorative sparkles ---------- */
.sparkle-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.sparkle {
  position: absolute;
  opacity: 0.7;
  animation: sparkle-float 7s ease-in-out infinite;
}
.sparkle svg { width: 100%; height: 100%; }
@keyframes sparkle-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(12deg); }
}

/* ---------- Animated counter ---------- */
.stat-num.counting { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sparkle { animation: none; }
}

/* ==========================================================================
   Capability / tech-stack strip
   ========================================================================== */
.capability-strip { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: var(--sp-7) 0; }
.capability-group h6 { color: var(--color-text-secondary); margin-bottom: var(--sp-2); }
.capability-group .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.capability-group .chips span {
  padding: 5px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--color-border); background: #fff;
  font-size: 12px; font-weight: 500; color: var(--color-text-secondary);
  transition: border-color .15s ease, color .15s ease;
}
.capability-group .chips span:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ==========================================================================
   Services
   ========================================================================== */
.service-card { cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-2); box-shadow: 0 8px 20px rgba(95, 46, 234, 0.28);
  transition: transform .3s var(--ease-premium), box-shadow .3s var(--ease-premium);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); box-shadow: 0 12px 28px rgba(95, 46, 234, 0.4); }
.service-icon svg { width: 26px; height: 26px; }

.services-bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.services-bento .service-card-featured {
  grid-column: 1 / -1;
  position: relative;
  padding: var(--sp-4);
  background: var(--gradient-mesh-light), #fff;
  border: 1.5px solid var(--color-primary);
}
.services-bento .service-card-featured .service-icon { width: 64px; height: 64px; }
.services-bento .service-card-featured .service-icon svg { width: 32px; height: 32px; }
.services-bento .service-card-featured h4 { font-size: 24px; margin-top: var(--sp-2); }
.services-bento .service-card-featured p { font-size: 15px; max-width: 640px; }
.service-featured-badge {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  background: var(--color-primary); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .04em;
}
@media (max-width: 720px) {
  .services-bento { grid-template-columns: 1fr; }
  .services-bento .service-card-featured h4 { font-size: 20px; }
}

body.scroll-locked { overflow: hidden; }

.service-drawer-overlay {
  position: fixed; inset: 0; background: rgba(26,26,26,0.55);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.service-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.service-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 480px;
  background: #fff; z-index: 201; padding: var(--sp-5);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.25,.8,.25,1);
  overflow-y: auto; overscroll-behavior: contain; box-shadow: -20px 0 60px rgba(0,0,0,0.15);
}
.service-drawer.open { transform: translateX(0); }
.service-drawer-close {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-border);
  background: #fff; display: flex; align-items: center; justify-content: center;
  float: right; cursor: pointer;
}

.engagement-card, .pricing-card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.pricing-card { position: relative; }
.pricing-card.popular { border-color: var(--color-primary); box-shadow: var(--shadow-card-hover); }
.pricing-card .popular-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--color-primary); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .04em;
}
.pricing-price { font-family: var(--font-display); font-size: 30px; font-weight: 700; margin: var(--sp-2) 0; padding: var(--sp-2) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.pricing-card ul { margin: var(--sp-2) 0; display: flex; flex-direction: column; gap: 10px; }
.pricing-card li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--color-text-secondary); }
.pricing-card li svg { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   Process stepper
   ========================================================================== */
.process-stepper { display: flex; justify-content: space-between; position: relative; margin-bottom: var(--sp-5); }
.process-stepper::before { content: ""; position: absolute; top: 28px; left: 0; right: 0; height: 2px; background: var(--color-border); z-index: 0; }
.process-step-btn {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--color-border);
  background: #fff; color: var(--color-text-secondary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .25s ease; flex-shrink: 0;
}
.process-step-btn svg { width: 24px; height: 24px; }
.process-step-btn.active { background: var(--gradient-brand); border-color: var(--color-primary); color: #fff; transform: scale(1.1); box-shadow: 0 0 0 6px var(--glow-primary), 0 10px 24px rgba(95, 46, 234, 0.32); }
.process-step-label { display: none; }
@media (min-width: 700px) {
  .process-stepper-wrap { display: block; }
  .process-step-label { display: block; text-align: center; font-size: 11px; font-weight: 700; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: .04em; margin-top: 10px; }
}
.process-stepper-mobile { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: var(--sp-4); }
@media (min-width: 700px) { .process-stepper-mobile { display: none; } }
.process-detail-card { display: flex; gap: var(--sp-4); align-items: flex-start; flex-wrap: wrap; }
.process-detail-icon {
  width: 88px; height: 88px; border-radius: 50%; background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 10px 26px rgba(95, 46, 234, 0.3);
}
.process-detail-icon svg { width: 36px; height: 36px; }
.process-detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--sp-2); }
@media (max-width: 620px) { .process-detail-list { grid-template-columns: 1fr; } }
.process-detail-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--color-text-secondary); }
.process-detail-list svg { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-item { border: 1px solid var(--color-border); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--glow-primary-soft), var(--color-surface) 70%); overflow: hidden; margin-bottom: var(--sp-2); transition: border-color .25s ease, box-shadow .25s ease; }
.faq-item:hover { border-color: rgba(95, 46, 234, 0.28); box-shadow: 0 8px 24px rgba(95, 46, 234, 0.10); }
.faq-trigger { width: 100%; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: none; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 16px; cursor: pointer; }
.faq-chevron { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .25s var(--ease-premium); }
.faq-chevron svg { width: 14px; height: 14px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--color-text-secondary); font-size: 14px; line-height: 1.7; border-top: 1px solid var(--color-border); padding-top: 14px; }

/* ==========================================================================
   How to Play list (game detail)
   ========================================================================== */
.how-to-play-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.how-to-play-step { display: flex; align-items: flex-start; gap: 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: 16px 20px; }
.how-to-play-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}

/* ==========================================================================
   Vertical alternating timeline (About — Our Journey)
   ========================================================================== */
.timeline-v { position: relative; padding: var(--sp-2) 0; }
.timeline-v-item { position: relative; width: 50%; padding-bottom: var(--sp-4); }
.timeline-v-item:nth-child(odd) { left: 0; padding-right: var(--sp-5); text-align: right; }
.timeline-v-item:nth-child(even) { left: 50%; padding-left: var(--sp-5); text-align: left; }
/* Connector drawn per-item, from this dot's center to the next dot's center only —
   avoids a stray line extending above the first dot or below the last one. */
.timeline-v-item:not(:last-child)::before {
  content: ""; position: absolute; top: 11px; width: 2px; height: calc(100% + 11px);
  background: var(--color-border); z-index: 1;
}
.timeline-v-item:nth-child(odd):not(:last-child)::before { right: -1px; }
.timeline-v-item:nth-child(even):not(:last-child)::before { left: -1px; }
.timeline-v-dot {
  position: absolute; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--color-primary); box-shadow: 0 0 0 4px var(--color-surface); z-index: 2;
}
.timeline-v-item:nth-child(odd) .timeline-v-dot { right: -7px; }
.timeline-v-item:nth-child(even) .timeline-v-dot { left: -7px; }
.timeline-v-card {
  display: inline-block; max-width: 100%; text-align: left;
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--r-lg); padding: 16px 20px; transition: border-color .2s ease, box-shadow .2s ease;
}
.timeline-v-item:hover .timeline-v-card { border-color: var(--color-primary); box-shadow: var(--shadow-card); }
.timeline-v-year { font-family: var(--font-display); font-weight: 700; color: var(--color-primary); font-size: 17px; margin-bottom: 4px; }
.timeline-v-desc { font-size: 13px; font-weight: 500; color: var(--color-text-secondary); line-height: 1.5; margin: 0; }
@media (max-width: 640px) {
  .timeline-v-item, .timeline-v-item:nth-child(odd), .timeline-v-item:nth-child(even) {
    width: 100%; left: 0; text-align: left; padding-left: 30px; padding-right: 0;
  }
  .timeline-v-item:nth-child(odd) .timeline-v-dot, .timeline-v-item:nth-child(even) .timeline-v-dot { left: 0; right: auto; }
  .timeline-v-item:nth-child(odd):not(:last-child)::before,
  .timeline-v-item:nth-child(even):not(:last-child)::before { left: 6px; right: auto; }
  .timeline-v-card { text-align: left; }
}

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  background: var(--color-bg-dark); color: var(--color-text-dark);
  border-top: 1px solid var(--color-border-dark);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
  transform: translateY(100%); transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--container); margin: 0 auto; padding: var(--sp-3) var(--sp-3);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap;
}
.cookie-banner-text { margin: 0; font-size: 13px; line-height: 1.6; color: var(--color-text-secondary-dark); flex: 1; min-width: 240px; }
.cookie-banner-text a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 560px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; }
}

/* ==========================================================================
   Case study
   ========================================================================== */
.case-study-visual {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(135deg, #5F2EEA, #8F5CF5);
  aspect-ratio: 3/4; max-width: 360px; margin: 0 auto;
}
.case-study-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.case-stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-2); padding: var(--sp-3) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin: var(--sp-3) 0; }
.case-stats-row .num { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--color-text); }
.case-stats-row .label { font-size: 11px; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 480px) { .case-stats-row[style*="repeat(4"] { grid-template-columns: repeat(2,1fr) !important; row-gap: var(--sp-3); } }

.case-modal-overlay { position: fixed; inset: 0; background: rgba(26,26,26,0.7); z-index: 210; opacity: 0; pointer-events: none; transition: opacity .3s ease; display: flex; align-items: center; justify-content: center; padding: 20px; }
.case-modal-overlay.open { opacity: 1; pointer-events: auto; }
.case-modal { background: #fff; border-radius: var(--r-xl); max-width: 780px; width: 100%; max-height: 85vh; overflow-y: auto; overscroll-behavior: contain; transform: scale(.96) translateY(10px); transition: transform .3s ease; }
.case-modal-overlay.open .case-modal { transform: scale(1) translateY(0); }
.case-modal-header { background: var(--color-bg-dark); color: #fff; padding: var(--sp-4); position: relative; }
.case-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; cursor: pointer; }
.case-modal-body { padding: var(--sp-4); }

/* ==========================================================================
   Contact / stats bar
   ========================================================================== */
.contact-kpi-bar {
  display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-3);
  background: var(--gradient-brand); border-radius: var(--r-xl); padding: var(--sp-4); text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-elevated);
}
.contact-kpi-bar::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--color-tertiary); opacity: .22; filter: blur(50px); top: -100px; right: -60px; pointer-events: none; }
.contact-kpi-bar > div { position: relative; z-index: 1; }
.contact-kpi-bar .stat-num { color: #fff !important; -webkit-text-fill-color: #fff !important; background: none !important; }
.contact-kpi-bar .caption { color: rgba(255, 255, 255, 0.78); }
@media (max-width: 620px) { .contact-kpi-bar { grid-template-columns: 1fr 1fr; } }
.contact-channel { display: flex; gap: var(--sp-2); align-items: flex-start; padding: var(--sp-3); border: 1px solid var(--color-border); border-radius: var(--r-lg); background: #fff; margin-bottom: var(--sp-2); transition: border-color .15s ease, transform .15s ease; }
.contact-channel > div { min-width: 0; }
.contact-channel p { overflow-wrap: anywhere; }
.contact-channel:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.contact-channel .icon-box { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--color-primary-100); color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-channel .icon-box svg { width: 20px; height: 20px; }
.contact-channel.whatsapp .icon-box { background: #E6F7EE; color: #17803D; }
