/* AskProGambler — Shared Stylesheet
   Design tokens, typography, layout primitives, components.
   Used by: about, team, contact, responsible-gambling, affiliate-disclosure,
            privacy-policy, terms, cookie-policy, and any future page. */

:root{
  --bg:#fbfaf7;
  --surface:#ffffff;
  --surface-2:#f5f3ee;
  --surface-3:#ebe7df;
  --line:#e8e4dc;
  --line-soft:#f0ede5;
  --text:#14151a;
  --text-2:#3a3d47;
  --text-mute:#6b7280;
  --text-dim:#9ca3af;
  --primary:#dc2626;
  --primary-deep:#991b1b;
  --primary-soft:#fef2f2;
  --emerald:#059669;
  --emerald-soft:#ecfdf5;
  --gold:#b8956a;
  --gold-bright:#d4a574;
  --azure:#2563eb;
  --azure-soft:#eff6ff;
  --serif:'Instrument Serif',Georgia,serif;
  --sans:'Manrope',-apple-system,BlinkMacSystemFont,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,monospace;
  --max:1280px;
  --max-narrow:920px;
  --max-prose:720px;
  --r-sm:6px;
  --r-md:10px;
  --r-lg:16px;
  --r-xl:24px;
  --shadow-sm:0 1px 3px rgba(20,21,26,.04), 0 1px 2px rgba(20,21,26,.03);
  --shadow:0 4px 12px rgba(20,21,26,.04), 0 2px 6px rgba(20,21,26,.03);
  --shadow-md:0 12px 28px rgba(20,21,26,.06), 0 4px 12px rgba(20,21,26,.04);
  --shadow-lg:0 28px 60px -12px rgba(20,21,26,.10), 0 8px 24px rgba(20,21,26,.05);
}
*{box-sizing:border-box;margin:0;padding:0}
*::selection{background:var(--text);color:var(--bg)}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--sans);background:var(--bg);color:var(--text);
  line-height:1.65;font-weight:400;font-size:15.5px;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--text);text-decoration:none;transition:opacity .2s,color .2s}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}

/* ─── Typography ─── */
h1,h2,h3,h4,h5{font-family:var(--serif);font-weight:400;line-height:1.1;letter-spacing:-.015em;color:var(--text)}
h1{font-size:clamp(2.4rem,5vw,3.6rem);margin-bottom:1rem}
h2{font-size:clamp(1.8rem,3.4vw,2.5rem);margin:3rem 0 1rem}
h3{font-size:clamp(1.3rem,2.2vw,1.6rem);margin:2rem 0 .75rem}
h4{font-size:1.1rem;font-family:var(--sans);font-weight:700;letter-spacing:-.01em;margin:1.5rem 0 .5rem}
p{margin-bottom:1.1rem;color:var(--text-2)}
.italic{font-style:italic}
.eyebrow{display:inline-flex;align-items:center;gap:.55rem;
  font-family:var(--sans);font-weight:600;font-size:.72rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--text-mute);margin-bottom:.5rem}
.eyebrow .pip{width:6px;height:6px;border-radius:50%;background:var(--primary)}
.eyebrow.emerald .pip{background:var(--emerald)}
.lead{font-size:1.18rem;color:var(--text-2);max-width:60ch;line-height:1.55;margin-bottom:2rem}

/* ─── Layout ─── */
.container{max-width:var(--max);margin:0 auto;padding:0 1.5rem}
.container-narrow{max-width:var(--max-narrow);margin:0 auto;padding:0 1.5rem}
.prose{max-width:var(--max-prose);margin:0 auto;padding:0 1.5rem}
.prose p,.prose ul,.prose ol{font-size:1rem}
.prose ul,.prose ol{margin:1rem 0 1.5rem 1.25rem;color:var(--text-2)}
.prose li{margin-bottom:.5rem;line-height:1.7}
.prose strong{color:var(--text);font-weight:600}
.prose a{color:var(--primary);text-decoration:underline;text-decoration-color:#fecaca;text-underline-offset:3px}
.prose a:hover{text-decoration-color:var(--primary)}
.prose blockquote{
  margin:1.5rem 0;padding:1.25rem 1.5rem;background:var(--surface);
  border-left:3px solid var(--primary);border-radius:0 8px 8px 0;
  font-style:italic;color:var(--text-2);
}
.prose code{font-family:var(--mono);background:var(--surface-2);padding:.15rem .4rem;border-radius:4px;font-size:.88em}
.prose hr{border:none;height:1px;background:var(--line);margin:2.5rem 0}

section{padding:4rem 0;position:relative}
@media(max-width:720px){section{padding:2.5rem 0}}

/* ─── Header ─── */
header.site{
  position:sticky;top:0;z-index:100;
  background:rgba(251,250,247,.85);
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--line);
}
.nav-row{
  max-width:var(--max);margin:0 auto;
  display:flex;align-items:center;gap:2rem;
  padding:.85rem 1.5rem;
}
.brand{display:flex;align-items:center;gap:.7rem;line-height:1}
.brand svg{height:36px;width:auto}
.brand .wm{font-family:var(--serif);font-weight:400;font-size:1.5rem;letter-spacing:-.02em;line-height:1}
.brand .wm em{font-style:italic;color:var(--primary)}
.brand .wm b{font-family:var(--sans);font-weight:800;font-style:normal}
.nav-links{display:flex;gap:1.5rem;font-size:.92rem;font-weight:500;flex:1}
.nav-links a{color:var(--text-2);position:relative;padding:.4rem 0}
.nav-links a:hover{color:var(--primary)}
.nav-links a.active{color:var(--text);font-weight:600}
.nav-actions{display:flex;align-items:center;gap:.6rem}
.menu-btn{display:none;padding:.5rem;font-size:1.4rem}
@media(max-width:880px){
  .nav-links{display:none}
  .menu-btn{display:block}
}

/* ─── Hero ─── */
.page-hero{padding:4rem 0 3rem}
.page-hero h1{margin-bottom:.85rem}
.page-hero .lead{max-width:55ch}
.page-meta{display:flex;gap:1.5rem;flex-wrap:wrap;font-size:.85rem;color:var(--text-mute);
  padding-top:1.5rem;margin-top:1.5rem;border-top:1px solid var(--line)}
.page-meta strong{color:var(--text);font-weight:600}

/* ─── Buttons ─── */
.btn{display:inline-flex;align-items:center;gap:.4rem;
  padding:.7rem 1.25rem;background:var(--text);color:var(--bg);
  font-weight:600;font-size:.85rem;border-radius:8px;letter-spacing:-.01em;
  transition:background .2s,transform .15s;}
.btn:hover{background:var(--primary);transform:translateY(-1px);opacity:1}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-deep)}
.btn-out{background:var(--surface);border:1px solid var(--line);color:var(--text)}
.btn-out:hover{background:var(--text);color:var(--bg);border-color:var(--text)}
.btn-emerald{background:var(--emerald);color:#fff}
.btn-emerald:hover{background:#047857}
.btn-lg{padding:.9rem 1.6rem;font-size:.92rem;border-radius:10px}

/* ─── Cards & Panels ─── */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);padding:1.75rem;box-shadow:var(--shadow-sm)}
.callout{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);
  padding:1.5rem 1.75rem;margin:1.5rem 0;box-shadow:var(--shadow-sm)}
.callout.warning{background:#fff8eb;border-color:#fde68a}
.callout.danger{background:var(--primary-soft);border-color:#fecaca}
.callout.success{background:var(--emerald-soft);border-color:#a7f3d0}
.callout.info{background:var(--azure-soft);border-color:#bfdbfe}
.callout h4{margin-top:0}

/* ─── Footer ─── */
footer.site{
  margin-top:5rem;padding:5rem 0 2rem;
  background:var(--text);color:rgba(255,255,255,.7);
  border-top:1px solid var(--line);
}
footer .brand{color:#fff}
footer .brand .wm em{color:var(--gold-bright)}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:2.5rem}
@media(max-width:880px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.footer-grid{grid-template-columns:1fr}}
.footer-brand p{font-size:.92rem;color:rgba(255,255,255,.6);max-width:38ch;margin:1rem 0 1.5rem}
.social-row{display:flex;gap:.5rem}
.social-row a{
  width:36px;height:36px;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:8px;
  font-family:var(--sans);font-size:.78rem;color:rgba(255,255,255,.7);font-weight:600;
  transition:all .2s;
}
.social-row a:hover{background:var(--primary);border-color:var(--primary);color:#fff;opacity:1}
footer h5{font-family:var(--sans);font-weight:700;font-size:.78rem;
  letter-spacing:.15em;text-transform:uppercase;color:var(--gold-bright);margin-bottom:1.1rem}
footer ul{list-style:none}
footer li{padding:.32rem 0;font-size:.9rem}
footer ul a{color:rgba(255,255,255,.65)}
footer ul a:hover{color:#fff;opacity:1}
.foot-bottom{
  margin-top:3.5rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.1);
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1.5rem;
  font-size:.82rem;color:rgba(255,255,255,.5);
}
.foot-bottom a{color:rgba(255,255,255,.65);text-decoration:underline;text-decoration-color:rgba(255,255,255,.2);text-underline-offset:3px}
.foot-bottom a:hover{color:#fff}
.compliance-row{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.compliance-badge{
  padding:.45rem .8rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);
  border-radius:8px;font-family:var(--mono);font-size:.7rem;color:rgba(255,255,255,.7);
  display:flex;align-items:center;gap:.45rem;font-weight:500;
}
.compliance-badge .age{
  width:24px;height:24px;border-radius:50%;
  background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;
  font-family:var(--sans);font-weight:700;font-size:.68rem;
}

/* ─── Forms ─── */
.field{margin-bottom:1.25rem}
.field label{display:block;font-size:.78rem;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--text-2);margin-bottom:.4rem}
.field input,.field textarea,.field select{
  width:100%;padding:.75rem .9rem;border:1px solid var(--line);border-radius:8px;
  font-family:inherit;font-size:.95rem;color:var(--text);background:var(--surface);
  transition:border-color .2s,box-shadow .2s;
}
.field input:focus,.field textarea:focus,.field select:focus{
  outline:none;border-color:var(--text);box-shadow:0 0 0 3px rgba(20,21,26,.06)
}
.field .help{font-size:.78rem;color:var(--text-mute);margin-top:.4rem}
.field textarea{resize:vertical;min-height:120px}

/* ─── Misc ─── */
.toc{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);
  padding:1.5rem 1.75rem;margin-bottom:2rem;font-size:.92rem;
}
.toc h4{margin-top:0;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-mute)}
.toc ol{list-style:none;counter-reset:toc;padding:0;margin:0}
.toc li{counter-increment:toc;padding:.35rem 0}
.toc li::before{content:counter(toc,decimal-leading-zero);color:var(--primary);
  font-family:var(--mono);font-size:.78rem;margin-right:.6rem}
.toc a{color:var(--text-2)}
.toc a:hover{color:var(--primary)}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* ============ MOBILE DRAWER ============ */
.menu-btn{
  background:transparent;border:1px solid var(--line);border-radius:8px;
  width:42px;height:42px;display:none;align-items:center;justify-content:center;
  font-size:1.5rem;color:var(--text);cursor:pointer;transition:background .15s;
}
.menu-btn:hover{background:var(--surface-2)}
@media(max-width:960px){
  .menu-btn{display:flex}
  .nav-links{display:none}
}

.drawer-overlay{
  position:fixed;inset:0;background:rgba(10,10,12,.55);backdrop-filter:blur(2px);
  z-index:998;opacity:0;pointer-events:none;transition:opacity .25s;
}
.drawer-overlay.open{opacity:1;pointer-events:auto}

.drawer{
  position:fixed;top:0;right:0;bottom:0;width:min(92vw,360px);
  background:#14151a;color:#fef9f0;z-index:999;
  transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  display:flex;flex-direction:column;
}
.drawer.open{transform:translateX(0)}

.drawer-head{
  padding:1.25rem 1.5rem;display:flex;align-items:center;justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.08);position:sticky;top:0;background:#14151a;z-index:2;
}
.drawer-brand{display:flex;align-items:center;gap:.6rem;font-family:var(--serif);font-size:1.35rem;color:#fef9f0;text-decoration:none}
.drawer-brand b{font-family:var(--sans);font-weight:800;letter-spacing:-.02em}
.drawer-brand em{font-style:italic;color:#dc2626;font-family:var(--serif);font-weight:400}
.drawer-close{
  background:transparent;border:none;color:#fef9f0;font-size:1.6rem;cursor:pointer;
  width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;
}
.drawer-close:hover{background:rgba(255,255,255,.08)}

.drawer-search{
  padding:1rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.08);
}
.drawer-search input{
  width:100%;padding:.7rem .9rem;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);border-radius:10px;
  color:#fef9f0;font-family:var(--sans);font-size:.9rem;
}
.drawer-search input::placeholder{color:rgba(254,249,240,.45)}
.drawer-search input:focus{outline:none;border-color:#dc2626;background:rgba(255,255,255,.10)}

.drawer-section{padding:1.4rem 1.5rem .4rem;border-bottom:1px solid rgba(255,255,255,.06)}
.drawer-section:last-of-type{border-bottom:none}
.drawer-label{
  font-family:var(--sans);font-size:.7rem;font-weight:700;letter-spacing:.18em;
  text-transform:uppercase;color:#b8956a;margin-bottom:1rem;
}
.drawer-section ul{list-style:none;padding:0;margin:0}
.drawer-section li{margin:0}
.drawer-section a{
  display:flex;align-items:center;justify-content:space-between;
  padding:.85rem 0;color:rgba(254,249,240,.92);text-decoration:none;
  font-family:var(--sans);font-size:1rem;font-weight:500;
  border-bottom:1px solid rgba(255,255,255,.04);
  transition:color .15s,padding-left .15s;
}
.drawer-section a:hover,.drawer-section a:focus{color:#fef9f0;padding-left:.3rem}
.drawer-section a .count{
  background:rgba(220,38,38,.18);color:#fda4af;
  padding:.18rem .55rem;border-radius:99px;font-size:.7rem;font-weight:700;
}
.drawer-section a.danger{color:#fca5a5}
.drawer-section a.danger:hover{color:#fecaca}

.drawer-foot{
  padding:1.4rem 1.5rem;background:rgba(0,0,0,.25);margin-top:auto;
  border-top:1px solid rgba(255,255,255,.08);
}
.drawer-foot .lang{display:flex;gap:.5rem;margin-bottom:1rem}
.drawer-foot .lang button{
  flex:1;padding:.55rem;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);
  color:#fef9f0;font-family:var(--sans);font-weight:600;font-size:.82rem;
  border-radius:8px;cursor:pointer;
}
.drawer-foot .lang button.active{background:#dc2626;border-color:#dc2626}
.drawer-foot .age{
  display:flex;align-items:center;gap:.6rem;font-size:.78rem;color:rgba(254,249,240,.55);
}
.drawer-foot .age-badge{
  background:#dc2626;color:#fff;font-weight:800;font-size:.7rem;
  padding:.2rem .45rem;border-radius:4px;
}

body.drawer-open{overflow:hidden}


/* ============ LANG BUTTONS (3-way switcher) ============ */
.drawer-foot .lang{display:flex;gap:.4rem;margin-bottom:1rem}
.drawer-foot .lang .lang-btn{
  flex:1;padding:.55rem;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);color:#fef9f0;
  font-family:var(--sans);font-weight:600;font-size:.78rem;
  border-radius:8px;cursor:pointer;text-align:center;text-decoration:none;
  transition:all .15s;
}
.drawer-foot .lang .lang-btn:hover{background:rgba(255,255,255,.12)}
.drawer-foot .lang .lang-btn.active{background:#dc2626;border-color:#dc2626;color:#fff}
