/* =========================================================================
   PortCasinoReview — stylesheet
   "Lisboa 2077": Matrix terminal green + Portuguese flag (green/gold/red)
   + cyberpunk neon. Near-black canvas, beveled cyber-corners, mono labels,
   scanline overlay and a live matrix-rain backdrop (see js/main.js).
   ========================================================================= */

/* ------------------------------------------------------------- tokens --- */
:root {
  /* canvas */
  --bg:            #030605;
  --bg-2:          #050b09;
  --bg-3:          #08110e;
  --card:          #060d0b;
  --card-2:        #0b1512;
  --line:          rgba(0, 255, 140, .13);
  --line-2:        rgba(0, 255, 140, .30);

  /* ink */
  --fg:            #dcffee;
  --fg-2:          #a6dcc1;
  --muted:         #74a88f;
  --muted-2:       #55806c;

  /* matrix — the primary accent */
  --matrix:        #00ff88;
  --matrix-2:      #7dffc2;
  --matrix-dim:    #00b862;

  --accent:        var(--matrix);
  --accent-2:      var(--matrix-2);
  --accent-ink:    #00190d;
  --accent-soft:   rgba(0, 255, 136, .10);
  --accent-line:   rgba(0, 255, 136, .34);
  --accent-glow:   rgba(0, 255, 136, .55);

  /* portugal — bandeira nacional, neon-shifted */
  --pt-green:      #00c46a;
  --pt-gold:       #ffd24a;
  --pt-red:        #ff2b46;
  --pt-red-soft:   rgba(255, 43, 70, .12);
  --pt-red-line:   rgba(255, 43, 70, .38);
  --flag: linear-gradient(90deg,
            var(--pt-green) 0 38%,
            var(--pt-gold)  38% 40.5%,
            var(--pt-red)   40.5% 100%);

  /* cyberpunk secondaries */
  --cyan:          #00e5ff;
  --magenta:       #ff2d95;

  /* semantic */
  --ok:            var(--matrix);
  --ok-soft:       rgba(0, 255, 136, .11);
  --ok-line:       rgba(0, 255, 136, .34);
  --warn:          var(--pt-gold);
  --warn-soft:     rgba(255, 210, 74, .13);
  --danger:        var(--pt-red);

  --brand-accent:  var(--accent);

  --radius-sm: 3px;
  --radius:    4px;
  --radius-lg: 5px;

  /* cyber bevel — clipped corners instead of rounded ones */
  --bevel:    polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  --bevel-sm: polygon(0 8px, 8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);

  --wrap:        1180px;
  --wrap-narrow: 820px;

  --font-display: 'Chakra Petch', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'Share Tech Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --shadow: 0 0 0 1px rgba(0,255,136,.05) inset;
  /* Beveled elements are clipped, and clip-path eats outer box-shadows —
     neon halos have to be filters so they follow the clipped silhouette. */
  --glow:      drop-shadow(0 0 6px rgba(0, 255, 136, .45));
  --glow-soft: drop-shadow(0 0 10px rgba(0, 255, 136, .28));
}

/* ------------------------------------------------------------- resets --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

code {
  font-family: var(--font-mono);
  font-size: .92em;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: .12em .42em;
  color: var(--matrix);
}

::selection { background: var(--matrix); color: var(--accent-ink); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--matrix);
  color: var(--accent-ink);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------- ambient effects --- */
/* Matrix rain canvas + CRT scanlines + vignette. All decorative, all
   suppressed under prefers-reduced-motion / print. */
.fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.fx__rain {
  width: 100%;
  height: 100%;
  display: block;
  opacity: .34;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%);
}
.fx__scan {
  position: fixed;
  inset: 0;
  z-index: 101;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(0, 255, 136, .028) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: screen;
}
/* Flat scrim + vignette: holds the rain far enough back that body copy on
   text-heavy pages stays comfortably readable over it. */
.fx__vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 45%, transparent 40%, rgba(0,0,0,.72) 100%),
    linear-gradient(rgba(3, 6, 5, .46), rgba(3, 6, 5, .46));
}

/* Everything authored sits above the ambience. */
.topbar, .site-header, .breadcrumbs, main, .site-footer { position: relative; z-index: 2; }

/* ------------------------------------------------------------ layout --- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: 92px; position: relative; }
.section--tight { padding-block: 56px; }
.section--alt {
  background:
    linear-gradient(180deg, rgba(0,255,136,.028), transparent 220px),
    rgba(5, 11, 9, .86);
  border-block: 1px solid var(--line);
}
/* Portuguese flag hairline crowning the alternate bands. */
.section--alt::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--flag);
  opacity: .8;
}

.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ------------------------------------------------------------- 18+ --- */
.agebadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 50%;
  border: 2px solid var(--danger);
  color: var(--danger);
  background: var(--pt-red-soft);
  box-shadow: 0 0 12px -3px rgba(255,43,70,.7), 0 0 20px -8px rgba(255,43,70,.9) inset;
  letter-spacing: -.02em;
  line-height: 1;
}
.agebadge span { font-size: .72em; margin-left: 1px; }

.agebadge--sm { width: 30px; height: 30px; font-size: 14px; border-width: 1.5px; }
.agebadge--lg { width: 56px; height: 56px; font-size: 24px; }
.agebadge--xl { width: 92px; height: 92px; font-size: 40px; border-width: 3px; }

/* ------------------------------------------------------------ topbar --- */
.topbar {
  background: linear-gradient(90deg, rgba(255,43,70,.12), rgba(255,210,74,.05) 55%, rgba(0,255,136,.07));
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding-block: 6px;
}
.topbar__text {
  color: var(--fg-2);
  letter-spacing: .02em;
}
.topbar__link {
  margin-left: auto;
  color: var(--matrix);
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  text-shadow: 0 0 10px var(--accent-glow);
}
.topbar__link:hover { border-bottom-color: var(--matrix); }

/* ------------------------------------------------------------ header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(3, 6, 5, .84);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(0,255,136,.10), 0 14px 40px -30px #000;
}
.site-header::after {
  content: '';
  position: absolute;
  inset: auto 0 -2px 0;
  height: 2px;
  background: var(--flag);
  opacity: .55;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}

.brandmark { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brandmark__glyph {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  clip-path: var(--bevel-sm);
  color: var(--matrix);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  filter: var(--glow-soft);
}
.brandmark__text { display: flex; flex-direction: column; line-height: 1.1; }
.brandmark__text strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .01em;
  text-shadow: 0 0 18px rgba(0,255,136,.35);
}
.brandmark__text em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
}
.brandmark--footer { margin-bottom: 14px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
/* Share Tech Mono runs wider than a proportional face — nav items are kept
   on one line and the mobile breakpoint sits higher to match. */
.site-nav__list a {
  position: relative;
  display: block;
  padding: 8px 9px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--fg-2);
  transition: color .15s ease, background .15s ease;
}
.site-nav__list a::after {
  content: '';
  position: absolute;
  left: 9px; right: 9px; bottom: 2px;
  height: 1px;
  background: var(--matrix);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.site-nav__list a:hover { color: var(--matrix); background: var(--accent-soft); }
.site-nav__list a:hover::after { transform: scaleX(1); }
.site-nav__list a[aria-current="page"] {
  color: var(--matrix);
  background: var(--accent-soft);
  text-shadow: 0 0 12px var(--accent-glow);
}
.site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__tail { display: flex; align-items: center; gap: 10px; }
.site-nav__tail .btn { letter-spacing: .05em; padding-inline: 16px; }

.langswitch {
  display: flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line);
  clip-path: var(--bevel-sm);
  background: var(--bg-3);
}
.langswitch__opt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--muted);
  transition: all .15s ease;
}
.langswitch__opt:hover { color: var(--fg); }
.langswitch__opt.is-active {
  background: var(--matrix);
  color: var(--accent-ink);
}
.langswitch__flag { font-size: 13px; line-height: 1; }

.navtoggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  clip-path: var(--bevel-sm);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 4px;
}
.navtoggle span {
  display: block;
  width: 17px; height: 1.8px;
  background: var(--matrix);
  box-shadow: 0 0 8px var(--accent-glow);
  transition: transform .2s ease, opacity .2s ease;
}
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* -------------------------------------------------------- breadcrumbs --- */
.breadcrumbs {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 11, 9, .8);
  font-family: var(--font-mono);
  font-size: 13px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding-block: 11px;
  color: var(--muted);
}
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--matrix-dim); }
.breadcrumbs a:hover { color: var(--matrix); }
.breadcrumbs [aria-current] { color: var(--fg-2); }

/* -------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 108px 84px;
  border-bottom: 1px solid var(--line);
}
.hero__glow {
  position: absolute;
  top: -320px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 620px;
  background:
    radial-gradient(ellipse at 38% center, rgba(0,255,136,.20), rgba(0,255,136,0) 60%),
    radial-gradient(ellipse at 72% 40%, rgba(255,43,70,.13), rgba(255,43,70,0) 62%);
  filter: blur(22px);
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,.05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero__inner { position: relative; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px 6px 12px;
  border: 1px solid var(--accent-line);
  clip-path: var(--bevel-sm);
  background: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--matrix);
  margin-bottom: 26px;
}
/* blinking terminal cursor in place of the old dot */
.eyebrow__dot {
  width: 8px; height: 14px;
  background: var(--matrix);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .12; } }

.hero__title {
  font-size: clamp(46px, 8vw, 92px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  max-width: 15ch;
  margin-inline: auto;
  text-shadow: 0 0 30px rgba(0,255,136,.28);
}
.hero__sub {
  margin: 26px auto 0;
  max-width: 62ch;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}
.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted-2);
}

/* glitch treatment — needs data-text="…" on the element */
.glitch { position: relative; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: inset(0 0 0 0);
}
.glitch::before { color: var(--pt-red); transform: translate(-2px, 0); mix-blend-mode: screen; animation: glitch-a 4.2s infinite steps(1); }
.glitch::after  { color: var(--cyan);   transform: translate(2px, 0);  mix-blend-mode: screen; animation: glitch-b 3.6s infinite steps(1); }
@keyframes glitch-a {
  0%, 92%, 100% { clip-path: inset(100% 0 0 0); }
  93% { clip-path: inset(12% 0 76% 0); }
  95% { clip-path: inset(52% 0 34% 0); }
  97% { clip-path: inset(28% 0 60% 0); }
}
@keyframes glitch-b {
  0%, 90%, 100% { clip-path: inset(100% 0 0 0); }
  91% { clip-path: inset(66% 0 20% 0); }
  94% { clip-path: inset(34% 0 52% 0); }
  96% { clip-path: inset(8% 0 84% 0); }
}

.hero__licences {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__licences li {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  clip-path: var(--bevel-sm);
  background: var(--card);
}
.hero__licences img { max-height: 24px; width: auto; opacity: .92; }
.hero__licences span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}
.hero__licences__reg { border-style: dashed !important; }
.hero__licences__reg a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--matrix);
  text-shadow: 0 0 10px var(--accent-glow);
}

/* ---------------------------------------------------------- pagehead --- */
.pagehead {
  position: relative;
  padding-block: 66px 40px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 62% 100% at 30% 0%, rgba(0,255,136,.10), transparent 68%),
    radial-gradient(ellipse 50% 90% at 82% 0%, rgba(255,43,70,.07), transparent 70%);
}
.pagehead--center { text-align: center; padding-block: 96px; }
.pagehead__title {
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 700;
  letter-spacing: -.01em;
  max-width: 20ch;
  text-shadow: 0 0 26px rgba(0,255,136,.22);
}
.pagehead--center .pagehead__title { margin-inline: auto; }
.pagehead__title--sm { font-size: clamp(32px, 4vw, 46px); }
.pagehead__sub {
  margin-top: 20px;
  max-width: 68ch;
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.7;
}
.pagehead--center .pagehead__sub { margin-inline: auto; }
.pagehead__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--muted-2);
}
.pagehead__meta strong { color: var(--matrix); font-weight: 400; }

/* ----------------------------------------------------------- sechead --- */
.sechead { text-align: center; max-width: 66ch; margin: 0 auto 52px; }
.sechead--left { text-align: left; margin-inline: 0; }
.sechead__title {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 700;
  letter-spacing: -.01em;
  text-shadow: 0 0 24px rgba(0,255,136,.18);
}
.sechead__sub { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ----------------------------------------------------------- buttons --- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  clip-path: var(--bevel-sm);
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .12s ease, background .16s ease, border-color .16s ease,
              color .16s ease, filter .16s ease;
}
.btn:active { transform: translateY(1px); }
/* scan sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  transition: left .45s ease;
}
.btn:hover::after { left: 120%; }

.btn--primary {
  background: var(--matrix);
  color: var(--accent-ink);
  filter: var(--glow);
}
.btn--primary:hover {
  background: var(--matrix-2);
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, .7));
}

.btn--ghost {
  background: rgba(0, 255, 136, .04);
  border-color: var(--line-2);
  color: var(--matrix);
}
.btn--ghost:hover {
  border-color: var(--matrix);
  background: var(--accent-soft);
  filter: var(--glow-soft);
}

.btn--plain { padding-inline: 4px; background: none; color: var(--cyan); clip-path: none; }
.btn--plain::after { display: none; }
.btn--plain:hover { color: var(--matrix); text-shadow: 0 0 12px var(--accent-glow); }

.btn--sm { padding: 9px 15px; font-size: 13px; }
.btn--lg { padding: 15px 28px; font-size: 15.5px; }
.btn--block { width: 100%; }

.linkbtn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.linkbtn:hover { color: var(--matrix); }

/* ------------------------------------------------------------- stats --- */
.statgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line-2);
  clip-path: var(--bevel);
  overflow: hidden;
}
.statgrid__item {
  background: var(--card);
  padding: 30px 24px;
  text-align: center;
}
.statgrid__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 50px;
  line-height: 1;
  color: var(--matrix);
  letter-spacing: .01em;
  text-shadow: 0 0 20px var(--accent-glow);
}
.statgrid__label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--muted);
  line-height: 1.45;
}

/* ------------------------------------------------------- brand cards --- */
.bgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
}

.bcard {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(0,255,136,.035), transparent 140px),
    var(--card);
  border: 1px solid var(--line);
  clip-path: var(--bevel);
  box-shadow: var(--shadow);
  position: relative;
  transition: border-color .18s ease, transform .18s ease, filter .18s ease;
}
.bcard::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-accent), transparent);
  opacity: .85;
}
/* corner tick, top-right */
.bcard::after {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 16px; height: 16px;
  border-top: 1px solid var(--accent-line);
  border-right: 1px solid var(--accent-line);
  pointer-events: none;
}
.bcard:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  filter: var(--glow-soft);
}

.bcard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.bcard__logo {
  display: grid;
  place-items: center;
  min-height: 56px;
  padding: 10px 14px;
  background: #fff;
  clip-path: var(--bevel-sm);
}
.bcard__logo img { max-height: 38px; width: auto; object-fit: contain; }

.bcard__score { text-align: right; flex: 0 0 auto; }
.bcard__scorenum {
  display: block;
  font-family: var(--font-mono);
  font-size: 34px;
  line-height: 1;
  color: var(--matrix);
  text-shadow: 0 0 16px var(--accent-glow);
}

.stars { position: relative; display: inline-block; font-size: 14px; letter-spacing: 2px; line-height: 1; }
.stars__track { color: rgba(0,255,136,.16); }
.stars__fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--pt-gold);
  text-shadow: 0 0 12px rgba(255,210,74,.6);
}

.bcard__name { font-size: 27px; font-weight: 700; letter-spacing: 0; }
.bcard__name a:hover { color: var(--matrix); text-shadow: 0 0 14px var(--accent-glow); }

.licencechip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(0, 255, 136, .05);
  border: 1px solid var(--line);
  border-left: 3px solid var(--matrix);
  font-size: 12.5px;
}
.licencechip__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  letter-spacing: .12em;
  color: var(--matrix);
  text-transform: uppercase;
  font-size: 11.5px;
}
.licencechip__nums { color: var(--muted); font-family: var(--font-mono); }
.licencechip__nums strong {
  color: var(--fg);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .06em;
}
.licencechip__holder {
  width: 100%;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.5;
}
.licencechip__verify { color: var(--cyan); font-weight: 600; font-size: 11.5px; }
.licencechip__verify:hover { text-decoration: underline; }

.bcard__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-top: 14px;
}
.bcard__highlights li {
  padding: 4px 10px;
  clip-path: var(--bevel-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--matrix);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
}

.bcard__summary {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bcard__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  list-style: none;
  margin-top: 18px;
  background: var(--line);
  border: 1px solid var(--line);
}
.bcard__facts li {
  background: var(--bg-3);
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bcard__facts span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted-2);
}
.bcard__facts strong { font-size: 13.5px; font-weight: 600; color: var(--fg); }

.bcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-top: 14px;
}
.bcard__tags li {
  padding: 4px 9px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.bcard__actions {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.bcard__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted-2);
  line-height: 1.5;
}
.sponsortag {
  padding: 2px 7px;
  border: 1px solid var(--pt-red-line);
  background: var(--pt-red-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pt-red);
  white-space: nowrap;
}

/* ------------------------------------------------------------- steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  clip-path: var(--bevel);
  transition: border-color .18s ease, filter .18s ease;
}
.step:hover { border-color: var(--accent-line); filter: var(--glow-soft); }
.step__n {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--matrix);
  text-shadow: 0 0 12px var(--accent-glow);
  margin-bottom: 14px;
}
.step__h { font-size: 22px; font-weight: 600; }
.step__p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.68; }

/* ---------------------------------------------------------- minicard --- */
.cardgrid { display: grid; gap: 20px; }
.cardgrid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.minicard {
  padding: 26px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  clip-path: var(--bevel);
  transition: border-color .18s ease;
}
.minicard:hover { border-color: var(--accent-line); }
.minicard__tick {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  clip-path: var(--bevel-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--matrix);
  filter: var(--glow-soft);
  margin-bottom: 16px;
}
.minicard__h { font-size: 19px; font-weight: 600; }
.minicard__p { margin-top: 9px; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* --------------------------------------------------------- accordion --- */
.accordion { display: flex; flex-direction: column; gap: 10px; }

.accordion__item {
  background: var(--card);
  border: 1px solid var(--line);
  clip-path: var(--bevel-sm);
  transition: border-color .18s ease;
}
.accordion__item[open] { border-color: var(--accent-line); }

.accordion__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
}
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q svg { flex: 0 0 auto; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.accordion__item[open] .accordion__q svg { transform: rotate(45deg); color: var(--matrix); }
.accordion__q:hover { color: var(--matrix); }

.accordion__a { padding: 0 22px 22px; }
.accordion__a p { font-size: 14.5px; color: var(--muted); line-height: 1.72; max-width: 74ch; }

.faqgroup { margin-bottom: 46px; }
.faqgroup__title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--matrix);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.chipnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 42px; }
.chipnav__item {
  padding: 8px 15px;
  border: 1px solid var(--line);
  clip-path: var(--bevel-sm);
  background: var(--bg-3);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--fg-2);
  transition: all .15s ease;
}
.chipnav__item:hover { border-color: var(--matrix); color: var(--matrix); background: var(--accent-soft); }

/* ---------------------------------------------------------- ctapanel --- */
.ctapanel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 48px;
  border: 1px solid var(--accent-line);
  clip-path: var(--bevel);
  background:
    radial-gradient(ellipse 80% 140% at 8% 0%, rgba(0,255,136,.14), transparent 62%),
    radial-gradient(ellipse 70% 130% at 95% 100%, rgba(255,43,70,.11), transparent 64%),
    var(--card);
}
.ctapanel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--flag);
}
.ctapanel--compact { padding: 32px; }
.ctapanel__body { flex: 1 1 auto; }
.ctapanel__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.01em; max-width: 22ch; }
.ctapanel__title--sm { font-size: clamp(24px, 3vw, 32px); }
.ctapanel__text { margin-top: 16px; max-width: 66ch; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.ctapanel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.ctapanel__age { flex: 0 0 auto; }
p.ctapanel__age {
  width: auto; height: auto;
  border: 0; background: none; box-shadow: none;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: .04em;
}

/* ------------------------------------------------------------ review --- */
.reviewhead {
  display: grid;
  grid-template-columns: auto 1fr minmax(240px, 300px);
  align-items: center;
  gap: 28px;
  margin-top: 8px;
}
.reviewhead__logo {
  display: grid;
  place-items: center;
  min-width: 150px;
  min-height: 84px;
  padding: 16px 20px;
  background: #fff;
  clip-path: var(--bevel-sm);
}
.reviewhead__logo img { max-height: 52px; width: auto; object-fit: contain; }
.reviewhead__rating { display: flex; align-items: center; gap: 11px; margin-top: 12px; }
.reviewhead__num {
  font-family: var(--font-mono);
  font-size: 32px;
  line-height: 1;
  color: var(--matrix);
  text-shadow: 0 0 16px var(--accent-glow);
}
.reviewhead__out { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2); }
.reviewhead__lic { margin-top: 12px; font-size: 13px; color: var(--muted); }
.reviewhead__ctanote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  font-size: 10.5px;
  color: var(--muted-2);
  line-height: 1.5;
}

/* --------------------------------------------------------- licencebox -- */
.licencebox {
  position: relative;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--ok-line);
  clip-path: var(--bevel);
}
.licencebox::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--flag);
  opacity: .9;
}
.licencebox__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--matrix);
  text-shadow: 0 0 16px var(--accent-glow);
  margin-bottom: 22px;
}
.licencebox__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.licencebox__grid > div { background: var(--bg-3); padding: 15px 17px; }
.licencebox__grid dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.licencebox__grid dd { margin: 0; font-size: 14px; color: var(--fg); line-height: 1.55; }
.licencebox__note { margin: 20px 0 16px; font-size: 12px; color: var(--muted-2); line-height: 1.6; }

.numchip {
  display: inline-block;
  padding: 2px 9px;
  margin-right: 5px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--matrix);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .08em;
}
.numchip--lg { font-size: 19px; padding: 3px 12px; }

.liclist { display: grid; gap: 14px; margin-top: 22px; }
.liccard {
  padding: 20px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 3px solid var(--matrix);
}
.liccard.is-suspended { border-left-color: var(--warn); }
.liccard__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.liccard__type { font-weight: 600; font-size: 14.5px; }
.liccard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0 0;
}
.liccard__grid dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted-2);
  margin-bottom: 5px;
}
.liccard__grid dd { margin: 0; font-size: 13.5px; color: var(--fg-2); line-height: 1.55; }
.liccard__docs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.liccard__docs a { font-size: 12.5px; font-weight: 600; color: var(--cyan); }
.liccard__docs a:hover { text-decoration: underline; }

.statuspill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.statuspill--ok { background: var(--ok-soft); border: 1px solid var(--ok-line); color: var(--matrix); }
.statuspill--warn { background: var(--warn-soft); border: 1px solid rgba(255,210,74,.38); color: var(--warn); }

/* ------------------------------------------------------------ panels --- */
.splitcols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.splitcols--form { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

.panel {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  clip-path: var(--bevel);
}
.panel__title { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.panel__note { margin-top: 18px; font-size: 12.5px; color: var(--muted-2); line-height: 1.6; }

.factlist { display: grid; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.factlist > div {
  display: grid;
  grid-template-columns: minmax(120px, 38%) 1fr;
  gap: 14px;
  padding: 12px 15px;
  background: var(--bg-3);
}
.factlist dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted-2); }
.factlist dd { margin: 0; font-size: 13.5px; color: var(--fg); line-height: 1.55; }
.factlist a { color: var(--cyan); }
.factlist a:hover { text-decoration: underline; }

.scorelist { list-style: none; display: grid; gap: 12px; }
.scorerow { display: grid; grid-template-columns: minmax(88px, 26%) 1fr auto; align-items: center; gap: 14px; }
.scorerow__label { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.scorerow__bar {
  height: 7px;
  background: rgba(0,255,136,.09);
  border: 1px solid var(--line);
  overflow: hidden;
}
.scorerow__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pt-green), var(--matrix));
  box-shadow: 0 0 12px var(--accent-glow);
}
.scorerow__val { font-family: var(--font-mono); font-size: 16px; color: var(--matrix); }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.proscons__col h3 { font-family: var(--font-mono); font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 12px; }
.proscons__col--pro h3 { color: var(--matrix); }
.proscons__col--con h3 { color: var(--pt-red); }
.proscons__col ul { list-style: none; display: grid; gap: 9px; }
.proscons__col li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.proscons__col li::before { position: absolute; left: 0; top: -1px; font-family: var(--font-mono); }
.proscons__col--pro li::before { content: '+'; color: var(--matrix); }
.proscons__col--con li::before { content: '−'; color: var(--pt-red); }

.helplist { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 18px; }
.helplist li { background: var(--bg-3); padding: 14px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.helplist strong { font-size: 14px; font-weight: 600; }
.helplist span { font-size: 13px; color: var(--muted); }
.helplist a { color: var(--cyan); }
.helplist a:hover { text-decoration: underline; }

/* ------------------------------------------------------------- prose --- */
.prose { max-width: 74ch; }
.prose h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-top: 46px;
  margin-bottom: 14px;
  scroll-margin-top: 100px;
}
.prose h2::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 11px;
  background: var(--matrix);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: translateY(-2px);
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; font-size: 15.5px; color: var(--fg-2); line-height: 1.78; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 9px; font-size: 15px; color: var(--fg-2); line-height: 1.72; }
.prose li::marker { color: var(--matrix); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--matrix); }

.prose--legal h2 { font-size: clamp(21px, 2.2vw, 26px); margin-top: 40px; }
.prose--legal p, .prose--legal li { font-size: 14.5px; color: var(--muted); }

.toc {
  padding: 24px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--matrix);
  margin-bottom: 46px;
}
.toc__title { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--matrix); margin-bottom: 14px; }
.toc ol { padding-left: 20px; display: grid; gap: 7px; }
.toc li { font-size: 13.5px; color: var(--muted); }
.toc li::marker { color: var(--matrix-dim); font-family: var(--font-mono); }
.toc a:hover { color: var(--matrix); text-decoration: underline; }

.legalnav { display: flex; flex-wrap: wrap; gap: 8px; }
.legalnav__item {
  padding: 9px 15px;
  border: 1px solid var(--line);
  clip-path: var(--bevel-sm);
  background: var(--bg-3);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-2);
}
.legalnav__item:hover { border-color: var(--matrix); color: var(--matrix); }
.legalnav__item.is-active { background: var(--accent-soft); border-color: var(--accent-line); color: var(--matrix); }

/* ------------------------------------------------------------ tables --- */
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}
.dtable { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 13.5px; }
.dtable th, .dtable td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.dtable thead th {
  background: rgba(0,255,136,.06);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--matrix);
  white-space: nowrap;
}
.dtable tbody th { font-weight: 600; color: var(--fg); }
.dtable tbody td { color: var(--muted); }
.dtable tbody tr:hover td, .dtable tbody tr:hover th { background: rgba(0,255,136,.03); }
.dtable tbody tr:last-child th, .dtable tbody tr:last-child td { border-bottom: 0; }
.dtable a { color: var(--cyan); }
.dtable a:hover { text-decoration: underline; }

/* -------------------------------------------------------------- form --- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--fg-2); }
.field label span { color: var(--danger); }

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 14.5px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--matrix);
  box-shadow: 0 0 0 1px var(--accent-line), 0 0 18px -8px var(--accent-glow);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { font-family: var(--font-mono); font-size: 12.5px; color: var(--danger); }

.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 11px; }
.field--check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--matrix); }
.field--check label { font-family: var(--font-body); font-size: 13px; color: var(--muted); line-height: 1.6; }
.field--check a { color: var(--cyan); text-decoration: underline; }
.field--check .field__err { grid-column: 1 / -1; }

.form__note { font-size: 12px; color: var(--muted-2); line-height: 1.6; }

.alert { padding: 15px 18px; margin-bottom: 22px; clip-path: var(--bevel-sm); }
.alert strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.alert p { font-size: 13.5px; line-height: 1.6; }
.alert--ok { background: var(--ok-soft); border: 1px solid var(--ok-line); color: var(--matrix); }
.alert--err { background: var(--pt-red-soft); border: 1px solid var(--pt-red-line); color: var(--danger); }

/* ------------------------------------------------------------ footer --- */
.site-footer {
  position: relative;
  padding-block: 64px 34px;
  background: rgba(5, 11, 9, .92);
  border-top: 1px solid var(--line-2);
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--flag);
  opacity: .85;
}

.footer-age {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  margin-bottom: 52px;
  background: var(--pt-red-soft);
  border: 1px solid var(--pt-red-line);
  clip-path: var(--bevel-sm);
}
.footer-age__line { font-size: 14.5px; font-weight: 600; color: var(--fg); line-height: 1.55; }
.footer-age__sub { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-about { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 46ch; }
.footer-about--muted { margin-top: 14px; font-size: 12px; color: var(--muted-2); }

.footer-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--matrix);
  margin-bottom: 16px;
}
.footer-title--center { text-align: center; }

.footer-list { list-style: none; display: grid; gap: 10px; }
.footer-list a, .footer-list button { font-size: 13.5px; color: var(--muted); transition: color .15s ease; }
.footer-list a:hover { color: var(--matrix); }

/* logos row */
.footer-badges { padding-block: 42px; border-bottom: 1px solid var(--line); }
.badgerow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 20px;
  list-style: none;
}
.badgerow img {
  height: 44px;
  width: auto;
  opacity: .55;
  filter: grayscale(1);
  transition: opacity .18s ease, filter .18s ease;
}
.badgerow a:hover img { opacity: 1; filter: grayscale(0) drop-shadow(0 0 8px var(--accent-glow)); }
.badgerow__age img { height: 44px; opacity: .9; filter: none; }

.footer-legalrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 30px;
}
.footer-legalnav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; }
.footer-legalnav a { color: var(--fg-2); }
.footer-legalnav a:hover { color: var(--matrix); }
.footer-legalnav span { color: var(--matrix-dim); }
.footer-copy { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }

/* ------------------------------------------------------- cookie bar --- */
.cookiebar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(140%);
  z-index: 120;
  width: min(880px, calc(100vw - 32px));
  background: rgba(6, 13, 11, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--accent-line);
  clip-path: var(--bevel);
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .9)) var(--glow-soft);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
  opacity: 0;
}
.cookiebar.is-open { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookiebar[hidden] { display: none; }

.cookiebar__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 20px 24px;
}
.cookiebar__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  color: var(--fg);
}
.cookiebar__title svg { color: var(--matrix); flex: 0 0 auto; }
.cookiebar__body { margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.62; }
.cookiebar__body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.cookiebar__actions { display: flex; gap: 10px; flex: 0 0 auto; }

/* -------------------------------------------------------------- toast -- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  z-index: 130;
  padding: 11px 20px;
  background: var(--matrix);
  color: var(--accent-ink);
  clip-path: var(--bevel-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  filter: var(--glow);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}
.toast.is-open { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast[hidden] { display: none; }

/* -------------------------------------------------------- responsive --- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-col--about { grid-column: 1 / -1; }
  .reviewhead { grid-template-columns: auto 1fr; }
  .reviewhead__cta { grid-column: 1 / -1; }
}

/* Nav collapses earlier than the rest of the layout — the mono menu needs
   the room. Keep the 1100px threshold in sync with main.js. */
@media (max-width: 1100px) {
  .navtoggle { display: grid; }

  .site-nav {
    position: fixed;
    inset: 110px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px;
    background: rgba(6, 13, 11, .98);
    border: 1px solid var(--accent-line);
    clip-path: var(--bevel);
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .9)) var(--glow-soft);
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav__list a { padding: 12px 14px; font-size: 15px; }
  .site-nav__tail { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
  .langswitch { justify-content: center; }
}

@media (max-width: 980px) {
  .statgrid { grid-template-columns: 1fr 1fr; }
  .splitcols, .splitcols--form { grid-template-columns: 1fr; }
  .section { padding-block: 68px; }
  .hero { padding-block: 76px 62px; }
}

@media (max-width: 720px) {
  .topbar__inner { flex-wrap: wrap; row-gap: 4px; }
  .topbar__text { font-size: 12px; flex: 1 1 auto; }
  .topbar__link { margin-left: 0; font-size: 12px; }

  .bgrid { grid-template-columns: 1fr; }
  .bcard__actions { grid-template-columns: 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-age { flex-direction: column; align-items: flex-start; gap: 14px; }

  .ctapanel { flex-direction: column; align-items: flex-start; gap: 26px; padding: 30px 24px; }

  .cookiebar__inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookiebar__actions { flex-direction: column-reverse; }
  .cookiebar__actions .btn { width: 100%; }

  .reviewhead { grid-template-columns: 1fr; gap: 18px; }
  .reviewhead__logo { justify-self: start; }

  .licencebox, .panel { padding: 22px 18px; }
  .badgerow img { height: 36px; }

  /* the rain gets busy on small screens */
  .fx__rain { opacity: .28; }
}

@media (max-width: 480px) {
  .statgrid { grid-template-columns: 1fr; }
  .bcard__facts { grid-template-columns: 1fr; }
  .factlist > div { grid-template-columns: 1fr; gap: 4px; }
  .hero__licences li { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------- print --- */
@media print {
  .topbar, .site-header, .cookiebar, .toast, .hero__glow, .hero__grid,
  .bcard__actions, .fx, .fx__scan, .fx__vignette { display: none !important; }
  body { background: #fff; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .fx, .fx__scan { display: none; }
  .glitch::before, .glitch::after { display: none; }
  .eyebrow__dot { opacity: 1; }
}

/* ------------------------------------------------- structural wrappers --- */
/* Containers that only need to behave inside their flex/grid parent. */
.cookiebar__text { flex: 1 1 auto; min-width: 0; }
.reviewhead__main { min-width: 0; }
.footer-col { min-width: 0; }
.pagehead--review { padding-bottom: 34px; }
.review { display: block; }
