@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #0b6ff4;
  --blue-dark: #0757c9;
  --blue-soft: #eaf3ff;
  --blue-pale: #f5f9ff;
  --ink: #10233f;
  --muted: #607089;
  --line: rgba(17, 52, 92, .10);
  --white: #fff;
  --shadow: 0 20px 60px rgba(17, 52, 92, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  background: #edf5ff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-background {
  position: fixed;
  inset: 0;
  z-index: -5;
  /* background-image: url('/landingpage/assets/images/hero.jpg'); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  filter: saturate(.92) contrast(.98);
}
.site-background-overlay {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(247,251,255,.92) 0%, rgba(247,251,255,.78) 24%, rgba(247,251,255,.91) 58%, rgba(247,251,255,.96) 100%),
    linear-gradient(90deg, rgba(232,243,255,.80), rgba(255,255,255,.35));
  pointer-events: none;
}

#candyCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
  opacity: .22;
}

.container-wide { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* NAV */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(15,55,100,.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: .25s ease;
}
.site-nav.scrolled { background: rgba(255,255,255,.94); box-shadow: 0 12px 35px rgba(12,44,83,.08); }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { width: 43px; height: 43px; border-radius: 13px; padding: 4px; display: grid; place-items: center; background: #fff; box-shadow: 0 8px 24px rgba(11,111,244,.12); overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -.7px; color: var(--blue); }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a { font-size: 13px; font-weight: 700; color: #52647d; transition: .2s ease; }
.desktop-nav a:hover { color: var(--blue); }
.nav-cta, .primary-btn, .download-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--blue); color: #fff; font-weight: 800; border-radius: 14px; box-shadow: 0 12px 28px rgba(11,111,244,.22); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.nav-cta { padding: 11px 18px; font-size: 13px; }
.nav-cta:hover, .primary-btn:hover, .download-btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(11,111,244,.27); }
.mobile-menu-btn { display: none; border: 0; background: var(--blue-soft); color: var(--blue); border-radius: 12px; width: 42px; height: 42px; place-items: center; }
.mobile-menu { display: none; }

/* HERO */
.hero-section { min-height: 850px; padding: 150px 0 100px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 50px; }
.hero-copy { max-width: 650px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 11px; letter-spacing: 1.7px; font-weight: 800; }
.eyebrow { padding: 8px 12px; background: rgba(255,255,255,.70); border: 1px solid rgba(11,111,244,.12); border-radius: 999px; box-shadow: 0 8px 24px rgba(11,111,244,.07); }
.eyebrow span { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px rgba(11,111,244,.10); }
.hero-copy h1 { margin: 22px 0 20px; font-size: clamp(45px, 5.3vw, 74px); line-height: 1.02; letter-spacing: -3.8px; font-weight: 800; max-width: 720px; }
.hero-copy h1 strong { color: var(--blue); font-weight: 800; }
.hero-description { margin: 0; max-width: 620px; font-size: 17px; line-height: 1.85; color: var(--muted); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.large-btn { min-height: 54px; padding: 0 22px; border-radius: 15px; }
.secondary-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 19px; border-radius: 14px; border: 1px solid rgba(11,111,244,.16); background: rgba(255,255,255,.70); color: var(--blue); font-weight: 800; box-shadow: 0 10px 25px rgba(17,52,92,.05); transition: .2s ease; }
.secondary-btn:hover { background: #fff; transform: translateY(-2px); border-color: rgba(11,111,244,.30); }
.hero-points { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 24px; color: #63738b; font-size: 12px; font-weight: 700; }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { width: 15px; height: 15px; color: var(--blue); }

.hero-device-area { min-height: 590px; position: relative; display: grid; place-items: center; }
.device-glow { position: absolute; width: 410px; height: 410px; border-radius: 50%; background: rgba(11,111,244,.15); filter: blur(70px); }
.phone-mockup { position: relative; width: min(315px, 75vw); padding: 10px; border-radius: 42px; background: #10233f; box-shadow: 0 35px 80px rgba(8,47,95,.25), 0 0 0 1px rgba(255,255,255,.2) inset; z-index: 2; }
.phone-inner { position: relative; aspect-ratio: 9 / 19.5; border-radius: 33px; overflow: hidden; background: #fff; border: 2px solid #1d3554; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 25px; border-radius: 0 0 16px 16px; background: #10233f; z-index: 4; display: grid; place-items: center; }
.phone-notch span { width: 8px; height: 8px; border-radius: 50%; background: #263e5c; border: 1px solid #3c5270; }
.phone-screen { display: block; width: 100%; height: 100%; object-fit: cover; }
.animate-phone { animation: phoneFloat 5.5s ease-in-out infinite; }
@keyframes phoneFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
.floating-card { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; min-width: 175px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.88); border: 1px solid rgba(11,111,244,.10); box-shadow: 0 18px 45px rgba(16,35,63,.14); backdrop-filter: blur(15px); }
.floating-card strong { display: block; font-size: 12px; color: var(--ink); }
.floating-card small { display: block; margin-top: 3px; color: #718096; font-size: 10px; font-weight: 600; }
.floating-icon { width: 37px; height: 37px; flex: 0 0 37px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.floating-icon svg { width: 18px; }
.floating-card-one { right: -10px; top: 21%; }
.floating-card-two { left: -30px; bottom: 18%; }

/* SECTIONS */
.section-block { padding: 105px 0; position: relative; }
.section-soft { background: rgba(255,255,255,.68); border-top: 1px solid rgba(15,55,100,.06); border-bottom: 1px solid rgba(15,55,100,.06); backdrop-filter: blur(8px); }
.section-heading { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section-heading.compact { margin-bottom: 44px; }
.section-heading h2 { margin: 10px 0 12px; font-size: clamp(32px, 4vw, 47px); line-height: 1.08; letter-spacing: -2px; font-weight: 800; }
.section-heading h2 span { color: var(--blue); }
.section-heading p { margin: 0 auto; color: var(--muted); line-height: 1.75; font-size: 15px; max-width: 590px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-card { background: rgba(255,255,255,.82); border: 1px solid rgba(16,52,92,.09); border-radius: var(--radius); box-shadow: var(--shadow); transition: .25s ease; }
.info-card:hover { transform: translateY(-5px); border-color: rgba(11,111,244,.20); box-shadow: 0 26px 65px rgba(16,52,92,.13); }
.step-card { position: relative; padding: 30px 25px; overflow: hidden; }
.step-number { position: absolute; top: 17px; right: 19px; font-size: 11px; font-weight: 800; color: #9ab3d2; }
.card-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: var(--blue-soft); color: var(--blue); margin-bottom: 22px; }
.card-icon svg { width: 22px; height: 22px; }
.info-card h3 { margin: 0 0 9px; font-size: 18px; font-weight: 800; }
.info-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.center-action { display: flex; justify-content: center; margin-top: 38px; }
.primary-btn { min-height: 48px; padding: 0 20px; font-size: 13px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 290px; padding: 30px; display: flex; flex-direction: column; }
.feature-card a { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 25px; color: var(--blue); font-size: 12px; font-weight: 800; }

.games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.game-card { min-height: 170px; padding: 20px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; background: rgba(255,255,255,.80); border: 1px solid rgba(16,52,92,.09); border-radius: 20px; box-shadow: 0 15px 40px rgba(16,52,92,.07); transition: .22s ease; }
.game-card:hover { transform: translateY(-5px); border-color: rgba(11,111,244,.22); box-shadow: 0 25px 55px rgba(11,111,244,.12); }
.game-art { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--blue-soft); font-size: 30px; }
.game-card strong { font-size: 12px; font-weight: 800; }
.game-card small { color: #7b8aa0; font-size: 10px; font-weight: 600; }

.rewards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reward-card { padding: 28px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(255,255,255,.84); border: 1px solid rgba(16,52,92,.09); border-radius: 22px; box-shadow: 0 16px 45px rgba(16,52,92,.07); }
.reward-symbol { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 19px; background: var(--blue-soft); color: var(--blue); font-size: 26px; font-weight: 800; }
.reward-card strong { font-size: 14px; font-weight: 800; }
.reward-card small { color: #78879b; font-size: 10px; margin-top: 5px; }

/* DOWNLOAD CTA */
.download-section { padding: 100px 0; }
.download-card { position: relative; overflow: hidden; min-height: 330px; padding: 58px 65px; border-radius: 32px; background: linear-gradient(125deg, #0a5ed7 0%, #0b6ff4 52%, #0a82ee 100%); color: #fff; box-shadow: 0 30px 70px rgba(11,111,244,.25); }
.download-card::before, .download-card::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); pointer-events: none; }
.download-card::before { width: 430px; height: 430px; right: -160px; top: -170px; }
.download-card::after { width: 260px; height: 260px; right: -55px; bottom: -170px; }
.download-copy { position: relative; z-index: 2; max-width: 680px; }
.section-kicker.light { color: rgba(255,255,255,.78); }
.download-copy h2 { margin: 10px 0 13px; font-size: clamp(32px, 4vw, 49px); line-height: 1.08; letter-spacing: -2px; font-weight: 800; }
.download-copy p { max-width: 600px; margin: 0; color: rgba(255,255,255,.80); font-size: 14px; line-height: 1.8; }
.download-btn { margin-top: 26px; min-height: 53px; padding: 0 22px; background: #fff; color: var(--blue); box-shadow: none; }
.download-btn:hover { background: #f4f8ff; color: var(--blue-dark); }
.download-orb { position: absolute; right: 90px; top: 50%; transform: translateY(-50%); width: 130px; height: 130px; border-radius: 38px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.20); z-index: 2; }
.download-orb svg { width: 58px; height: 58px; }

/* FOOTER */
.site-footer { background: #0c1d34; color: #fff; padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr .8fr .8fr; gap: 70px; padding-bottom: 55px; }
.footer-brand p { max-width: 440px; margin: 18px 0; color: #9aabc1; font-size: 12px; line-height: 1.8; }
.footer-email { display: inline-flex; align-items: center; gap: 7px; color: #dce9f9; font-size: 12px; font-weight: 700; }
.footer-grid h4 { margin: 4px 0 16px; font-size: 12px; letter-spacing: .4px; }
.footer-grid > div:not(.footer-brand) a { display: flex; align-items: center; gap: 7px; width: fit-content; margin-bottom: 11px; color: #94a7bf; font-size: 11px; font-weight: 600; transition: .2s ease; }
.footer-grid > div:not(.footer-brand) a:hover { color: #fff; }
.footer-app-link { color: #bcd8ff !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; color: #71849c; text-align: center; font-size: 10px; }

.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }

@media (max-width: 1050px) {
  .desktop-nav { gap: 18px; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 25px; }
  .floating-card-one { right: -2px; }
  .floating-card-two { left: -5px; }
}

@media (max-width: 820px) {
  .container-wide { width: min(100% - 28px, 680px); }
  .desktop-nav, .nav-cta { display: none; }
  .mobile-menu-btn { display: grid; }
  .mobile-menu { display: none; padding: 8px 18px 20px; background: rgba(255,255,255,.96); border-top: 1px solid rgba(15,55,100,.06); }
  .mobile-menu.open { display: grid; }
  .mobile-menu a { padding: 12px 4px; color: #52647d; font-size: 13px; font-weight: 700; }
  .mobile-menu .mobile-download { margin-top: 8px; text-align: center; padding: 13px; border-radius: 13px; background: var(--blue); color: #fff; }
  .hero-section { padding-top: 125px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-description { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-device-area { min-height: 580px; margin-top: 10px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .rewards-grid { grid-template-columns: repeat(2, 1fr); }
  .download-card { padding: 45px 35px; }
  .download-orb { right: 35px; opacity: .45; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 19px; }
  .brand-logo { width: 39px; height: 39px; }
  .hero-copy h1 { font-size: 43px; letter-spacing: -2.7px; }
  .hero-description { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .large-btn { width: 100%; }
  .hero-device-area { min-height: 510px; }
  .phone-mockup { width: 265px; }
  .floating-card { min-width: 145px; padding: 9px; }
  .floating-card-one { right: -2px; top: 18%; }
  .floating-card-two { left: -2px; bottom: 15%; }
  .section-block, .download-section { padding: 75px 0; }
  .section-heading h2 { font-size: 33px; }
  .steps-grid, .rewards-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .game-card { min-height: 145px; }
  .download-card { padding: 38px 25px; border-radius: 25px; }
  .download-orb { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
