/* ============================================
   CandlestickRoyale - Theme
   ============================================ */

:root {
  --yellow: #FFBF01;
  --yellow-hover: #E5AC00;
  --yellow-stroke: #F4CE60;
  --purple: #9D61D9;
  --black: #000000;
  --near-black: #0A0A0A;
  --dark: #111111;
  --white: #FFFFFF;
  --off-white: #F8F8F8;
  --gray-100: #F3F3F3;
  --gray-200: #E5E5E5;
  --gray-300: #D1D1D1;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --green: #22C55E;
  --red: #EF4444;
  --shadow-btn: 0px 8px 15px -5px rgba(4, 4, 4, 0.25);
  --shadow-card: 0px 8px 15px -5px rgba(4, 4, 4, 0.12);
  --shadow-card-hover: 0px 12px 25px -5px rgba(4, 4, 4, 0.18);
  --font-heading: 'Kanit', 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Montserrat', sans-serif;
  --nav-height: 84px;
  --promo-height: 52px;
  --max-width: 1280px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--promo-height) + 20px);
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.btn, .faq-question, .hamburger, .tab {
  touch-action: manipulation;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

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

.section {
  padding: 120px 0;
}

.section-white { background: var(--white); }
.section-light { background: var(--off-white); }
.section-dark { background: var(--near-black); color: var(--white); }

/* ============================================
   BUTTONS (yellow, round, shadow)
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: var(--shadow-btn), 0 0 40px rgba(255, 191, 1, 0.6);
  animation: btnGlowPulse 2s ease-in-out infinite;
}

@keyframes btnGlowPulse {
  0%, 100% { box-shadow: var(--shadow-btn), 0 0 30px rgba(255, 191, 1, 0.4); }
  50% { box-shadow: var(--shadow-btn), 0 0 80px rgba(255, 191, 1, 1); }
}

.btn-primary:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0px 12px 20px -5px rgba(4, 4, 4, 0.3), 0 0 60px rgba(255, 191, 1, 0.9);
}

.btn-text {
  background: transparent;
  color: var(--black);
  padding: 14px 20px;
  box-shadow: none;
}

.btn-text:hover {
  color: var(--gray-500);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 17px;
}

.btn-block { width: 100%; }

/* ============================================
   PROMO BANNER (scrolling marquee)
   ============================================ */

.promo-banner {
  display: block;
  background: var(--yellow);
  height: var(--promo-height);
  overflow: hidden;
  position: relative;
  z-index: 1001;
  text-decoration: none;
  color: var(--black);
  cursor: pointer;
}

.promo-track {
  display: flex;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.promo-item {
  flex-shrink: 0;
  padding: 0 60px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  line-height: var(--promo-height);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; gap: 10px; }
.logo-img { height: 60px; width: auto; }
.nav-brand {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 3.5px;
  color: var(--black);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 8px;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--black);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-actions .btn-primary {
  background: var(--black);
  color: var(--white);
  animation: none;
  box-shadow: var(--shadow-btn);
}

.nav-actions .btn-primary:hover {
  background: #1a1a1a;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  z-index: 1002;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.mobile-menu.open {
  display: flex;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
    padding: 0 40px;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    padding: 16px 40px 32px;
  }
}

.mobile-link {
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.mobile-actions .btn-primary {
  background: var(--black);
  color: var(--white);
  animation: none;
  box-shadow: var(--shadow-btn);
}

.mobile-actions .btn-primary:hover {
  background: #1a1a1a;
}

/* ============================================
   HERO (split layout)
   ============================================ */

.hero {
  background: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--black);
  margin-bottom: 20px;
}

.money-left {
  background: url('dollar.png') left center / cover no-repeat, #1a5c2a;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.money-right {
  background: url('dollar.png') right center / cover no-repeat, #1a5c2a;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-highlight {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 6px;
  text-decoration-thickness: 6px;
}

.mobile-break {
  display: none;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--gray-500);
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.hero-promo {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 0;
}

.hero-promo strong {
  color: var(--yellow);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--gray-200);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--black);
  background: var(--off-white);
  transform: translateY(-2px);
}

/* Hero Phone Image */
.hero-visual {
  display: flex;
  justify-content: center;
  overflow: clip;
}

.hero-phone-img {
  max-width: 300px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 0px rgba(255, 191, 1, 0));
  transition: transform 0.4s ease, filter 0.4s ease;
  animation: phoneSlideIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both,
             phoneGlow 0.5s ease-out 1.2s both,
             phoneFloat 3s ease-in-out 1.7s infinite;
}

.hero-phone-img:hover {
  transform: translateY(-10px) scale(1.02);
  filter: drop-shadow(0 0 40px rgba(255, 191, 1, 0.4));
}

@keyframes phoneSlideIn {
  from {
    opacity: 0;
    transform: translateX(120px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes phoneGlow {
  from {
    filter: drop-shadow(0 0 0px rgba(255, 191, 1, 0));
  }
  to {
    filter: drop-shadow(0 0 30px rgba(255, 191, 1, 0.3));
  }
}

@keyframes phoneFloat {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 30px rgba(255, 191, 1, 0.3));
  }
  50% {
    transform: translateY(-10px);
    filter: drop-shadow(0 0 40px rgba(255, 191, 1, 0.4));
  }
}

/* ============================================
   SECTION HEADINGS
   ============================================ */

.section-eyebrow {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gray-400);
  text-align: center;
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  text-align: center;
  color: var(--black);
  margin-bottom: 60px;
}

.section-dark .section-heading { color: var(--white); }

/* ============================================
   HOW IT WORKS
   ============================================ */

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.step-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

.step-divider {
  width: 1px;
  min-height: 160px;
  background: var(--gray-200);
  flex-shrink: 0;
  align-self: stretch;
}

/* ============================================
   PROMO CARDS (large hero cards)
   ============================================ */

.promo-cards-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- Shared card base --- */
.promo-card {
  background: #0D0D1A;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  color: var(--white);
}

/* --- Top row cards --- */
.promo-card-top {
  display: flex;
  flex-direction: column;
}

.promo-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 44px;
}

.promo-card-eyebrow {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--yellow);
  margin-bottom: 20px;
  display: block;
}

.promo-card-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 16px;
}

.promo-card-stroke {
  -webkit-text-stroke: 2px var(--yellow-stroke);
  color: transparent;
}

.promo-card-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 400px;
}

.promo-card-sub strong {
  color: var(--yellow);
}

.promo-card-offer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.promo-card-offer-label {
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.35);
}

.promo-card-offer-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.promo-card-offer-plus {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Orange card variant --- */
.promo-card-orange {
  background: var(--yellow);
  color: var(--black);
}

.promo-card-orange .promo-card-eyebrow {
  color: rgba(0, 0, 0, 0.5);
}

.promo-card-orange .promo-card-headline {
  color: var(--black);
}

.promo-card-stroke-dark {
  -webkit-text-stroke: 2px var(--black);
  color: transparent;
}

.promo-card-orange .promo-card-sub {
  color: rgba(0, 0, 0, 0.55);
}

.promo-card-orange .promo-card-sub strong {
  color: var(--black);
}

.promo-card-orange .promo-card-offer-label {
  color: rgba(0, 0, 0, 0.35);
}

.promo-card-orange .promo-card-offer-value {
  color: var(--black);
}

.promo-card-orange .promo-card-offer-plus {
  color: rgba(0, 0, 0, 0.45);
}

.promo-card-content-center {
  align-items: center;
  text-align: center;
  justify-content: center;
  flex: 1;
}

.promo-headline-white {
  color: var(--white) !important;
  font-size: clamp(52px, 6vw, 80px) !important;
}

.promo-headline-big {
  font-size: clamp(52px, 6vw, 80px) !important;
}

.promo-paid-light {
  color: var(--yellow) !important;
}

.promo-terms-light {
  color: rgba(255, 255, 255, 0.45) !important;
}

.promo-card-paid {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 4px;
}

.promo-card-terms {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 24px;
}

.promo-card-code-box {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--white);
  background: var(--black);
  padding: 20px 56px;
  border-radius: 10px;
}

/* --- Card rows --- */
.promo-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.promo-card-bottom {
  padding: 48px 56px;
}

.promo-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.promo-bottom-text {
  flex: 1;
}

.promo-bottom-text .promo-card-headline {
  margin-bottom: 8px;
}

.promo-bottom-text .promo-card-paid {
  margin-bottom: 4px;
}

.promo-card-terms-nomargin {
  margin-bottom: 0 !important;
}

.promo-bottom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 18px 48px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0px 8px 15px -5px rgba(4, 4, 4, 0.3);
  transition: all var(--transition);
  white-space: nowrap;
}

.promo-bottom-btn:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0px 12px 20px -5px rgba(4, 4, 4, 0.4);
}

.promo-card-headline-sm {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
}

.promo-card-stroke-sm {
  -webkit-text-stroke: 2px var(--yellow-stroke);
  color: transparent;
}

.promo-card-sm .promo-card-sub {
  flex: 1;
}

.promo-card-sm .promo-card-offer {
  margin-bottom: 28px;
}

.promo-card-sm .promo-card-offer-value {
  font-size: 28px;
}

/* --- Promo code visual --- */
.promo-card-code {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 8px;
  color: var(--yellow);
  padding: 20px 32px;
  border: 2px dashed rgba(255, 191, 1, 0.35);
  border-radius: 12px;
  text-align: center;
  margin-bottom: 28px;
  background: rgba(255, 191, 1, 0.05);
}

/* ============================================
   GAME MODE TABS
   ============================================ */

.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 60px;
}

.tab {
  padding: 12px 28px;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-500);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  transition: transform var(--transition);
}

.tab:hover { color: var(--black); }
.tab:hover::after { transform: translateX(-50%) scaleX(1); }

.tab.active {
  color: var(--black);
  font-weight: 700;
}

.tab.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Game Panels */
.game-panel {
  display: none;
}

.game-panel.active {
  display: block;
}

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

.panel-heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 16px;
}

.panel-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
}

.panel-desc {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.panel-promo {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-400);
}

.panel-promo strong {
  color: var(--yellow-hover);
}

/* Lobby Showcase Cards */
.lobby-showcase {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all var(--transition);
}

.showcase-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.showcase-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--purple);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 1.5px;
}

.showcase-badge.gold {
  background: var(--yellow);
  color: var(--black);
}

.showcase-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.showcase-type {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.showcase-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 1.5px;
}

.showcase-prize {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.showcase-prize-label {
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.showcase-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.showcase-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value {
  font-weight: 700;
  font-size: 15px;
}

.showcase-bar {
  height: 4px;
  background: var(--gray-100);
  border-radius: 2px;
  overflow: hidden;
}

.showcase-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow), var(--purple));
  border-radius: 2px;
  transition: width 1.5s ease-out;
}

/* Mini lobby cards */
.showcase-card.mini {
  padding: 16px 20px;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mini-type {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  min-width: 70px;
}

.mini-prize {
  font-weight: 700;
  flex: 1;
}

.mini-players {
  font-size: 14px;
  color: var(--gray-500);
}

.mini-status {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.mini-status.filling {
  background: rgba(157, 97, 217, 0.1);
  color: var(--purple);
}

.mini-status.hot {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

/* ============================================
   PRIZES / SOCIAL PROOF
   ============================================ */

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

.prizes-amount {
  font-family: var(--font-heading);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}

.prize-mystery {
  color: var(--yellow);
}

.prizes-label {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 3px;
}

.prizes-subtitle {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.prizes-desc {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 28px;
}

.prizes-desc:last-child {
  margin-bottom: 0;
}

/* Notification Stack (sequential) */
.notif-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notif {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.notif.active {
  opacity: 1;
  transform: translateY(0);
}

.notif-emoji {
  font-size: 24px;
  flex-shrink: 0;
}

.notif-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.4;
}

.notif-text strong {
  color: var(--black);
}

.notif-amount {
  color: var(--green);
}

/* ============================================
   FEATURE PANELS (alternating product cards)
   ============================================ */

.feature-panel {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-100);
}

.feature-panel:last-child {
  border-bottom: none;
}

.feature-panel-text {
  flex: 1;
}

.feature-panel-icon {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: 24px;
}

.feature-panel.reverse {
  flex-direction: row-reverse;
}

/* ============================================
   AVAILABILITY
   ============================================ */

.availability-container {
  text-align: center;
}

.availability-sub {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 520px;
  margin: -40px auto 40px;
}

.availability-map {
  max-width: 750px;
  margin: 0 auto 40px;
}

.us-map {
  width: 100%;
  height: auto;
  display: block;
}

.legal-note {
  font-size: 13px;
  color: var(--gray-400);
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  transition: color var(--transition);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--gray-400);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
  content: '\2212';
  color: var(--black);
}

.faq-question:hover {
  color: var(--gray-600);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   DOWNLOAD CTA
   ============================================ */

.download-container {
  text-align: center;
  padding: 40px 0;
}

.download-heading {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.download-sub {
  font-size: 18px;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}


/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--black);
  padding: 80px 0 40px;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo { height: 24px; }

.footer-tagline {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 10px; }

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gray-400);
  transition: all var(--transition);
}

.social-link:hover {
  color: var(--yellow);
}

.footer-heading {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--gray-400);
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: var(--gray-500);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-disclaimer {
  color: var(--gray-600);
  font-size: 12px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 16px;
}

.footer-copyright {
  color: var(--gray-600);
  font-size: 13px;
}

/* ============================================
   FADE-IN ANIMATION
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Typewriter effect */
.typewriter {
  border-right: 3px solid var(--white);
  display: inline-block;
}

.typewriter.done {
  border-right-color: transparent;
}

@keyframes blink-caret {
  0%, 100% { border-right-color: var(--white); }
  50% { border-right-color: transparent; }
}

.typewriter.typing {
  animation: blink-caret 0.6s step-end infinite;
}

/* Scroll-linked slide-in (controlled by JS) */
.scroll-slide {
  will-change: transform, opacity;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MOBILE FLOATING CTA
   ============================================ */

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: max(20px, env(safe-area-inset-bottom));
    left: 20px;
    right: 20px;
    width: auto;
    z-index: 999;
    background: var(--black);
    color: var(--white);
    padding: 12px 12px 12px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }

  .sticky-text {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sticky-btn {
    background: var(--yellow);
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transition);
  }

  .sticky-btn:hover,
  .sticky-btn:active {
    background: var(--yellow-hover);
  }

  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .nav-container { padding: 0 28px; }

  .hero-container { gap: 40px; }
  .panel-content { gap: 48px; }
  .prizes-container { gap: 48px; }
  .feature-panel { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .container { padding: 0 20px; }
  .nav-container { padding: 0 20px; }
  .mobile-menu { padding: 16px 20px 32px; }

  .section { padding: 80px 0; }

  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  /* Mobile menu touch targets */
  .mobile-link { min-height: 44px; display: flex; align-items: center; }

  /* Hero — fill initial screen */
  .hero {
    padding: 0;
    min-height: calc(100dvh - var(--nav-height) - var(--promo-height));
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    width: 100%;
    padding: 32px 12px;
  }

  .hero-title {
    font-size: clamp(42px, 12vw, 72px);
    letter-spacing: -0.5px;
    line-height: 0.95;
    margin-bottom: 24px;
    overflow-wrap: break-word;
  }

  .mobile-break {
    display: inline;
  }
  .mobile-break::before {
    content: '\A';
    white-space: pre;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-ctas .btn-lg {
    padding: 18px 36px;
    font-size: 17px;
    width: 100%;
  }

  .hero-promo { text-align: center; font-size: 12px; }

  .hero-visual { display: none; }

  /* Steps */
  .steps-row {
    flex-direction: column;
    gap: 40px;
    overflow: clip;
  }

  .step-divider {
    width: 60px;
    min-height: 1px;
    height: 1px;
    align-self: center;
  }

  .step { padding: 0; }

  /* Promo Cards */
  .promo-cards-row { grid-template-columns: 1fr; }
  .promo-card-top { min-height: auto; }
  .promo-card-content { padding: 40px 28px; }
  .promo-card-sm { padding: 36px 28px; min-height: auto; }
  .promo-card-code { font-size: 28px; letter-spacing: 6px; padding: 16px 24px; }
  .promo-card-code-box { font-size: 17px; padding: 14px 32px; }
  .promo-card-bottom { padding: 36px 28px; }
  .promo-bottom-inner { flex-direction: column; text-align: center; gap: 24px; }

  /* Tabs */
  .tabs { gap: 0; flex-wrap: wrap; justify-content: center; }
  .tab { padding: 12px 18px; font-size: 14px; white-space: nowrap; }

  /* Panels */
  .panel-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .panel-desc { word-wrap: break-word; }

  /* Showcase */
  .showcase-card { padding: 24px 16px; }
  .showcase-prize { font-size: 36px; }
  .showcase-stats { gap: 12px; flex-wrap: wrap; }
  .mini-row { flex-wrap: wrap; gap: 8px; }
  .mini-type { min-width: auto; }

  /* Prizes */
  .prizes-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .notif { padding: 14px 16px; gap: 10px; }
  .notif-text { font-size: 13px; }

  /* Features */
  .feature-panel,
  .feature-panel.reverse {
    flex-direction: column;
    text-align: center;
    gap: 32px;
    padding: 48px 0;
  }

  .feature-panel-icon {
    width: 140px;
    height: 140px;
  }

  /* Availability */
  .us-map { max-width: 100%; height: auto; }

  /* Download / CTA */
  .download-heading { font-size: 32px; word-wrap: break-word; }
  .download-actions {
    flex-direction: column;
    gap: 16px;
  }

  /* Buttons */
  .btn-lg { padding: 16px 28px; font-size: 15px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .social-links { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }

  .panel-heading { font-size: 28px; }
  .panel-subtitle { font-size: 17px; }
  .prizes-amount { font-size: 42px; }
  .showcase-prize { font-size: 30px; }

  .promo-item { font-size: 13px; padding: 0 40px; }
  .promo-track { animation-duration: 10s; }

  .hero-ctas { gap: 12px; }
  .btn-lg { padding: 14px 24px; font-size: 14px; }
  .btn { padding: 12px 24px; font-size: 14px; min-height: 44px; }

  .hero-phone-img { max-width: 180px; }

  .showcase-stats { gap: 8px; }
  .stat-value { font-size: 13px; }
  .stat-label { font-size: 10px; }

  .notif { padding: 12px; gap: 8px; }
  .notif-emoji { font-size: 20px; }
  .notif-text { font-size: 12px; }

  .promo-card-content { padding: 28px 16px; }
  .promo-card-sm { padding: 28px 16px; }
  .promo-card-headline { font-size: 36px; }
  .promo-card-headline-sm { font-size: 28px; }
  .promo-card-offer-value { font-size: 24px; }
  .promo-card-code { font-size: 22px; letter-spacing: 4px; }
  .promo-card-code-orange { font-size: 22px; letter-spacing: 4px; }

  .sticky-text { font-size: 13px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-disclaimer { font-size: 11px; }
}

/* ============================================
   TOUCH DEVICE — disable sticky hover states
   ============================================ */

@media (hover: none) and (pointer: coarse) {
  .btn-primary:hover {
    transform: none;
    box-shadow: var(--shadow-btn), 0 0 40px rgba(255, 191, 1, 0.6);
  }

  .btn-outline:hover {
    transform: none;
  }

  .promo-bottom-btn:hover {
    transform: none;
    box-shadow: 0px 8px 15px -5px rgba(4, 4, 4, 0.3);
  }

  .showcase-card:hover {
    transform: none;
    box-shadow: var(--shadow-card);
  }

  .hero-phone-img:hover {
    transform: none;
  }

  .nav-link:hover {
    color: var(--gray-600);
  }

  .tab:hover::after {
    transform: translateX(-50%) scaleX(0);
  }

  .tab.active:hover::after {
    transform: translateX(-50%) scaleX(1);
  }
}

/* ============================================
   VERY SMALL SCREENS (320–360px)
   ============================================ */

@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .nav-container { padding: 0 12px; }

  .promo-card-headline { font-size: 28px; }
  .promo-card-code-box { font-size: 15px; padding: 12px 20px; letter-spacing: 4px; }

  .feature-panel-icon {
    width: 100px;
    height: 100px;
  }

  .showcase-stats {
    flex-direction: column;
    gap: 8px;
  }
}
