/* 2bet landing — brand green #009739 / yellow #FFDF00 */
:root {
  --green: #009739;
  --green-deep: #006b28;
  --green-dark: #043a18;
  --yellow: #ffdf00;
  --yellow-hot: #ffe84d;
  --ink: #0b1a10;
  --muted: #d7eadc;
  --white: #ffffff;
  --glass: rgba(4, 40, 18, 0.55);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--green-dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.55em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.1rem);
}

h1 span {
  color: var(--yellow);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  background: rgba(4, 58, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 223, 0, 0.18);
}

.brand img {
  width: 96px;
  height: auto;
}

.topnav {
  display: none;
  gap: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.topnav a {
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.topnav a:hover {
  opacity: 1;
  color: var(--yellow);
}

@media (min-width: 860px) {
  .topnav {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1rem 1.7rem;
  font-size: 1.05rem;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--green-dark);
  box-shadow: 0 10px 28px rgba(255, 223, 0, 0.28);
}

.btn-yellow:hover {
  background: var(--yellow-hot);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 223, 0, 0.55);
  color: var(--yellow);
}

.btn-ghost:hover {
  background: rgba(255, 223, 0, 0.12);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.cta-row.center {
  justify-content: center;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(4, 58, 24, 0.55), rgba(0, 151, 57, 0.25)),
    url("hero.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 30, 14, 0.88) 0%, rgba(4, 30, 14, 0.55) 48%, rgba(4, 30, 14, 0.2) 100%),
    linear-gradient(180deg, transparent 40%, rgba(4, 58, 24, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 4.5rem;
  animation: riseIn 0.9s ease both;
}

.hero-logo {
  width: min(200px, 42vw);
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-welcome {
  background: linear-gradient(180deg, var(--green-deep), #057a32 55%, var(--green-deep));
}

.section-app {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 223, 0, 0.12), transparent 45%),
    linear-gradient(160deg, #035022, #009739 60%, #035022);
}

.section-invite {
  background: linear-gradient(180deg, #02461f, #006b28 40%, #02461f);
}

.section-slots {
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 223, 0, 0.1), transparent 40%),
    linear-gradient(180deg, #043a18, #0a6b30);
}

.section-lottery {
  padding-top: 1rem;
  padding-bottom: 2rem;
  background: #043a18;
}

.section-final {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45)),
    url("hero.jpg") center / cover no-repeat;
  padding: 5rem 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 223, 0, 0.15);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desc {
  color: var(--muted);
  max-width: 38rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split.reverse .copy {
    order: 2;
  }

  .split.reverse .media {
    order: 1;
  }
}

.media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 223, 0, 0.2);
}

.media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.media:hover img {
  transform: scale(1.04);
}

.perk-list,
.rate-list,
.steps {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.perk-list li,
.rate-list li,
.steps li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.perk-list strong,
.rate-list strong,
.steps strong {
  color: var(--yellow);
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.steps span {
  font-family: var(--font-display);
  color: var(--yellow);
  font-size: 1.15rem;
  line-height: 1;
  padding-top: 0.15rem;
}

.rate-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
}

.rate-list strong {
  font-size: 1.15rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head .desc {
  margin-inline: auto;
}

.invite-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .invite-layout {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.ladder {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 223, 0, 0.22);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ladder table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.ladder th,
.ladder td {
  padding: 0.7rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ladder th {
  color: var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ladder tbody tr:hover {
  background: rgba(255, 223, 0, 0.06);
}

.ladder td:last-child {
  color: var(--yellow);
  font-weight: 700;
}

.lottery-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 223, 0, 0.16), rgba(0, 151, 57, 0.35));
  border: 1px solid rgba(255, 223, 0, 0.35);
}

.final-cta {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: var(--glass);
  border: 1px solid rgba(255, 223, 0, 0.28);
  border-radius: calc(var(--radius) + 4px);
  backdrop-filter: blur(8px);
}

.final-cta img {
  margin: 0 auto 1rem;
}

.site-footer {
  padding: 1.75rem 0 2.25rem;
  background: #022210;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer .muted {
  opacity: 0.65;
  margin-top: 0.35rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.delay {
  transition-delay: 0.12s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .reveal,
  .media img {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
