:root {
  --bg: #0a0c10;
  --panel: #141414;
  --panel2: #101010;
  --gold: #26a6ff;
  --gold-hi: #8fd4ff;
  --gold-mid: #1e90e8;
  --gold-lo: #0d6cb8;
  --navy: #0a1a2a;
  --navy-deep: #050d16;
  --text: #ffffff;
  --muted: #b0b0b0;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 8px;
  --wrap: 1120px;
  --font: Inter, "Helvetica Neue", Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-weight: 700;
}
.skip:focus { left: 0; }

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand img {
  height: 40px;
  width: auto;
  filter: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0.8rem 1.4rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, #a6d63f 0%, #8fc42e 45%, #7db62a 100%);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 10px;
  box-shadow:
    0 3px 0 #4e7a1b,
    0 8px 18px rgba(0, 0, 0, 0.35);
}
.btn-primary:hover { color: #fff; filter: brightness(1.06); }
.btn-primary:active {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 #4e7a1b,
    0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1.05rem;
  min-width: 220px;
}

.btn-spin {
  width: min(100%, 300px);
  margin-top: 1.25rem;
  background: linear-gradient(180deg, #a6d63f 0%, #8fc42e 45%, #7db62a 100%);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 10px;
  font-size: 1.05rem;
  padding: 0.95rem 1.4rem;
  box-shadow:
    0 3px 0 #4e7a1b,
    0 8px 18px rgba(0, 0, 0, 0.35);
  animation: pulse 1.5s infinite;
}
.btn-spin:disabled {
  animation: none;
  opacity: 0.75;
  cursor: wait;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.hero {
  padding: 2.75rem 0 3.25rem;
  background:
    radial-gradient(ellipse 50% 40% at 78% 18%, rgba(38, 166, 255, 0.06), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.78rem;
}

.hero-copy h1 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36ch;
}
.lead strong { color: var(--gold); font-weight: 700; }

.fine {
  margin: 0.85rem 0 0;
  color: #888;
  font-size: 0.8rem;
}

.wheel-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wheel-cta {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}
.wheel-cta:hover,
.wheel-cta:focus {
  background: transparent;
  outline: none;
}
.wheel-cta:focus-visible {
  outline: 2px solid rgba(38, 166, 255, 0.7);
  outline-offset: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#spin-wheel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 460px);
}

.wheel-result {
  min-height: 1.35em;
  margin: 0.85rem 0 0;
  color: var(--gold-hi);
  font-weight: 700;
  font-size: 0.95rem;
}

.why {
  padding: 3rem 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.why h2,
.wins h2,
.cta-band h2 {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-align: center;
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.why-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.1rem;
  text-align: center;
}

.why-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #2a2a2a, #151515);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 800;
}

.why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 700;
}
.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.wins {
  padding: 0 0 3.25rem;
  background: var(--bg);
}

.wins-head {
  text-align: center;
  margin-bottom: 1.25rem;
}
.wins-head p {
  margin: 0 auto;
  max-width: 44ch;
  color: var(--muted);
}

.wins-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x mandatory;
}

.win-card {
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
  color: var(--text);
  display: grid;
  gap: 0.25rem;
}
.win-card:hover {
  border-color: rgba(38, 166, 255, 0.35);
  color: var(--text);
}
.win-card strong {
  font-size: 1.25rem;
  color: var(--gold);
}
.win-card span,
.win-card time {
  color: var(--muted);
  font-size: 0.88rem;
}

.cta-band {
  padding: 0 0 3.5rem;
  background: var(--bg);
}
.cta-band-inner {
  text-align: center;
  padding: 2.4rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #181818, #101010);
  border: 1px solid var(--line);
}
.cta-band p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: var(--bg);
}
.footer-inner { display: grid; gap: 0.85rem; }
.footer-logo {
  height: 32px;
  width: auto;
  filter: none;
}
.footer-legal {
  margin: 0;
  color: #888;
  font-size: 0.8rem;
  max-width: 70ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.9rem;
}
.footer-copy {
  margin: 0.35rem 0 0;
  color: #666;
  font-size: 0.78rem;
}

.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.modal-panel {
  position: relative;
  width: min(100%, 500px);
  background: linear-gradient(165deg, #1a1a1a 0%, #101010 55%, #0a0a0a 100%);
  border: 1px solid rgba(38, 166, 255, 0.35);
  border-radius: 28px;
  padding: 2.5rem 1.75rem 1.85rem;
  text-align: center;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  cursor: pointer;
}
.modal-panel .eyebrow {
  color: var(--gold-hi);
  letter-spacing: 0.16em;
}
.modal-panel h2 {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  background: linear-gradient(180deg, #ffffff 0%, #8fd4ff 55%, #26a6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.modal-panel p { color: rgba(255, 245, 245, 0.9); }
.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: var(--gold-hi);
  font-size: 1.6rem;
  cursor: pointer;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero {
    padding: 1.25rem 0 2.25rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  /* Betty mobile: wheel first, copy + CTA below */
  .wheel-panel { order: 1; }
  .hero-copy { order: 2; text-align: center; }
  .lead {
    margin-inline: auto;
    margin-bottom: 1.15rem;
    max-width: 34ch;
    font-size: 1rem;
  }
  .hero-copy h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.45rem);
    margin-bottom: 0.7rem;
  }
  .hero-copy .btn-lg {
    width: 100%;
    max-width: 420px;
  }
  .hero-copy .fine {
    max-width: 36ch;
    margin-inline: auto;
  }
  /* Spin via wheel tap on mobile; keep Betty-like single CTA below copy */
  .wheel-panel .btn-spin,
  .wheel-panel .wheel-result {
    display: none;
  }
  #spin-wheel {
    width: min(100%, 380px);
  }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
  .brand img {
    height: 44px;
    filter: none;
  }
  .hero {
    padding: 0.85rem 0 1.75rem;
  }
  #spin-wheel {
    width: min(100%, 340px);
  }
}
