/* ========================================
   Reward Rings — Website Stylesheet
   System: landing-page-design compliant
   Single typeface (Poppins) + Phosphor icon font
   Flat backgrounds, token spacing, one motion curve
   ======================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Palette: warm gold accent + deep ink. Accent is a single hue. */
  --gold: #FFC531;
  --gold-deep: #E59400;
  --coral: #FF6B5E;
  --green: #4ADE80;
  --blue: #38BDF8;

  --ink: #1C2033;
  --ink-soft: #5C637F;
  --ink-faint: #8A90A6;

  --cream: #FFFBEB;
  --cream-2: #FFF6E3;
  --white: #FFFFFF;
  --night: #181818;
  --line: #E8E6DE;

  --shadow-sm: 0 2px 8px rgba(28, 32, 51, 0.06);
  --shadow: 0 8px 24px rgba(28, 32, 51, 0.10);
  --shadow-lg: 0 16px 40px rgba(28, 32, 51, 0.14);

  /* Radius tokens */
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 24px;
  --r-full: 9999px;

  --container: 1180px;

  /* Motion: one curve */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 500ms;
  --dur-fast: 300ms;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
button { font: inherit; color: inherit; }

/* Named text styles */
.heading-1 { font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -1px; text-wrap: balance; }
.heading-2 { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.8px; text-wrap: balance; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.5px; text-wrap: balance; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; text-wrap: balance; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; text-wrap: pretty; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; text-wrap: pretty; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }

/* Focus ring (accessibility requirement) */
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: var(--r-md); }
#navbar a:focus-visible, .btn:focus-visible, .ss-item:focus-visible, .notif-arrow:focus-visible,
.lb-nav:focus-visible, .lb-close:focus-visible, .back-top:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 3000;
  background: var(--ink); color: var(--white);
  padding: 8px 16px; border-radius: var(--r-md);
  font-size: 14px; line-height: 20px; font-weight: 500;
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(116px); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }

/* Icon tone helpers: flat surfaces */
.tone-gold  { background: #FFF0C2; color: #B87300; }
.tone-green { background: #DCF6E6; color: #158048; }
.tone-blue  { background: #DEF0FD; color: #1E76AE; }
.tone-coral { background: #FFE2DD; color: #C94838; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-size: 16px; line-height: 24px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn i.ph { font-size: 22px; line-height: 1; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--gold); color: #3A2600; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 18px; line-height: 28px; }

/* ---- Navbar: compact floating bar ---- */
#navbar {
  position: fixed; top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: max-content;
  max-width: calc(100% - 32px);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease);
}
#navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner { padding: 8px 12px 8px 16px; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo { width: 32px; height: 32px; border-radius: var(--r-md); object-fit: cover; }
.brand-text { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.5px; }
.brand-accent { color: var(--gold-deep); }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu li a {
  display: block; padding: 8px 12px;
  border-radius: var(--r-full);
  font-size: 14px; line-height: 20px; font-weight: 500;
  color: var(--ink-soft);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-menu li a:hover { background: var(--cream-2); color: var(--ink); }
.nav-menu li a.active { background: var(--cream-2); color: var(--gold-deep); font-weight: 600; }

.nav-menu li.nav-download { margin-left: 8px; }
.nav-menu li.nav-download a {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: #3A2600; font-weight: 600;
}
.nav-menu li.nav-download a:hover { background: var(--gold-deep); }
.nav-menu li.nav-download a i { font-size: 18px; line-height: 1; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- Section header ---- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--cream-2);
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.section-title { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.5px; text-wrap: balance; }
.section-desc { font-size: 16px; line-height: 24px; color: var(--ink-soft); text-wrap: pretty; }

/* ========================================
   HERO — flat background, gradient only on heading text
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--cream-2);
  overflow: hidden;
  padding: 128px 0 112px;
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.deco-ring {
  position: absolute; border-radius: 50%; border-style: solid;
  animation: float-ring 12s var(--ease) infinite;
}
.deco-ring-1 { width: 256px; height: 256px; border-width: 20px; border-color: #FFE0DC; top: 8%; left: -80px; }
.deco-ring-2 { width: 160px; height: 160px; border-width: 14px; border-color: #DCEEFB; bottom: 12%; right: -40px; animation-delay: 1s; }
.deco-ring-3 { width: 96px; height: 96px; border-width: 10px; border-color: #DCF6E6; top: 20%; right: 24%; animation-delay: 2s; }
.deco-ring-4 { width: 80px; height: 80px; border-width: 8px; border-color: #F3E8FF; bottom: 20%; left: 16%; animation-delay: 0.5s; }
@keyframes float-ring { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center; width: 100%;
}
.hero-left { max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line);
  padding: 6px 16px; border-radius: var(--r-full);
  font-size: 14px; line-height: 20px; font-weight: 500;
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.hero-badge i { font-size: 20px; line-height: 1; color: var(--gold-deep); }

.hero-title { font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -1px; text-wrap: balance; margin-bottom: 24px; }
.grad-text {
  background: linear-gradient(90deg, #000000 0%, #666666 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 18px; line-height: 28px; color: var(--ink-soft); margin-bottom: 32px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.5px; }
.stat-num .plus { font-size: 24px; line-height: 24px; color: var(--gold-deep); }
.stat-label { font-size: 14px; line-height: 20px; color: var(--ink-soft); }

.hero-right { display: flex; justify-content: center; align-items: center; }
.hero-stage {
  position: relative;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
  animation: phone-float 12s var(--ease) infinite;
}
@keyframes phone-float { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-12px); } }
.hero-phone {
  position: relative; width: 260px; aspect-ratio: 800 / 1440;
  border-radius: var(--r-xl); overflow: hidden; background: var(--cream);
  border: 1px solid var(--line);
}
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 14px; border-radius: var(--r-full);
  background: var(--ink); z-index: 3;
}
.hero-phone-img { width: 100%; height: 100%; object-fit: cover; }
.float-chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid var(--line);
  padding: 8px 12px; border-radius: var(--r-full);
  font-size: 14px; line-height: 20px; font-weight: 500;
  box-shadow: var(--shadow); white-space: nowrap;
  animation: chip-float 10s var(--ease) infinite;
}
.float-chip i { font-size: 20px; line-height: 1; color: var(--gold-deep); }
.chip-top { top: 12%; right: -8%; animation-delay: 0.4s; }
.chip-bottom { bottom: 14%; left: -12%; animation-delay: 1.2s; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 64px; fill: var(--white); }

/* ---- Notifications ---- */
.notifications-section { background: var(--white); padding: 40px 0 80px; }
.notif-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.notif-title-wrap { display: flex; align-items: center; gap: 12px; }
.notif-icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--cream-2); border-radius: var(--r-lg);
  font-size: 24px; color: var(--gold-deep);
}
.notif-title { font-size: 24px; line-height: 32px; font-weight: 600; }
.notif-controls { display: flex; align-items: center; gap: 12px; }
.notif-arrow {
  width: 40px; height: 40px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--white);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--ink);
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.notif-arrow:hover:not(:disabled) { background: var(--cream-2); transform: scale(1.06); }
.notif-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.notif-counter { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-soft); min-width: 52px; text-align: center; }
.notif-slider { overflow: hidden; border-radius: var(--r-2xl); }
.notif-track { display: flex; transition: transform var(--dur) var(--ease); }
.notif-card { min-width: 100%; padding: 0 4px; box-sizing: border-box; }
.notif-card-inner {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-2xl); padding: 32px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
}
.notif-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: 12px; line-height: 16px; font-weight: 600;
  color: #3A2600; white-space: nowrap;
}
.notif-body h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 4px; }
.notif-body p { font-size: 14px; line-height: 20px; color: var(--ink-soft); text-wrap: pretty; }
.notif-date { font-size: 14px; line-height: 20px; color: var(--ink-faint); white-space: nowrap; text-align: right; }
.notif-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--gold-deep); }
.notif-link:hover { color: var(--coral); }
.notif-link i { font-size: 18px; line-height: 1; }
.notif-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.notif-dot {
  width: 8px; height: 8px; border-radius: var(--r-full);
  background: #DDDCD6; cursor: pointer;
  transition: width var(--dur) var(--ease), background-color var(--dur-fast) var(--ease);
}
.notif-dot.active { width: 24px; background: var(--gold-deep); }

/* ---- About ---- */
.about-section { background: var(--cream); padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.about-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-2xl); padding: 32px 24px;
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.about-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.about-icon {
  width: 64px; height: 64px; border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 16px;
}
.about-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 8px; }
.about-card p { font-size: 14px; line-height: 20px; color: var(--ink-soft); text-wrap: pretty; }

/* ---- Business ---- */
.business-section { background: var(--white); padding: 96px 0; }
.business-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  margin-bottom: 64px;
}
.business-feature:last-child { margin-bottom: 0; }
.business-feature.reverse .biz-text { order: 2; }
.biz-text h3 { font-size: 30px; line-height: 36px; font-weight: 600; margin-bottom: 16px; }
.biz-text h3 i { font-size: 30px; margin-right: 8px; color: var(--gold-deep); vertical-align: -3px; }
.biz-text > p { font-size: 16px; line-height: 24px; color: var(--ink-soft); margin-bottom: 24px; text-wrap: pretty; }
.biz-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.biz-list li { padding-left: 32px; position: relative; font-size: 14px; line-height: 20px; font-weight: 500; }
.biz-list li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: var(--r-full);
  background: var(--green);
}
.biz-list li::after {
  content: ''; position: absolute; left: 5px; top: 9px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--white); border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}
.biz-visual { display: flex; justify-content: center; }
.biz-icon-block {
  width: 224px; height: 224px; border-radius: var(--r-2xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 104px; box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease);
}
.biz-icon-block:hover { transform: rotate(-6deg) scale(1.04); }

/* ---- Tagline reveal ---- */
.tagline-section { background: var(--cream); padding: 96px 24px; text-align: center; }
.tagline {
  max-width: 680px; margin: 0 auto;
  font-size: 36px; line-height: 40px; font-weight: 600;
  letter-spacing: -0.5px; text-wrap: balance;
}
.tagline .word { opacity: 0.28; transition: opacity var(--dur) var(--ease); }
.tagline .word.lit { opacity: 1; }

/* ---- Game showcase ---- */
.game-section { background: var(--white); padding: 96px 0; }
.game-showcase {
  display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 48px; align-items: center;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-2xl); padding: 48px; box-shadow: var(--shadow);
}
.game-showcase-left { text-align: center; }
.game-app-icon { width: 112px; height: 112px; border-radius: var(--r-xl); margin: 0 auto 16px; box-shadow: var(--shadow); }
.game-name { font-size: 30px; line-height: 36px; font-weight: 600; }
.game-tagline { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--gold-deep); margin-bottom: 16px; }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.game-tag { padding: 4px 12px; border-radius: var(--r-full); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--white); }
.game-download { width: 100%; }
.game-info-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 16px 24px; margin-bottom: 16px;
}
.info-row { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-label { flex-shrink: 0; width: 104px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-faint); }
.info-value { font-size: 14px; line-height: 20px; font-weight: 500; }
.game-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gf-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 8px; background: var(--cream-2);
  border-radius: var(--r-lg);
  transition: transform var(--dur-fast) var(--ease);
}
.gf-item:hover { transform: translateY(-4px); }
.gf-item i { font-size: 28px; line-height: 1; color: var(--gold-deep); }
.gf-text { font-size: 12px; line-height: 16px; font-weight: 600; text-align: center; }

/* ---- Screenshots: 4 across on desktop ---- */
.screenshots-section { background: var(--cream); padding: 96px 0; }
.ss-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ss-item {
  position: relative; display: block; padding: 0; background: none; border: 0;
  border-radius: var(--r-2xl); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur) var(--ease);
}
.ss-frame {
  position: relative; border-radius: var(--r-2xl); overflow: hidden;
  aspect-ratio: 800 / 1440; background: var(--cream-2);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease);
}
.ss-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
.ss-zoom {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: var(--r-lg);
  font-size: 22px; color: var(--ink); box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.ss-item:hover { transform: translateY(-8px); }
.ss-item:hover .ss-frame { box-shadow: var(--shadow-lg); }
.ss-item:hover .ss-frame img { transform: scale(1.05); }
.ss-item:hover .ss-zoom { opacity: 1; transform: translateY(0); }
.ss-item:nth-child(2) { transition-delay: 80ms; }
.ss-item:nth-child(3) { transition-delay: 160ms; }
.ss-item:nth-child(4) { transition-delay: 240ms; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 48px 24px 24px;
  background: rgba(24, 24, 24, 0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), visibility var(--dur-fast) var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; max-height: 100%; }
.lb-img { max-height: calc(100vh - 160px); max-width: min(90vw, 620px); border-radius: var(--r-xl); object-fit: contain; }
.lb-caption { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.8); }
.lb-close, .lb-nav {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08);
  color: var(--white); cursor: pointer; border-radius: var(--r-full);
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--ink); transform: scale(1.06); }
.lb-close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; font-size: 28px; }
.lb-nav { width: 52px; height: 52px; font-size: 30px; }
.lb-close i, .lb-nav i { line-height: 1; }

/* ---- FAQ ---- */
.faq-section { background: var(--white); padding: 96px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-xl); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px; cursor: pointer; list-style: none;
  font-size: 16px; line-height: 24px; font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { font-size: 20px; color: var(--gold-deep); transition: transform var(--dur) var(--ease); }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { padding: 0 24px 16px; font-size: 14px; line-height: 20px; color: var(--ink-soft); text-wrap: pretty; }
.faq-item p a { color: var(--gold-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.faq-item p a i { font-size: 16px; }

/* ---- Final CTA ---- */
.final-cta-section { background: var(--night); padding: 96px 24px; }
.final-cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.section-eyebrow-light { background: rgba(255, 255, 255, 0.08); color: var(--gold); }
.final-cta-inner h2 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.5px; color: var(--white); text-wrap: balance; }
.final-cta-note { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.6); }
.final-cta-note i { font-size: 18px; color: var(--green); margin-right: 4px; vertical-align: -3px; }

/* ---- Contact ---- */
.contact-section { background: var(--cream); padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-2xl); padding: 32px 24px; text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.contact-icon { width: 64px; height: 64px; border-radius: var(--r-xl); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 16px; }
.contact-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 8px; }
.contact-card p { font-size: 14px; line-height: 20px; color: var(--ink-soft); margin-bottom: 16px; text-wrap: pretty; }
.contact-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--gold-deep); word-break: break-all; }
.contact-link:hover { color: var(--coral); }
.contact-link i { font-size: 18px; line-height: 1; }

/* ---- Footer ---- */
.footer { background: var(--night); color: rgba(255, 255, 255, 0.7); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-logo { width: 48px; height: 48px; border-radius: var(--r-lg); }
.footer-name { display: block; font-size: 24px; line-height: 32px; font-weight: 600; color: var(--white); }
.footer-slogan { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.5); }
.footer-download {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; padding: 8px 12px;
  background: var(--gold); color: #3A2600;
  border-radius: var(--r-full); font-size: 14px; line-height: 20px; font-weight: 600;
  transition: background-color var(--dur-fast) var(--ease);
}
.footer-download:hover { background: var(--gold-deep); }
.footer-download i { font-size: 18px; line-height: 1; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--gold); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.6); margin-bottom: 12px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 24px; text-align: center; }
.footer-bottom p { font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, 0.45); }

/* ---- Back to top ---- */
.back-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--r-full);
  background: var(--gold); color: #3A2600;
  font-size: 24px; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }
.back-top i { line-height: 1; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 48px; line-height: 1; }
  .hero-phone { width: 240px; }
  .ss-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-left { margin: 0 auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .business-feature, .business-feature.reverse { grid-template-columns: 1fr; gap: 32px; }
  .business-feature.reverse .biz-text { order: 0; }
  .biz-visual { order: -1; }
  .game-showcase { grid-template-columns: 1fr; padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 88px; }
  #navbar { top: 12px; width: calc(100% - 24px); max-width: none; }
  .nav-inner { padding: 8px 12px; justify-content: space-between; }
  .nav-toggle { display: flex; }

  /* navbar's backdrop-filter creates a containing block, so use viewport units
     to guarantee the panel clears the screen entirely when closed. */
  .nav-menu {
    position: fixed; top: -16px; left: 50%; z-index: -1;
    width: 100vw; height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: center;
    gap: 8px; padding: 96px 32px 48px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    transform: translateX(-50%) translateY(-105dvh);
    visibility: hidden;
    transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  }
  .nav-menu.open { transform: translateX(-50%) translateY(0); visibility: visible; }
  .nav-menu li a { font-size: 20px; line-height: 28px; padding: 12px 16px; }
  .nav-menu li.nav-download { margin-left: 0; margin-top: 8px; }
  .nav-menu li.nav-download a { justify-content: center; padding: 16px; }
  .nav-menu.open li { animation: nav-in 500ms var(--ease) both; }
  .nav-menu.open li:nth-child(1) { animation-delay: 0ms; }
  .nav-menu.open li:nth-child(2) { animation-delay: 60ms; }
  .nav-menu.open li:nth-child(3) { animation-delay: 120ms; }
  .nav-menu.open li:nth-child(4) { animation-delay: 180ms; }
  .nav-menu.open li:nth-child(5) { animation-delay: 240ms; }
  .nav-menu.open li:nth-child(6) { animation-delay: 300ms; }
  .nav-menu.open li:nth-child(7) { animation-delay: 360ms; }
  @keyframes nav-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

  .section-title { font-size: 30px; line-height: 36px; }
  .heading-3, .tagline, .final-cta-inner h2 { font-size: 30px; line-height: 36px; }
  .hero { padding: 120px 0 96px; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 16px; line-height: 24px; }
  .desktop-br { display: none; }
  .hero-phone { width: 220px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 30px; line-height: 36px; }
  .float-chip { font-size: 12px; line-height: 16px; }

  .notif-card-inner { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .notif-date { text-align: left; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .game-features { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .game-showcase { padding: 24px 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 24px; line-height: 28px; }
  .stat-label { font-size: 12px; line-height: 16px; }
  .hero-phone { width: 200px; }
  .hero-stage { padding: 24px; }
  .biz-icon-block { width: 168px; height: 168px; font-size: 72px; }
  .ss-grid { gap: 12px; }
  .footer-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .tagline .word { opacity: 1; }
}
