/* Landing page for the Lotto public site. The OBS live page keeps its own
   fixed 16:9 layout in styles.css — this file only styles the homepage. */

:root {
  --green: #9dff1a;
  --green2: #55d292;
  --blue: #14a6ff;
  --blue-soft: #85f7ff;
  --ink: #030706;
  --cream: #fff8dc;
  --panel: rgba(3, 14, 10, 0.78);
  --panel-line: rgba(157, 255, 26, 0.45);
  --text-dim: rgba(234, 255, 220, 0.78);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home-page {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #fff;
  background: #020504;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.4) 40%, rgba(2, 5, 4, 0.9)),
    url("./lotto_background.png") center / cover no-repeat;
  z-index: -2;
}
body.home-page::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(157, 255, 26, 0.14), transparent 36%),
    radial-gradient(circle at 82% 20%, rgba(20, 166, 255, 0.12), transparent 32%);
  z-index: -1;
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1100px, 92vw); margin: 0 auto; }

/* --- buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 15px 24px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.08s, filter 0.15s, box-shadow 0.15s;
}
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: #03160d;
  border: 2px solid #ddff95;
  box-shadow: 0 0 26px rgba(157, 255, 26, 0.4);
}
.btn-green:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-blue {
  background: rgba(3, 20, 26, 0.85);
  color: var(--blue-soft);
  border: 2px solid rgba(20, 166, 255, 0.7);
  box-shadow: 0 0 22px rgba(20, 166, 255, 0.25);
}
.btn-blue:hover { filter: brightness(1.15); transform: translateY(-1px); }

/* --- nav --------------------------------------------------------------------- */
.home-nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 8, 6, 0.82);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid rgba(157, 255, 26, 0.35);
}
.home-nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.home-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: Anton, Impact, sans-serif;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--green);
  text-shadow: 0 0 18px rgba(157, 255, 26, 0.65);
  letter-spacing: 0.02em;
  min-width: 0;
}
.home-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }
.home-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(157, 255, 26, 0.75);
  box-shadow: 0 0 16px rgba(157, 255, 26, 0.45);
  background: #04120c;
}
.home-links { display: flex; align-items: center; gap: 24px; }
.nav-link { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dim); }
.nav-link:hover { color: var(--green); }
.nav-cta { padding: 11px 18px; font-size: 13px; }
@media (max-width: 880px) { .nav-link { display: none; } }

/* --- hero --------------------------------------------------------------------- */
.hero-lp { padding: clamp(44px, 8vw, 90px) 0 clamp(36px, 6vw, 70px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(3, 20, 26, 0.85);
  border: 1px solid rgba(20, 166, 255, 0.6);
  color: var(--blue-soft);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 0 18px rgba(20, 166, 255, 0.2);
}
.eyebrow-chip #site-status { color: var(--green); }
.hero-copy h1 {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 0 20px rgba(157, 255, 26, 0.32), 5px 6px 0 #07140c;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.hero-copy h1 .hl { color: var(--green); text-shadow: 0 0 26px rgba(157, 255, 26, 0.7), 5px 6px 0 #07140c; }
.hero-copy h1 .hl-blue { color: var(--blue-soft); text-shadow: 0 0 26px rgba(20, 166, 255, 0.7), 5px 6px 0 #041018; }
.lead {
  margin-top: 20px;
  max-width: 600px;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  font-weight: 600;
  color: var(--text-dim);
}
.lead b { color: var(--cream); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* CA chip (hero) */
.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  max-width: 100%;
  background: var(--panel);
  border: 1px dashed var(--panel-line);
  border-radius: 12px;
  padding: 9px 11px 9px 10px;
  box-shadow: inset 0 0 22px rgba(20, 166, 255, 0.08);
}
.ca-chip img, .ca-big img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(157, 255, 26, 0.7);
  background: #04120c;
  flex: none;
}
.ca-chip .lbl { font-weight: 900; font-size: 12px; color: var(--blue-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.ca-chip code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 40vw;
}
.copy-btn {
  border: 1px solid rgba(157, 255, 26, 0.7);
  background: rgba(157, 255, 26, 0.12);
  color: var(--green);
  border-radius: 8px;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.12s, background 0.12s;
}
.copy-btn:hover { filter: brightness(1.2); }
.copy-btn.copied { background: rgba(157, 255, 26, 0.9); color: #03160d; }
.copy-btn-lg { font-size: 14px; padding: 11px 18px; }

/* hero jackpot card */
.hero-card {
  background: var(--panel);
  border: 2px solid var(--panel-line);
  border-radius: 14px;
  box-shadow: inset 0 0 30px rgba(20, 166, 255, 0.16), 0 0 34px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 8px;
  align-content: center;
  text-align: left;
  min-width: 0;
}
.card-kicker, .stat-grid span, .eligibility-banner span {
  color: var(--blue-soft);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-shadow: 0 0 14px rgba(20, 166, 255, 0.55);
}
.hero-card > strong {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.92;
  color: var(--green);
  text-shadow: 0 0 25px rgba(157, 255, 26, 0.65);
  overflow-wrap: anywhere;
}
.hero-card-sub {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(157, 255, 26, 0.28);
}
.hero-card-sub span { color: var(--text-dim); font-weight: 800; font-size: 13px; text-transform: uppercase; }
.hero-card-sub b {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(30px, 3.4vw, 46px);
  color: var(--green2);
  letter-spacing: 0.02em;
}
.hero-card small { color: var(--text-dim); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- marquee ------------------------------------------------------------------ */
.marquee {
  border-top: 1px solid rgba(157, 255, 26, 0.5);
  border-bottom: 1px solid rgba(157, 255, 26, 0.5);
  background: rgba(4, 18, 12, 0.9);
  overflow: hidden;
  white-space: nowrap;
}
.marquee > div {
  display: inline-block;
  padding: 13px 0;
  animation: marquee-scroll 26s linear infinite;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.marquee span { padding: 0 22px; }
.marquee b { color: var(--green); }
.marquee .star { color: var(--blue-soft); padding: 0 4px; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- sections ------------------------------------------------------------------ */
section { padding: clamp(56px, 8vw, 88px) 0; }
.band {
  background: rgba(2, 9, 7, 0.62);
  border-top: 1px solid rgba(157, 255, 26, 0.28);
  border-bottom: 1px solid rgba(157, 255, 26, 0.28);
  backdrop-filter: blur(3px);
}
.sec-head { text-align: center; margin-bottom: clamp(30px, 5vw, 46px); }
.sec-head .kicker {
  font-weight: 900;
  color: var(--blue-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  text-shadow: 0 0 14px rgba(20, 166, 255, 0.55);
}
.sec-head h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(30px, 4.6vw, 52px);
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 10px;
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(157, 255, 26, 0.25), 4px 5px 0 #07140c;
  overflow-wrap: anywhere;
}
.sec-head h2 .hl { color: var(--green); }
.sec-head p { color: var(--text-dim); font-weight: 600; margin: 14px auto 0; max-width: 640px; font-size: 16px; line-height: 1.6; }
.inline-link { color: var(--green); font-weight: 800; }
.inline-link:hover { text-decoration: underline; }

/* --- steps ---------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative;
  text-align: center;
  background: var(--panel);
  border: 2px solid var(--panel-line);
  border-radius: 14px;
  box-shadow: inset 0 0 26px rgba(20, 166, 255, 0.12), 0 0 28px rgba(0, 0, 0, 0.35);
  padding: 34px 24px 26px;
}
.step .num {
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: #03160d;
  border: 2px solid #ddff95;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 0 20px rgba(157, 255, 26, 0.5);
}
.step .ico { font-size: 38px; margin: 8px 0 12px; filter: drop-shadow(0 0 14px rgba(20, 166, 255, 0.4)); }
.step h3 {
  font-family: Anton, Impact, sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--green);
  letter-spacing: 0.02em;
}
.step p { color: var(--text-dim); font-weight: 600; font-size: 14px; margin-top: 10px; line-height: 1.55; }
.step p b { color: var(--cream); }

/* --- stats ------------------------------------------------------------------------ */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-grid article {
  background: var(--panel);
  border: 2px solid var(--panel-line);
  border-radius: 12px;
  box-shadow: inset 0 0 26px rgba(20, 166, 255, 0.14);
  padding: 20px 22px;
  min-height: 118px;
  min-width: 0;
}
.stat-grid strong {
  display: block;
  margin-top: 10px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(30px, 3.6vw, 52px);
  color: var(--cream);
  line-height: 0.95;
  overflow-wrap: anywhere;
}
.eligibility-banner {
  margin-top: 20px;
  text-align: center;
  background: rgba(4, 18, 12, 0.85);
  border: 2px solid rgba(157, 255, 26, 0.55);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 26px rgba(157, 255, 26, 0.14);
}
.eligibility-banner b {
  display: block;
  margin-top: 8px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(18px, 2.6vw, 30px);
  text-transform: uppercase;
  color: var(--green);
  letter-spacing: 0.02em;
}

/* --- contract ----------------------------------------------------------------------- */
.ca-block { text-align: center; }
.ca-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px auto 0;
  background: var(--panel);
  border: 1px dashed var(--panel-line);
  border-radius: 14px;
  padding: 18px 20px;
  max-width: 780px;
  box-shadow: inset 0 0 26px rgba(20, 166, 255, 0.1);
}
.ca-big img { width: 38px; height: 38px; }
.ca-big code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: clamp(12px, 2.4vw, 17px);
  color: var(--cream);
  word-break: break-all;
}
.ca-note { color: var(--text-dim); font-weight: 600; margin-top: 16px; font-size: 14px; }
.ca-note .inline-link { margin-left: 10px; }

/* --- winners ------------------------------------------------------------------------- */
.home-winner-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 900px; margin: 0 auto; }
.home-winner-list .winner-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(1, 12, 9, 0.82);
  border: 1px solid rgba(85, 210, 146, 0.5);
  border-radius: 10px;
  font-weight: 800;
}
.home-winner-list .winner-row span { color: var(--green); }
.home-winner-list .winner-row strong { overflow: hidden; text-overflow: ellipsis; color: var(--cream); font-size: 15px; }
.home-winner-list .winner-row em { color: var(--blue-soft); font-style: normal; text-align: right; font-size: 14px; white-space: nowrap; }
.home-winner-list .winner-row small { color: rgba(255, 255, 255, 0.6); text-align: right; font-size: 12px; white-space: nowrap; }
.home-winner-list .empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 120px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 900;
  border: 1px dashed rgba(157, 255, 26, 0.4);
  border-radius: 12px;
}

/* --- footer ------------------------------------------------------------------------------ */
footer { border-top: 1px solid rgba(157, 255, 26, 0.35); padding: 36px 0 44px; background: rgba(2, 8, 6, 0.75); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.socials { display: flex; gap: 12px; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(157, 255, 26, 0.55);
  background: rgba(4, 18, 12, 0.85);
  font-weight: 800;
  font-size: 16px;
}
.socials a:hover { background: rgba(157, 255, 26, 0.18); }
.disclaimer { font-size: 12px; color: rgba(255, 248, 220, 0.55); font-weight: 600; max-width: 660px; line-height: 1.6; margin-top: 18px; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .home-winner-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .stat-grid { grid-template-columns: 1fr; }
  .ca-chip code { max-width: 34vw; }
}
