/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #23262A;
  --bg-alt:      #1D2023;
  --bg-card:     #2D3137;
  --orange:      #FF931E;
  --orange-dark: #E07D0C;
  --gold:        #FFD700;
  --white:       #FFFFFF;
  --text:        #E4E7EC;
  --muted:       #8B93A1;
  --border:      rgba(255,255,255,0.08);

  --lucky-hi:    #EF5350;
  --lucky-glow:  rgba(211,47,47,0.25);
  --nala-hi:     #66BB6A;
  --nala-glow:   rgba(46,125,50,0.25);

  --radius:      14px;
  --radius-sm:   8px;
  --radius-lg:   24px;
  --shadow:      0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.45);
  --ease:        0.25s ease;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* ── CONTAINER ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,147,30,0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
}

/* ── 18+ BADGE ── */
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  letter-spacing: 0;
}

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(35,38,42,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.header__scratch {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-left: 0.65rem;
  border-left: 2px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__link {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all var(--ease);
}
.nav__link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 65% at 80% 50%, rgba(255,147,30,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 45% 80% at 15% 35%, rgba(255,215,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding: 6rem 1.5rem;
  max-width: 660px;
}
.hero__heading {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.025em;
}
.hero__heading em {
  font-style: normal;
  color: var(--orange);
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}
.hero__prizes {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero__prize-item { display: flex; flex-direction: column; align-items: center; }
.hero__prize-amount {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.hero__prize-game {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}
.hero__divider {
  width: 1px;
  height: 44px;
  background: var(--border);
}

/* ─────────────────────────────────────────
   SECTIONS
───────────────────────────────────────── */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.section__sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 560px;
}

/* ─────────────────────────────────────────
   GAME CARDS
───────────────────────────────────────── */
.games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.game-card__top {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
}
.game-card--lucky .game-card__top {
  background: linear-gradient(135deg, rgba(211,47,47,0.28), rgba(239,83,80,0.12));
  border-bottom: 1px solid rgba(211,47,47,0.25);
}
.game-card--nala .game-card__top {
  background: linear-gradient(135deg, rgba(46,125,50,0.28), rgba(67,160,71,0.12));
  border-bottom: 1px solid rgba(46,125,50,0.25);
}
.game-card__price { font-size: 2rem; font-weight: 900; color: var(--white); }
.game-card__label { font-size: 0.85rem; color: var(--muted); }

.game-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.game-card__name { font-size: 1.5rem; font-weight: 800; }
.game-card--lucky .game-card__name { color: var(--lucky-hi); }
.game-card--nala  .game-card__name { color: var(--nala-hi); }

.game-card__desc { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.game-card__symbols {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 1.35rem;
}
.game-card__odds {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  width: fit-content;
  border: 1px solid var(--border);
}

.nala-rows-preview { display: flex; flex-direction: column; gap: 0.35rem; }
.nala-row-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.8rem;
  background: rgba(46,125,50,0.12);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid rgba(46,125,50,0.18);
}
.nala-row-preview.muted {
  background: transparent;
  border-color: transparent;
  justify-content: center;
  color: rgba(255,255,255,0.18);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.game-card__footer {
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.game-card__maxprize { font-size: 0.88rem; color: var(--muted); }
.game-card__maxprize strong { color: var(--gold); font-weight: 800; font-size: 1rem; }

/* ─────────────────────────────────────────
   HOW TO PLAY — TABS
───────────────────────────────────────── */
.tabs__nav {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.tab-btn {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--ease);
}
.tab-btn:hover { color: var(--white); }
.tab-btn.active { color: var(--orange); border-bottom-color: var(--orange); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─────────────────────────────────────────
   STEPS
───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.step {
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color var(--ease);
}
.step:hover { border-color: rgba(255,147,30,0.3); }
.step__num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.6;
  line-height: 1;
}
.step__body h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.step__body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   PRIZE TABLES
───────────────────────────────────────── */
.prizes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.prize-table {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.prize-table__header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.prize-table__header h3 { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.prize-table__header span { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-weight: 500; }
.prize-table__header--lucky {
  background: linear-gradient(135deg, rgba(211,47,47,0.38), rgba(183,28,28,0.18));
  border-bottom: 1px solid rgba(211,47,47,0.28);
}
.prize-table__header--nala {
  background: linear-gradient(135deg, rgba(46,125,50,0.38), rgba(27,94,32,0.18));
  border-bottom: 1px solid rgba(46,125,50,0.28);
}
.prize-table__note {
  padding: 0.7rem 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  background: rgba(0,0,0,0.14);
  border-bottom: 1px solid var(--border);
}

.prize-list {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.prize-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.12);
  border: 1px solid transparent;
  transition: background var(--ease);
}
.prize-item:hover { background: rgba(255,255,255,0.04); }
.prize-item--top {
  background: rgba(255,215,0,0.09);
  border-color: rgba(255,215,0,0.18);
}
.prize-tier { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.prize-item--top .prize-tier { color: var(--gold); font-weight: 700; }
.prize-value { font-size: 0.98rem; font-weight: 800; color: var(--white); }
.prize-item--top .prize-value { font-size: 1.1rem; color: var(--gold); }

/* ─────────────────────────────────────────
   RESPONSIBLE GAMING
───────────────────────────────────────── */
.responsible-banner {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255,147,30,0.07);
  border: 1px solid rgba(255,147,30,0.2);
  border-radius: var(--radius);
  margin-top: 2rem;
}
.responsible-banner__icon { font-size: 1.75rem; flex-shrink: 0; line-height: 1; }
.responsible-banner h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.35rem;
}
.responsible-banner p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   TERMS & CONDITIONS — ACCORDION
───────────────────────────────────────── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  transition: background var(--ease);
}
.accordion-trigger:hover { background: rgba(255,255,255,0.04); }
.accordion-trigger::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform var(--ease);
}
.accordion-item.open .accordion-trigger::after { transform: rotate(45deg); }
.accordion-item.open .accordion-trigger { color: var(--orange); }

.accordion-body {
  display: none;
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.accordion-item.open .accordion-body { display: block; }
.accordion-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.accordion-body p:last-child { margin-bottom: 0; }
.accordion-body ul {
  list-style: disc;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
  margin: 0.5rem 0;
}
.accordion-body strong { color: var(--text); font-weight: 600; }

.terms-updated {
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.7;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer__brand { display: flex; align-items: center; gap: 0.6rem; }
.footer__scratch {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-left: 0.6rem;
  border-left: 2px solid var(--border);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}
.footer__nav a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--ease);
}
.footer__nav a:hover { color: var(--white); }

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
}
.footer__contact p { font-size: 0.88rem; color: var(--muted); }

.footer__legal {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.footer__legal p { font-size: 0.8rem; color: var(--muted); line-height: 1.65; }

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ─────────────────────────────────────────
   HEADER RIGHT + LANGUAGE SWITCH
───────────────────────────────────────── */
.header__right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.lang-switch {
  display: inline-flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  transition: all var(--ease);
}
.lang-switch__btn:hover { color: var(--white); }
.lang-switch__btn.active {
  background: var(--orange);
  color: #fff;
}
.lang-switch__flag {
  width: 20px;
  height: 13px;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
  opacity: 0.85;
  transition: opacity var(--ease), filter var(--ease);
  filter: saturate(0.85);
}
.lang-switch__btn:hover .lang-switch__flag,
.lang-switch__btn.active .lang-switch__flag {
  opacity: 1;
  filter: saturate(1.1);
}

/* ─────────────────────────────────────────
   LUCKY-7 SYMBOL CHIP (games card)
───────────────────────────────────────── */
.game-card__seven {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 8px;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--gold) 55%, #c79200);
  color: #7a1010;
  font-weight: 900;
  font-size: 1.05rem;
  font-style: italic;
  box-shadow: 0 0 0 2px rgba(255,215,0,0.25), 0 2px 6px rgba(0,0,0,0.4);
}

/* Nala preview winning row */
.nala-row-preview { position: relative; }
.nala-row-preview.win {
  background: rgba(255,215,0,0.12);
  border-color: rgba(255,215,0,0.4);
  color: var(--text);
}
.nala-row-preview__tag {
  position: absolute;
  right: 0.6rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1b5e20;
  background: var(--gold);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* ─────────────────────────────────────────
   MEET THE CARDS — FLIP SHOWCASE
───────────────────────────────────────── */
.cards-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}
.showcard {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 460px;
  width: 100%;
}
.cardflip {
  perspective: 1400px;
  cursor: pointer;
  outline: none;
  position: relative;
}
.cardflip__inner {
  position: relative;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.cardflip.is-flipped .cardflip__inner { transform: rotateY(180deg); }
.cardflip__face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
/* The front sits in flow and defines the card's natural size … */
.cardflip__face--front { position: relative; }
.cardflip__face--front img { width: 100%; height: auto; display: block; }
/* … the back overlays it and fits within the same box. */
.cardflip__face--back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  background: #fff;
}
.cardflip__face--back img { width: 100%; height: 100%; object-fit: contain; }
/* Flip affordance: hidden at rest (never covers the prizes), shown on hover/focus */
.cardflip__hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  background: rgba(15,17,20,0.4);
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity var(--ease);
  pointer-events: none;
}
.cardflip:hover .cardflip__hint,
.cardflip:focus-visible .cardflip__hint { opacity: 1; }
.cardflip:focus-visible .cardflip__inner { box-shadow: 0 0 0 3px var(--orange), var(--shadow-lg); }
.showcard__cap { display: flex; flex-direction: column; gap: 0.15rem; text-align: center; }
.showcard__cap strong { color: var(--white); font-size: 1.1rem; font-weight: 800; }
.showcard__cap span { color: var(--muted); font-size: 0.88rem; }

/* ─────────────────────────────────────────
   LIVE SCRATCH DEMO
───────────────────────────────────────── */
.scratch-demo {
  margin-top: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.scratch-demo__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.scratch-demo__badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255,147,30,0.12);
  border: 1px solid rgba(255,147,30,0.3);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.scratch-demo__cap { font-size: 0.9rem; color: var(--muted); }

.scratch-demo__stage {
  position: relative;
  margin: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.game-card--lucky .scratch-demo__stage,
[data-game="lucky"] .scratch-demo__stage {
  background: linear-gradient(135deg, #c0392b, #7a1f17);
}
[data-game="nala"] .scratch-demo__stage {
  background: linear-gradient(135deg, #1f6e2c, #114019);
}
.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: grab;
  touch-action: none;
  transition: opacity 0.5s ease;
}
.scratch-canvas:active { cursor: grabbing; }
.scratch-demo__stage.revealed .scratch-canvas { opacity: 0; pointer-events: none; }

/* Lucky grid */
.scratch-grid--lucky {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
  padding: 1.1rem;
}
.scratch-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.7rem 0.2rem;
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.scratch-cell .sym { font-size: 1.5rem; line-height: 1; }
.scratch-cell .sym--seven {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 8px;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--gold) 55%, #c79200);
  color: #7a1010;
  font-weight: 900;
  font-style: italic;
  font-size: 1.2rem;
}
.scratch-cell .amt { font-size: 0.72rem; font-weight: 800; color: #333; }
.revealed .scratch-cell.is-win {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 0 3px var(--gold), 0 6px 18px rgba(255,215,0,0.5);
  animation: winpulse 1.2s ease infinite;
}
@keyframes winpulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--gold), 0 6px 18px rgba(255,215,0,0.45); }
  50%      { box-shadow: 0 0 0 4px var(--gold), 0 8px 26px rgba(255,215,0,0.75); }
}

/* Nala grid */
.scratch-grid--nala {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem;
}
.nala-grid-row {
  display: grid;
  grid-template-columns: 4.2rem repeat(3, 1fr) 4.6rem;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.92);
  border-radius: 7px;
  padding: 0.3rem 0.55rem;
  transition: box-shadow 0.3s ease;
}
.nala-grid-row .mola {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #1f6e2c;
}
.nala-grid-row .sym { font-size: 1.3rem; text-align: center; line-height: 1.4; }
.nala-grid-row .prize {
  font-size: 0.72rem;
  font-weight: 800;
  color: #333;
  text-align: right;
}
.revealed .nala-grid-row.is-win {
  box-shadow: 0 0 0 3px var(--gold), 0 4px 14px rgba(255,215,0,0.45);
  animation: winpulse 1.2s ease infinite;
}

.scratch-demo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 1.5rem 1.4rem;
}
.scratch-demo__msg { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.scratch-demo__msg.win { color: var(--gold); }
.scratch-demo__reset { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.scratch-demo__reset[hidden] { display: none; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(29,32,35,0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1.25rem;
    gap: 0.2rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--ease);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__link { padding: 0.8rem 1rem; width: 100%; }

  .hero__content { padding: 4rem 1.5rem; }
  .hero__prizes { gap: 1.25rem; padding: 1rem 1.25rem; }
  .hero__prize-amount { font-size: 1.3rem; }

  .steps { grid-template-columns: 1fr; }
  .responsible-banner { flex-direction: column; }

  .scratch-grid--lucky { gap: 0.25rem; padding: 0.7rem; }
  .scratch-cell { padding: 0.5rem 0.1rem; }
  .scratch-cell .sym { font-size: 1.1rem; }
  .scratch-cell .sym--seven { width: 1.5rem; height: 1.5rem; font-size: 0.95rem; }
  .scratch-cell .amt { font-size: 0.56rem; }
  .nala-grid-row { grid-template-columns: 3.1rem repeat(3, 1fr) 3.6rem; }
  .nala-grid-row .mola { font-size: 0.5rem; }
  .nala-grid-row .sym { font-size: 1rem; }
  .nala-grid-row .prize { font-size: 0.58rem; }
}

@media (max-width: 480px) {
  .hero__prizes {
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
  }
  .hero__divider { width: 36px; height: 1px; }

  .prize-table__header { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .footer__contact { flex-direction: column; }
}

/* ═════════════════════════════════════════════
   ENERGY LAYER — lottery vibrancy on the dark base
═════════════════════════════════════════════ */

/* Animated hero glow + twinkling sparkles */
.hero__glow { animation: heroDrift 16s ease-in-out infinite alternate; }
@keyframes heroDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1);    opacity: 0.85; }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.1); opacity: 1; }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(2px 2px at 18% 28%, rgba(255,215,0,0.55), transparent 60%),
    radial-gradient(2px 2px at 72% 22%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.6px 1.6px at 86% 58%, rgba(255,215,0,0.5), transparent 60%),
    radial-gradient(1.6px 1.6px at 42% 72%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1.6px 1.6px at 60% 40%, rgba(255,147,30,0.5), transparent 60%);
  animation: twinkle 3.6s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }

/* Glowing gold shimmer on the jackpot line in the hero heading */
.hero__heading em {
  background: linear-gradient(95deg, #FFD700 0%, #FFB23E 28%, #FFF3B0 50%, #FFB23E 72%, #FFD700 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 16px rgba(255,180,40,0.4));
  animation: shineText 5.5s linear infinite;
}
@keyframes shineText { to { background-position: 200% center; } }

/* Hero prize box: glowing numbers + a slow shine sweep */
.hero__prizes { position: relative; overflow: hidden; }
.hero__prize-item { position: relative; z-index: 1; }
.hero__prize-amount {
  font-size: 1.75rem;
  text-shadow: 0 0 20px rgba(255,215,0,0.4);
}
.hero__prizes::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-18deg);
  animation: sweep 6.5s ease-in-out infinite;
}
@keyframes sweep { 0% { left: -60%; } 38%, 100% { left: 135%; } }

/* Game cards: game-themed glow on hover + brighter accents */
.game-card__price { text-shadow: 0 0 16px rgba(255,255,255,0.25); }
.game-card__maxprize strong { text-shadow: 0 0 14px rgba(255,215,0,0.45); }
.game-card--lucky:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 52px rgba(211,47,47,0.42), 0 0 0 1px rgba(255,215,0,0.35);
}
.game-card--nala:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 52px rgba(46,125,50,0.42), 0 0 0 1px rgba(255,215,0,0.35);
}

/* Section titles get a glowing orange→gold accent bar */
.section__title { position: relative; }
.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 0.85rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  box-shadow: 0 0 18px rgba(255,147,30,0.55);
}

/* Top-prize rows: celebratory shimmer + glow */
.prize-item--top { position: relative; overflow: hidden; }
.prize-item--top .prize-tier,
.prize-item--top .prize-value { position: relative; z-index: 1; }
.prize-item--top .prize-value { text-shadow: 0 0 14px rgba(255,215,0,0.55); }
.prize-item--top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 32%, rgba(255,215,0,0.18) 50%, transparent 68%);
  background-size: 200% 100%;
  animation: sweep2 4.5s linear infinite;
  pointer-events: none;
}
@keyframes sweep2 { to { background-position: -200% 0; } }

/* Primary button shine sweep */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.38), transparent);
  transform: skewX(-20deg);
  animation: sweep 5s ease-in-out infinite;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__glow, .hero::after, .hero__heading em, .hero__prizes::before,
  .prize-item--top::after, .btn--primary::after { animation: none !important; }
  .hero__heading em { filter: none; }
}

/* ═════════════════════════════════════════════
   MIDDLE-GROUND TOUCHES — branded ticker + ticket-art game cards
═════════════════════════════════════════════ */

/* Promo ticker — dark, branded, understated */
.ticker {
  position: sticky;
  top: 68px;
  z-index: 90;
  background: rgba(29,32,35,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,147,30,0.28);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
  padding: 0.5rem 0.9rem;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker__item b { color: var(--gold); }
.ticker__dot { color: var(--orange); font-size: 0.5rem; opacity: 0.7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Ticket-art banner + corner ribbon on the game cards */
.game-card__art { position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.game-card__art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.game-card--nala .game-card__art img { object-position: center 16%; }
.game-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, var(--bg-card));
}
.game-card__ribbon {
  position: absolute;
  top: 15px;
  left: -46px;
  z-index: 2;
  transform: rotate(-45deg);
  padding: 0.3rem 3.2rem;
  background: linear-gradient(90deg, #EF5350, #C62828);
  color: #fff;
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.game-card__ribbon--nala { background: linear-gradient(90deg, #66BB6A, #2E7D32); }

@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }
@media (max-width: 768px) {
  .ticker { position: static; top: 0; }
  .game-card__art { aspect-ratio: 16 / 8; }
}
