/* britekasinot.casino — visual layer (presentation only) */

/* ---------------------------------------------------------------- tokens */
.theme-brite{
  --brand:#0e3358; --brand-2:#1b5c95; --brand-3:#082744;
  --accent:#ffb020; --accent-2:#ffc857; --accent-ink:#20160a;
  --bg:#f5f7fa; --surface:#fff; --surface-2:#eef2f7;
  --ink:#15202b; --ink-soft:#54627a; --line:#dde5ee;
  --ok:#0f7a52; --ok-bg:#e6f6ef; --no:#a3342c; --no-bg:#fdeceb;
  --warn-bg:#fff6e4; --warn-line:#f2d9a4; --info-bg:#eaf1f9;
  --shadow:0 1px 2px rgba(11,31,54,.05),0 10px 28px -12px rgba(11,31,54,.18);
  --shadow-lg:0 2px 4px rgba(11,31,54,.06),0 24px 56px -20px rgba(11,31,54,.30);
  --maxw:1160px;
}
body{font-size:17.5px;line-height:1.68;-webkit-font-smoothing:antialiased}
::selection{background:var(--accent);color:var(--accent-ink)}
h1{font-size:clamp(2.05rem,1.25rem + 3vw,3.15rem);letter-spacing:-.022em;line-height:1.1}
h2{font-size:clamp(1.45rem,1.1rem + 1.3vw,2.05rem);letter-spacing:-.018em}
h3{font-size:1.2rem;letter-spacing:-.01em}
/* Column width comes from base v2's --prose/--wide, which its break-out rule also
   computes against. Hardcoding .prose{max-width} here desynced the two and made wide
   blocks burst 128px out of the column on every page. Set the variables instead. */
.theme-brite{--prose:880px}
.prose p{margin:0 0 1.05em}
/* No extra measure cap on prose. Capping text at 72ch while cards and tables ran to
   the break-out width put THREE different widths on the page (text ~625px, blocks
   ~1096px, hero 1160px) and left every paragraph stranded with dead space beside it.
   Text now fills the column: two widths only, everything sharing one left edge. */

/* ---------------------------------------------------------------- chrome */
.topbar{background:var(--brand-3);font-size:.8rem;letter-spacing:.005em}
.topbar .wrap{padding-block:9px}
.topbar a{text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4)}
.age{border-width:1.5px;font-weight:900;letter-spacing:.02em}
.site-header{background:var(--brand);border-top:0;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.10)}
.site-header .wrap{min-height:76px}
.brand{font-size:1.18rem;gap:12px}
.brand-mark{width:44px;height:44px;border-radius:12px;flex:none;
  box-shadow:0 0 0 1px rgba(255,255,255,.16),0 6px 14px -8px rgba(0,0,0,.7)}
.brand span small{opacity:.78;letter-spacing:.01em;margin-top:1px}
.nav a{font-size:.94rem;font-weight:650;border-radius:10px;padding:10px 13px;
  transition:background .15s ease}
.nav a[aria-current="page"]{background:rgba(255,255,255,.16);box-shadow:inset 0 -2px 0 var(--accent)}

/* ---------------------------------------------------------------- hero band */
.hero{position:relative;background:
   linear-gradient(100deg, var(--brand-3) 0%, rgba(8,39,68,.86) 46%, rgba(8,39,68,.52) 100%),
   url("/img/hero-band.webp") right center / cover no-repeat,
   var(--brand-3);
  color:#eaf1f9;padding:46px 0 58px;margin-bottom:0}
@media (max-width:640px){
  .hero{background:
    linear-gradient(170deg, var(--brand) 0%, var(--brand-3) 100%),
    url("/img/hero-band-800.webp") right center / cover no-repeat, var(--brand-3)}
}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:44px;
  background:var(--bg);clip-path:ellipse(75% 100% at 50% 100%)}
.hero .wrap{position:relative;z-index:1}
.hero h1{color:#fff;margin:.1em 0 .34em;text-wrap:balance}
.hero .lead{color:#c3d5e8;font-size:1.16rem;line-height:1.62;max-width:56ch}
.hero .byline{color:#a9c0d6;margin-top:22px;gap:12px 22px}
.hero .byline b,.hero .byline a{color:#fff}
.hero .byline a{text-decoration-color:rgba(255,255,255,.45)}
.hero .byline img{border-color:rgba(255,255,255,.28);box-shadow:0 0 0 1px rgba(255,255,255,.16)}
.hero .byline time{color:#c3d5e8}
.crumbs{color:#9db4cb;margin:0 0 6px}
.crumbs a{color:#cfe0f0}
.crumbs li+li::before{color:#7793b0}
.hero-split .hero .wrap{gap:52px;align-items:center}

/* ---------------------------------------------------------------- featured */
.featured{background:var(--surface);color:var(--ink);border:0;border-radius:18px;
  padding:22px 20px 18px;box-shadow:var(--shadow-lg);text-align:center;position:relative;
  overflow:hidden}
.featured p{color:inherit}
.featured::before{content:"";position:absolute;inset:0 0 auto;height:5px;
  background:linear-gradient(90deg,var(--accent) 0%,var(--accent-2) 100%)}
.featured-kicker{margin:6px 0 14px;font-size:.68rem;letter-spacing:.16em;font-weight:900;
  color:var(--brand-2)}
.featured-logo{max-width:280px;border-radius:12px;border:1px solid var(--line);
  box-shadow:0 6px 18px -10px rgba(11,31,54,.45);margin-bottom:14px}
.featured-name{font-size:1.44rem;margin-bottom:8px}
.featured-desc{font-size:.93rem;line-height:1.55;margin-inline:auto;
  color:var(--ink-soft)}
.featured .tags{margin:12px 0 16px}
.featured-cta{background:linear-gradient(180deg,var(--accent-2),var(--accent));
  box-shadow:0 10px 22px -10px rgba(255,176,32,.9);letter-spacing:.01em}
.featured-cta:hover{filter:none;transform:translateY(-1px);
  box-shadow:0 14px 26px -10px rgba(255,176,32,.95)}
.featured-more a{font-weight:650;color:var(--brand-2)}
.featured .fine{border-top:1px solid var(--line);padding-top:10px;line-height:1.5;
  color:var(--ink-soft)}
.featured .age{color:var(--ink-soft)}

/* ---------------------------------------------------------------- sections */
.content{padding-top:12px}
.prose>section{scroll-margin-top:18px}
h2.sec{position:relative;padding-top:.5em;margin-top:2.4em}
h2.sec::before{content:"";position:absolute;top:0;left:0;width:46px;height:4px;border-radius:3px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2))}
.rec-head h2.sec{margin-top:1.2em}

/* ---------------------------------------------------------------- toplist */
.rec-list{gap:18px;margin-top:20px}
.rec-card{border:1px solid var(--line);border-radius:16px;padding:16px;gap:20px;
  box-shadow:var(--shadow);transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease}
.rec-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px);border-color:#c8d8e8}
.rec-card::before{width:30px;height:30px;font-size:.88rem;background:var(--brand);
  box-shadow:0 0 0 3px var(--bg),0 4px 10px -4px rgba(11,31,54,.5)}
.rec-card:first-child::before{background:linear-gradient(145deg,var(--accent-2),var(--accent));
  color:var(--accent-ink)}
.rec-logo{border-radius:12px}
.rec-body h3{font-size:1.2rem;margin-bottom:7px}
.rec-desc{line-height:1.55}
.rec-meta{font-size:.86rem;row-gap:3px}
.rec-cta .btn{background:linear-gradient(180deg,var(--accent-2),var(--accent));
  box-shadow:0 8px 18px -10px rgba(255,176,32,.95)}
.rec-cta .btn:hover{filter:none;transform:translateY(-1px)}
.pill{font-size:.735rem;padding:4px 10px;letter-spacing:.01em}
.pill--no{background:var(--no-bg);border-color:#f3cdc9}

/* ---------------------------------------------------------------- payments */
.paystrip{margin:26px 0;padding:18px 20px;background:var(--surface);border:1px solid var(--line);
  border-radius:16px;box-shadow:var(--shadow)}
.paystrip-h{color:var(--brand-2);letter-spacing:.11em;font-size:.72rem;font-weight:800;
  text-transform:uppercase;margin:0 0 10px}
/* Structural rules — these are OUR classes, the shared theme knows nothing about them.
   They were lost when this layer was split out of build.py, which turned every payment
   strip into a bulleted vertical list and stacked the pros/cons columns. */
.paystrip ul{list-style:none;display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:0}
.paystrip li{flex:0 0 auto;display:block}
.paystrip img{width:124px;height:50px;padding:7px;border-color:var(--line);border-radius:10px;
  transition:transform .15s ease,box-shadow .15s ease}
.paystrip img:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.paystrip .paystrip-c{color:var(--ink-soft);line-height:1.5}
@media (max-width:520px){.paystrip{padding:14px}.paystrip img{width:98px;height:42px}}

.paystrip--pair img{width:154px;height:62px}
table .src{font-size:.85rem;overflow-wrap:anywhere}
.cols-2{display:grid;gap:4px 34px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  margin:10px 0 4px}
.cols-2 h3{margin-top:.5em}
.cols-2 ul{margin-bottom:.6em}

/* ---------------------------------------------------------------- keyfacts */
.keyfacts{border:1px solid var(--line);border-left:0;border-radius:16px;padding:20px 24px;
  background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:var(--shadow);position:relative;
  overflow:hidden}
.keyfacts::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;
  background:linear-gradient(180deg,var(--accent),var(--accent-2))}
.keyfacts h2{font-size:1.06rem;color:var(--brand);letter-spacing:-.01em}
.keyfacts h2::before{display:none}
.keyfacts ul{list-style:none;padding:0}
.keyfacts li{position:relative;padding-left:1.5em;margin:.46em 0;font-size:.97rem}
.keyfacts li::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;
  border-radius:50%;background:var(--accent)}

/* ---------------------------------------------------------------- toc */
details.toc{background:var(--surface-2);border:1px solid var(--line);border-radius:14px;
  padding:0 20px;margin:30px 0}
details.toc>summary{color:var(--brand);font-size:.98rem}
details.toc ol{counter-reset:toc;list-style:none;padding:0;columns:2;column-gap:34px}
details.toc li{counter-increment:toc;padding-left:2em;position:relative;margin:.36em 0}
details.toc li::before{content:counter(toc);position:absolute;left:0;top:.12em;width:1.45em;
  height:1.45em;border-radius:50%;background:#fff;border:1px solid var(--line);
  font-size:.72rem;font-weight:800;color:var(--brand-2);display:grid;place-items:center}
@media (max-width:700px){details.toc ol{columns:1}}

/* ---------------------------------------------------------------- notes */
.note{border-radius:14px;padding:16px 18px;border-left:4px solid var(--brand-2)}
.note>strong:first-child{color:var(--brand);font-size:1rem;margin-bottom:4px}
.note--warn{border-left-color:var(--accent)}
.note--warn>strong:first-child{color:#8a5a00}

/* ---------------------------------------------------------------- tables */
.table-wrap{border-radius:14px;box-shadow:var(--shadow);border-color:var(--line)}
caption{padding:14px 16px 8px;font-size:.9rem;color:var(--ink-soft);font-weight:500}
thead th{background:var(--brand);color:#fff;font-weight:700;font-size:.86rem;
  letter-spacing:.02em;border-top:0}
tbody th[scope="row"]{font-weight:700;color:var(--ink);background:var(--surface-2)}
tbody tr:nth-child(even){background:#fafcfe}
tbody tr:hover{background:var(--info-bg)}
th,td{padding:12px 15px}

/* ---------------------------------------------------------------- steps */
.steps li{border-radius:14px;padding:14px 16px 14px 60px;border-color:var(--line);
  box-shadow:var(--shadow)}
.steps li::before{background:linear-gradient(145deg,var(--brand-2),var(--brand));width:30px;
  height:30px;left:16px;top:13px}
.steps strong{color:var(--brand);margin-bottom:2px}

/* ---------------------------------------------------------------- faq */
.faq details{border-radius:14px;border-color:var(--line);box-shadow:var(--shadow);
  transition:box-shadow .15s ease}
.faq details[open]{box-shadow:var(--shadow-lg)}
.faq summary{padding:16px 34px 16px 0;font-size:1.02rem;color:var(--brand)}
.faq summary::after{color:var(--accent);font-weight:800;top:13px}
.faq .a{padding-bottom:16px;line-height:1.62}

/* ---------------------------------------------------------------- author */
.author-box{border-radius:18px;padding:22px;gap:20px;grid-template-columns:96px minmax(0,1fr);
  background:linear-gradient(180deg,#fff,#fafcfe);box-shadow:var(--shadow)}
.author-box img{width:96px;height:96px;box-shadow:0 0 0 3px #fff,0 0 0 4px var(--line)}
.author-box h2,.author-box h3{color:var(--brand);font-size:1.14rem}
.author-box h2::before{display:none}
.author-box .role{color:var(--brand-2);font-weight:650}
@media (max-width:520px){.author-box{grid-template-columns:68px minmax(0,1fr)}
  .author-box img{width:68px;height:68px}}
.people{gap:18px}

/* ---------------------------------------------------------------- sources */
.sources{background:var(--surface-2);border:1px solid var(--line);border-radius:16px;
  padding:20px 24px;margin-top:34px}
.sources h2{font-size:1.06rem;margin-top:0;color:var(--brand)}
.sources h2::before{display:none}
.sources li{margin:.5em 0}

/* ---------------------------------------------------------------- figures */
.illus img{border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px}

/* contextual section illustration: floats beside the copy on wide screens */
.secfig{margin:6px 0 20px;text-align:center}
.secfig img{width:100%;max-width:300px;height:auto;border-radius:16px;border:1px solid var(--line);
  box-shadow:var(--shadow);margin-inline:auto}
.secfig figcaption{font-size:.83rem;color:var(--ink-soft);margin-top:9px;line-height:1.5;
  max-width:44ch;margin-inline:auto}
@media (min-width:860px){
  .secfig{float:right;width:274px;margin:4px 0 16px 30px;text-align:left}
  .secfig img{max-width:274px}
  .secfig figcaption{margin-inline:0}
}
/* flow-root, not overflow:hidden — the latter contains the figure float but also
   clips the wide break-out blocks (tables, toplist, TOC) stone dead. */
.prose>section{display:flow-root}

/* ---------------------------------------------------------------- footer */
.site-footer{background:linear-gradient(180deg,#0b1b2c,#081521);color:#b9c8d8;margin-top:56px}
.site-footer .cols{padding-block:44px 26px;gap:32px}
.foot-h{color:#fff;font-size:.74rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase;
  margin:0 0 12px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin:.42em 0}
.site-footer a{color:#dbe6f1;text-decoration:none;border-bottom:1px solid transparent}
.site-footer a:hover{color:#fff;border-bottom-color:var(--accent)}
.site-footer address{font-style:normal;line-height:1.75}
.site-footer .legal{border-top:1px solid rgba(255,255,255,.12);padding:22px 0 40px}
.site-footer .legal p{max-width:80ch;margin:0 0 .8em;font-size:.88rem;line-height:1.62}
.site-footer .legal strong{color:#fff}
.site-footer .fine{color:#7e91a6;padding-top:6px}

/* ---------------------------------------------------------------- misc */
code{background:var(--surface-2);padding:2px 6px;border-radius:5px;font-size:.9em}
.btn{transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media (prefers-reduced-motion:reduce){
  .rec-card,.btn,.paystrip img,.faq details{transition:none!important}
  .rec-card:hover,.btn:hover,.paystrip img:hover{transform:none!important}
}
@media (max-width:979px){
  .hero{padding:32px 0 44px}
  .hero .lead{font-size:1.08rem}
  .featured{margin-top:26px}
}
@media (max-width:760px){
  .rec-card{gap:14px;padding:14px}
  .rec-logo{aspect-ratio:2.4/1}
  h2.sec{margin-top:2em}
}
