:root{
  --blue:#0ea5ff;
  --deep-blue:#0284ff;
  --sky:#2bb6ff;
  --orange:#ff6a00;
  --orange-dark:#f05600;
  --yellow:#f6b700;
  --bg:#edf1f5;
  --card:#ffffff;
  --text:#212529;
  --muted:#6f7782;
  --line:#dce2e8;
  --back:#8dd7ff;
  --lay:#f6c3cf;
  --shadow:0 8px 24px rgba(0,0,0,.08);
  --radius:16px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--text);
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

button,input{
  font:inherit;
}

body{
  display:flex;
  justify-content:center;
}

.app{
  width:100%;
  max-width:430px;
  min-height:100vh;
  background:var(--bg);
  position:relative;
  overflow:hidden;
  padding-bottom:98px;
}

/* TOPBAR */
.topbar{
  background:#fff;
  padding:12px 14px 10px;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 1px 0 rgba(0,0,0,.05);
}

.topbar-row{
  display:flex;
  align-items:center;
  gap:12px;
}

.menu-icon{
  width:30px;
  height:30px;
  border:none;
  background:transparent;
  display:grid;
  place-items:center;
  color:#1793dd;
  cursor:pointer;
  padding:0;
}

.menu-icon span,
.menu-icon span::before,
.menu-icon span::after{
  content:"";
  display:block;
  width:18px;
  height:2.5px;
  background:currentColor;
  border-radius:20px;
  position:relative;
}

.menu-icon span::before{
  position:absolute;
  top:-6px;
  left:0;
}

.menu-icon span::after{
  position:absolute;
  top:6px;
  left:0;
}

.brand-wrap{
  display:flex;
  align-items:center;
  flex:1;
  min-width:0;
}

.brand-wrap img{
  height:36px;
  width:auto;
  object-fit:contain;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.btn{
  border:none;
  border-radius:14px;
  padding:11px 18px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  box-shadow:var(--shadow);
}

.btn-login{
  background:#1f1f1f;
  color:#fff;
}

.btn-signup{
  background:linear-gradient(180deg,var(--sky),var(--deep-blue));
  color:#fff;
}

.ticker{
  margin-top:8px;
  overflow:hidden;
  border-top:1px solid #edf1f5;
  padding-top:8px;
  color:#2490da;
  font-size:13px;
  white-space:nowrap;
}

.ticker-text{
  display:inline-block;
  padding-left:100%;
  animation:ticker 18s linear infinite;
}

@keyframes ticker{
  0%{transform:translateX(0)}
  100%{transform:translateX(-100%)}
}

/* DRAWER */
.side-drawer{
  position:fixed;
  top:0;
  left:-310px;
  width:290px;
  height:100vh;
  background:#fff;
  z-index:200;
  box-shadow:10px 0 30px rgba(0,0,0,.12);
  transition:.28s ease;
  padding:18px 16px;
}

.side-drawer.active{
  left:0;
}

.drawer-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  visibility:hidden;
  z-index:190;
  transition:.25s ease;
}

.drawer-backdrop.active{
  opacity:1;
  visibility:visible;
}

.drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
}

.drawer-head img{
  height:40px;
}

.drawer-close{
  width:38px;
  height:38px;
  border:none;
  border-radius:12px;
  background:#f5f7fa;
  color:#222;
  cursor:pointer;
}

.drawer-links{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.drawer-links a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 14px;
  border-radius:14px;
  background:#f8fafc;
  color:#39424d;
  font-weight:600;
}

.drawer-links a i{
  width:18px;
  text-align:center;
  color:#0c96ef;
}

/* SLIDER */
.hero-slider{
  position:relative;
  overflow:hidden;
  background:#0f7df8;
}

.slides{
  display:flex;
  transition:transform .45s ease;
}

.slide{
  min-width:100%;
  height:140px;
  position:relative;
  color:#fff;
  padding:16px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,200,0,.45), transparent 20%),
    radial-gradient(circle at 90% 18%, rgba(255,153,0,.55), transparent 18%),
    linear-gradient(135deg, #0661f2 0%, #01a7ff 55%, #005ce7 100%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 30% 70%, rgba(255,255,255,.14), transparent 22%),
    radial-gradient(circle at 80% 78%, rgba(255,255,255,.15), transparent 18%);
  pointer-events:none;
}

.slide-copy{
  position:relative;
  z-index:1;
  max-width:56%;
}

.tag{
  display:inline-block;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.35);
  padding:5px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  margin-bottom:8px;
}

.slide h2{
  margin:0;
  font-size:17px;
  line-height:1.08;
  font-weight:800;
}

.slide p{
  margin:8px 0 0;
  font-size:12px;
  opacity:.95;
  font-weight:600;
  line-height:1.35;
}

.promo-card{
  position:relative;
  z-index:1;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.25);
  border-radius:18px;
  padding:14px 16px;
  min-width:132px;
  text-align:center;
  backdrop-filter:blur(6px);
}

.promo-card strong{
  display:block;
  font-size:20px;
  font-weight:800;
}

.promo-card span{
  font-size:11px;
  font-weight:700;
  opacity:.95;
}

.dots{
  position:absolute;
  left:50%;
  bottom:10px;
  transform:translateX(-50%);
  display:flex;
  gap:6px;
  z-index:2;
}

.dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.55);
  transition:.2s;
  cursor:pointer;
}

.dot.active{
  width:26px;
  background:#0b1831;
}

/* INFO STRIP */
.info-strip{
  background:#07a5ef;
  color:#fff;
  text-align:center;
  font-size:13px;
  font-weight:500;
  padding:10px 12px;
}

/* SEARCH BAR */
.search-bar-wrap{
  padding:6px 0 0;
  background:#f16800;
}

.search-bar{
  display:grid;
  grid-template-columns:52px 1fr 80px 46px;
  gap:8px;
  padding:10px 10px 12px;
  align-items:center;
}

.orange-btn,
.gear-btn,
.mybets,
.search-box{
  background:#fff;
  border-radius:14px;
  min-height:44px;
  border:none;
}

.orange-btn,
.gear-btn,
.mybets{
  display:grid;
  place-items:center;
  font-weight:800;
  color:var(--orange);
  cursor:pointer;
}

.orange-btn{
  font-size:22px;
}

.search-box{
  display:flex;
  align-items:center;
  padding:0 14px;
  gap:10px;
  color:#a7adb4;
}

.search-box input{
  border:none;
  outline:none;
  flex:1;
  background:transparent;
  font-size:14px;
}

.search-icon{
  font-size:17px;
}

.mybets{
  font-size:13px;
  line-height:1.05;
  text-align:center;
  padding:0 6px;
}

.gear-btn{
  font-size:18px;
}

/* TABS */
.tabs,
.section-pills{
  display:flex;
  gap:8px;
  overflow:auto;
  padding:10px 8px;
  scrollbar-width:none;
}

.tabs::-webkit-scrollbar,
.section-pills::-webkit-scrollbar{
  display:none;
}

.tab,
.chip,
.mini-icon{
  flex:0 0 auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 14px;
  font-size:14px;
  color:#59616b;
  font-weight:600;
  cursor:pointer;
}

.tab.active{
  background:linear-gradient(180deg,#ff8b1b,#ff6a00);
  color:#fff;
  border-color:#ff7f12;
  box-shadow:0 6px 14px rgba(255,106,0,.22);
}

.chip.active{
  background:var(--yellow);
  color:#111;
  border-color:transparent;
}

.mini-icon{
  width:48px;
  text-align:center;
  padding:10px 0;
  color:#a5adb5;
}

.league-select{
  display:flex;
  align-items:center;
  gap:8px;
}

/* CONTENT */
.content{
  padding:8px;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:12px;
}

.stat-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 12px;
  text-align:center;
  box-shadow:0 4px 14px rgba(0,0,0,.04);
}

.stat-box span{
  display:block;
  color:#7b8590;
  font-size:12px;
  margin-bottom:6px;
}

.stat-box strong{
  font-size:20px;
  font-weight:800;
}

.league-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,.04);
  margin-bottom:14px;
}

.league-head{
  padding:16px;
  border-bottom:1px solid #eef2f5;
  font-size:16px;
  font-weight:800;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.league-collapse{
  width:34px;
  height:34px;
  border:none;
  border-radius:10px;
  background:#f4f6f8;
  color:#6b7580;
  cursor:pointer;
}

.match-card{
  padding:14px 12px;
  border-bottom:1px solid #eef2f5;
}

.match-card:last-child{
  border-bottom:none;
}

.match-meta{
  font-size:12px;
  color:#4a525c;
  font-weight:600;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:6px;
}

.market-head,
.team-row{
  display:grid;
  grid-template-columns:1fr 64px 64px 28px;
  gap:8px;
  align-items:center;
}

.market-head{
  margin-bottom:8px;
  color:#616975;
  font-weight:600;
  font-size:13px;
}

.team-row + .team-row{
  margin-top:8px;
}

.team{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:600;
  color:#20262d;
  line-height:1.15;
}

.team-badge{
  width:18px;
  height:18px;
  border-radius:4px;
  box-shadow:inset 0 0 0 2px rgba(0,0,0,.08);
  flex:0 0 18px;
}

.team-badge.yellow{
  background:#f2c100;
}

.team-badge.blue{
  background:#1446a4;
}

.team-badge.gold{
  background:#b9900a;
}

.odd{
  min-height:52px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:17px;
  font-weight:800;
  border:none;
  cursor:pointer;
  transition:.18s ease;
}

.odd:hover{
  transform:translateY(-1px);
}

.odd.back{
  background:var(--back);
}

.odd.lay{
  background:var(--lay);
}

.odd.active-bet{
  outline:3px solid #0c94ec;
}

.arrow{
  color:#98a2ad;
  font-size:18px;
  text-align:right;
}

.hidden{
  display:none !important;
}

/* BRAND CENTER */
.brand-center{
  padding:12px 8px 8px;
  display:flex;
  justify-content:center;
}

.brand-center img{
  height:60px;
  object-fit:contain;
}

/* PROMO GRID */
.promo-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-bottom:14px;
}

.promo-mini{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px 14px;
  box-shadow:0 4px 14px rgba(0,0,0,.04);
}

.promo-mini i{
  font-size:22px;
  color:#0ea5ff;
  margin-bottom:10px;
}

.promo-mini h3{
  margin:0 0 8px;
  font-size:16px;
}

.promo-mini p{
  margin:0;
  font-size:13px;
  line-height:1.5;
  color:#67717b;
}

/* ACCORDION */
.accordion-list{
  display:grid;
  gap:12px;
  padding:0 0 12px;
}

.accordion-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
}

.accordion-btn{
  width:100%;
  border:none;
  background:#fff;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#7a838d;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
}

.accordion-content{
  display:none;
  padding:0 18px 18px;
  color:#68727c;
  font-size:14px;
  line-height:1.6;
}

.accordion-item.active .accordion-content{
  display:block;
}

.accordion-item.active .accordion-btn i{
  transform:rotate(180deg);
}

/* DOWNLOAD CARD */
.download-card{
  margin:2px 0 14px;
  background:#fff;
  border-radius:20px;
  padding:22px 16px;
  text-align:center;
  border:1px solid var(--line);
}

.download-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#111;
  color:#fff;
  border-radius:14px;
  padding:12px 18px;
  font-weight:800;
  margin-bottom:14px;
}

.download-card p{
  margin:0;
  color:#30363d;
  font-size:15px;
}

.socials{
  display:flex;
  justify-content:center;
  gap:18px;
  margin:18px 0;
}

.social{
  width:54px;
  height:54px;
  border-radius:50%;
  background:#f3f5f7;
  border:1px solid #edf1f5;
  display:grid;
  place-items:center;
  font-size:22px;
  color:#22a7f0;
  font-weight:800;
}

.responsible{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  color:#afb7bf;
  font-weight:800;
  font-size:20px;
  margin-top:8px;
  flex-wrap:wrap;
}

.badge18{
  width:42px;
  height:42px;
  border-radius:50%;
  border:3px solid #c9d1d9;
  display:grid;
  place-items:center;
  font-size:15px;
  color:#7c8791;
}

/* SEO FOOTER */
.seo-footer{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:20px 16px 24px;
  margin-bottom:14px;
}

.seo-footer h2{
  margin:0 0 14px;
  font-size:20px;
  line-height:1.35;
}

.seo-footer p{
  margin:0 0 16px;
  color:#707985;
  font-size:14px;
  line-height:1.8;
}

.footer-copy.center{
  text-align:center;
  color:#99a3ad;
  font-size:14px;
  margin-top:8px;
}

/* FAB */
.chat-fab{
  position:fixed;
  right:14px;
  bottom:96px;
  width:66px;
  height:66px;
  border-radius:50%;
  background:linear-gradient(180deg,#1fc4ff,#00a6ef);
  box-shadow:0 12px 28px rgba(0,155,224,.35);
  display:grid;
  place-items:center;
  color:#fff;
  font-size:28px;
  z-index:60;
  border:none;
  cursor:pointer;
}

/* BOTTOM NAV */
.bottom-nav{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:100%;
  max-width:430px;
  background:#fff;
  border-top-left-radius:22px;
  border-top-right-radius:22px;
  border-top:1px solid #e8edf2;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  padding:10px 6px 12px;
  z-index:55;
  box-shadow:0 -8px 24px rgba(0,0,0,.06);
}

.nav-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  color:#a5adb6;
  font-size:12px;
  font-weight:600;
}

.nav-icon{
  font-size:22px;
  line-height:1;
}

.nav-item.active{
  color:#18a3f0;
}

/* RESPONSIVE */
@media (min-width:431px){
  .app{
    margin:0 auto;
    border-left:1px solid #e7edf3;
    border-right:1px solid #e7edf3;
    box-shadow:0 0 0 1px rgba(0,0,0,.02);
  }
}