/* =========================================================
   ScoutCasinoReview — dark, glowing, glassmorphic design system
   ========================================================= */

:root {
  --bg-0: #07040f;
  --bg-1: #0d0820;
  --bg-2: #140b2e;
  --violet: #8b5cf6;
  --violet-soft: #a78bfa;
  --cyan: #22d3ee;
  --pink: #ec4899;
  --amber: #fbbf24;
  --green: #34d399;
  --ink: #f5f3ff;
  --ink-dim: #b8b2d6;
  --ink-faint: #7c7599;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.25);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.35);
  --section-y: clamp(56px, 8vw, 96px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, .display {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--ink);
}

p { color: var(--ink-dim); margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- background ambience -------------------- */

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, #1b0f3d 0%, var(--bg-0) 55%),
    var(--bg-0);
}

.bg-orbs::before,
.bg-orbs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
}

.bg-orbs::before {
  width: 560px;
  height: 560px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, var(--violet), transparent 70%);
}

.bg-orbs::after {
  width: 620px;
  height: 620px;
  bottom: -220px;
  right: -160px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  opacity: 0.35;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

/* -------------------- glass surfaces -------------------- */

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
}

.glass-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* -------------------- gradient text / buttons -------------------- */

.grad-text {
  background: linear-gradient(90deg, var(--violet-soft), var(--cyan) 60%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(90deg, var(--violet), var(--pink));
  color: #fff;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover { box-shadow: 0 14px 38px rgba(236, 72, 153, 0.4); }

.btn-ghost {
  background: var(--glass);
  border-color: var(--glass-border);
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--violet-soft); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* -------------------- pill / badge -------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--violet-soft);
}

.pill-amber { color: var(--amber); border-color: rgba(251, 191, 36, 0.3); }
.pill-cyan { color: var(--cyan); border-color: rgba(34, 211, 238, 0.3); }
.pill-green { color: var(--green); border-color: rgba(52, 211, 153, 0.3); }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.5);
}

.age-badge.lg { width: 54px; height: 54px; font-size: 1.15rem; }

/* -------------------- top notice bar -------------------- */

.notice-bar {
  background: linear-gradient(90deg, #1a0d33, #22103f 50%, #0f1a3a);
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.82rem;
  color: var(--ink-dim);
  padding: 8px 0;
}

.notice-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.notice-bar strong { color: var(--amber); }

/* -------------------- header -------------------- */

header.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 4, 15, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  flex-shrink: 0;
}

.brand-logo .mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: #0a0518;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.5);
  flex-shrink: 0;
}

.brand-logo .name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-logo .name small {
  font-family: "Inter", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

nav.main-nav a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-dim);
  transition: all 0.2s ease;
  white-space: nowrap;
}

nav.main-nav a:hover {
  color: var(--ink);
  background: var(--glass);
}

nav.main-nav a.active {
  color: #0a0518;
  background: linear-gradient(90deg, var(--violet-soft), var(--cyan));
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--ink);
  cursor: pointer;
}

/* -------------------- hero -------------------- */

.hero {
  padding: 76px 0 var(--section-y);
  position: relative;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.7rem);
  line-height: 1.08;
}

.hero .lead {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* two-column bento hero: copy left, floating review-preview card right */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-copy { text-align: left; }
.hero-copy .hero-cta { justify-content: flex-start; }
.hero-copy .lead { margin: 0 0 28px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-visual {
  position: relative;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.hero-visual-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.hero-visual-brand .brand-mark { width: 50px; height: 50px; font-size: 1rem; }
.hero-visual-brand .brand-mark.has-logo { width: 128px; height: 56px; padding: 8px 12px; }

.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.hero-metric {
  display: grid;
  grid-template-columns: 96px 1fr 34px;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.hero-metric .track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.hero-metric .fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet-soft), var(--cyan));
}

.hero-metric .val { color: var(--ink); font-weight: 600; text-align: right; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-stats .stat {
  padding: 20px 14px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-stats .stat .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(34, 211, 238, 0.15));
  border: 1px solid var(--glass-border);
}

.hero-stats .stat .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-stats .stat .label {
  font-size: 0.76rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* -------------------- sections -------------------- */

section { padding: var(--section-y) 0; position: relative; }

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

/* -------------------- grids -------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* asymmetric "bento" layout: first card large, one closing card full-width */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "a a b c"
    "a a d e"
    "f f f f";
  gap: 20px;
}

.bento-grid > *:nth-child(1) { grid-area: a; }
.bento-grid > *:nth-child(2) { grid-area: b; }
.bento-grid > *:nth-child(3) { grid-area: c; }
.bento-grid > *:nth-child(4) { grid-area: d; }
.bento-grid > *:nth-child(5) { grid-area: e; }
.bento-grid > *:nth-child(6) { grid-area: f; }

.bento-grid > *:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.05));
  border-color: rgba(167, 139, 250, 0.3);
}

.bento-grid > *:nth-child(1) .icon-box {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
}

.bento-grid > *:nth-child(1) h3 { font-size: 1.35rem; }

.bento-grid > *:nth-child(6) {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bento-grid > *:nth-child(6) .icon-box { margin-bottom: 0; }

/* -------------------- brand review cards -------------------- */

.brand-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #0a0518;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-mark.violet { background: linear-gradient(135deg, var(--violet), #c4b5fd); }
.brand-mark.cyan { background: linear-gradient(135deg, var(--cyan), #a5f3fc); }

/* Logo badges get their own fixed-size, high-contrast card so operator
   logos stay legible regardless of the source image's own colours/aspect
   ratio. bg-light suits dark-on-transparent logos; bg-dark suits logos
   that include white/light text meant to sit on a dark background. */
.brand-mark.has-logo {
  width: 168px;
  height: 72px;
  padding: 10px 16px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.brand-mark.has-logo.bg-light { background: #fff; }
.brand-mark.has-logo.bg-dark { background: var(--bg-2); }

.brand-mark.has-logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.brand-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.2rem; }

.stars { color: var(--amber); letter-spacing: 2px; font-size: 0.95rem; }

.rating-chip {
  margin-left: auto;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.license-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--glass-border);
  padding-top: 14px;
  flex-wrap: wrap;
}

.license-line a { color: var(--cyan); }
.license-line a:hover { text-decoration: underline; }

.pro-con-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.pro-con-list li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
  color: var(--ink-dim);
}

.pro-con-list.pros li::before { content: "+"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.pro-con-list.cons li::before { content: "–"; position: absolute; left: 0; color: var(--pink); font-weight: 800; }

/* -------------------- feature icons -------------------- */

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(34,211,238,0.15));
  border: 1px solid var(--glass-border);
  font-size: 1.3rem;
  margin-bottom: 14px;
}

/* -------------------- responsible gambling banner -------------------- */

.rg-banner {
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: linear-gradient(120deg, rgba(251,191,36,0.08), rgba(236,72,153,0.06));
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.rg-banner .txt { flex: 1; min-width: 240px; }
.rg-banner h3 { margin-bottom: 6px; }

/* -------------------- FAQ accordion -------------------- */

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--glass);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--violet-soft);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--ink-dim);
}

/* -------------------- tables -------------------- */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th, .data-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-border);
}

.data-table th { color: var(--ink-faint); font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }

/* -------------------- forms -------------------- */

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-dim);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--violet-soft);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-field .check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.alert-success {
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  color: var(--green);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
}

/* -------------------- footer -------------------- */

footer.main-footer {
  position: relative;
  border-top: 1px solid var(--glass-border);
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05));
  padding: 60px 0 0;
  margin-top: 40px;
}

footer.main-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-soft), var(--cyan), var(--pink), transparent);
  opacity: 0.6;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--ink-dim); font-size: 0.9rem; }
.footer-col a:hover { color: var(--cyan); }

.footer-age {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.footer-age span { font-size: 0.8rem; color: var(--ink-faint); }

.org-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  padding: 34px 0;
  border-bottom: 1px solid var(--glass-border);
}

.org-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-dim);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.org-badge:hover { border-color: var(--violet-soft); transform: translateY(-2px); color: var(--ink); }

.org-badge .org-mark {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.org-badge .org-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 26px 0;
  font-size: 0.85rem;
}

.footer-legal-row a { color: var(--ink-dim); }
.footer-legal-row a:hover { color: var(--cyan); }

.footer-bottom {
  padding: 24px 0 30px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.78rem;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--ink-faint);
  padding-bottom: 26px;
  max-width: 900px;
}

/* -------------------- cookie consent -------------------- */

.cookie-modal {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 620px;
  margin: 0 auto;
  z-index: 999;
  padding: 24px;
  display: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.cookie-modal.visible { display: block; animation: rise 0.4s ease; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-modal p { font-size: 0.88rem; margin-bottom: 16px; }
.cookie-modal .cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* -------------------- misc page bits -------------------- */

.page-hero {
  padding: 60px 0 30px;
  text-align: center;
}

.page-hero .eyebrow { display: block; }

.legal-body h2 { margin-top: 34px; font-size: 1.3rem; }
.legal-body h3 { margin-top: 22px; font-size: 1.05rem; color: var(--violet-soft); }
.legal-body p, .legal-body li { color: var(--ink-dim); }
.legal-body ul { padding-left: 20px; }
.legal-body .updated { color: var(--ink-faint); font-size: 0.85rem; margin-bottom: 30px; }

.team-card { text-align: center; }
.team-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  color: #0a0518;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.error-404 { text-align: center; padding: 100px 0; }
.error-404 .code { font-family: "Space Grotesk", sans-serif; font-size: 6rem; font-weight: 800; }

/* -------------------- responsive -------------------- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .hero-cta, .hero-copy .hero-badges { justify-content: center; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "a a"
      "b c"
      "d e"
      "f f";
  }
}

@media (max-width: 760px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(13, 8, 32, 0.97);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 10px;
    backdrop-filter: blur(16px);
  }
  nav.main-nav a { text-align: center; }
  nav.main-nav.nav-open { display: flex; }
  nav.main-nav a.active { background: var(--glass); color: var(--ink); }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-ghost.desktop-only { display: none; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .rg-banner { flex-direction: column; align-items: flex-start; }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d" "e" "f";
  }
  .bento-grid > *:nth-child(6) { flex-direction: column; text-align: center; }
}
