/* ==========================================================================
   Lucky7 — Landing Page
   HTML5 + CSS3 (no framework, no build step)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --body-bg: #f9f7f4;
  --surface-bg: #ffffff;
  --light-color: #ffffff;
  --black-color: #16100e;
  --dark-color: #6b6355;
  --border-color: #e4e1df;
  --primary-color: #f9b12b;
  --gold-light: #f7c14b;
  --gold-dark: #e0820a;
  --grad-gold-top: #f9b12b;
  --grad-gold-bottom: #ee9d07;
  --gradient-gold: linear-gradient(180deg, #f9b12b 0%, #ee9d07 100%);
  --danger-color: #e5372b;
  --success-color: #16a34a;
  --time-bg: rgba(22, 16, 14, 0.05);
  --badge-border: rgba(212, 146, 23, 0.3);
  --card-border: #f2e2b8;

  --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Archivo", "Inter", Arial, sans-serif;

  --round-sm: 8px;
  --round-md: 12px;
  --round-lg: 16px;
  --round-xl: 24px;

  --shadow-card: 0 10px 30px rgba(27, 19, 10, 0.04);
  --shadow-card-hover: 0 16px 34px rgba(224, 130, 10, 0.12);

  --header-h: 76px;
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

body:has(#theme-toggle:checked) {
  --body-bg: #120e0c;
  --surface-bg: #1c1614;
  --light-color: #1c1614;
  --black-color: #f9f7f4;
  --dark-color: #a8a095;
  --border-color: #2e2623;
  --danger-color: #ef4444;
  --success-color: #22c55e;
  --time-bg: rgba(255, 255, 255, 0.05);
  --badge-border: rgba(249, 177, 43, 0.3);
  --card-border: #3a2f1c;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 16px 34px rgba(224, 130, 10, 0.18);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black-color);
  background-color: var(--body-bg);
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

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

h1,
h2,
h3,
h4,
h5,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
}

@media (max-width: 1279px) {
  .container {
    max-width: 1024px;
  }
}

@media (max-width: 1023px) {
  .container {
    max-width: 768px;
  }
}

@media (max-width: 639px) {
  .container {
    max-width: 100%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.font-display {
  font-family: var(--font-display);
}

.min-w-0 {
  min-width: 0;
}

.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   3. Shared components
   -------------------------------------------------------------------------- */

/* Gold gradient button ---------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1.5px;
  overflow: hidden;
  border-radius: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn::before {
  content: "";
  position: absolute;
  inset: -500%;
  background: conic-gradient(
    from 90deg at 50% 50%,
    #f3b137 0%,
    #efa00b 25%,
    #ffffff 50%,
    #efa00b 75%,
    #f3b137 100%
  );
  animation: spin 3s linear infinite;
}

.btn > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  padding: 0 40px;
  overflow: hidden;
  border-radius: 10.5px;
  background: var(--gradient-gold);
  color: #16100e;
  font-size: 18px;
}

.btn > span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-12deg) translateX(-100%);
  transition: transform 1s ease-in-out;
}

.btn:hover > span::after,
.btn:focus-visible > span::after {
  transform: skewX(-12deg) translateX(300%);
}

.btn:hover {
  box-shadow: 0 6px 28px rgba(238, 157, 7, 0.65);
}

.btn:active {
  transform: scale(0.97);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--sm > span {
  height: 40px;
  padding: 0 24px;
  font-size: 14px;
}

.btn svg {
  flex: none;
}

/* Gold section pill ------------------------------------------------------- */
.pill-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--round-md);
  background: var(--gradient-gold);
  color: #16100e;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(120, 82, 13, 0.32);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black-color);
}

/* Live dot ---------------------------------------------------------------- */
.live-dot {
  position: relative;
  display: inline-flex;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  opacity: 0.75;
  animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Gold separator line ----------------------------------------------------- */
.gold-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
}

.gold-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #f7c14b 22%,
    #c56a08 50%,
    #f7c14b 78%,
    transparent 100%
  );
}

.gold-line::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 8px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(224, 130, 10, 0.4), transparent);
  filter: blur(6px);
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-height: var(--header-h);
  background: var(--body-bg);
  border-bottom: 1px solid rgba(228, 225, 223, 0.6);
  box-shadow: 0 4px 20px rgba(27, 19, 10, 0.06);
  transition: background-color var(--transition-normal);
}

body:has(#theme-toggle:checked) .site-header {
  border-bottom-color: rgba(46, 38, 35, 0.8);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--gradient-gold);
  color: #16100e;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(224, 130, 10, 0.3);
}

.logo__text {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.menu-btn {
  display: none;
  padding: 6px;
  color: var(--black-color);
}

/* Primary nav ------------------------------------------------------------- */
.main-nav > ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 22px;
}

.main-nav a.nav-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  color: var(--black-color);
  transition: color var(--transition-fast);
}

.main-nav a.nav-link:hover,
.main-nav li.is-active > a.nav-link {
  color: var(--gold-dark);
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px) scale(0.98);
  transform-origin: top center;
  transition: all 0.2s ease-out;
  z-index: 1000;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.dropdown__box {
  overflow: hidden;
  background: var(--surface-bg);
  border: 1px solid rgba(249, 177, 43, 0.2);
  border-radius: var(--round-lg);
  box-shadow: 0 24px 48px rgba(27, 19, 10, 0.16), 0 0 0 1px rgba(249, 177, 43, 0.08);
}

.dropdown__accent {
  height: 3px;
  background: linear-gradient(90deg, #f9b12b, var(--gold-light), var(--gold-dark));
}

.dropdown__inner {
  width: 360px;
  padding: 12px 8px;
}

.dropdown__label {
  padding: 4px 8px 4px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.dropdown__list {
  columns: 2;
  column-gap: 4px;
}

.dropdown__list li {
  break-inside: avoid;
}

.dropdown__list a {
  display: block;
  padding: 6px 10px;
  border-radius: var(--round-sm);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--black-color);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown__list a:hover {
  background: var(--time-bg);
  color: var(--gold-dark);
}

/* Theme switch ------------------------------------------------------------ */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--surface-bg);
  color: var(--black-color);
  box-shadow: 0 2px 6px rgba(27, 19, 10, 0.08);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.theme-btn:hover {
  transform: scale(1.08);
}

.theme-btn .icon-moon {
  transform: rotate(-12deg);
  transition: transform var(--transition-normal);
}

.theme-btn:hover .icon-moon {
  transform: rotate(0deg);
}

.theme-btn .icon-sun {
  display: none;
}

body:has(#theme-toggle:checked) .theme-btn .icon-moon {
  display: none;
}

body:has(#theme-toggle:checked) .theme-btn .icon-sun {
  display: block;
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(249, 177, 43, 0.15) 0%,
    rgba(238, 157, 7, 0.15) 100%
  );
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 32px;
  padding-top: 100px;
  padding-bottom: 40px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: #9ca3af;
}

.eyebrow span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b7280;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 110px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--grad-gold-top), var(--grad-gold-bottom));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 8px;
}

.hero__tagline {
  max-width: 480px;
  margin: 0 auto 6px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.15;
  color: var(--black-color);
}

.hero__welcome {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 28px;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 800;
}

.hero-rotate {
  display: grid;
  justify-items: center;
  width: 100%;
}

.hero-rotate > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  color: #c27808;
  opacity: 0;
  animation: hero-word-swap 24s infinite;
}

.hero-rotate > span:nth-child(1) { animation-delay: 0s; }
.hero-rotate > span:nth-child(2) { animation-delay: 4s; }
.hero-rotate > span:nth-child(3) { animation-delay: 8s; }
.hero-rotate > span:nth-child(4) { animation-delay: 12s; }
.hero-rotate > span:nth-child(5) { animation-delay: 16s; }
.hero-rotate > span:nth-child(6) { animation-delay: 20s; }

.sparkle {
  display: inline-block;
  margin: 0 0.22em;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1;
  animation: sparkle-twinkle 1.8s ease-in-out infinite;
}

.hero__cta {
  display: flex;
  justify-content: center;
}

.hero__cta--desktop {
  padding-bottom: 28px;
}

.hero__cta--mobile {
  display: none;
  width: 100%;
}

.hero__cta .btn {
  width: 280px;
}

.hero__cta--mobile .btn {
  width: 100%;
}

/* Hero visual ------------------------------------------------------------- */
.hero__visual {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  line-height: 0;
}

.hero-stage::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 2%;
  height: 16%;
  z-index: -1;
  background: radial-gradient(#16100e47, transparent 72%);
  filter: blur(14px);
}

.hero-stage__visual {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(22, 16, 14, 0.22)) saturate(1.08) contrast(1.05);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 88%, rgba(0, 0, 0, 0) 100%);
  animation: hero-breathe 16s ease-in-out infinite;
}

.hero-stage__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background: linear-gradient(108deg, transparent 32%, rgba(255, 236, 190, 0.5) 50%, transparent 68%)
    130% 40% / 240% 240%;
  -webkit-mask-image: url(../assets/hero-image.png);
  mask-image: url(../assets/hero-image.png);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: bottom center;
  mask-position: bottom center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: hero-sheen 8s ease-in-out infinite;
}

.hero__divider {
  bottom: 0;
}

/* --------------------------------------------------------------------------
   6. Trust features
   -------------------------------------------------------------------------- */
.features {
  padding-top: 32px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--surface-bg), #fffcf6);
  border: 1px solid var(--card-border);
  border-radius: var(--round-lg);
  box-shadow: 0 4px 16px rgba(27, 19, 10, 0.04);
}

body:has(#theme-toggle:checked) .feature-card {
  background: var(--surface-bg);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  color: var(--gold-dark);
  background: linear-gradient(135deg, #fff8ec, #ffeec4);
  border: 1px solid var(--gold-light);
  border-radius: var(--round-lg);
  box-shadow: 0 2px 8px rgba(224, 130, 10, 0.12);
}

body:has(#theme-toggle:checked) .feature-card__icon {
  background: linear-gradient(135deg, #281f17, #382a1b);
}

.feature-card h5 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--black-color);
  transition: color var(--transition-fast);
}

.feature-card:hover h5 {
  color: var(--gold-dark);
}

.feature-card span {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--dark-color);
}

/* compact (mobile) feature strip */
.features__grid--compact {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 20px 8px;
  background: var(--surface-bg);
  border-radius: 12px;
}

.features__grid--compact .feature-card {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.features__grid--compact .feature-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  background: #fff6e4;
}

.features__grid--compact h5 {
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 600;
}

.features__grid--compact span {
  display: none;
}

/* contact row ------------------------------------------------------------- */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--round-md);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--badge-border);
  background: var(--surface-bg);
  color: var(--black-color);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.contact-chip--wa {
  background: linear-gradient(135deg, #edf9f1, #d4f0de);
  border-color: #7dd39a;
  color: #16a34a;
}

/* --------------------------------------------------------------------------
   7. Winners
   -------------------------------------------------------------------------- */
.winners {
  padding-top: 40px;
}

.winners__dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.winner-card {
  flex: none;
  width: 188px;
  padding: 10px 16px 14px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--round-lg);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.winner-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-card-hover);
}

.winner-card__rank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-dark);
}

.winner-card__name {
  display: block;
  margin-bottom: 8px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--black-color);
}

.winner-card__amount {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   8. Game rates
   -------------------------------------------------------------------------- */
.rates {
  padding-top: 56px;
}

.rates__frame {
  border: 2px solid var(--primary-color);
  border-radius: var(--round-xl);
  padding: 12px;
  background: rgba(255, 255, 255, 0.4);
}

.rates__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--round-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.rate-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-card-hover);
}

.rate-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  background: var(--time-bg);
  border-radius: 50%;
  color: var(--gold-dark);
}

.rate-card h5 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--black-color);
}

.rate-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 168px;
  padding: 7px 14px;
  background: var(--time-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--round-sm);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--black-color);
}

.rate-pill .ka {
  padding: 0 4px;
}

.rates__table-wrap {
  display: none;
  overflow: hidden;
  background: var(--surface-bg);
  border: 1px solid var(--card-border);
  border-radius: 11px;
}

.rates__table {
  width: 100%;
  border-collapse: collapse;
}

.rates__table th {
  padding: 10px 12px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: #fff8e7;
  border-bottom: 1px solid var(--card-border);
  color: var(--black-color);
}

body:has(#theme-toggle:checked) .rates__table th {
  background: var(--time-bg);
}

.rates__table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--card-border);
}

.rates__table tr:last-child td {
  border-bottom: 0;
}

.rates__table td:first-child {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black-color);
}

.rates__table td:last-child {
  text-align: right;
}

.table-rate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  max-width: 152px;
  padding: 6px 8px;
  background: var(--time-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--round-sm);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   9. Live games
   -------------------------------------------------------------------------- */
.games {
  padding-top: 32px;
}

.games__block + .games__block {
  margin-top: 44px;
}

.games__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.game-card {
  height: 100%;
  padding: 18px 20px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--round-lg);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.game-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.game-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.game-card__title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.game-card__title h5 {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--black-color);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  color: var(--gold-dark);
}

.game-card__result {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--black-color);
}

.game-card__side {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.status {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.status--open {
  color: var(--success-color);
}

.status--close {
  color: var(--danger-color);
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: var(--gradient-gold);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(120, 82, 13, 0.28);
  transition: filter var(--transition-fast);
}

.btn-play:hover {
  filter: brightness(1.08);
}

.game-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 36px;
  padding: 0 16px;
  background: var(--gradient-gold);
  border: 1.5px solid var(--gold-light);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  transition: filter var(--transition-fast);
}

.pill-btn:hover,
.pill-btn:focus-visible {
  filter: brightness(1.08);
}

/* --------------------------------------------------------------------------
   10. Content / SEO blocks
   -------------------------------------------------------------------------- */
.content {
  padding-top: 56px;
}

.content h2 {
  margin-top: 28px;
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  border-bottom: 1px solid var(--border-color);
  color: var(--black-color);
}

.content h2:first-of-type {
  margin-top: 0;
}

.content p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--dark-color);
}

.chart-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin-top: 20px;
  font-size: 14px;
  color: var(--black-color);
  text-align: center;
}

.chart-links a {
  transition: color var(--transition-fast);
}

.chart-links a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

.chart-links .sep {
  padding: 0 10px;
  color: #d1d5db;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq {
  padding-top: 44px;
  padding-bottom: 12px;
}

.faq h2 {
  margin-bottom: 4px;
  padding-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  border-bottom: 1px solid var(--border-color);
  color: var(--black-color);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  color: var(--black-color);
  transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--gold-dark);
}

.faq-item__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--gold-dark);
  transition: transform var(--transition-normal);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-color);
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  margin-top: 48px;
  padding-top: 28px;
  padding-bottom: 56px;
  background: var(--surface-bg);
}

.site-footer .gold-line {
  top: 0;
}

.records {
  margin-bottom: 32px;
}

.records h2 {
  padding-bottom: 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--black-color);
}

.records__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.record-col {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--round-lg);
}

.record-col h3 {
  padding: 10px 12px;
  text-align: center;
  background: var(--gradient-gold);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  color: #16100e;
}

.record-col ul {
  flex: 1;
  padding-bottom: 12px;
  text-transform: uppercase;
}

.record-col li {
  border-bottom: 1px solid rgba(22, 16, 14, 0.08);
  line-height: 1.1;
}

.record-col li:last-child {
  border-bottom: 0;
}

.record-col a {
  display: block;
  padding: 7px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--black-color);
  transition: color var(--transition-fast);
}

.record-col a:hover {
  color: var(--gold-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.footer-about {
  grid-column: span 7;
}

.footer-about p {
  max-width: 570px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dark-color);
}

.footer-safe {
  grid-column: span 5;
}

.age-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.age-badge__circle {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 2px;
  border: 2px solid var(--danger-color);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  color: var(--danger-color);
}

.age-badge__circle sup {
  font-size: 9px;
}

.age-badge p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark-color);
}

.safe-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.safe-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--round-sm);
  background: var(--time-bg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--dark-color);
}

.footer-links {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.footer-links nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--dark-color);
}

.footer-links nav span {
  display: inline-flex;
  align-items: center;
}

.footer-links nav .sep {
  padding: 0 10px;
  color: var(--border-color);
}

.footer-links a {
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--dark-color);
}

.footer-bottom .note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gold-dark);
}

/* Mobile sticky CTA ------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 990;
  display: none;
  width: 100%;
  padding: 12px 16px;
  background: var(--body-bg);
  border-top: 1px solid rgba(228, 225, 223, 0.6);
  box-shadow: 0 -6px 24px rgba(27, 19, 10, 0.12);
  transform: translateY(0);
  transition: transform var(--transition-normal) ease-in-out;
}

/* --------------------------------------------------------------------------
   13. Animations
   -------------------------------------------------------------------------- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

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

@keyframes hero-word-swap {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  4%,
  16% {
    opacity: 1;
    transform: translateY(0);
  }
  20%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes sparkle-twinkle {
  0%,
  100% {
    transform: scale(0.9) rotate(-12deg);
  }
  50% {
    transform: scale(1.22) rotate(12deg);
  }
}

@keyframes hero-breathe {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.018);
  }
}

@keyframes hero-sheen {
  0%,
  100% {
    opacity: 0.28;
    background-position: 130% 28%;
  }
  50% {
    opacity: 0.8;
    background-position: -30% 70%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */

/* ≤1279px : nav collapses into a panel */
@media (max-width: 1279px) {
  .menu-btn {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 12px 16px 20px;
    background: var(--body-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 20px 30px rgba(27, 19, 10, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-fast);
  }

  body:has(#nav-toggle:checked) .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a.nav-link {
    padding: 10px 6px;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .dropdown {
    position: static;
    padding-top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown__box {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .dropdown__accent {
    display: none;
  }

  .dropdown__inner {
    width: 100%;
    padding: 8px 0 4px;
  }

  .dropdown__list {
    columns: 2;
  }

  .dropdown__list a {
    font-size: 12px;
  }
}

/* ≤1023px : hero stacks */
@media (max-width: 1023px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 84px;
    padding-bottom: 28px;
  }

  .hero__brand {
    font-size: clamp(50px, 12vw, 80px);
  }

  .hero__tagline {
    margin-bottom: 4px;
  }

  .hero__cta--desktop {
    display: none;
  }

  .hero__cta--mobile {
    display: flex;
  }

  .hero-stage {
    max-width: 460px;
  }

  .features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .features__grid .feature-card {
    padding: 18px;
  }

  .rates__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .games__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .records__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-about,
  .footer-safe {
    grid-column: span 12;
  }
}

/* ≤767px : cards become the compact strip + single column grids */
@media (max-width: 767px) {
  .features__grid--full {
    display: none;
  }

  .features__grid--compact {
    display: grid;
  }

  .rates__frame {
    border: 0;
    padding: 0;
    background: transparent;
  }

  .rates__grid {
    display: none;
  }

  .rates__table-wrap {
    display: block;
  }

  .games__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .game-card {
    padding: 14px;
  }

  .footer-links nav {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .mobile-cta {
    display: block;
  }
}

/* ≤639px : small phones */
@media (max-width: 639px) {
  :root {
    --header-h: 60px;
  }

  .logo__text {
    font-size: 22px;
  }

  .logo__mark {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .hero__brand {
    font-size: clamp(45px, 14vw, 60px);
  }

  .hero__grid {
    padding-top: 74px;
  }

  .pill-title {
    height: 42px;
    padding: 0 24px;
    font-size: 16px;
    width: 100%;
    max-width: 340px;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .winner-card {
    width: 148px;
    padding: 6px 12px 10px;
  }

  .winner-card__name {
    font-size: 13px;
  }

  .winner-card__amount {
    font-size: 16px;
  }

  .rates__grid {
    gap: 10px;
  }

  .game-card__result {
    font-size: 18px;
  }

  .game-card__title h5 {
    font-size: 17px;
  }

  .btn-play {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .pill-btn {
    min-width: 0;
    height: 32px;
    font-size: 12px;
  }

  .contact-chip {
    height: 38px;
    padding: 0 16px;
    font-size: 14px;
  }

  .faq-item summary {
    font-size: 14px;
  }

  .content h2 {
    font-size: 22px;
  }

  .records h2 {
    font-size: 18px;
  }

  .records__grid {
    gap: 12px;
  }

  .record-col h3 {
    font-size: 12px;
  }

  .record-col a {
    font-size: 11px;
    padding: 6px 4px;
  }

  .btn > span {
    height: 50px;
    padding: 0 28px;
    font-size: 16px;
  }
}
