/* DBBet Somalia — shared stylesheet. Brand: dark #1A1A1A / accent #FF345C / Montserrat.
   Corrected 2026-08-11 to match the official DBbet Logobook (2024) exactly —
   was #121212/#ff335c (a legacy near-match, off by one hex digit on accent,
   more visibly off on background). --bg/--surface/--surface-2 shifted up one
   step together (not just --bg alone) to keep card-vs-page visual depth
   intact rather than collapsing --bg into the old --surface value. */
:root{
  --bg:#1a1a1a; --surface:#242424; --surface-2:#2e2e2e;
  --accent:#ff345c; --accent-hover:#ff4d72; --accent-soft:rgba(255,52,92,.14);
  /* Same hue/brand family as --accent, lightened until it clears WCAG AA
     (4.5:1) as small/normal text on --surface and --surface-2 — --accent
     itself only clears 4.5:1 on --bg (4.89:1), not on the card/footer
     surfaces (4.36:1 / 3.81:1) where it's used as text far more often than
     as the page background. Real PageSpeed Insights finding, 2026-08-12.
     --accent itself is untouched (verified against the official Logobook)
     — this variable is only for text color, never buttons/borders/logo. */
  --accent-text:#ff5c7c;
  --text:#ffffff; --muted:#a3a3a3; --secondary:#2b2b2b; --secondary-hover:#383838;
  --border:rgba(255,255,255,.09); --border-accent:rgba(255,52,92,.35);
  --radius:12px; --radius-lg:18px; --maxw:1180px;
  --font:'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0; background:var(--bg); color:var(--text); font-family:var(--font); font-weight:400; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 22px}
h1,h2,h3{margin:0; font-weight:800; line-height:1.1; text-wrap:balance}
.eyebrow{display:inline-block; font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-text); margin-bottom:16px;}
.muted{color:var(--muted)} .accent{color:var(--accent)}
.center{text-align:center}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:9px; font-family:var(--font); font-weight:800; font-size:15px; letter-spacing:.01em; padding:14px 26px; border-radius:var(--radius); border:0; cursor:pointer; transition:transform .15s ease, background .15s ease; white-space:nowrap;}
.btn-primary{background:var(--accent); color:#fff}
.btn-primary:hover{background:var(--accent-hover); transform:translateY(-2px)}
.btn-outline{background:transparent; color:#fff; box-shadow:inset 0 0 0 2px var(--accent)}
.btn-outline:hover{background:var(--accent-soft)}
.btn-ghost{background:var(--secondary); color:#fff}
.btn-ghost:hover{background:var(--secondary-hover)}
.btn-lg{padding:17px 34px; font-size:16px}

header{position:sticky; top:0; z-index:50; background:rgba(18,18,18,.82); backdrop-filter:blur(10px); border-bottom:1px solid var(--border);}
.nav{display:flex; align-items:center; gap:26px; height:66px}
.logo{display:inline-flex; align-items:center}
.logo img{display:block; height:26px; width:auto}
.nav-links{display:flex; gap:24px; margin-left:14px}
.nav-links a{color:var(--muted); font-weight:600; font-size:15px; transition:color .15s}
.nav-links a:hover,.nav-links a.active{color:#fff}
.nav-cta{display:flex; gap:10px; align-items:center}
.lang-toggle{margin-left:auto; display:flex; align-items:center; gap:2px; border:1px solid var(--border); border-radius:999px; padding:3px}
.lang-toggle a{padding:4px 10px; border-radius:999px; color:var(--muted); font-weight:700; font-size:13px; line-height:1}
.lang-toggle a.active{background:var(--accent); color:#fff}
.lang-toggle a:hover{color:#fff}
.lang-toggle a.active:hover{color:#fff}
.menu-toggle{display:none; margin-left:auto; background:transparent; border:0; cursor:pointer; padding:10px; flex-direction:column; gap:5px}
.menu-toggle span{display:block; width:24px; height:2px; background:#fff; border-radius:2px; transition:transform .25s, opacity .25s}
.menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.is-open span:nth-child(2){opacity:0}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{display:none; border-top:1px solid var(--border); background:var(--surface); padding:12px 22px 20px}
.mobile-menu a{display:block; color:var(--text); font-weight:600; font-size:16px; padding:13px 0; border-bottom:1px solid var(--border)}
.mobile-menu a:last-of-type{border-bottom:0}
.mobile-menu .mm-cta{display:flex; gap:10px; margin-top:16px}
.mobile-menu .mm-cta .btn{flex:1}

.mobile-sticky-cta{display:none}

/* page intro (inner pages) */
.page-intro{padding:56px 0 10px; position:relative; overflow:hidden}
.page-intro::before{content:""; position:absolute; top:-260px; right:-140px; width:560px; height:560px; background:radial-gradient(circle, rgba(255,51,92,.22), transparent 62%); pointer-events:none;}
.page-intro h1{font-size:clamp(30px,4.4vw,46px); position:relative}
.page-intro p{color:var(--muted); font-size:18px; margin-top:18px; max-width:60ch; position:relative}
.crumb{font-size:13px; color:var(--muted); margin-bottom:14px}
.crumb a:hover{color:#fff}

.hero{position:relative; overflow:hidden; padding:70px 0 40px}
.hero::before{content:""; position:absolute; top:-260px; right:-140px; width:620px; height:620px; background:radial-gradient(circle, rgba(255,51,92,.28), transparent 62%); pointer-events:none;}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center; position:relative}
.hero h1{font-size:clamp(34px,5vw,54px)}
.hero h1 .u{position:relative; white-space:nowrap}
.hero h1 .u::after{content:""; position:absolute; left:0; right:0; bottom:6px; height:12px; background:var(--accent-soft); transform:skewX(-12deg); z-index:-1;}
.hero p.lead{font-size:18px; color:var(--muted); margin:22px 0 30px; max-width:34ch}
.hero-cta{display:flex; gap:14px; flex-wrap:wrap; align-items:center}

.promo{margin-top:26px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:14px 16px; max-width:480px;}
.promo .lbl{font-size:12px; text-transform:uppercase; letter-spacing:.12em; color:var(--muted)}
.promo code{font-family:var(--font); font-weight:800; letter-spacing:.06em; color:var(--accent-text); background:var(--accent-soft); padding:8px 14px; border-radius:8px; font-size:15px;}
.copy-btn{background:var(--secondary); color:#fff; border:0; border-radius:8px; padding:9px 15px; font-family:var(--font); font-weight:700; font-size:13px; cursor:pointer; transition:background .15s}
.copy-btn:hover{background:var(--secondary-hover)}

.img-slot{border:2px dashed var(--border-accent); border-radius:var(--radius-lg); background:repeating-linear-gradient(45deg, rgba(255,51,92,.04) 0 12px, transparent 12px 24px), var(--surface); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:var(--muted); gap:6px; padding:22px;}
.img-slot .ico{font-size:26px; opacity:.7}
.img-slot .t{font-weight:700; color:#cfcfcf; font-size:14px}
.img-slot .d{font-size:12px; letter-spacing:.04em}

.agent-cards{display:flex; gap:14px; flex-wrap:wrap}
.agent-card{display:flex; flex-direction:column; align-items:center; gap:10px; width:180px; padding:16px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg)}
.agent-card-logo{width:100%; height:60px; background:#fff; border-radius:8px; display:flex; align-items:center; justify-content:center; padding:6px}
.agent-card-logo img{max-width:100%; max-height:100%; object-fit:contain}
.agent-card-name{font-size:13.5px; font-weight:600; text-align:center; margin:0; line-height:1.3}
.agent-card .btn{width:100%; padding:10px 14px; font-size:14px}
.hero-visual{aspect-ratio:4/5; min-height:340px}

.stats{border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:var(--surface)}
.stats-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border)}
.stat{background:var(--surface); padding:26px 22px; text-align:center}
.stat .n{font-weight:800; font-size:20px; color:var(--accent)}
.stat .l{font-size:13px; color:var(--muted); margin-top:4px}

.section{padding:64px 0}
.section.tight{padding:40px 0}
.section-head{max-width:640px; margin-bottom:36px}
.section-head.center{margin-left:auto; margin-right:auto}
.section-head h2{font-size:clamp(26px,3.4vw,36px)}
.section-head p{color:var(--muted); margin-top:12px; font-size:16px}

.cards-4{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.cards-3{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.cards-2{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.fcard{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; transition:transform .15s ease, border-color .15s ease;}
.fcard:hover{transform:translateY(-4px); border-color:var(--border-accent)}
.fcard .ic{width:46px; height:46px; border-radius:12px; background:var(--accent-soft); display:flex; align-items:center; justify-content:center; margin-bottom:16px}
.fcard .ic svg{width:24px; height:24px; stroke:var(--accent); fill:none; stroke-width:2}
.fcard h3{font-size:17px; margin-bottom:7px}
.fcard p{color:var(--muted); font-size:14px; margin:0}
.fcard.link{display:block} .fcard.link:hover h3{color:var(--accent)}
.fcard .go{color:var(--accent-text); font-weight:700; font-size:14px; margin-top:12px; display:inline-block}

/* section-nav tiles (home) */
.tiles{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.tile{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:26px 22px; transition:transform .15s, border-color .15s; display:block}
.tile:hover{transform:translateY(-4px); border-color:var(--border-accent)}
.tile .ic{font-size:26px; margin-bottom:12px}
.tile .ic-img{font-size:0;line-height:0;margin-bottom:14px}
.tile .ic-img img{display:block}
.tile h3{font-size:18px}
.tile p{color:var(--muted); font-size:14px; margin:6px 0 0}
.tile .go{color:var(--accent-text); font-weight:700; font-size:14px; margin-top:14px; display:inline-block}

.spot{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:38px; margin-bottom:20px}
.spot h2{font-size:clamp(24px,3vw,32px)}
.spot p{color:var(--muted); margin:16px 0 24px}
.spot .img-slot{aspect-ratio:16/10; min-height:220px}
.aviator-art{position:relative; aspect-ratio:16/10; border-radius:var(--radius); overflow:hidden; background:radial-gradient(120% 120% at 10% 90%, #2a1016, #141018 70%); border:1px solid var(--border)}
.aviator-art svg{position:absolute; inset:0; width:100%; height:100%}
.aviator-art .mult{position:absolute; top:18px; left:22px; font-weight:800; font-size:34px; color:#fff; text-shadow:0 2px 20px rgba(255,51,92,.6)}
.aviator-art .mult span{color:var(--accent-text)}

.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; counter-reset:s}
.step{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; position:relative}
.step::before{counter-increment:s; content:counter(s); position:absolute; top:18px; right:20px; font-weight:800; font-size:30px; color:var(--accent-soft)}
.step h3{font-size:16px; margin-bottom:6px}
.step p{color:var(--muted); font-size:14px; margin:0}

.pay-logos{display:flex; gap:12px; margin-top:22px; flex-wrap:wrap}
.pay-slot{width:120px; height:52px; font-size:11px}
.pay-cards{display:flex; gap:12px; flex-wrap:wrap; margin-top:20px}
.pay-card{background:#fff; border-radius:12px; padding:8px 12px; width:140px; height:58px; display:flex; align-items:center; justify-content:center}
.pay-card img{height:34px; width:auto; max-width:112px; object-fit:contain; display:block; margin:0 auto}

/* phone screenshot slots */
.shot-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.shot{aspect-ratio:9/18; border-radius:22px; font-size:12px}
.shot .n{position:absolute}
.shot-grid.iphone{grid-template-columns:repeat(3,1fr); max-width:640px}
/* real install-step screenshots */
.stepshots{display:grid; grid-template-columns:repeat(3,1fr); gap:28px 16px; margin-top:8px}
.stepshot{text-align:center}
.stepshot .num{display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%; background:var(--accent); color:#fff; font-weight:800; font-size:14px; margin-bottom:12px}
.stepshot img{width:184px; max-width:100%; height:auto; margin:0 auto; display:block; border-radius:14px}
.stepshot p{color:var(--muted); font-size:14px; margin:14px auto 0; max-width:26ch}
.ios-shot{display:block; width:100%; max-width:920px; height:auto; margin:10px auto 0}
.screens{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; max-width:720px}
.screens figure{margin:0}
.screens img{width:100%; height:auto; border-radius:14px; border:1px solid var(--border); display:block}
.screens figcaption{color:var(--muted); font-size:13px; text-align:center; margin-top:10px}
@media(max-width:900px){.stepshots{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.stepshots{grid-template-columns:1fr}}

/* casino logo boxes */
.logo-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:14px}
.logo-box{aspect-ratio:3/2; font-size:11px}

/* bonus card slots */
.bonus-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.bonus{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden}
.bonus .shotimg{aspect-ratio:16/9; border:0; border-bottom:1px dashed var(--border-accent); border-radius:0}
.bonus .body{padding:18px 20px}
.bonus h3{font-size:16px; margin-bottom:6px}
.bonus p{color:var(--muted); font-size:13px; margin:0 0 14px}

.pred-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.pred{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:20px}
.pred .lg{font-size:12px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted)}
.pred .teams{display:flex; align-items:center; gap:12px; margin:14px 0}
.crest{width:34px; height:34px; border-radius:50%; background:var(--surface-2); border:1px dashed var(--border-accent); flex:0 0 auto; display:flex; align-items:center; justify-content:center; font-size:9px; color:var(--muted); text-align:center; line-height:1}
.pred .teams .vs{color:var(--muted); font-weight:700; font-size:13px}
.pred .tip{font-weight:700; font-size:15px}
.pred .odds{margin-left:auto; font-variant-numeric:tabular-nums; font-weight:800; color:var(--accent-text)}
.pred .row{display:flex; align-items:center; gap:10px}

.casino-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.game-slot{aspect-ratio:1/1; font-size:12px}

.app{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center}
.app-badges{display:flex; gap:14px; margin-top:24px; flex-wrap:wrap}
.badge-slot{width:150px; height:52px; font-size:11px}

.prose{max-width:760px}
.prose p{color:var(--muted); margin:0 0 16px}
.prose h2{font-size:clamp(22px,2.6vw,28px); margin:36px 0 14px}
.prose h3{font-size:18px; margin:24px 0 10px}
.prose ul{color:var(--muted); padding-left:20px; margin:0 0 16px}
.prose li{margin:6px 0}
.prose a{color:var(--accent); text-decoration:underline; text-underline-offset:2px}
.prose ol{color:var(--muted); padding-left:20px; margin:0 0 16px}
.prose ol li{margin:8px 0}
table.spec{width:100%; border-collapse:collapse; margin:10px 0 20px; font-size:14.5px}
table.spec th,table.spec td{text-align:left; padding:12px 14px; border-bottom:1px solid var(--border); vertical-align:top}
table.spec th{color:var(--muted); font-weight:600; width:38%; white-space:nowrap}
table.spec td{color:var(--text)}
table.spec tr:last-child th,table.spec tr:last-child td{border-bottom:0}

.faq{max-width:820px}
.qa{border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); margin-bottom:12px; overflow:hidden}
.qa summary{list-style:none; cursor:pointer; padding:18px 20px; font-weight:700; font-size:16px; display:flex; justify-content:space-between; align-items:center; gap:14px}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"+"; color:var(--accent); font-size:22px; font-weight:800; transition:transform .2s}
.qa[open] summary::after{transform:rotate(45deg)}
.qa .a{padding:0 20px 18px; color:var(--muted); font-size:15px}
.qa .a a{color:var(--accent-text); text-decoration:underline; text-underline-offset:2px}

.cta-banner{background:linear-gradient(120deg, #ff345c, #b3164a); border-radius:var(--radius-lg); padding:46px 34px; text-align:center}
.cta-banner h2{font-size:clamp(24px,3vw,32px); color:#fff}
.cta-banner p{color:rgba(255,255,255,.9); margin:12px 0 24px; font-size:16px}
.cta-banner .btn-primary{background:#fff; color:#b3164a}
.cta-banner .btn-primary:hover{background:#fff; opacity:.92}

footer{background:var(--surface); border-top:1px solid var(--border); padding:48px 0 30px; margin-top:20px}
footer .logo img{height:24px}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px; margin-bottom:30px}
.foot-grid .foot-heading{font-size:13px; text-transform:uppercase; letter-spacing:.1em; color:#fff; margin:0 0 14px}
.foot-grid a{display:block; color:var(--muted); font-size:14px; padding:5px 0}
.foot-grid a:hover{color:#fff}
.rg{display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:18px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border)}
.age{flex:0 0 auto; width:42px; height:42px; border-radius:50%; border:2px solid var(--accent); color:var(--accent-text); font-weight:800; display:flex; align-items:center; justify-content:center; font-size:15px}
.rg p{margin:0; color:var(--muted); font-size:13px}
.ph{color:var(--accent-text); font-style:italic}
.foot-legal{display:flex; flex-wrap:wrap; gap:6px 20px; padding:16px 0 2px}
.foot-legal a{color:var(--muted); font-size:13px}
.foot-legal a:hover{color:#fff}
.legal{color:var(--muted); font-size:12.5px; margin-top:14px; line-height:1.7}
.legal .ph{color:var(--accent-text)}

/* inline notice / disclaimer box (prose) */
.prose .notice{background:var(--accent-soft); border:1px solid var(--border-accent); border-radius:var(--radius); padding:16px 18px; margin:0 0 22px; color:var(--text); font-size:14.5px; line-height:1.65}
.prose .notice .ph{color:var(--accent-text)}

@media (max-width:900px){
  .hero-grid,.spot,.app{grid-template-columns:1fr}
  .hero-visual{order:-1; aspect-ratio:16/10; min-height:220px}
  .cards-4,.cards-3,.tiles{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .pred-grid,.bonus-grid{grid-template-columns:1fr}
  .casino-grid{grid-template-columns:repeat(2,1fr)}
  .logo-grid{grid-template-columns:repeat(3,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr}
  .nav-links{display:none}
  .nav-cta{display:none}
  .menu-toggle{display:flex}
  header.menu-open .mobile-menu{display:block}

  body{padding-bottom:78px}
  .mobile-sticky-cta{display:block; position:fixed; left:0; right:0; bottom:0; z-index:60; background:rgba(18,18,18,.94); backdrop-filter:blur(10px); border-top:1px solid var(--border); padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
  .mobile-sticky-cta .btn{display:block; width:100%; text-align:center}
}
@media (max-width:480px){
  .cards-4,.cards-3,.cards-2,.casino-grid,.tiles,.shot-grid{grid-template-columns:1fr}
  .logo-grid{grid-template-columns:repeat(2,1fr)}
  .promo{max-width:none}
}
@media (prefers-reduced-motion:reduce){*{transition:none !important; scroll-behavior:auto}}

/* ===== AGE GATE (functional, not footer text) ===== */
.age-gate{position:fixed; inset:0; z-index:999; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(8,8,8,.94); backdrop-filter:blur(6px);}
.age-gate[hidden]{display:none}
.age-gate-card{max-width:440px; width:100%; background:var(--surface); border:1px solid var(--border-accent); border-radius:var(--radius-lg); padding:34px 30px; text-align:center; box-shadow:0 30px 80px rgba(0,0,0,.5);}
.age-gate-card .logo{font-size:26px; margin-bottom:18px; display:inline-block}
.age-gate-card .age-gate-title{font-size:20px; font-weight:700; margin-bottom:12px}
.age-gate-card p{color:var(--muted); font-size:14.5px; margin:0 0 24px; line-height:1.6}
.age-gate-actions{display:flex; gap:12px; justify-content:center; flex-wrap:wrap}
.age-gate-actions .btn{flex:1; min-width:140px}
.age-gate-foot{margin-top:18px; font-size:12.5px; color:var(--muted)}
.age-gate-foot a{color:var(--accent-text)}
