/* =========================================================
   EVLOPIK.ORG — Tennis Tournaments Hub
   Design system & global styles
   ========================================================= */

:root {
  --bg: #f4f4f0;
  --bg-card: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e2e2db;

  --accent: #d4ff3a;        /* acid lime — primary CTA */
  --accent-deep: #b8e025;
  --success: #22c55e;       /* green offer banner */
  --success-deep: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;

  --black: #0a0a0a;
  --black-soft: #1a1a1a;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 8px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.14);

  --font-display: 'Anton', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --gap: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s ease, color .2s ease; }
a:hover { opacity: .75; }

button { font-family: inherit; cursor: pointer; }

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

/* ---------- Layout primitives ---------- */
.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}

.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }

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

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; letter-spacing: .04em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 4px;
}

.lead {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); opacity: 1; }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--dark { background: var(--ink); color: var(--accent); }
.btn--dark:hover { background: var(--black-soft); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .82rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  border-bottom: 3px solid var(--accent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}
.brand__mark {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 900;
  font-family: var(--font-body);
  font-size: 1rem;
  flex-shrink: 0;
}
.brand strong { color: var(--accent); font-weight: 400; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.main-nav a {
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  border-radius: 999px;
  transition: all .15s;
}
.main-nav a:hover { color: var(--accent); opacity: 1; }
.main-nav a.is-active {
  color: var(--ink);
  background: var(--accent);
}

.header-cta { display: flex; align-items: center; gap: 12px; }
.badge-18 {
  background: #fff;
  color: var(--ink);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: .82rem;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    padding: 12px;
    border-bottom: 3px solid var(--accent);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 16px; border-radius: 8px; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% 30%, rgba(212,255,58,.12), transparent 60%),
    radial-gradient(500px 500px at 10% 90%, rgba(212,255,58,.08), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
}

.hero h1 {
  color: var(--accent);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  margin-bottom: 24px;
}
.hero h1 .accent-line {
  display: block;
  color: #fff;
}
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 56ch; }

.hero__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 50%;
  transform: scale(.85);
}
.hero__visual svg {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Page header (non-home) ---------- */
.page-head {
  background: var(--ink);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 90% 20%, rgba(212,255,58,.14), transparent 60%);
  pointer-events: none;
}
.page-head__inner { position: relative; z-index: 1; max-width: 900px; }
.page-head h1 {
  color: var(--accent);
  margin-bottom: 16px;
}
.page-head p {
  color: rgba(255,255,255,.82);
  font-size: 1.1rem;
  max-width: 64ch;
}

.breadcrumb {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--accent); opacity: 1; }
.breadcrumb span { color: var(--accent); }

/* ---------- Tournament tables ---------- */
.tournament-block {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.tournament-block + .tournament-block { margin-top: 28px; }

.tournament-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #fafaf6;
  border-bottom: 1px solid var(--line);
}
.tournament-block__head h3 {
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: .03em;
}
.tournament-block__head .pill {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--accent);
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-body);
}

.t-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
}
.t-table th {
  text-align: left;
  padding: 14px 24px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  background: #fcfcf9;
}
.t-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.t-table tr:last-child td { border-bottom: none; }
.t-table tr:hover td { background: #fafaf6; }
.t-table .t-name {
  font-weight: 700;
  color: var(--ink);
}
.t-table .t-place {
  color: var(--muted);
  font-size: .85rem;
  margin-top: 2px;
  display: block;
}
.t-table .t-flag {
  display: inline-block;
  font-size: 1.1rem;
  margin-right: 8px;
  vertical-align: -2px;
}
.t-table .t-dates { white-space: nowrap; color: var(--ink-soft); font-weight: 600; }
.t-table .t-surface {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.surface-clay { background: #f4d8c2; color: #6b3410; }
.surface-hard { background: #cfe4ff; color: #0a3a82; }
.surface-grass { background: #d2efc6; color: #1c5b22; }
.surface-indoor { background: #e6d5f5; color: #4c1f7a; }

@media (max-width: 720px) {
  .t-table thead { display: none; }
  .t-table, .t-table tbody, .t-table tr, .t-table td { display: block; width: 100%; }
  .t-table tr {
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
  }
  .t-table td {
    padding: 4px 0;
    border: none;
  }
  .t-table tr:hover td { background: transparent; }
  .t-table td::before {
    content: attr(data-label);
    display: block;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 2px;
  }
  .tournament-block__head { padding: 14px 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4c4ba; }
.card h3 { margin-bottom: 12px; }
.card__icon {
  width: 52px; height: 52px;
  background: var(--accent);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 900;
}

.feature-card {
  position: relative;
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 800;
  margin-bottom: 10px;
}

/* ---------- Partner offer cards ---------- */
.offer {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.offer__head {
  background: var(--ink);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.offer__logo {
  font-family: var(--font-display);
  font-size: 2.6rem;
  letter-spacing: .04em;
  color: #fff;
}
.offer__logo--betclic {
  background: #d2092c;
  color: #fff;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 2rem;
}
.offer__body {
  background: var(--success);
  color: #fff;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.offer__cta {
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .06em;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  flex-shrink: 0;
  text-transform: uppercase;
  transition: transform .15s, background .2s;
}
.offer__cta:hover { transform: translateY(-2px); background: var(--accent-deep); }
.offer__text {
  flex: 1;
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 220px;
}

/* ---------- Two-column content ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
}
.split--reverse { grid-template-columns: .9fr 1.1fr; }
.split--reverse .split__media { order: -1; }

@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split__media { order: 0; }
}

.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
  aspect-ratio: 4/3;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.notice-green {
  background: var(--success);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 28px;
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats__item {
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.stats__item:last-child { border-right: none; }
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  display: block;
  line-height: 1;
}
.stats__label {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 8px;
  display: block;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: none; }
  .stats__item:nth-child(1), .stats__item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Player cards ---------- */
.player {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
  transition: transform .25s, box-shadow .25s;
}
.player:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.player__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.player__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.player__rank {
  background: var(--ink);
  color: var(--accent);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: .78rem;
  letter-spacing: .08em;
}
.player__meta {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.player__bio { font-size: .95rem; }

/* ---------- Surface block ---------- */
.surface-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.surface-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.65) 100%);
}
.surface-card > * { position: relative; z-index: 1; }
.surface-card h3 { color: #fff; font-size: 1.8rem; margin-bottom: 6px; }
.surface-card p { font-size: .95rem; color: rgba(255,255,255,.9); margin: 0; }
.surface-card--clay { background: linear-gradient(135deg, #b85438 0%, #6b2a17 100%); }
.surface-card--grass { background: linear-gradient(135deg, #3a8b3a 0%, #1a4f1a 100%); }
.surface-card--hard { background: linear-gradient(135deg, #2d6cb1 0%, #14365e 100%); }
.surface-card--indoor { background: linear-gradient(135deg, #6b3aa3 0%, #2e1554 100%); }

/* ---------- Forms ---------- */
.form-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row--2 { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fcfcf9;
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
textarea { resize: vertical; min-height: 140px; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 14px 0;
}
.checkbox-row input { margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 64px 0 24px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .92rem;
  margin: 16px 0;
  max-width: 38ch;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: .92rem; }
.footer-col a { color: rgba(255,255,255,.78); }
.footer-col a:hover { color: var(--accent); opacity: 1; }

.responsible-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
  align-items: center;
}
.responsible-banner__label {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-right: 12px;
}
.responsible-banner a {
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .04em;
}
.responsible-banner a:hover { background: var(--accent-deep); opacity: 1; }

.disclaimer-strip {
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 16px 22px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.disclaimer-strip strong { color: var(--accent); }

.legal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.legal-row a { color: rgba(255,255,255,.7); }
.legal-row a:hover { color: var(--accent); opacity: 1; }

.licenses {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.licenses .pill-license {
  background: rgba(255,255,255,.08);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 700;
}

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,10,10,.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.age-gate.is-open { display: flex; }
.age-gate__box {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 44px 40px;
  text-align: center;
  border-top: 8px solid var(--accent);
  animation: agePop .3s ease-out;
}
@keyframes agePop {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.age-gate__badge {
  width: 64px; height: 64px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 auto 18px;
}
.age-gate h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}
.age-gate p {
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.age-gate__form {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.age-gate__form select {
  padding: 12px 8px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
.age-gate__error {
  color: var(--danger);
  font-size: .9rem;
  margin-bottom: 14px;
  min-height: 1.2em;
}
.age-gate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.age-gate__legal {
  margin-top: 22px;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}
.age-gate__legal a { text-decoration: underline; }

.age-blocked {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 24px;
}
.age-blocked.is-open { display: flex; }
.age-blocked h2 { color: var(--accent); font-size: 2.4rem; margin-bottom: 18px; }
.age-blocked p { max-width: 50ch; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.age-blocked a { color: var(--accent); text-decoration: underline; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin-inline: auto;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  display: none;
  box-shadow: var(--shadow-lg);
  z-index: 9000;
  border-top: 4px solid var(--accent);
}
.cookie-banner.is-open { display: block; }
.cookie-banner p { font-size: .9rem; color: rgba(255,255,255,.85); margin-bottom: 14px; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }

/* ---------- TOC for legal pages ---------- */
.toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}
.toc h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; font-size: .94rem; }

.legal-content h2 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 800;
  margin: 36px 0 14px;
}
.legal-content h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  margin: 24px 0 10px;
}
.legal-content p, .legal-content li { font-size: .96rem; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 1em; }
.legal-content li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
  background: #fff;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 14px; color: var(--ink-soft); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.bg-cream { background: #f4f4f0; }
.bg-white { background: #fff; }
.bg-dark { background: var(--ink); color: #fff; }

/* ---------- Print ---------- */
@media print {
  .age-gate, .cookie-banner, .site-header, .site-footer, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
