:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Color Palette */
  --brand-50: #edf5fc;
  --brand-100: #d6e8fa;
  --brand-200: #aed1f5;
  --brand-300: #74b0ed;
  --brand-400: #358de2;
  --brand-500: #0d6fd0;
  --brand-600: #005ea5;
  --brand-700: #004b86;
  --brand-800: #034070;
  --brand-900: #09375e;
  --brand-deep: #06223d;

  /* Accents */
  --emerald-soft: #ecfdf5;
  --emerald-border: #a7f3d0;
  --emerald-base: #10b981;
  --emerald-dark: #047857;

  --coral-soft: #fff1f2;
  --coral-border: #fecdd3;
  --coral-base: #f43f5e;
  --coral-dark: #be123c;

  --amber-soft: #fffbeb;
  --amber-border: #fde68a;
  --amber-base: #f59e0b;
  --amber-dark: #b45309;

  --purple-soft: #faf5ff;
  --purple-border: #e9d5ff;
  --purple-base: #8b5cf6;

  /* Slate & Clay */
  --clay-50: #fbfcfd;
  --clay-100: #f3f6f9;
  --clay-200: #e2e8f0;
  --clay-300: #cbd5e1;
  --clay-400: #94a3b8;
  --clay-500: #64748b;
  --clay-600: #475569;
  --clay-700: #334155;
  --clay-800: #1e293b;
  --clay-900: #0f172a;

  /* Shadows */
  --shadow-tactile-btn: 0 4px 0 #003e6f, 0 10px 20px -4px rgba(0, 94, 165, 0.35);
  --shadow-tactile-btn-hover: 0 6px 0 #003e6f, 0 14px 24px -4px rgba(0, 94, 165, 0.45);
  --shadow-tactile-btn-active: 0 1px 0 #003e6f, 0 4px 10px rgba(0, 94, 165, 0.3);
  --shadow-card: 0 12px 36px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.07);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--clay-50);
  color: var(--clay-900);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(214, 232, 250, 0.4) 0%, rgba(251, 252, 253, 1) 70%);
}

::selection {
  background-color: var(--brand-100);
  color: var(--brand-700);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

/* Utility Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
.font-display { font-family: var(--font-display); }
.text-gradient {
  background: linear-gradient(135deg, var(--brand-600) 0%, #0099ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Top Announcement Banner */
.top-banner {
  background: linear-gradient(90deg, var(--brand-800), var(--brand-600), var(--brand-800));
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clay-200);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-icon {
  width: 2.85rem;
  height: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(0, 94, 165, 0.28));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo:hover .logo-icon {
  transform: rotate(-6deg) scale(1.1);
}

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clay-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--clay-500);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.flag-badge {
  background: var(--clay-100);
  color: var(--clay-700);
  padding: 0.1rem 0.4rem;
  border-radius: 0.35rem;
  font-weight: 800;
  font-size: 0.65rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.35rem;
  background: var(--clay-100);
  padding: 0.35rem 0.5rem;
  border-radius: 1.1rem;
  border: 1px solid var(--clay-200);
}

@media (min-width: 860px) {
  .nav-links { display: flex; }
}

.nav-item {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--clay-700);
  padding: 0.45rem 0.9rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.nav-item:hover {
  color: var(--brand-600);
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Sound Toggle */
.sound-toggle-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: var(--clay-100);
  color: var(--clay-700);
  border: 1px solid var(--clay-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.sound-toggle-btn:hover {
  background: #fff;
  color: var(--brand-600);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 1rem;
  background: var(--brand-600);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-tactile-btn);
  transition: all 0.15s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--brand-700);
  box-shadow: var(--shadow-tactile-btn-hover);
  transform: translateY(-2px);
}

.btn-primary:active {
  box-shadow: var(--shadow-tactile-btn-active);
  transform: translateY(2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 1rem;
  background: #fff;
  color: var(--clay-800);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid var(--clay-300);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--clay-100);
  border-color: var(--clay-400);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 4rem 0 5.5rem;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 94, 165, 0.14) 0%, rgba(16, 185, 129, 0.08) 40%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
}

.pulse-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--emerald-base);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--clay-900);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
  color: var(--brand-600);
}

.hero-title .highlight svg {
  position: absolute;
  bottom: -0.6rem;
  left: 0;
  width: 100%;
  height: 0.85rem;
  color: var(--amber-base);
  opacity: 0.6;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--clay-600);
  max-width: 680px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--clay-600);
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--clay-200);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
}

/* HERO SHOWCASE STAGE */
.showcase-stage {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: 3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 246, 249, 0.85) 100%);
  border: 1px solid var(--clay-200);
  box-shadow: var(--shadow-card);
}

/* 3D LOTTERY BALL COMPONENT */
.lotto-ball {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  user-select: none;
  position: relative;
  box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.35), inset 4px 4px 8px rgba(255, 255, 255, 0.6), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.lotto-ball::after {
  content: '';
  position: absolute;
  top: 12%;
  left: 20%;
  width: 35%;
  height: 25%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50%;
  transform: rotate(-30deg);
  pointer-events: none;
}

.ball-blue {
  background: radial-gradient(circle at 35% 35%, #4299e1, #1a56db 70%, #0c2d6b 100%);
}

.ball-green {
  background: radial-gradient(circle at 35% 35%, #34d399, #059669 70%, #064e3b 100%);
}

.ball-gold {
  background: radial-gradient(circle at 35% 35%, #fbbf24, #d97706 70%, #78350f 100%);
}

.ball-purple {
  background: radial-gradient(circle at 35% 35%, #a78bfa, #7c3aed 70%, #4c1d95 100%);
}

.ball-rose {
  background: radial-gradient(circle at 35% 35%, #fb7185, #e11d48 70%, #881337 100%);
}

/* Floating Stage Balls */
.floating-ball {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.fb-1 { width: 3.5rem; height: 3.5rem; font-size: 1.25rem; top: 10%; left: 3%; animation: floatSlow 6s ease-in-out infinite; }
.fb-2 { width: 3rem; height: 3rem; font-size: 1.1rem; bottom: 12%; left: 6%; animation: floatReverse 7s ease-in-out infinite 0.5s; }
.fb-3 { width: 4.2rem; height: 4.2rem; font-size: 1.6rem; top: 12%; right: 4%; animation: floatSlow 8s ease-in-out infinite 1s; }
.fb-4 { width: 3.2rem; height: 3.2rem; font-size: 1.15rem; bottom: 16%; right: 8%; animation: floatReverse 6.5s ease-in-out infinite 1.5s; }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-4deg); }
}

/* Stage Grid */
.stage-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 960px) {
  .stage-grid {
    grid-template-columns: 1fr 370px 1fr;
  }
}

.stage-benefit-card {
  background: #fff;
  border: 1px solid var(--clay-200);
  border-radius: 1.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stage-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.benefit-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.benefit-amber { background: var(--amber-soft); color: var(--amber-dark); border: 1px solid var(--amber-border); }
.benefit-emerald { background: var(--emerald-soft); color: var(--emerald-dark); border: 1px solid var(--emerald-border); }

/* PHONE FRAME */
.phone-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.phone-device {
  width: 100%;
  max-width: 360px;
  background: #0f172a;
  border: 8px solid #1e293b;
  border-radius: 3rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

/* Phone Gloss Reflection */
.phone-device::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.12) 50%, transparent 55%);
  pointer-events: none;
  z-index: 30;
}

.phone-screen {
  background: #fbfcfd;
  min-height: 610px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Phone Status Bar */
.phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clay-800);
}

.camera-cutout {
  width: 0.75rem;
  height: 0.75rem;
  background: #0f172a;
  border-radius: 50%;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* In-App Header */
.app-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--clay-200);
  background: #fff;
}

.app-draw-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.app-game-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-draw-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--clay-900);
  line-height: 1.1;
}

.app-draw-progress {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--clay-500);
}

.app-pill-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: var(--amber-soft);
  color: var(--amber-dark);
  border: 1px solid var(--amber-border);
}

/* Phone Card Arena */
.app-arena {
  flex: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
}

/* Card Stack */
.card-stack {
  position: relative;
  width: 100%;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.under-card {
  position: absolute;
  border-radius: 1.75rem;
  border: 1px solid var(--clay-300);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--clay-400);
  transition: all 0.3s ease;
}

.under-card-2 {
  width: 78%;
  height: 250px;
  background: var(--clay-200);
  transform: translateY(22px) scale(0.9);
  opacity: 0.5;
  z-index: 1;
}

.under-card-1 {
  width: 88%;
  height: 265px;
  background: var(--clay-100);
  transform: translateY(12px) scale(0.95);
  opacity: 0.8;
  z-index: 2;
}

/* The Main Active Card */
.active-card {
  position: relative;
  width: 100%;
  height: 285px;
  background: #fff;
  border-radius: 1.75rem;
  border: 1px solid var(--clay-200);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  touch-action: none;
  user-select: none;
  cursor: grab;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.active-card:active {
  cursor: grabbing;
}

.active-card.dragging {
  transition: none !important;
}

/* Dynamic glow indicators on card while swiping */
.active-card .swipe-stamp {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
}

.swipe-stamp.keep {
  right: 1rem;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  border: 2px solid var(--emerald-base);
  transform: rotate(10deg);
}

.swipe-stamp.skip {
  left: 1rem;
  background: var(--coral-soft);
  color: var(--coral-dark);
  border: 2px solid var(--coral-base);
  transform: rotate(-10deg);
}

.card-top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clay-500);
}

.card-tag {
  background: var(--clay-100);
  padding: 0.2rem 0.55rem;
  border-radius: 0.5rem;
  color: var(--clay-600);
}

.card-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--emerald-dark);
  background: var(--emerald-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 0.5rem;
}

.card-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-giant-ball {
  width: 6.25rem;
  height: 6.25rem;
  font-size: 2.5rem;
}

.card-number-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--clay-900);
}

.card-number-sub {
  font-size: 0.75rem;
  color: var(--clay-500);
  font-weight: 500;
}

.card-bottom-guide {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--clay-50);
  border: 1px solid var(--clay-200);
  padding: 0.4rem 0.85rem;
  border-radius: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.guide-skip { color: var(--coral-base); }
.guide-keep { color: var(--emerald-base); }

/* Live Ticket Tray inside Phone */
.app-ticket-tray {
  width: 100%;
  background: #fff;
  border: 1px solid var(--clay-200);
  border-radius: 1.25rem;
  padding: 0.85rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.tray-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clay-500);
}

.tray-progress-count {
  color: var(--brand-600);
}

.tray-balls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.tray-slot {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  transition: all 0.25s ease;
}

.tray-slot.empty {
  border: 2px dashed var(--clay-300);
  color: var(--clay-400);
  background: var(--clay-50);
}

.tray-slot.filled {
  color: #fff;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% { transform: scale(0.3); opacity: 0; }
  80% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* Phone Buttons Controls */
.app-touch-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.btn-tactile-action {
  border-radius: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-tactile-action:active {
  transform: scale(0.92);
}

.btn-action-skip {
  width: 3.1rem;
  height: 3.1rem;
  background: var(--coral-soft);
  color: var(--coral-base);
  border: 1px solid var(--coral-border);
  font-size: 1.4rem;
}

.btn-action-shuffle {
  width: 2.5rem;
  height: 2.5rem;
  background: #fff;
  color: var(--clay-600);
  border: 1px solid var(--clay-200);
  font-size: 1.15rem;
}

.btn-action-keep {
  width: 3.1rem;
  height: 3.1rem;
  background: var(--emerald-base);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* Phone Gesture Pill */
.phone-gesture-pill {
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.pill-bar {
  width: 6.5rem;
  height: 0.25rem;
  background: var(--clay-300);
  border-radius: 9999px;
}

/* SECTION TITLES */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.pill-brand { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-200); }
.pill-emerald { background: var(--emerald-soft); color: var(--emerald-dark); border: 1px solid var(--emerald-border); }
.pill-amber { background: var(--amber-soft); color: var(--amber-dark); border: 1px solid var(--amber-border); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--clay-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--clay-600);
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* BENTO GRID */
.bento-section {
  padding: 5.5rem 0;
  background: #fff;
  border-top: 1px solid var(--clay-200);
  border-bottom: 1px solid var(--clay-200);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-card {
  background: var(--clay-50);
  border: 1px solid var(--clay-200);
  border-radius: 2rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-card);
}

.bento-span-2 {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .bento-span-2 {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
  }
}

.bento-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.bg-brand-box { background: var(--brand-600); }
.bg-emerald-box { background: var(--emerald-base); }
.bg-amber-box { background: var(--amber-base); }
.bg-dark-box { background: var(--clay-800); }

.bento-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clay-900);
  margin-bottom: 0.5rem;
}

.bento-text p {
  font-size: 0.875rem;
  color: var(--clay-600);
  line-height: 1.6;
}

.bento-visual {
  background: #fff;
  border: 1px solid var(--clay-200);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
}

/* UK GAMES SHOWCASE SECTION */
.games-section {
  padding: 5.5rem 0;
}

.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
}

.game-card {
  background: #fff;
  border: 1px solid var(--clay-200);
  border-radius: 2rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}

.game-card:hover, .game-card.active-selected {
  transform: translateY(-4px);
  border-color: var(--brand-500);
  box-shadow: var(--shadow-card-hover);
}

.game-card.active-selected {
  border-width: 2px;
  background: #f8fbfe;
}

.game-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.game-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  background: var(--clay-100);
  color: var(--clay-700);
}

.game-draw-days {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clay-500);
}

.game-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--clay-900);
}

.game-rule-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-600);
  margin-top: 0.2rem;
}

.game-desc {
  font-size: 0.8125rem;
  color: var(--clay-600);
  margin-top: 0.85rem;
  line-height: 1.55;
}

.game-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--clay-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
}

.game-footer-cta {
  color: var(--brand-600);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* INTERACTIVE FULL SIMULATOR SECTION */
.simulator-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #fff 0%, var(--clay-100) 100%);
  border-top: 1px solid var(--clay-200);
}

.simulator-box {
  background: #fff;
  border: 1px solid var(--clay-200);
  border-radius: 3rem;
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .simulator-box {
    padding: 3.5rem 3rem;
  }
}

.sim-game-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.sim-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--clay-100);
  color: var(--clay-700);
  border: 1px solid var(--clay-200);
  transition: all 0.2s ease;
}

.sim-tab-btn:hover {
  background: #fff;
  border-color: var(--brand-300);
  color: var(--brand-600);
}

.sim-tab-btn.active {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-600);
  box-shadow: 0 4px 12px rgba(0, 94, 165, 0.25);
}

/* Simulator Arena */
.sim-arena {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.sim-card-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-card {
  position: absolute;
  width: 100%;
  height: 310px;
  background: #fff;
  border-radius: 2rem;
  border: 1px solid var(--clay-200);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: box-shadow 0.2s;
}

.sim-card:active {
  cursor: grabbing;
}

.sim-card.dragging {
  transition: none;
}

.sim-stamp {
  position: absolute;
  top: 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.sim-stamp.keep {
  right: 1.25rem;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  border: 2px solid var(--emerald-base);
  transform: rotate(12deg);
}

.sim-stamp.skip {
  left: 1.25rem;
  background: var(--coral-soft);
  color: var(--coral-dark);
  border: 2px solid var(--coral-base);
  transform: rotate(-12deg);
}

.sim-card-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clay-500);
}

.sim-ball-large {
  width: 7rem;
  height: 7rem;
  font-size: 2.8rem;
}

.sim-action-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.sim-btn {
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.sim-btn:active {
  transform: scale(0.92);
}

.sim-btn-skip {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--coral-soft);
  color: var(--coral-base);
  border: 1px solid var(--coral-border);
}

.sim-btn-shuffle {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--clay-100);
  color: var(--clay-700);
  border: 1px solid var(--clay-200);
  font-size: 1.2rem;
}

.sim-btn-keep {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--emerald-base);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* Simulator Saved Line Tray */
.sim-tray-container {
  width: 100%;
  max-width: 540px;
  background: var(--clay-50);
  border: 1px solid var(--clay-200);
  border-radius: 1.75rem;
  padding: 1.25rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.sim-tray-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clay-600);
}

.sim-slots-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.sim-slot {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  transition: all 0.25s ease;
}

.sim-slot.empty {
  border: 2px dashed var(--clay-300);
  color: var(--clay-400);
  background: #fff;
}

.sim-completion-card {
  display: none;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 2px solid var(--emerald-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
  animation: popIn 0.35s ease;
}

.sim-completion-card.show {
  display: block;
}

.sim-share-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* HOW IT WORKS SECTION */
.steps-section {
  padding: 5.5rem 0;
  background: #fff;
  border-bottom: 1px solid var(--clay-200);
}

.steps-pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

@media (min-width: 860px) {
  .steps-pipeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-pipeline::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--clay-200);
    z-index: 1;
  }
}

.step-card {
  background: var(--clay-50);
  border: 1px solid var(--clay-200);
  border-radius: 2rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}

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

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clay-900);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--clay-600);
  line-height: 1.6;
}

/* HONEST PROMISE SECTION */
.honesty-section {
  padding: 5.5rem 0;
}

.honesty-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid var(--amber-border);
  border-radius: 2.5rem;
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .honesty-box {
    flex-direction: row;
    padding: 3.5rem;
    gap: 2.5rem;
  }
}

.honesty-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--amber-border);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.honesty-text h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--clay-900);
  margin-bottom: 0.75rem;
}

.honesty-text p {
  font-size: 0.925rem;
  color: var(--clay-700);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.honesty-bullets {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--clay-800);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(245, 158, 11, 0.25);
}

.honesty-bullet-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* FAQ SECTION */
.faq-section {
  padding: 5.5rem 0;
  background: var(--clay-50);
  border-top: 1px solid var(--clay-200);
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: #fff;
  border: 1px solid var(--clay-200);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-card:hover {
  border-color: var(--clay-300);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clay-900);
  text-align: left;
  cursor: pointer;
  background: transparent;
}

.faq-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--clay-100);
  color: var(--clay-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.25s ease, background 0.2s;
  flex-shrink: 0;
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
  background: var(--brand-50);
  color: var(--brand-600);
}

.faq-answer {
  display: none;
  padding: 0 1.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--clay-600);
  line-height: 1.65;
}

.faq-card.open .faq-answer {
  display: block;
}

/* DOWNLOAD CTA BANNER */
.cta-section {
  padding: 3rem 0 5.5rem;
}

.cta-banner {
  background: linear-gradient(135deg, #091e3a 0%, var(--brand-900) 50%, var(--brand-600) 100%);
  border-radius: 3rem;
  padding: 3.5rem 2rem;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 94, 165, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.cta-icon-wrap {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.cta-floating-icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  animation: float-gentle 4s ease-in-out infinite;
}

@keyframes float-gentle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 2rem;
  border-radius: 1.25rem;
  background: #fff;
  color: var(--clay-900);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.btn-white:hover {
  background: var(--clay-100);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.btn-white:active {
  transform: translateY(1px);
}

/* FOOTER */
.footer {
  background: #fff;
  border-top: 1px solid var(--clay-200);
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--clay-200);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--clay-600);
  margin-top: 0.85rem;
  max-width: 360px;
  line-height: 1.6;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.pill-age { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.pill-gamble { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clay-900);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--clay-600);
}

.footer-col a:hover {
  color: var(--brand-600);
}

.footer-disclaimer-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--clay-50);
  border: 1px solid var(--clay-200);
  border-radius: 1.25rem;
  font-size: 0.72rem;
  color: var(--clay-500);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--clay-500);
  flex-wrap: wrap;
  gap: 1rem;
}

/* TOAST NOTIFICATION */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--clay-900);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* CANVAS CONFETTI */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}
