/* style.css */
:root {
  --blue: #126bc0;
  --blue-2: #2492e4;
  --blue-3: #9ed7ff;
  --white: #ffffff;
  --black: #07111f;
  --dark: #081522;
  --muted: #6d7b8d;
  --soft: #eef7ff;
  --line: rgba(18, 107, 192, 0.18);
  --shadow: 0 28px 80px rgba(18, 107, 192, 0.25);
  --radius: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(36, 146, 228, 0.2),
      transparent 32%
    ),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 45%, #eef7ff 100%);
  color: var(--black);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  z-index: 50;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  height: 72px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
  box-shadow: 0 16px 50px rgba(7, 17, 31, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
  text-decoration: none;
  font-weight: 900;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  display: grid;
  place-items: center;
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 1px;
  box-shadow: 0 12px 28px rgba(18, 107, 192, 0.35);
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 999px;
  transition: 0.25s;
}

.nav a:hover {
  color: var(--blue);
  background: var(--soft);
}

.menu-btn {
  display: none;
  border: 0;
  background: var(--blue);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  font-size: 22px;
}

.hero {
  min-height: 100vh;
  padding: 140px 7vw 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  position: relative;
}

.hero-bg-card {
  position: absolute;
  border-radius: 50px;
  filter: blur(0.2px);
  opacity: 0.6;
  z-index: -1;
}

.card-one {
  width: 360px;
  height: 360px;
  right: 4vw;
  top: 12vh;
  background: linear-gradient(135deg, rgba(18, 107, 192, 0.2), transparent);
  transform: rotate(18deg);
}

.card-two {
  width: 260px;
  height: 260px;
  left: 3vw;
  bottom: 8vh;
  background: linear-gradient(135deg, rgba(158, 215, 255, 0.6), transparent);
  transform: rotate(-16deg);
}

.eyebrow {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin-top: 22px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero-content p,
.section-head p,
.copy p,
.cta p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
  max-width: 680px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  transition: 0.3s;
}

.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  box-shadow: var(--shadow);
}

.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 90px rgba(18, 107, 192, 0.36);
}

.ghost {
  background: white;
  color: var(--blue);
  border: 1px solid var(--line);
}

.ghost:hover {
  transform: translateY(-4px);
}

.hero-stats {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 560px;
  gap: 14px;
}

.hero-stats div {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(7, 17, 31, 0.06);
}

.hero-stats b {
  display: block;
  color: var(--blue);
  font-size: 34px;
}

.hero-stats span {
  color: var(--muted);
  font-weight: 800;
}

.phone {
  width: min(390px, 100%);
  margin: auto;
  border: 14px solid #0c1828;
  border-radius: 54px;
  padding: 18px;
  background: #0c1828;
  box-shadow: 0 40px 120px rgba(7, 17, 31, 0.35);
  transform: rotate(3deg);
}

.phone-top {
  width: 120px;
  height: 22px;
  border-radius: 999px;
  background: #172438;
  margin: 0 auto 18px;
}

.app-screen {
  min-height: 620px;
  border-radius: 38px;
  background: linear-gradient(180deg, #fff, #eef7ff);
  padding: 70px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lotto-icon {
  width: 96px;
  height: 96px;
  background: #dceff8;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 30px;
  font-weight: 900;
  line-height: 0.86;
  box-shadow: inset 0 -8px 0 rgba(18, 107, 192, 0.12);
}

.app-screen h3 {
  margin: 30px 0 48px;
  font-size: 38px;
  color: var(--blue);
}

.app-screen button {
  width: 100%;
  height: 62px;
  border: 0;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 12px 24px rgba(18, 107, 192, 0.2);
}

.marquee {
  overflow: hidden;
  background: var(--blue);
  color: white;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee span {
  padding: 0 34px;
  font-weight: 1000;
  letter-spacing: 0.16em;
}

.section {
  padding: 105px 7vw;
}

.section-head {
  max-width: 820px;
  margin-bottom: 44px;
}

h2 {
  margin-top: 18px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.flow-card,
.feature-card,
.bingo-board,
.cta {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(7, 17, 31, 0.08);
}

.flow-card {
  padding: 34px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.flow-card::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  bottom: -70px;
  border-radius: 50%;
  background: rgba(36, 146, 228, 0.12);
}

.flow-card span {
  color: var(--blue);
  font-weight: 1000;
}

.flow-card h3,
.feature-card h3 {
  margin-top: 36px;
  font-size: 28px;
}

.flow-card p,
.feature-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.mode-list {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.mode-list div {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.mode-list b {
  color: var(--blue);
}

.bingo-board {
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.number-ball {
  margin: 0 auto 18px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  display: grid;
  place-items: center;
  color: white;
  font-size: 62px;
  font-weight: 1000;
  box-shadow: var(--shadow);
}

.small-balls {
  display: flex;
  gap: 9px;
  overflow: hidden;
  margin: 28px 0;
}

.small-balls span {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  background: #e2f2ff;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 900;
}

.bingo-board h3 {
  color: var(--blue);
  margin-bottom: 18px;
  font-size: 26px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.grid span {
  min-height: 62px;
  background: #f3f8fc;
  display: grid;
  place-items: center;
  font-weight: 900;
  border-radius: 10px;
}

.grid .hit {
  background: #39b861;
  color: white;
}

.screens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.screens img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(7, 17, 31, 0.18);
  border: 8px solid white;
  transition: 0.35s;
}

.screens img:hover {
  transform: translateY(-10px) scale(1.02);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 30px;
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 30px;
}

.cta {
  margin: 40px 7vw 100px;
  padding: 70px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(158, 215, 255, 0.7),
      transparent 35%
    ),
    linear-gradient(135deg, white, #eef7ff);
}

.cta p {
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  margin-top: 30px;
}

.footer {
  padding: 34px 7vw;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .flow-grid,
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .screens {
    grid-template-columns: 1fr 1fr;
  }

  .phone {
    transform: none;
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 86px;
    right: 16px;
    left: 16px;
    background: white;
    border-radius: 28px;
    padding: 16px;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(7, 17, 31, 0.12);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding-top: 125px;
  }

  .hero-stats,
  .flow-grid,
  .features,
  .screens {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 44px 24px;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
  }
}
