:root {
  color-scheme: dark;
  --bg: #041126;
  --panel: #081d3d;
  --panel2: #0b254a;
  --line: rgba(47, 126, 255, .36);
  --gold: #f6c23e;
  --gold2: #ffda5b;
  --blue: #1577ff;
  --cyan: #11c7ff;
  --purple: #8d5cff;
  --green: #35d97b;
  --ink: #fff;
  --muted: #c5cfdf;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-width: 320px; margin: 0; background: #000; color: var(--ink); }
body { overflow-x: hidden; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { border: 0; color: inherit; cursor: pointer; font: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.phone {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  margin-inline: auto;
  overflow: hidden;
  padding-bottom: 64px;
  background:
    radial-gradient(circle at 84% 8%, rgba(42,90,255,.32), transparent 12rem),
    radial-gradient(circle at 17% 17%, rgba(12,174,255,.14), transparent 9rem),
    linear-gradient(180deg, #030b1b 0%, #06142b 44%, #06162f 100%);
  box-shadow: 0 0 80px rgba(0,0,0,.88);
}

.topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 22px minmax(0,1fr) 38px;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(60,133,255,.42);
  background: rgba(3,10,24,.96);
}
.logo { color: var(--gold2); font-size: .98rem; font-weight: 1000; letter-spacing: .02em; }
.flag {
  position: relative;
  width: 19px;
  height: 19px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(180deg, #114da1 0 50%, #d72e35 50% 100%);
}
.flag::before { position: absolute; left: 0; top: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 13px solid #fff; content: ""; }
.flag::after { position: absolute; left: 4px; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); content: ""; }
.topbar strong { font-size: .75rem; font-weight: 840; }
.menu-button { display: grid; width: 34px; height: 34px; place-items: center; background: transparent; }
.menu-button i { width: 22px; height: 3px; border-radius: 999px; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.22); }
.menu-popover {
  position: absolute;
  right: 10px;
  top: 35px;
  z-index: 20;
  display: grid;
  width: 142px;
  overflow: hidden;
  border: 1px solid rgba(246,194,62,.48);
  border-radius: 12px;
  background: rgba(5,14,31,.98);
  box-shadow: 0 16px 34px rgba(0,0,0,.5);
}
.menu-popover[hidden] { display: none; }
.menu-popover button { padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.1); background: transparent; text-align: left; }
.menu-popover button:last-child { border-bottom: 0; }

.hero {
  position: relative;
  height: 172px;
  overflow: hidden;
  padding: 19px 20px 16px;
  background:
    linear-gradient(90deg, rgba(4,13,31,.96) 0%, rgba(5,17,40,.9) 48%, rgba(5,17,40,.2) 100%),
    radial-gradient(circle at 78% 42%, rgba(45,109,255,.44), transparent 9rem);
}
.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.05) 0 18%, transparent 18% 100%);
  content: "";
}
.hero::after {
  position: absolute;
  left: 164px;
  top: 151px;
  z-index: 1;
  width: 124px;
  height: 40px;
  background:
    linear-gradient(90deg, rgba(5,17,40,.96), rgba(5,17,40,.9)),
    radial-gradient(circle at 70% 20%, rgba(45,109,255,.22), transparent 4rem);
  content: "";
}
.hero-art {
  position: absolute;
  right: -20px;
  top: 0;
  width: 210px;
  height: 176px;
  object-fit: cover;
  object-position: center;
  opacity: .98;
  filter: drop-shadow(-18px 20px 22px rgba(0,0,0,.55));
}
.hero-copy { position: relative; z-index: 2; max-width: 300px; }
.hero h1 {
  margin: 0;
  font-size: 1.64rem;
  font-weight: 1000;
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: 0 4px 18px rgba(0,0,0,.55);
}
.hero h1 span { color: var(--gold2); }
.hero p { margin: 10px 0 13px; color: var(--muted); font-size: .78rem; font-weight: 650; line-height: 1.35; }
.hero-actions {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.16fr .86fr;
  gap: 10px;
  width: 260px;
}
.hero-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 30px;
  border-radius: 7px;
  font-size: .7rem;
  font-weight: 950;
  white-space: nowrap;
}
.hero-actions .login { color: #06111f; background: linear-gradient(180deg, #ffe15f, #e6a823); box-shadow: 0 0 18px rgba(246,194,62,.26); }
.hero-actions .login i, .link-button i {
  width: 9px;
  height: 9px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}
.hero-actions .app {
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, #071b3c, #041126);
  color: var(--gold2);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 0 14px rgba(246,194,62,.12);
}
.download-icon { position: relative; width: 16px; height: 16px; border-bottom: 3px solid currentColor; }
.download-icon::before { position: absolute; left: 7px; top: 1px; width: 3px; height: 11px; background: currentColor; content: ""; }
.download-icon::after { position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); content: ""; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin: 13px 12px 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(11,38,77,.83), rgba(7,24,52,.78));
}
.feature {
  display: grid;
  min-height: 88px;
  place-items: center;
  align-content: center;
  gap: 4px;
  border-right: 1px solid rgba(80,148,255,.22);
  background: transparent;
  text-align: center;
}
.feature:last-child { border-right: 0; }
.feature strong { font-size: .72rem; line-height: 1; }
.feature small { color: var(--muted); font-size: .63rem; }
.feature-icon {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(180deg, #2d7bff, #174cc5);
  color: #fff;
  font-weight: 1000;
}
.gift-icon { background: linear-gradient(180deg, #a468ff, #6930cf); }
.gcash-icon { background: linear-gradient(180deg, #57de96, #189b62); }
.promo-icon { background: linear-gradient(180deg, #ff8b3d, #e44812); }
.app-icon::before { position: absolute; inset: 9px 13px; border: 2px solid currentColor; border-radius: 4px; content: ""; }
.gift-icon::before { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 19px; border: 3px solid currentColor; border-radius: 3px; content: ""; }
.gift-icon::after { position: absolute; left: 18px; top: 8px; width: 4px; height: 29px; background: currentColor; box-shadow: -10px 9px 0 -2px currentColor, 10px 9px 0 -2px currentColor; content: ""; }
.promo-icon::before { position: absolute; left: 9px; top: 14px; width: 19px; height: 12px; background: currentColor; clip-path: polygon(0 35%, 100% 0, 83% 100%, 34% 62%, 0 62%); content: ""; }

.register-flow, .payment-card, .top-games, .compact-panel, .faq, .responsible {
  margin: 0 12px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(7,25,55,.73), rgba(5,17,39,.72));
}
.register-flow { padding: 0 10px 10px; border-left-color: transparent; border-top-color: transparent; background: transparent; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
}
h2 { margin: 0; font-size: .82rem; line-height: 1.15; font-weight: 1000; }
.link-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--gold2);
  font-size: .66rem;
  font-weight: 950;
}
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 3px;
  padding: 3px 0 0;
}
.flow-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 102px;
  background: transparent;
  text-align: center;
}
.flow-card em {
  position: absolute;
  left: 13px;
  top: 2px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #2d75f7, #103eaf);
  font-style: normal;
  font-size: .74rem;
  font-weight: 1000;
}
.flow-card strong { font-size: .68rem; }
.flow-card small { color: var(--muted); font-size: .58rem; line-height: 1.25; }
.flow-icon {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(38,85,159,.7), rgba(11,35,77,.72));
  border: 1px solid rgba(95,163,255,.36);
}
.flow-icon.user::before { position: absolute; left: 17px; top: 9px; width: 10px; height: 10px; border: 2px solid #c7d8ee; border-radius: 50%; content: ""; }
.flow-icon.user::after { position: absolute; left: 13px; bottom: 12px; width: 19px; height: 12px; border: 2px solid #c7d8ee; border-bottom: 0; border-radius: 18px 18px 0 0; content: ""; }
.flow-icon.lock::before { position: absolute; left: 14px; top: 20px; width: 18px; height: 15px; border: 2px solid #c7d8ee; border-radius: 3px; content: ""; }
.flow-icon.lock::after { position: absolute; left: 18px; top: 10px; width: 10px; height: 15px; border: 2px solid #c7d8ee; border-bottom: 0; border-radius: 12px 12px 0 0; content: ""; }
.flow-icon.wallet::before { position: absolute; left: 11px; top: 17px; width: 24px; height: 17px; border: 2px solid #c7d8ee; border-radius: 4px; content: ""; }
.flow-icon.wallet::after { position: absolute; right: 8px; top: 22px; width: 11px; height: 8px; border: 2px solid #c7d8ee; border-radius: 4px; background: #122d5a; content: ""; }
.flow-arrow {
  width: 13px;
  height: 13px;
  margin-inline: auto;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  opacity: .9;
}

.payment-card { padding: 10px; }
.pay-row { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; align-items: center; margin-top: 9px; }
.pay {
  min-height: 22px;
  background: transparent;
  color: #fff;
  text-align: center;
  font-size: .66rem;
  font-weight: 1000;
  line-height: 1;
}
.pay.gcash { color: #42a2ff; }
.pay.maya, .pay.grab, .pay.peso { color: var(--green); }
.pay.insta { color: #fff; }
.pay.insta span { color: #ff4242; }
.pay.bank { color: #dfe6f0; font-size: .52rem; }
.payment-card p, .lotto-section p { margin: 7px 0 0; color: var(--muted); font-size: .64rem; }

.top-games {
  border-color: transparent;
  background: transparent;
  margin-bottom: 9px;
}
.top-games h2 { margin-bottom: 7px; }
.game-row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 7px; }
.game {
  position: relative;
  min-height: 80px;
  overflow: hidden;
  border-radius: 6px;
  background: #061328;
  text-align: center;
}
.game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08); }
.game::after { position: absolute; inset: 38% 0 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.86)); content: ""; }
.game strong, .game small { position: relative; z-index: 2; display: block; text-shadow: 0 2px 7px #000; }
.game strong { margin-top: 42px; font-size: .62rem; }
.game small { color: #e4e9f3; font-size: .48rem; line-height: 1.1; }

.compact-panel { padding: 8px 10px 9px; }
.league-row, .lotto-row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-top: 1px solid rgba(90,148,244,.18); margin-top: 4px; }
.league, .lotto { display: grid; place-items: center; min-height: 45px; border-right: 1px solid rgba(90,148,244,.16); background: transparent; text-align: center; }
.league:last-child, .lotto:last-child { border-right: 0; }
.league-logo { display: grid; height: 24px; place-items: center; font-size: .62rem; font-weight: 1000; color: #fff; }
.league-logo.pba { color: #ffca3f; }
.league-logo.nba { color: #fff; }
.league-logo.euro { color: #ff762b; font-size: 1.1rem; }
.league-logo.kbl { color: #fff; font-style: italic; }
.league-logo.fiba { color: var(--cyan); }
.league small, .lotto small { color: var(--muted); font-size: .56rem; }
.lotto strong { display: block; font-size: .94rem; }

.faq { padding: 10px; }
.faq h2 { margin-bottom: 8px; }
details {
  overflow: hidden;
  border: 1px solid rgba(93,148,255,.22);
  border-radius: 6px;
  background: rgba(12,31,64,.68);
  margin-bottom: 4px;
}
details:last-child { margin-bottom: 0; }
summary {
  position: relative;
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 32px 0 9px;
  list-style: none;
  color: #eef5ff;
  font-size: .64rem;
  font-weight: 780;
}
summary::-webkit-details-marker { display: none; }
summary span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  color: #d8e4f5;
  font-weight: 1000;
}
summary::after {
  position: absolute;
  right: 13px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-right: 3px solid #99a7bd;
  border-bottom: 3px solid #99a7bd;
  transform: rotate(45deg);
  content: "";
}
details[open] summary::after { top: 15px; transform: rotate(-135deg); }
details p { margin: 0; padding: 0 14px 10px 37px; color: var(--muted); font-size: .58rem; line-height: 1.35; }

.responsible {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) 57px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
}
.responsible p { margin: 0; color: #dce5f3; font-size: .66rem; line-height: 1.35; }
.shield {
  position: relative;
  width: 32px;
  height: 37px;
  border: 3px solid #aab7c8;
  border-radius: 8px 8px 19px 19px;
}
.shield::after {
  position: absolute;
  left: 10px;
  top: 8px;
  width: 8px;
  height: 14px;
  border-right: 3px solid #aab7c8;
  border-bottom: 3px solid #aab7c8;
  transform: rotate(45deg);
  content: "";
}
.age {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid #dbe6f5;
  border-radius: 50%;
  font-size: .95rem;
  font-weight: 1000;
}
.age small { display: block; font-size: .36rem; line-height: .95; font-weight: 800; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 18px;
  padding: 7px 18px 18px;
  color: rgba(229,237,248,.7);
  font-size: .58rem;
}
.footer a { position: relative; }
.footer a:not(:last-of-type)::after { position: absolute; right: -10px; top: 1px; width: 1px; height: 10px; background: rgba(255,255,255,.18); content: ""; }
.footer p { flex: 0 0 100%; margin: 6px 0 0; text-align: center; color: rgba(229,237,248,.58); }

.bottom-nav {
  position: fixed;
  right: max(0px, calc((100vw - 430px) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - 430px) / 2));
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 430px);
  height: 62px;
  margin-inline: auto;
  border-top: 1px solid rgba(246,194,62,.34);
  background: linear-gradient(180deg, rgba(7,20,44,.98), rgba(3,10,24,.99));
  box-shadow: 0 -14px 34px rgba(0,0,0,.58), 0 -1px 18px rgba(246,194,62,.16);
}
.nav-item {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  background: transparent;
  color: #b9c6da;
}
.nav-item.active {
  color: var(--gold2);
  background: linear-gradient(180deg, rgba(246,194,62,.18), rgba(246,194,62,0));
}
.nav-item span {
  position: relative;
  display: block;
  width: 25px;
  height: 23px;
}
.nav-item small {
  font-size: .62rem;
  font-weight: 850;
  line-height: 1;
}
.nav-home::before { position: absolute; inset: 9px 5px 2px; border-radius: 2px; background: currentColor; content: ""; }
.nav-home::after { position: absolute; inset: 1px 2px auto; height: 16px; background: currentColor; clip-path: polygon(50% 0,100% 43%,84% 43%,84% 100%,16% 100%,16% 43%,0 43%); content: ""; }
.nav-app::before { position: absolute; inset: 1px 7px; border: 3px solid currentColor; border-radius: 5px; content: ""; }
.nav-app::after { position: absolute; left: 11px; right: 11px; bottom: 5px; height: 2px; border-radius: 999px; background: currentColor; content: ""; }
.nav-promo::before { position: absolute; left: 3px; right: 3px; bottom: 2px; height: 14px; border: 3px solid currentColor; border-radius: 3px; content: ""; }
.nav-promo::after { position: absolute; left: 10px; top: 1px; width: 6px; height: 21px; background: currentColor; box-shadow: -9px 7px 0 -2px currentColor, 9px 7px 0 -2px currentColor; content: ""; }
.nav-telegram::before { position: absolute; inset: 1px; border-radius: 50%; background: currentColor; content: ""; }
.nav-telegram::after {
  position: absolute;
  left: 7px;
  top: 6px;
  width: 14px;
  height: 11px;
  background: #041126;
  clip-path: polygon(0 45%,100% 0,73% 100%,46% 64%,24% 82%);
  content: "";
}

@media (max-width: 390px) {
  .topbar { grid-template-columns: auto 20px minmax(0,1fr) 36px; padding-inline: 10px; }
  .hero { padding-left: 13px; height: 166px; }
  .hero h1 { font-size: 1.42rem; }
  .hero p { font-size: .7rem; }
  .hero-art { right: -42px; width: 205px; }
  .hero-actions { width: 238px; }
  .hero-actions button { font-size: .62rem; }
  .feature-strip { margin-inline: 8px; }
  .feature-icon { width: 34px; height: 34px; }
  .feature strong { font-size: .65rem; }
  .feature small { font-size: .56rem; }
  .flow-grid { grid-template-columns: 1fr 18px 1fr 18px 1fr; }
  .flow-card small { font-size: .52rem; }
  .pay-row { gap: 4px; }
  .game-row { gap: 4px; }
  .game strong { font-size: .56rem; }
  .game small { font-size: .43rem; }
  summary { font-size: .58rem; }
}
