/* ==========================================================================
   Nine Casino — review site
   Unique build. Layout: sticky left listing (offers) + right review content.
   ========================================================================== */

:root{
  --bg:#0b0a1a;
  --bg-2:#100e26;
  --surface:#191634;
  --surface-2:#221d47;
  --surface-3:#2b2557;
  --border:rgba(255,255,255,.09);
  --border-strong:rgba(255,255,255,.16);
  --text:#eeecff;
  --muted:#9c96c8;
  --muted-2:#746ea0;
  --gold:#ffcf5c;
  --gold-2:#f4a52a;
  --mint:#25e6a4;
  --pink:#ff5b8a;
  --star:#ffce4a;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 18px 40px -18px rgba(0,0,0,.65);
  --shadow-lg:0 30px 70px -25px rgba(0,0,0,.8);
  --maxw:1280px;
  --sidebar-w:352px;
  --font:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 80% -8%,rgba(37,230,164,.10),transparent 60%),
    radial-gradient(900px 500px at 0% 0%,rgba(255,91,138,.10),transparent 55%),
    var(--bg);
  line-height:1.65;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
h1,h2,h3,h4{line-height:1.2;margin:0 0 .5em;font-weight:800;letter-spacing:-.01em}
p{margin:0 0 1em}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}
.tint-gold{color:var(--gold)}
.tint-mint{color:var(--mint)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  font-weight:800;font-size:15px;letter-spacing:.01em;
  padding:13px 22px;border-radius:999px;border:0;cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
  white-space:nowrap;text-align:center;
}
.btn:hover{transform:translateY(-2px)}
.btn--gold{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#2a1c00;box-shadow:0 10px 26px -8px rgba(244,165,42,.6);
}
.btn--gold:hover{box-shadow:0 16px 34px -8px rgba(244,165,42,.75)}
.btn--mint{
  background:linear-gradient(135deg,var(--mint),#15b384);
  color:#052a1f;box-shadow:0 10px 26px -8px rgba(37,230,164,.55);
}
.btn--ghost{background:transparent;border:1.5px solid var(--border-strong);color:var(--text)}
.btn--ghost:hover{border-color:var(--gold);color:var(--gold)}
.btn--sm{padding:9px 16px;font-size:13px}
.btn--full{width:100%}
.btn--lg{padding:16px 30px;font-size:17px}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(11,10,26,.82);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.header-bar{position:relative;display:flex;align-items:center;gap:18px;padding:12px 22px;max-width:var(--maxw);margin:0 auto}
.logo{display:flex;align-items:center;gap:11px;font-weight:900;font-size:20px;letter-spacing:-.02em}
.logo__mark{
  width:40px;height:40px;flex:0 0 40px;border-radius:12px;
  display:grid;place-items:center;font-size:20px;font-weight:900;color:#2a1c00;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  box-shadow:0 6px 18px -6px rgba(244,165,42,.7);
}
.logo b{color:var(--gold)}
.main-nav{display:flex;gap:6px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.main-nav a{
  padding:8px 14px;border-radius:999px;color:var(--muted);font-weight:600;font-size:14.5px;
  transition:color .15s,background .15s;
}
.main-nav a:hover,.main-nav a.is-active{color:var(--text);background:var(--surface-2)}
.header-cta{margin-left:auto;display:flex;gap:10px;align-items:center}
.nav-toggle{display:none;margin-left:auto;background:var(--surface-2);border:1px solid var(--border);
  color:var(--text);width:44px;height:44px;border-radius:12px;font-size:20px;cursor:pointer}

/* ---------- language switcher ---------- */
.lang-dd{position:relative}
.lang-dd__current{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;
  padding:7px 10px;border:1.5px solid var(--border-strong);border-radius:999px;
  background:var(--surface-2);color:var(--text);font-weight:800;font-size:13px;line-height:1;user-select:none}
.lang-dd__current::-webkit-details-marker{display:none}
.lang-dd__current::marker{content:""}
.lang-dd__current:hover{border-color:var(--gold)}
.lang-dd .flag{display:block;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.3)}
.lang-dd__code{letter-spacing:.04em}
.lang-dd__chev{opacity:.7;transition:transform .2s}
.lang-dd[open] .lang-dd__chev{transform:rotate(180deg)}
.lang-dd__menu{list-style:none;margin:8px 0 0;padding:6px;position:absolute;right:0;top:100%;
  min-width:186px;background:var(--bg-2);border:1px solid var(--border-strong);
  border-radius:12px;box-shadow:var(--shadow-lg);z-index:70}
.lang-dd__item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;
  font-weight:700;font-size:14px;color:var(--muted);transition:.15s}
.lang-dd__item:hover{background:var(--surface-2);color:var(--text)}
.lang-dd__item.is-active{color:var(--gold)}

/* ---------- layout: left listing + main ---------- */
.layout{
  display:flex;align-items:flex-start;gap:30px;
  max-width:var(--maxw);margin:0 auto;padding:30px 22px 60px;
}
.sidebar{flex:0 0 var(--sidebar-w);width:var(--sidebar-w);position:sticky;top:84px}
.main{flex:1 1 auto;min-width:0}

/* ---------- sidebar: offers listing ---------- */
.side-block{
  background:linear-gradient(180deg,var(--surface),var(--bg-2));
  border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:var(--shadow);margin-bottom:22px;overflow:hidden;
}
.side-block__head{
  display:flex;align-items:center;gap:10px;
  padding:15px 18px;border-bottom:1px solid var(--border);
  font-weight:800;font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);
}
.side-block__head .dot{width:9px;height:9px;border-radius:50%;background:var(--mint);box-shadow:0 0 12px var(--mint)}

.offer-list{list-style:none;margin:0;padding:8px}
.offer{
  display:flex;gap:12px;padding:12px;border-radius:var(--radius-sm);
  transition:background .15s;position:relative;
}
.offer + .offer{border-top:1px solid var(--border)}
.offer:hover{background:var(--surface-2)}
.offer__rank{
  position:absolute;top:8px;left:8px;z-index:2;
  width:22px;height:22px;border-radius:7px;display:grid;place-items:center;
  font-size:12px;font-weight:900;color:#2a1c00;background:linear-gradient(135deg,var(--gold),var(--gold-2));
}
.offer__thumb{
  flex:0 0 84px;width:84px;height:84px;border-radius:10px;overflow:hidden;
  background:var(--surface-3);border:1px solid var(--border);
}
.offer__thumb img{width:100%;height:100%;object-fit:cover}
.offer__body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.offer__type{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--mint);font-weight:700}
.offer__title{font-size:14.5px;font-weight:800;margin:2px 0 4px;line-height:1.25}
.offer__meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.chip{
  font-size:11px;font-weight:700;padding:3px 8px;border-radius:999px;
  background:var(--surface-3);border:1px solid var(--border);color:var(--muted);
}
.chip--fs{color:var(--gold);border-color:rgba(255,207,92,.3)}
.chip--code{color:var(--pink);border-color:rgba(255,91,138,.35);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.offer__cta{margin-top:auto}

/* quick facts */
.facts{list-style:none;margin:0;padding:6px 4px}
.facts li{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;font-size:14px}
.facts li + li{border-top:1px solid var(--border)}
.facts .k{color:var(--muted);font-weight:600}
.facts .v{font-weight:800;text-align:right}

/* rating card */
.rating-card{padding:20px 18px;text-align:center}
.rating-card__score{font-size:52px;font-weight:900;line-height:1;color:var(--gold);letter-spacing:-.03em}
.rating-card__stars{color:var(--star);font-size:20px;letter-spacing:2px;margin:8px 0 4px}
.rating-card__count{color:var(--muted);font-size:13px}

/* TOC */
.toc{list-style:none;margin:0;padding:8px}
.toc a{display:block;padding:9px 12px;border-radius:9px;color:var(--muted);font-size:14px;font-weight:600;transition:.15s}
.toc a:hover{background:var(--surface-2);color:var(--gold)}

/* ---------- hero ---------- */
.hero{
  position:relative;overflow:hidden;border-radius:22px;margin-bottom:30px;
  background:
    radial-gradient(600px 300px at 90% 10%,rgba(37,230,164,.18),transparent 60%),
    linear-gradient(135deg,var(--surface-2),var(--bg-2));
  border:1px solid var(--border-strong);box-shadow:var(--shadow-lg);
  padding:40px 38px;
}
.hero::before{
  content:"9";position:absolute;right:-20px;top:-60px;font-size:340px;font-weight:900;
  color:rgba(255,207,92,.06);line-height:1;pointer-events:none;
}
.hero__badges{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.badge{
  display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:800;
  padding:6px 13px;border-radius:999px;border:1px solid var(--border-strong);
  background:rgba(255,255,255,.04);text-transform:uppercase;letter-spacing:.05em;
}
.badge--gold{color:var(--gold);border-color:rgba(255,207,92,.35)}
.badge--mint{color:var(--mint);border-color:rgba(37,230,164,.35)}
.hero h1{font-size:clamp(28px,4vw,44px);margin-bottom:12px;position:relative}
.hero__byline{color:var(--muted);font-size:14px;margin-bottom:20px}
.hero__byline a{color:var(--gold);font-weight:700}
.hero__offer{
  display:flex;flex-wrap:wrap;align-items:center;gap:18px;
  background:rgba(0,0,0,.28);border:1px solid var(--border);border-radius:var(--radius);
  padding:20px 22px;margin-bottom:22px;
}
.hero__offer-amount{font-size:clamp(22px,3vw,30px);font-weight:900;color:var(--gold);line-height:1.1}
.hero__offer-sub{color:var(--muted);font-size:13.5px}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px}
.hero__disclaimer{margin:16px 0 0;font-size:12px;color:var(--muted-2)}

/* ---------- content sections ---------- */
.section{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:30px 32px;margin-bottom:22px;box-shadow:var(--shadow);scroll-margin-top:90px;
}
.section > h2{
  font-size:clamp(21px,2.6vw,27px);display:flex;align-items:center;gap:12px;margin-bottom:18px;
}
.section > h2::before{
  content:"";width:6px;height:26px;border-radius:4px;flex:0 0 6px;
  background:linear-gradient(180deg,var(--gold),var(--gold-2));
}
.section h3{font-size:18px;margin-top:22px;color:var(--text)}
.section p{color:#d7d3f0}
.section strong{color:var(--text)}
.section a:not(.btn){color:var(--gold);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.section > .btn{margin-top:24px;display:inline-flex}

/* data table */
.table-wrap{overflow-x:auto;border-radius:var(--radius-sm);border:1px solid var(--border);margin:0 0 18px}
table{width:100%;border-collapse:collapse;min-width:460px}
th,td{padding:12px 16px;text-align:left;font-size:14.5px;border-bottom:1px solid var(--border)}
thead th{background:var(--surface-2);color:var(--gold);font-size:12.5px;text-transform:uppercase;letter-spacing:.05em}
tbody tr:last-child td{border-bottom:0}
tbody tr:nth-child(even){background:rgba(255,255,255,.02)}
td:first-child{font-weight:700}

/* feature/pros lists */
.check-list{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:10px}
.check-list li{display:flex;gap:12px;align-items:flex-start;color:#d7d3f0}
.check-list li svg{flex:0 0 22px;margin-top:2px}

/* status list (mobile summary) */
.status-list{list-style:none;margin:0;padding:0}
.status-list li{display:flex;justify-content:space-between;gap:14px;padding:12px 4px;border-bottom:1px solid var(--border);font-size:14.5px}
.status-list li:last-child{border-bottom:0}
.status-list .yes{color:var(--mint);font-weight:800}
.status-list .info{color:var(--muted);font-weight:700}

/* promo cards inside content */
.promo-grid{display:flex;flex-wrap:wrap;gap:16px;margin:6px 0 8px}
.promo{
  flex:1 1 240px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);
  padding:18px 18px;display:flex;flex-direction:column;gap:6px;
}
.promo__title{display:flex;align-items:center;gap:10px;font-weight:800;font-size:16px}
.promo__figure{font-size:22px;font-weight:900;color:var(--mint)}
.promo__code{
  align-self:flex-start;margin-top:6px;font-family:ui-monospace,Menlo,monospace;font-weight:800;
  font-size:13px;color:var(--pink);background:rgba(255,91,138,.1);border:1px dashed rgba(255,91,138,.4);
  padding:4px 10px;border-radius:8px;
}

/* icon bubble */
.ico{
  width:38px;height:38px;flex:0 0 38px;border-radius:11px;display:grid;place-items:center;
  background:var(--surface-3);border:1px solid var(--border);
}

/* payment badges */
.pay-badges{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 6px}
.pay-badges span{
  font-weight:700;font-size:13px;padding:8px 14px;border-radius:10px;
  background:var(--surface-2);border:1px solid var(--border);color:var(--text);
}

/* ---------- reviews ---------- */
.reviews-head{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:22px}
.reviews-head__score{
  display:flex;align-items:center;gap:14px;background:var(--surface-2);
  border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 20px;
}
.reviews-head__num{font-size:34px;font-weight:900;color:var(--gold);line-height:1}
.reviews-head__meta .stars{color:var(--star);letter-spacing:2px;font-size:16px}
.reviews-head__meta small{color:var(--muted);font-size:13px}
.review-grid{display:flex;flex-wrap:wrap;gap:16px}
.review{
  flex:1 1 300px;background:var(--surface-2);border:1px solid var(--border);
  border-radius:var(--radius-sm);padding:18px 20px;
}
.review__top{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.review__avatar{
  width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;
  font-weight:900;color:#2a1c00;background:linear-gradient(135deg,var(--gold),var(--gold-2));
}
.review__name{font-weight:800;font-size:15px}
.review__date{color:var(--muted);font-size:12.5px}
.review__stars{color:var(--star);letter-spacing:1px;font-size:14px;margin-left:auto}
.review__body{color:#cfcbe8;font-size:14px;margin:0}

/* ---------- FAQ ---------- */
.faq details{
  background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);
  margin-bottom:12px;overflow:hidden;
}
.faq summary{
  list-style:none;cursor:pointer;padding:17px 20px;font-weight:700;font-size:16px;
  display:flex;align-items:center;gap:12px;justify-content:space-between;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary .plus{
  flex:0 0 26px;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;
  background:var(--surface-3);color:var(--gold);font-size:18px;transition:transform .2s;
}
.faq details[open] summary .plus{transform:rotate(45deg)}
.faq details p{padding:0 20px 18px;margin:0;color:#cfcbe8;font-size:14.5px}

/* ---------- author box ---------- */
.author-box{
  display:flex;gap:20px;align-items:flex-start;
  background:linear-gradient(135deg,var(--surface-2),var(--bg-2));
  border:1px solid var(--border);border-radius:var(--radius);padding:24px 26px;margin-bottom:22px;
}
.author-box__avatar{
  width:72px;height:72px;flex:0 0 72px;border-radius:16px;display:grid;place-items:center;overflow:hidden;
  font-size:26px;font-weight:900;color:#2a1c00;background:linear-gradient(135deg,var(--gold),var(--gold-2));
}
.author-box__avatar img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}
.author-box__role{color:var(--mint);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.05em}
.author-box h3{margin:2px 0 8px}
.author-box p{color:var(--muted);font-size:14px;margin:0}

/* ---------- footer ---------- */
.site-footer{border-top:1px solid var(--border);background:var(--bg-2);padding:44px 0 30px;margin-top:20px}
.footer-grid{display:flex;flex-wrap:wrap;gap:36px;justify-content:space-between}
.footer-col{flex:1 1 220px;min-width:200px}
.footer-col h4{font-size:14px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-bottom:14px}
.footer-col a{display:block;color:var(--text);opacity:.82;padding:5px 0;font-size:14px}
.footer-col a:hover{opacity:1;color:var(--gold)}
.footer-brand p{color:var(--muted);font-size:14px;max-width:320px}
.footer-legal{
  margin-top:32px;padding-top:22px;border-top:1px solid var(--border);
  display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center;
  color:var(--muted-2);font-size:13px;
}
.age-badge{
  display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;
  border:2px solid var(--pink);color:var(--pink);font-weight:900;font-size:14px;flex:0 0 40px;
}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  :root{--sidebar-w:300px}
}
@media (max-width:900px){
  .layout{flex-direction:column}
  .sidebar{position:static;width:100%;flex:1 1 auto;order:2}
  .main{order:1;width:100%}
  .main-nav{display:none}
  .nav-toggle{display:grid;place-items:center}
  .header-cta .btn--ghost{display:none}
  .site-header.open .main-nav{
    display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;transform:none;
    background:var(--bg-2);border-bottom:1px solid var(--border);padding:12px;gap:4px;
  }
}
@media (max-width:560px){
  .wrap,.layout{padding-left:16px;padding-right:16px}
  .header-bar{padding:10px 16px}
  .hero{padding:26px 20px}
  .section{padding:22px 18px}
  .logo{font-size:18px}
  .hero__offer{gap:12px}
  .logo span:not(.logo__mark){display:none}
  .hero__badges{display:none}
}
