/* ===========================================================
   BetonRed Logowanie — betonred-logowanie.pl
   Pure vanilla CSS · brand-matched (dark + green CTA + gold)
   =========================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg:          #101114;
  --bg-2:        #16181d;
  --surface:     #1d1f24;
  --surface-2:   #2a2d35;
  --surface-3:   #373b45;
  --border:      #2a2d35;
  --border-2:    #373b45;

  --green:       #1dbf59;
  --green-hover: #3fc972;
  --green-press: #1c9854;

  --gold:        #f3dc9c;
  --gold-2:      #e3b65e;
  --orange:      #e45809;
  --danger:      #ff4444;
  --danger-bg:   #2a1416;
  --info:        #2196f3;

  --text:        #ffffff;
  --muted:       #9aa0ad;
  --muted-2:     #6b7180;

  --r-s: 8px;
  --r-m: 12px;
  --r-l: 16px;
  --r-xl: 24px;
  --r-pill: 1000px;

  --maxw: 1180px;
  --gap: 24px;

  --shadow:     0 10px 40px rgba(0,0,0,.45);
  --shadow-sm:  0 4px 18px rgba(0,0,0,.35);
  --ring:       0 0 0 3px rgba(29,191,89,.35);

  --ff-head: "Montserrat", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-body: "Inter", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding: 64px 0; }
.section--tight { padding: 48px 0; }
.section:nth-child(even) { background: var(--bg-2); }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 12px;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 760px; }

/* ---------- Typography ---------- */
h1,h2,h3 { font-family: var(--ff-head); line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-style: italic; text-transform: uppercase; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-style: italic; text-transform: uppercase; }
h3 { font-size: 1.12rem; font-weight: 700; }
.section > .container > h2,
.section > .container > .sec-head { margin-bottom: 8px; }
.sec-head { margin-bottom: 28px; }
.sec-head .lead { margin-top: 10px; }
/* centered section head (used where content below is centered, e.g. the mock form) */
#form .sec-head { text-align: center; }
#form .sec-head .lead { margin-inline: auto; }

.text-green { color: var(--green); }
.text-gold  { color: var(--gold-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .02em;
  border: 0; border-radius: var(--r-pill);
  padding: 14px 28px; font-size: 1rem;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  white-space: normal; text-align: center; max-width: 100%; overflow-wrap: break-word;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--green); color: #04210f; box-shadow: 0 8px 24px rgba(29,191,89,.35); }
.btn--primary:hover { background: var(--green-hover); }
.btn--ghost { background: transparent; color: var(--text); border: 2px solid var(--border-2); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--gold { background: linear-gradient(180deg,var(--gold),var(--gold-2)); color: #2b2305; box-shadow: 0 8px 24px rgba(227,182,94,.3); }
.btn--gold:hover { filter: brightness(1.06); }
.btn--lg { padding: 20px 40px; font-size: 1.25rem; }
.btn--huge { padding: 24px 44px; font-size: clamp(1.25rem, 3.4vw, 1.7rem); width: 100%; max-width: 560px; }
.btn--block { width: 100%; }

/* ===========================================================
   HEADER + ANCHOR NAV
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,17,20,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 30px; width: auto; }

/* anchor nav */
.anchor-nav { margin-left: auto; }
.anchor-nav ul { display: flex; gap: 4px; align-items: center; }
.anchor-nav a {
  display: block; padding: 9px 14px; border-radius: var(--r-pill);
  font-size: .92rem; font-weight: 600; color: var(--muted);
  transition: color .15s, background .15s;
}
.anchor-nav a:hover { color: var(--text); background: var(--surface); }
.anchor-nav a.is-active { color: var(--text); background: var(--surface-2); }

.header-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.header-cta .btn { padding: 10px 20px; font-size: .9rem; }

/* burger (mobile) */
.burger {
  display: none; width: 44px; height: 44px; border-radius: var(--r-s);
  background: var(--surface); border: 1px solid var(--border-2);
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  margin-left: auto;
}
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(228,88,9,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(29,191,89,.14), transparent 55%),
    var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("images/hero-bg.png");
  background-size: cover; background-position: center;
  opacity: .10; mix-blend-mode: screen; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding-block: 72px 84px;
}
.hero-copy .badge-line {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border-2);
  padding: 6px 14px; border-radius: var(--r-pill);
  font-size: .82rem; color: var(--gold); margin-bottom: 18px;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 .accent { color: var(--green); }
.hero-lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 28px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.bonus-callout {
  display: flex; align-items: center; gap: 8px;
  font-size: .9rem; color: var(--muted); margin-top: 16px;
}
.bonus-callout img { flex-shrink: 0; }
.bonus-callout b { color: var(--gold-2); font-size: 1rem; white-space: nowrap; }
.antiphish {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; font-size: .82rem; color: var(--muted-2);
}
.antiphish svg { flex-shrink: 0; }

/* hero visual: login mockup card */
.login-mock {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--shadow);
}
.login-mock .mock-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.login-mock .mock-top img { height: 26px; }
.login-mock .mock-badge { font-size: .72rem; color: var(--green); border: 1px solid rgba(29,191,89,.4); padding: 3px 10px; border-radius: var(--r-pill); }
.login-mock h3 { font-family: var(--ff-head); font-style: italic; text-transform: uppercase; font-size: 1.3rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; background: var(--bg); border: 1px solid var(--border-2);
  border-radius: var(--r-s); padding: 13px 14px; color: var(--text); font-size: .95rem;
  font-family: inherit; transition: border .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--green); box-shadow: var(--ring); }
.disclaimer {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 16px; padding: 12px 14px;
  background: var(--danger-bg); border: 1px solid rgba(255,68,68,.35);
  border-radius: var(--r-s); font-size: .78rem; color: #ffb4b4; line-height: 1.5;
}
.disclaimer svg { flex-shrink: 0; margin-top: 2px; }

/* trust strip */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 32px; padding: 20px 0; }
.trust-row .pay { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.trust-row .pay img { height: 26px; opacity: .85; }
.trust-row .trust-item { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; }
.trust-row .trust-item img { height: 20px; }

/* ===========================================================
   STEP FLOW (krok po kroku / recovery / register)
   =========================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-l); padding: 28px 22px 22px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 22px;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--green); color: #04210f; border-radius: 50%;
  font-family: var(--ff-head); font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(29,191,89,.4);
}
.step h3 { margin: 8px 0 8px; }
.step p { color: var(--muted); font-size: .94rem; }
.step .shot {
  margin-top: 14px; height: 96px; border-radius: var(--r-s);
  background: var(--bg); border: 1px dashed var(--border-2);
  display: grid; place-items: center; color: var(--muted-2); font-size: .78rem;
}

/* ===========================================================
   CARD GRIDS (troubleshooting / security / faq / mobile)
   =========================================================== */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-l); padding: 24px;
  transition: border-color .18s, transform .18s;
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.card .ico {
  width: 48px; height: 48px; border-radius: var(--r-m);
  display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(29,191,89,.12); color: var(--green);
}
.card.is-danger .ico { background: rgba(255,68,68,.12); color: var(--danger); }
.card.is-gold .ico { background: rgba(227,182,94,.14); color: var(--gold-2); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .94rem; }
.card p + p { margin-top: 8px; }
.card .fix { display: block; margin-top: 12px; font-size: .86rem; color: var(--green); font-weight: 600; }

/* mobile login section */
.mobile-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.mobile-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-list li:last-child { border-bottom: 0; }
.mobile-list .n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.mobile-list b { display: block; }
.mobile-list span { color: var(--muted); font-size: .92rem; }
.phone-art {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-2); border-radius: var(--r-xl);
  padding: 28px; text-align: center;
}
.phone-art .biometric { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 24px; background: rgba(29,191,89,.12); display: grid; place-items: center; color: var(--green); }
.phone-art h3 { font-family: var(--ff-head); font-style: italic; text-transform: uppercase; margin-bottom: 8px; }
.phone-art p { color: var(--muted); font-size: .92rem; }

/* game strip */
.game-strip-label { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 28px; margin-bottom: 16px; }
.game-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.game-card { position: relative; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--border); }
.game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; transition: transform .25s ease; }
.game-card:hover img { transform: scale(1.05); }
.game-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 10px 9px;
  font-family: var(--ff-head); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: .82rem; letter-spacing: .01em; color: #fff; text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
}

/* ===========================================================
   FAQ accordion
   =========================================================== */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-m); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: 0; color: var(--text); text-align: left;
  padding: 18px 20px; font-size: 1.02rem; font-weight: 600;
}
.faq-q .chev { flex-shrink: 0; transition: transform .25s; color: var(--green); }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 20px 18px; color: var(--muted); font-size: .96rem; }

/* ===========================================================
   REGISTER / promo callout
   =========================================================== */
.promo {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(228,88,9,.22), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-2); border-radius: var(--r-xl);
  padding: 40px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
}
.promo .big-bonus { font-family: var(--ff-head); font-style: italic; font-weight: 800; line-height: 1; }
.promo .big-bonus .amt { font-size: clamp(2.6rem, 7vw, 4.4rem); color: var(--gold); display: block; }
.promo .big-bonus .fs { font-size: clamp(1.1rem, 3vw, 1.6rem); color: var(--gold-2); }
.promo .code {
  display: inline-flex; align-items: center; gap: 8px; margin: 16px 0;
  background: var(--bg); border: 1px dashed var(--gold-2); color: var(--gold);
  padding: 8px 16px; border-radius: var(--r-s); font-weight: 700; letter-spacing: .05em;
}
.promo .reg-steps { display: grid; gap: 12px; margin-top: 8px; }
.promo .reg-steps li { display: flex; gap: 10px; color: var(--muted); font-size: .95rem; }
.promo .reg-steps .n { color: var(--green); font-weight: 800; flex-shrink: 0; }
.promo-emblem { width: 96px; height: auto; margin: 0 auto 6px; filter: drop-shadow(0 8px 22px rgba(227,182,94,.45)); }

/* ===========================================================
   STICKY MOBILE CTA + conclusion
   =========================================================== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(16,17,20,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); padding: 12px 16px;
  transform: translateY(120%); transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }

.conclusion { text-align: center; }
.conclusion p { color: var(--muted); max-width: 640px; margin: 12px auto 24px; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-grid img.flogo { height: 28px; margin-bottom: 14px; }
.footer-grid p { color: var(--muted); font-size: .9rem; max-width: 360px; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: .92rem; padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer-bottom .age { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.footer-bottom .age .badge18 { background: var(--danger); color: #fff; font-weight: 800; font-size: .75rem; padding: 2px 7px; border-radius: 5px; }
.footer-disclaimer { color: var(--muted-2); font-size: .8rem; line-height: 1.6; margin-top: 18px; }

/* ===========================================================
   LEGAL / TEXT PAGES
   =========================================================== */
.legal { padding: 56px 0; }
.legal .container { max-width: 880px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--muted-2); font-size: .88rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.3rem; margin: 30px 0 10px; }
.legal h3 { margin: 20px 0 8px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--green); }
.legal .helpline { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-m); padding: 20px 24px; margin: 20px 0; }
.legal .helpline b { color: var(--text); font-size: 1.4rem; }

/* breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--muted-2); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--ff-head); font-style: italic; font-weight: 800; font-size: clamp(5rem, 18vw, 10rem); color: var(--green); line-height: 1; }
.notfound p { color: var(--muted); margin: 8px 0 26px; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .login-mock { max-width: 460px; }
  /* character art (right: Zeus): blurred + darkened so it reads as a soft backdrop, not noise */
  .hero::after {
    inset: -28px;                 /* extend so blurred edges fall outside (clipped by overflow:hidden) */
    opacity: 1;
    mix-blend-mode: normal;
    filter: blur(6px);
    background-image:
      linear-gradient(180deg, rgba(16,17,20,.62) 0%, rgba(16,17,20,.86) 40%, var(--bg) 60%),
      url("images/hero-bg.png");
    background-size: cover, auto 66%;
    background-position: center, right top;
    background-repeat: no-repeat, no-repeat;
  }
  .promo { grid-template-columns: 1fr; }
  .mobile-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .anchor-nav { display: none; }
  .burger { display: flex; }
  .header-cta { display: none; }
  /* mobile slide-down menu */
  .mobile-menu {
    position: fixed; inset: 68px 0 auto 0; z-index: 49;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .28s ease;
    padding: 14px 20px 22px;
  }
  .mobile-menu.is-open { transform: translateY(0); }
  .mobile-menu a { display: block; padding: 13px 6px; border-bottom: 1px solid var(--border); color: var(--text); font-weight: 600; }
  .mobile-menu .btn { width: 100%; margin-top: 14px; }
  .mobile-menu .btn--ghost { margin-top: 10px; }
}
@media (max-width: 620px) {
  .section { padding: 44px 0; }
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .game-strip { grid-template-columns: repeat(2,1fr); }
  .promo { padding: 26px 18px; }
  /* give body bottom space for sticky CTA */
  body { padding-bottom: 78px; }

  .container { padding-inline: 20px; }

  /* hero */
  .hero-inner { padding-block: 40px 52px; gap: 28px; }
  h1 { font-size: 1.72rem; }
  .hero-lead { font-size: 1.02rem; }
  .hero h1 { word-break: break-word; }
  .hero .badge-line { font-size: .76rem; padding: 5px 12px; }

  /* CTA: stack full-width, smaller type so nothing overflows */
  .hero-cta { gap: 12px; }
  .hero-cta .btn { width: 100%; }
  .btn--huge { font-size: 1.12rem; padding: 18px 20px; line-height: 1.25; }
  .btn--lg { font-size: 1rem; padding: 15px 20px; }
  .btn { padding: 13px 20px; font-size: .95rem; }

  /* login mockup */
  .login-mock { padding: 20px; }
  .login-mock h3 { font-size: 1.15rem; }

  /* section heads */
  h2 { font-size: 1.55rem; }
  .sec-head { margin-bottom: 22px; }

  /* steps: extra top room + bigger gap so the overhanging number badge (top:-18px)
     doesn't collide with the section lead above or the previous card */
  .steps { padding-top: 20px; gap: 32px; }
  .step { padding: 24px 18px 18px; }
}

@media (max-width: 380px) {
  h1 { font-size: 1.5rem; }
  .btn--huge { font-size: 1.02rem; }
  .game-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (min-width: 761px) { .mobile-menu { display: none; } .sticky-cta { display: none; } }

/* ===========================================================
   COOKIE CONSENT (GDPR)
   =========================================================== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--r-l); box-shadow: var(--shadow);
  padding: 20px 22px;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; gap: 24px; align-items: center; max-width: var(--maxw); margin-inline: auto; flex-wrap: wrap; }
.cookie-text { flex: 1 1 380px; }
.cookie-text strong { display: block; margin-bottom: 4px; }
.cookie-text p { color: var(--muted); font-size: .9rem; margin: 0; }
.cookie-text a { color: var(--green); }
.cookie-cats { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.cookie-cats[hidden] { display: none; }
.cookie-cats label { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text); cursor: pointer; }
.cookie-cats span { color: var(--muted-2); }
.cookie-cats input { width: 16px; height: 16px; accent-color: var(--green); }
.cookie-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; flex-shrink: 0; }
.cookie-actions .btn { padding: 12px 22px; font-size: .9rem; }
.cookie-link {
  background: transparent; border: 0; color: var(--muted);
  font-size: .9rem; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 8px;
}
.cookie-link:hover { color: var(--text); }
@media (max-width: 620px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; max-height: 80vh; overflow-y: auto; }
  .cookie-inner { gap: 14px; }
  .cookie-actions { width: 100%; justify-content: center; }
  .cookie-actions .btn { flex: 1 1 100%; }
  .cookie-link { order: 3; width: 100%; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; } }
