/* =============================================================
   PubgolfMaker — main stylesheet
   Palette: black / paper-cream / signal red
   Type: system stack, large + readable + a touch editorial
   ============================================================= */

:root {
    --c-bg:        #0a0a0a;
    --c-bg-2:      #141414;
    --c-bg-3:      #1c1c1c;
    --c-line:      #262626;
    --c-line-2:    #353535;
    --c-text:      #f6f4ee;
    --c-text-2:    #c9c5bc;
    --c-muted:     #8a8680;
    --c-red:       #d62828;
    --c-red-2:     #ef3b3b;
    --c-red-deep:  #8c1414;
    --c-cream:     #f7e9c0;
    --c-cream-2:   #ece1c4;
    --c-paper:     #faf6ec;

    /* v3: warm secondary accent — bridges the dark↔cream rhythm without going pastel */
    --c-ochre:     #d4a657;
    --c-ochre-2:   #e6b96b;
    --c-ochre-deep:#8c5b1e;

    --c-success:   #2eb872;
    --c-error:     #e64545;

    --radius:    4px;
    --radius-lg: 8px;
    --radius-xl: 18px;
    --radius-2xl: 24px;

    /* v3: editorial pair — system-available serif for display, sans for body.
       No external loads (STRATO friendly), but immediately distinguishes from
       the generic "Helvetica everywhere" baseline. Charter ships on macOS/iOS,
       Iowan Old Style on iOS, Constantia on Windows, Georgia everywhere. */
    --font-display: 'Charter', 'Iowan Old Style', 'Constantia', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
    --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
    --font-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    --shadow-1: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-2: 0 12px 32px rgba(0,0,0,0.18);
    --shadow-3: 0 20px 60px -10px rgba(0,0,0,0.5);
    --shadow-red: 0 0 0 2px rgba(214, 40, 40, 0.18);
    --shadow-red-glow: 0 8px 24px -4px rgba(214, 40, 40, 0.35);
    --shadow-ochre-glow: 0 8px 24px -8px rgba(212, 166, 87, 0.32);

    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-back:  cubic-bezier(0.34, 1.4, 0.64, 1);
    --ease-soft:      cubic-bezier(0.32, 0.72, 0, 1);

    --container: 1200px;
    --container-narrow: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--c-red-2); }
button { font: inherit; cursor: pointer; }

::selection { background: var(--c-red); color: #fff; }

/* ---------- Fixed grain overlay (never moves with scroll, GPU-safe) ---------- */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('/assets/images/noise.png');
    background-size: 200px 200px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}
.site-header, main, .site-footer { position: relative; z-index: 2; }

/* ---------- Container ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--container-narrow); }

/* ---------- Typography utilities ---------- */
.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--c-ochre);
    margin-bottom: 16px;
    font-family: var(--font-body);
}
.section-paper .eyebrow { color: var(--c-ochre-deep); }
.eyebrow-tag {
    display: inline-block;
    background: rgba(214, 40, 40, 0.15);
    color: var(--c-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(214, 40, 40, 0.3);
    margin-bottom: 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--c-text);
    font-feature-settings: 'liga' 1, 'kern' 1;
}
h1 { font-size: clamp(40px, 7vw, 84px); margin-bottom: 22px; }
h2 { font-size: clamp(28px, 4.5vw, 48px); margin-bottom: 16px; letter-spacing: -0.02em; }
h3 { font-size: clamp(19px, 2.5vw, 24px); margin-bottom: 10px; letter-spacing: -0.015em; font-weight: 600; }
p  { margin-bottom: 14px; color: var(--c-text-2); }
.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--c-text-2); margin-bottom: 28px; max-width: 56ch; font-family: var(--font-body); }
.muted { color: var(--c-muted); }
.small { font-size: 14px; }

/* Editorial italic accent — subtle, optional helper */
.italic-accent { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* ---------- Header ---------- */
.site-header {
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--c-line);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.4px;
    color: #fff;
}
.brand:hover { color: #fff; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav > a {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-2);
}
.nav > a:hover { color: var(--c-red); }
.lang-switch {
    display: inline-flex; gap: 0;
    border: 1px solid var(--c-line-2);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-bg-2);
}
.lang-switch a {
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--c-muted);
    transition: all 0.15s;
}
.lang-switch a.active { background: var(--c-red); color: #fff; }
.lang-switch a:not(.active):hover { background: var(--c-bg-3); color: var(--c-text); }

@media (max-width: 720px) {
    .nav > a:not(.lang-switch a) { display: none; }
    .nav { gap: 8px; }
}

/* ---------- Buttons (premium magnetic feel) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.32s var(--ease-out-quint),
                background 0.32s var(--ease-out-quint),
                border-color 0.32s var(--ease-out-quint),
                box-shadow 0.32s var(--ease-out-quint),
                color 0.32s var(--ease-out-quint);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    will-change: transform;
}
.btn-primary {
    background: var(--c-red);
    color: #fff;
    border-color: var(--c-red);
    box-shadow: var(--shadow-red-glow);
}
.btn-primary:hover {
    background: var(--c-red-2);
    border-color: var(--c-red-2);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -8px rgba(214, 40, 40, 0.45);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-secondary {
    background: rgba(255,255,255,0.04);
    color: var(--c-text);
    border-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    border-color: rgba(255,255,255,0.36);
    color: var(--c-text);
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}
.btn-secondary:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
    background: transparent;
    color: var(--c-text-2);
    border: none;
    padding: 12px 14px;
}
.btn-ghost:hover { color: var(--c-red); }
.btn-large { padding: 17px 32px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---------- HERO (Editorial Split, Editorial Luxury vibe) ---------- */
.hero {
    position: relative;
    padding: clamp(96px, 14vw, 196px) 0 clamp(80px, 11vw, 152px);
    overflow: hidden;
    background: var(--c-bg);
    isolation: isolate;
    min-height: 78vh;
}
/* v3.1: real <picture> element holding the bar/spelboekje hero photo.
   Sits behind everything; no fixed-attachment (causes mobile jank). */
.hero-bg-pic {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.hero-bg-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}
@media (max-width: 719px) {
    .hero-bg-pic img { object-position: center top; }
}
/* Legacy ::before kept as a hard fallback color in case the image fails. */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0a0a0a;
    z-index: -1;
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg,
            rgba(10,10,10,0.92) 0%,
            rgba(10,10,10,0.78) 28%,
            rgba(10,10,10,0.45) 55%,
            rgba(10,10,10,0.25) 80%,
            rgba(10,10,10,0.55) 100%),
        radial-gradient(ellipse 60% 80% at 0% 50%,
            rgba(214, 40, 40, 0.10) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
@media (max-width: 719px) {
    .hero::after {
        background:
            linear-gradient(180deg,
                rgba(10,10,10,0.55) 0%,
                rgba(10,10,10,0.40) 30%,
                rgba(10,10,10,0.75) 70%,
                rgba(10,10,10,0.95) 100%);
    }
}
.hero-grid {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 640px;
}
.hero-grid > .hero-visual { display: none; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-ochre);
    margin-bottom: 28px;
    font-family: var(--font-body);
}
.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--c-ochre);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6.8vw, 78px);
    line-height: 1.0;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 32px;
    text-wrap: balance;
    color: var(--c-text);
}
.hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--c-ochre-2);
    letter-spacing: -0.015em;
}
.hero h1 .accent { color: var(--c-red); font-style: normal; }
.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(17px, 1.9vw, 21px);
    color: var(--c-text-2);
    line-height: 1.55;
    max-width: 52ch;
    margin-bottom: 40px;
    text-wrap: pretty;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 32px; }
.hero-meta {
    font-size: 13px;
    color: var(--c-text-2);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
    font-family: var(--font-body);
    letter-spacing: 0.2px;
}
.hero-meta .dot { color: var(--c-ochre); }
.hero-meta b { color: var(--c-text); font-weight: 600; }
@media (max-width: 720px) {
    .hero { padding-top: clamp(72px, 16vw, 110px); min-height: 70vh; }
    .hero h1 { font-size: clamp(38px, 11vw, 64px); }
}

/* Hero deck mock — refined, less gimmick */
.hero-mock {
    background:
        linear-gradient(160deg, #1c0808 0%, #2a0a0a 50%, #1a0606 100%);
    border: 1px solid rgba(214, 40, 40, 0.35);
    padding: 40px 36px 36px;
    aspect-ratio: 210 / 297;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-3), 0 0 0 1px rgba(214, 40, 40, 0.10);
    transform: rotate(-1.2deg);
    transition: transform 0.6s var(--ease-out-quint), box-shadow 0.6s var(--ease-out-quint);
    position: relative;
    will-change: transform;
}
.hero-mock::before {
    content: '';
    position: absolute;
    inset: -10px -10px 10px 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    z-index: -1;
    transform: rotate(2.4deg);
    transition: transform 0.6s var(--ease-out-quint);
}
.hero-mock:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 30px 80px -10px rgba(214,40,40,0.25), 0 0 0 1px rgba(214,40,40,0.20);
}
.hero-mock:hover::before { transform: rotate(0deg); }
.hero-mock-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--c-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 2px;
}
.hero-mock-title {
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
    margin: 22px 0 14px;
}
.hero-mock-slogan {
    font-size: 13px;
    color: rgba(255,255,255,0.78);
    margin-bottom: 32px;
    line-height: 1.5;
}
.hero-mock-meta {
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 18px;
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}
.hero-mock-meta b { color: var(--c-red); font-weight: 700; }

/* ---------- Section system (heavy whitespace per skill) ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--c-bg-2); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section-paper { background: var(--c-paper); color: #1a1a1a; }
.section-paper h1, .section-paper h2, .section-paper h3 { color: #1a1a1a; }
.section-paper p { color: #444; }
.section-paper .eyebrow { color: var(--c-red-deep); }
.section-paper .muted { color: #777; }
.section-head { text-align: center; margin: 0 auto clamp(48px, 6vw, 72px); max-width: 760px; }
.section-head h2 { margin-bottom: 16px; text-wrap: balance; }
.section-head .lead { margin: 0 auto; text-wrap: pretty; }

/* ---------- 3-step explainer (Double-Bezel cards) ---------- */
.steps-grid {
    display: flex; flex-wrap: wrap; gap: 24px;
}
.steps-grid > .step-card { flex: 1 1 280px; }
@supports (display: grid) {
    .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
    .steps-grid > .step-card { flex: unset; }
}
@media (max-width: 800px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
    position: relative;
    background: var(--c-bg-2);
    border: 1px solid var(--c-line);
    padding: 40px 32px 36px;
    border-radius: var(--radius-xl);
    transition: transform 0.5s var(--ease-out-quint), border-color 0.5s var(--ease-out-quint), box-shadow 0.5s var(--ease-out-quint);
    will-change: transform;
}
.step-card:hover {
    border-color: var(--c-red-deep);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -16px rgba(214,40,40,0.25);
}
.step-num {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.4px;
    color: var(--c-red);
    margin-bottom: 18px;
    text-transform: uppercase;
}
.step-card h3 { font-size: clamp(20px, 2vw, 24px); margin-bottom: 12px; color: #fff; letter-spacing: -0.015em; }
.step-card p { font-size: 15px; color: var(--c-text-2); margin: 0; line-height: 1.6; }

.section-paper .step-card {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.section-paper .step-card:hover { border-color: var(--c-red); box-shadow: 0 16px 40px -16px rgba(0,0,0,0.18); }
.section-paper .step-card h3 { color: #1a1a1a; }
.section-paper .step-card p { color: #555; }

/* Step illustrations — top of each step card */
.step-illu {
    width: 96px;
    height: 108px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-illu svg, .step-illu img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.section-paper .step-illu { color: #1a1a1a; }

/* ============================================================
   v3 BENTO — asymmetric grid for "Wat krijg je"
   2 large (col-span 2) + 4 medium (col-span 1)
   Mobile: single column
   ============================================================ */
.section-bento {
    background:
        linear-gradient(180deg, var(--c-bg) 0%, #0d0d0d 100%);
    padding: clamp(80px, 11vw, 144px) 0 clamp(80px, 11vw, 144px);
}
.bento-head {
    max-width: 720px;
    margin: 0 0 clamp(48px, 6vw, 80px);
}
.bento-head h2 em {
    font-style: italic;
    font-weight: 400;
    color: var(--c-ochre-2);
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.bento {
    position: relative;
    background: var(--c-bg-2);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-2xl);
    padding: 36px 32px 32px;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-quint),
                border-color 0.5s var(--ease-out-quint),
                box-shadow 0.5s var(--ease-out-quint);
    will-change: transform;
}
.bento:hover {
    transform: translateY(-3px);
    border-color: var(--c-line-2);
    box-shadow: 0 16px 40px -16px rgba(212, 166, 87, 0.18);
}
.bento-lg { grid-column: span 2; }
.bento-md { grid-column: span 1; }
.bento-icon {
    width: 56px;
    height: 63px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--c-ochre);
}
.bento-icon svg, .bento-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.bento h3 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin-bottom: 12px;
    color: var(--c-text);
}
.bento p {
    font-size: 15px;
    color: var(--c-text-2);
    line-height: 1.6;
    margin: 0;
    text-wrap: pretty;
}
.bento-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--c-ochre);
    background: rgba(212, 166, 87, 0.1);
    border: 1px solid rgba(212, 166, 87, 0.25);
    padding: 4px 9px;
    border-radius: 999px;
}

/* Distinct visual accents per bento — subtle background washes */
.bento-route {
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(212, 166, 87, 0.08) 0%, transparent 70%),
        var(--c-bg-2);
}
.bento-joker {
    background:
        radial-gradient(ellipse 60% 80% at 0% 100%, rgba(214, 40, 40, 0.10) 0%, transparent 70%),
        var(--c-bg-2);
}
.bento-joker .bento-icon { color: var(--c-red); }

@media (max-width: 980px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-lg { grid-column: span 2; }
    .bento-md { grid-column: span 1; }
}
@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; gap: 14px; }
    .bento-lg, .bento-md { grid-column: span 1; }
    .bento { padding: 28px 24px 26px; }
}

/* ---------- Feature list (what's in your pubgolf) ---------- */
.features {
    display: flex; flex-wrap: wrap; gap: 60px; align-items: center;
}
.features > * { flex: 1 1 360px; }
@supports (display: grid) {
    .features { display: grid; grid-template-columns: 1fr 1fr; }
    .features > * { flex: unset; }
}
@media (max-width: 880px) { .features { grid-template-columns: 1fr; gap: 40px; } }

.feature-list { list-style: none; padding: 0; }
.feature-list li {
    padding: 18px 0 18px 36px;
    border-bottom: 1px solid var(--c-line);
    position: relative;
    font-size: 16px;
    color: var(--c-text-2);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
    content: '';
    position: absolute; left: 0; top: 26px;
    width: 22px; height: 2px;
    background: var(--c-red);
}
.feature-list li b { color: var(--c-text); font-weight: 700; }

/* deck-thumbs (mini-page-previews) */
.deck-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.deck-thumb {
    aspect-ratio: 210 / 297;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid var(--c-line);
}
.deck-thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.deck-thumb.dt-cover    { background: linear-gradient(160deg, #2a0808 0%, #1a0606 100%); }
.deck-thumb.dt-rules    { background: linear-gradient(160deg, #4a1010 0%, #2a0808 100%); }
.deck-thumb.dt-hole     { background: var(--c-cream); color: #1a1a1a; }
.deck-thumb.dt-finale   { background: linear-gradient(160deg, #2a0808 0%, #0a0a0a 100%); }
.dt-eyebrow {
    font-size: 8px; font-weight: 800; letter-spacing: 2px;
    color: var(--c-red); text-transform: uppercase; margin-bottom: 6px;
}
.dt-title {
    font-size: 16px; font-weight: 800; line-height: 0.95;
    color: #fff; text-transform: uppercase; margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.dt-hole .dt-title { color: #1a1a1a; }
.dt-sub { font-size: 9px; color: rgba(255,255,255,0.65); }
.dt-hole .dt-sub { color: #555; }
.dt-tag {
    display: inline-block;
    background: var(--c-red);
    color: #fff;
    padding: 2px 7px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
    align-self: flex-start;
}

/* ---------- CTA strip ---------- */
.cta-strip {
    text-align: center;
    background:
        radial-gradient(ellipse 60% 80% at 50% 100%, rgba(214, 40, 40, 0.20) 0%, transparent 60%),
        var(--c-bg);
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}
.cta-strip h2 { color: #fff; }
.cta-strip .lead { margin: 0 auto 28px; }

/* ---------- Disclaimer / 18+ strip ---------- */
.age-strip {
    background: var(--c-bg-3);
    border-top: 1px solid var(--c-red-deep);
    border-bottom: 1px solid var(--c-red-deep);
    color: var(--c-text-2);
    padding: 14px 0;
    font-size: 13px;
    text-align: center;
    line-height: 1.55;
}
.age-strip strong {
    display: inline-block;
    background: var(--c-red);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    letter-spacing: 1px;
    margin-right: 8px;
    vertical-align: 2px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #060606;
    color: var(--c-muted);
    padding: 56px 0 24px;
    border-top: 1px solid var(--c-line);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer strong {
    color: #fff; font-weight: 800; letter-spacing: 0.5px;
    display: block; margin-bottom: 12px; font-size: 14px;
}
.site-footer a {
    color: var(--c-text-2); display: block; padding: 4px 0;
    font-size: 14px;
}
.site-footer a:hover { color: var(--c-red); }
.footer-text { font-size: 14px; color: var(--c-muted); line-height: 1.55; margin-bottom: 8px; max-width: 40ch; }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--c-line);
    font-size: 12px;
    color: var(--c-muted);
}

/* ===========================================================
   GENERATOR — 5-step wizard
   =========================================================== */
.gen-page {
    background: var(--c-bg);
    min-height: calc(100vh - 80px);
    padding: clamp(40px, 6vw, 72px) 0;
}
.gen-shell { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.gen-head { text-align: center; margin-bottom: clamp(32px, 5vw, 48px); }
.gen-head h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.gen-head .lead { font-size: 15px; max-width: 50ch; margin: 0 auto; }

/* Step indicator */
.gen-steps {
    display: flex; justify-content: space-between;
    margin: 0 auto clamp(32px, 4vw, 48px);
    max-width: 480px;
    position: relative;
}
.gen-steps::before {
    content: ''; position: absolute;
    top: 17px; left: 18px; right: 18px;
    height: 2px; background: var(--c-line);
    z-index: 0;
}
.gen-steps::after {
    content: ''; position: absolute;
    top: 17px; left: 18px;
    width: var(--progress, 0%);
    max-width: calc(100% - 36px);
    height: 2px; background: var(--c-red);
    z-index: 0;
    transition: width 0.3s ease;
}
.gen-step-dot {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--c-bg-2);
    border: 2px solid var(--c-line);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
    color: var(--c-muted);
    position: relative; z-index: 1;
    transition: all 0.2s ease;
}
.gen-step-dot.active {
    background: var(--c-red);
    border-color: var(--c-red);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.gen-step-dot.done {
    background: var(--c-bg);
    border-color: var(--c-red);
    color: var(--c-red);
}

/* Step panel */
.gen-panel {
    background: var(--c-bg-2);
    border: 1px solid var(--c-line);
    padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 36px);
    border-radius: var(--radius-lg);
}
.gen-panel.hidden { display: none; }

.gen-panel-eyebrow {
    font-size: 11px; font-weight: 800;
    letter-spacing: 2.4px; text-transform: uppercase;
    color: var(--c-red);
    margin-bottom: 8px;
}
.gen-panel-title {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: #fff;
}
.gen-panel-sub {
    font-size: 15px;
    color: var(--c-text-2);
    margin-bottom: 28px;
    max-width: 50ch;
}

/* Form fields */
.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-size: 12px; font-weight: 700;
    letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--c-text-2);
    margin-bottom: 8px;
}
.field input[type=text],
.field input[type=email],
.field input[type=number],
.field input[type=date],
.field select,
.field textarea {
    width: 100%;
    background: var(--c-bg);
    border: 1.5px solid var(--c-line);
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    padding: 13px 16px;
    border-radius: var(--radius);
    transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--c-red);
    box-shadow: var(--shadow-red);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field-hint { font-size: 13px; color: var(--c-muted); margin-top: 6px; }
.field-error { font-size: 13px; color: var(--c-error); margin-top: 6px; font-weight: 600; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-grid .field { margin-bottom: 0; }
@media (max-width: 480px) { .field-grid { grid-template-columns: 1fr; } }

/* Intensity picker (radio cards) */
.intensity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 480px) { .intensity-grid { grid-template-columns: 1fr; } }
.intensity-card {
    background: var(--c-bg);
    border: 1.5px solid var(--c-line);
    padding: 16px 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    border-radius: var(--radius);
    position: relative;
}
.intensity-card input { position: absolute; opacity: 0; pointer-events: none; }
.intensity-card.selected {
    border-color: var(--c-red);
    background: rgba(214, 40, 40, 0.06);
}
.intensity-card .name {
    font-size: 14px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.6px;
    color: #fff; margin-bottom: 4px;
}
.intensity-card.selected .name { color: var(--c-red); }
.intensity-card .desc { font-size: 12px; color: var(--c-muted); line-height: 1.4; }

/* Holes pill picker */
.holes-pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.holes-pill {
    padding: 12px 22px;
    background: var(--c-bg);
    border: 1.5px solid var(--c-line);
    color: var(--c-text-2);
    font-size: 16px; font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
    min-width: 64px; text-align: center;
    border-radius: var(--radius);
}
.holes-pill input { position: absolute; opacity: 0; pointer-events: none; }
.holes-pill:hover { border-color: var(--c-line-2); color: #fff; }
.holes-pill.selected {
    background: var(--c-red);
    border-color: var(--c-red);
    color: #fff;
}

/* Participant counter */
.gen-counter {
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    padding: 12px 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    border-radius: var(--radius);
}
.gen-counter b { color: var(--c-red); font-size: 18px; }

/* Teams preview */
.teams-preview {
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    padding: 14px 16px;
    margin-top: 16px;
    border-radius: var(--radius);
}
.teams-preview-row {
    display: flex; justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px dashed var(--c-line);
    gap: 16px;
}
.teams-preview-row:last-child { border-bottom: none; }
.teams-preview-row b {
    color: var(--c-red); letter-spacing: 1px;
    text-transform: uppercase; font-size: 11px;
    flex: 0 0 auto;
}
.teams-preview-row span { color: var(--c-text-2); text-align: right; }

/* Step 5: summary */
.gen-summary {
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    overflow-x: hidden;
}
.gen-summary-row {
    display: flex; justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px dashed var(--c-line);
    gap: 16px;
    min-width: 0;
}
.gen-summary-row:last-child { border-bottom: none; }
.gen-summary-row .lbl { color: var(--c-muted); text-transform: uppercase; font-size: 11px; letter-spacing: 1.2px; font-weight: 700; flex: 0 0 auto; padding-top: 2px; }
.gen-summary-row .val { color: var(--c-text); text-align: right; flex: 1 1 auto; min-width: 0; word-break: break-word; overflow-wrap: anywhere; }
@media (max-width: 540px) {
    .gen-summary { padding: 16px 18px; }
    .gen-summary-row { flex-direction: column; gap: 4px; }
    .gen-summary-row .val { text-align: left; }
}

/* Step nav */
.gen-nav {
    display: flex; justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--c-line);
    gap: 12px;
}
.gen-nav .btn { flex: 0 0 auto; }
.gen-nav .gen-back { color: var(--c-text-2); }

/* Generating state (loading) */
.gen-loading { text-align: center; padding: 40px 0; }
.gen-loading-mega {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900; line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--c-red);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.gen-loading-sub { font-size: 14px; color: var(--c-text-2); margin-bottom: 24px; }
.gen-loading-bar {
    width: 100%; height: 4px;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    position: relative; overflow: hidden;
    border-radius: 2px;
}
.gen-loading-bar::after {
    content: ''; position: absolute; height: 100%; width: 30%;
    background: var(--c-red);
    animation: gen-loading 1.2s linear infinite;
}
@keyframes gen-loading {
    from { left: -30%; }
    to   { left: 100%; }
}

/* Form errors */
.form-error {
    background: rgba(230, 69, 69, 0.10);
    border-left: 3px solid var(--c-error);
    padding: 14px 16px;
    margin-top: 16px;
    font-size: 14px;
    color: #fff;
    border-radius: var(--radius);
}
.form-error strong { color: var(--c-error); margin-right: 6px; }

/* v3.1.1: success flash mirror of form-error */
.form-ok {
    background: rgba(60, 180, 100, 0.10);
    border-left: 3px solid #3cb464;
    padding: 14px 16px;
    margin-top: 16px;
    font-size: 14px;
    color: #fff;
    border-radius: var(--radius);
}

/* v3.1.2: ad-slot wrapper.
   Rustig sponsorblok, niet schreeuwend. Inactieve slots renderen niets
   in PHP — deze CSS bestaat alleen voor wanneer admin een slot aanzet. */
.ad-slot {
    margin: 32px 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;     /* responsive AdSense unit shouldn't overflow */
    max-width: 100%;
}
.ad-slot__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.55;
    margin-bottom: 10px;
}
.ad-slot__body { font-size: 14px; line-height: 1.5; }
.ad-slot__body img,
.ad-slot__body iframe { max-width: 100%; height: auto; }
.ad-slot--footer_sponsor {
    margin: 24px auto;
    padding: 12px 16px;
    font-size: 12px;
    opacity: 0.85;
}

/* v3.1.2: admin analytics/settings widgets */
.adm-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}
.adm-stats-grid .stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 18px 16px;
}
.adm-stats-grid .stat-num {
    font-size: 28px;
    font-weight: 700;
    color: #d62828;
    line-height: 1;
}
.adm-stats-grid .stat-lbl {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 6px;
}
.adm-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 14px;
}
.adm-table th,
.adm-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    vertical-align: top;
}
.adm-table th {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
    opacity: 0.7;
    font-weight: 600;
}
.adm-table tr:hover td { background: rgba(255,255,255,0.03); }
.admin-form .field { margin-bottom: 14px; }
.admin-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.admin-form input[type=text],
.admin-form input[type=password],
.admin-form input[type=email],
.admin-form input[type=datetime-local],
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    color: inherit;
    font-size: 14px;
    box-sizing: border-box;
}
.admin-form small.muted { display: block; margin-top: 4px; font-size: 12px; opacity: 0.6; }

/* ===========================================================
   PREVIEW — mini deck
   =========================================================== */
.preview-page {
    background: var(--c-bg);
    min-height: calc(100vh - 80px);
    padding: clamp(40px, 5vw, 64px) 0;
}
.preview-shell { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.preview-head { text-align: center; margin-bottom: 36px; }
.preview-head h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.preview-meta {
    color: var(--c-muted);
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 600;
    display: flex; flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}
.preview-meta .dot { color: var(--c-red); }

.preview-actions {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--c-line);
}

.deck-pages { display: grid; grid-template-columns: 1fr; gap: 20px; }
.deck-page-card {
    background: var(--c-bg-2);
    border: 1px solid var(--c-line);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
}
.deck-page-card.dark    { background: linear-gradient(160deg, #2a0808 0%, #1a0606 100%); border-color: var(--c-red-deep); }
.deck-page-card.warning { background: linear-gradient(160deg, #4a1010 0%, #2a0808 100%); border-color: var(--c-red-deep); }
.deck-page-card.smoke   { background: var(--c-bg-3); border-color: var(--c-line-2); }
.deck-page-card.cream   {
    background: var(--c-cream); color: #1a1a1a; border-color: rgba(0,0,0,0.08);
}
.deck-page-card.cream .dpc-title { color: #1a1a1a; }
.deck-page-card.cream .dpc-sub   { color: #555; }
.deck-page-card.cream .dpc-text  { color: #444; }

.dpc-eyebrow {
    font-size: 11px; font-weight: 800;
    letter-spacing: 2.4px; text-transform: uppercase;
    color: var(--c-red);
    margin-bottom: 8px;
}
.dpc-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800; line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 8px;
}
.dpc-sub { font-size: 14px; color: var(--c-text-2); margin-bottom: 18px; }
.dpc-text { font-size: 14px; color: var(--c-text-2); line-height: 1.55; }

/* Hole card */
.hole-card {
    background: var(--c-bg-2);
    border: 1px solid var(--c-line);
    padding: 24px;
    border-radius: var(--radius-lg);
}
.hole-card-head {
    display: flex; align-items: baseline; gap: 16px;
    margin-bottom: 14px; padding-bottom: 14px;
    border-bottom: 1px solid var(--c-line);
}
.hole-card-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--c-red);
    line-height: 1.0;
    letter-spacing: -0.04em;
}
.hole-card-cafe {
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #fff;
    flex: 1;
}
.hole-card-cafe small {
    display: block; margin-top: 3px;
    font-size: 12px; color: var(--c-muted);
    font-weight: 500; letter-spacing: 0; text-transform: none;
}
.hole-card-pitch { font-size: 14px; color: var(--c-text-2); margin-bottom: 14px; line-height: 1.5; }

.hole-card-asg {
    background: var(--c-bg);
    border-left: 3px solid var(--c-red);
    padding: 14px 18px;
    margin-bottom: 14px;
    border-radius: 2px;
}
.hole-card-asg-title {
    font-size: 16px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.4px;
    color: #fff; margin-bottom: 4px;
}
.hole-card-asg-sub {
    font-size: 11px; color: var(--c-red); font-weight: 700;
    letter-spacing: 1.6px; text-transform: uppercase;
    margin-bottom: 8px;
}
.hole-card-asg-text {
    font-size: 14px; color: var(--c-text-2); line-height: 1.55;
}

.hole-card-meta {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    font-size: 13px;
    margin-bottom: 14px;
}
@media (max-width: 600px) { .hole-card-meta { grid-template-columns: 1fr; } }
.hole-card-meta-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--c-line);
    padding: 10px 12px;
    border-radius: var(--radius);
}
.hole-card-meta-item .lbl {
    font-size: 10px; font-weight: 800;
    letter-spacing: 1.6px; text-transform: uppercase;
    color: var(--c-red); margin-bottom: 3px;
}
.hole-card-meta-item .val {
    font-size: 13px; color: var(--c-text-2); line-height: 1.4;
}

.hole-card-actions {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--c-line);
}
.hole-card-actions .btn { padding: 8px 14px; font-size: 12px; }

/* Teams pill */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.team-pill {
    background: rgba(255,255,255,0.04);
    border-top: 3px solid var(--c-red);
    padding: 16px 18px;
    color: #fff;
    border-radius: 0 0 4px 4px;
}
.team-pill-name {
    font-size: 14px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.2px;
    margin-bottom: 4px;
}
.team-pill-members { font-size: 13px; color: var(--c-text-2); line-height: 1.5; }

/* Powerups grid (per team in preview) */
.pwr-team-block { margin-top: 18px; }
.pwr-team-name {
    font-size: 13px; font-weight: 800;
    color: var(--c-red); letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.pwr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.pwr-pill {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 12px 14px;
    border-radius: var(--radius);
}
.pwr-pill-title {
    font-size: 13px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: #fff; margin-bottom: 4px;
}
.pwr-pill-text { font-size: 12px; color: var(--c-text-2); line-height: 1.45; }

/* Route list */
.route-list { padding: 0; list-style: none; }
.route-item {
    display: flex; align-items: baseline; gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--c-line);
}
.route-item:last-child { border-bottom: none; }
.route-item-num {
    font-size: 22px; font-weight: 900;
    color: var(--c-red); width: 44px; line-height: 1.0;
    flex: 0 0 44px;
}
.route-item-cafe { flex: 1; min-width: 0; }
.route-item-name {
    font-weight: 800; text-transform: uppercase;
    font-size: 14px; letter-spacing: 0.3px;
    color: #fff;
}
.route-item-addr { font-size: 12px; color: var(--c-muted); margin-top: 2px; }

.deck-page-card.warning .route-item { border-color: rgba(255,255,255,0.1); }
.deck-page-card.warning .route-item-num { color: #fff; }

/* ===========================================================
   STATIC PAGES (disclaimer / privacy / contact / error / SEO)
   =========================================================== */
.static-page {
    background: var(--c-bg);
    padding: clamp(48px, 6vw, 80px) 0;
}
.static-shell { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.static-page h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 22px; color: #fff; }
.static-page h2 { font-size: clamp(20px, 3vw, 26px); margin: 36px 0 14px; color: var(--c-red); }
.static-page h3 { font-size: 18px; margin: 24px 0 10px; color: #fff; }
.static-page p, .static-page li {
    font-size: 16px; color: var(--c-text-2); line-height: 1.65;
}
.static-page ul, .static-page ol { padding-left: 24px; margin-bottom: 16px; }
.static-page li { margin-bottom: 6px; }
.static-page strong { color: #fff; }
.static-page .lead { margin-bottom: 28px; }

/* Challenge cards on opdrachten-page */
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}
@media (max-width: 720px) { .challenge-grid { grid-template-columns: 1fr; } }
.challenge-card {
    background: var(--c-bg-2);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    transition: transform 0.5s var(--ease-out-quint), border-color 0.5s var(--ease-out-quint);
}
.challenge-card:hover { transform: translateY(-2px); border-color: var(--c-red-deep); }
.challenge-tag {
    display: inline-block;
    background: var(--c-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    padding: 4px 9px;
    border-radius: 2px;
}
.challenge-card h2 { color: #fff; }
.challenge-card p { color: var(--c-text-2); }
.challenge-meta {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 16px;
    font-size: 13px;
    border-top: 1px solid var(--c-line);
    padding-top: 14px;
}
.challenge-meta dt { color: var(--c-muted); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 11px; padding-top: 2px; }
.challenge-meta dd { color: var(--c-text-2); margin: 0; }

.error-page {
    text-align: center;
    padding: clamp(60px, 12vw, 120px) 24px;
}
.error-page .num {
    font-size: clamp(80px, 18vw, 140px);
    font-weight: 900;
    color: var(--c-red);
    line-height: 0.9;
    letter-spacing: -0.04em;
}
.error-page h1 { margin: 16px 0; }
.error-page p { color: var(--c-text-2); margin-bottom: 24px; }

/* ===========================================================
   ADMIN PANEL — overrides
   =========================================================== */
.admin-body { background: var(--c-bg); color: var(--c-text); min-height: 100vh; }
.admin-header {
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    padding: 14px 0;
    position: sticky; top: 0; z-index: 100;
}
.admin-header .brand { color: #fff; }
.admin-header .nav { gap: 18px; flex-wrap: wrap; }
.admin-header .nav a {
    font-size: 13px; font-weight: 600;
    color: var(--c-text-2);
    text-transform: none; letter-spacing: 0.3px;
}
.admin-header .nav a:hover { color: var(--c-red); }
.admin-main { padding: 36px 32px 64px; max-width: 1200px; margin: 0 auto; }
.admin-main h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.admin-main h2 {
    font-size: 20px; margin: 28px 0 14px; color: #fff;
    border-bottom: 1px solid var(--c-line); padding-bottom: 8px;
}
.admin-main p { color: var(--c-text-2); }

.admin-card {
    background: var(--c-bg-2);
    border: 1px solid var(--c-line);
    padding: 24px;
    margin-bottom: 24px;
    border-radius: var(--radius-lg);
}

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--c-line);
    font-size: 13px;
    color: var(--c-text-2);
    vertical-align: top;
}
.admin-table th {
    background: var(--c-bg-3);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    border-bottom-color: var(--c-line-2);
}
.admin-table tr:hover td { background: rgba(214,40,40,0.03); }
.admin-table a { color: var(--c-red); }
.admin-table .pill {
    display: inline-block; padding: 2px 8px; border-radius: 3px;
    font-size: 11px; font-weight: 700;
    background: var(--c-bg-3); color: var(--c-text-2);
}
.admin-table .pill.ok      { background: rgba(46,184,114,0.15); color: var(--c-success); }
.admin-table .pill.warn    { background: rgba(214,40,40,0.15);  color: var(--c-red); }
.admin-table .pill.muted   { background: var(--c-bg-3);         color: var(--c-muted); }

.admin-form .field input,
.admin-form .field select,
.admin-form .field textarea {
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    color: #fff;
    padding: 10px 12px;
    width: 100%;
    font-family: var(--font-body);
    border-radius: var(--radius);
    font-size: 14px;
}
.admin-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .admin-form .field-row { grid-template-columns: 1fr; } }

.admin-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.admin-stat {
    background: var(--c-bg-2);
    border: 1px solid var(--c-line);
    padding: 20px 24px;
    flex: 1 1 180px;
    border-radius: var(--radius-lg);
}
.admin-stat .num { font-size: 32px; font-weight: 900; color: var(--c-red); line-height: 1.0; }
.admin-stat .label { font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 1.2px; margin-top: 6px; }

.admin-filters {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--c-bg-2);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    align-items: flex-end;
}
.admin-filters .field { margin-bottom: 0; flex: 1 1 160px; }

.admin-actions {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 16px;
}
.admin-actions .btn { padding: 10px 18px; font-size: 13px; }

/* Admin login */
.admin-login {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 40px 20px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(214, 40, 40, 0.12) 0%, transparent 60%),
        var(--c-bg);
}
.admin-login-card {
    background: var(--c-bg-2);
    border: 1px solid var(--c-line);
    padding: 40px 32px;
    max-width: 420px;
    width: 100%;
    border-radius: var(--radius-lg);
}
.admin-login-card .brand { display: flex; justify-content: center; margin-bottom: 18px; }
.admin-login-card .brand img { width: 56px; height: 56px; filter: drop-shadow(0 2px 8px rgba(214,40,40,0.35)); }
.admin-login-card h1 { font-size: 22px; margin-bottom: 6px; color: #fff; text-align: center; }
.admin-login-card .lead { font-size: 14px; text-align: center; margin-bottom: 28px; }

/* CSV Import */
.import-preview {
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 16px;
    font-size: 13px;
}
.import-preview-row {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--c-line);
}
.import-preview-row:last-child { border-bottom: none; }
.import-preview-row .status {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px;
}
.import-preview-row.new   .status { color: var(--c-success); }
.import-preview-row.update .status { color: var(--c-red); }
.import-preview-row.error .status { color: var(--c-error); }
.import-preview-row.skip  .status { color: var(--c-muted); }

/* Tags / vibes input */
.tag-list {
    display: flex; gap: 4px; flex-wrap: wrap;
    margin-top: 4px;
}
.tag-chip {
    background: var(--c-bg-3);
    color: var(--c-text-2);
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 12px;
    letter-spacing: 0.3px;
}

/* Ad slot block (rendered when ads enabled) */
.ad-slot {
    margin: 32px auto;
    max-width: 728px;
    padding: 16px;
    border: 1px dashed var(--c-line);
    border-radius: var(--radius);
    text-align: center;
}

/* ============================================================
   iOS / touch — disable :hover feedback to prevent "stuck"
   states after a tap (iOS Safari keeps :hover until next tap).
   `:active` rules elsewhere still drive press feedback on touch.
   Pointer-fine + hover-hover is the modern guard for real cursors.
   ============================================================ */
@media (hover: none), (pointer: coarse) {
    a:hover                         { color: inherit; }
    .brand:hover                    { color: var(--c-text); }
    .nav > a:hover                  { color: var(--c-text-2); }
    .lang-switch a:not(.active):hover { background: transparent; color: var(--c-text-2); }
    .btn-primary:hover {
        background: var(--c-red);
        border-color: var(--c-red);
        color: #fff;
        transform: none;
        box-shadow: var(--shadow-red-glow);
    }
    .btn-secondary:hover {
        border-color: var(--c-line-2);
        color: var(--c-text);
        transform: none;
    }
    .btn-ghost:hover                { color: var(--c-text-2); }
    .hero-mock:hover                { transform: rotate(-1.2deg) translateY(0); box-shadow: var(--shadow-3), 0 0 0 1px rgba(214, 40, 40, 0.10); }
    .hero-mock:hover::before        { transform: rotate(2.4deg); }
    .step-card:hover                { transform: none; border-color: var(--c-line); box-shadow: none; }
    .section-paper .step-card:hover { border-color: rgba(0,0,0,0.08); box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
    .deck-thumb:hover               { transform: none; box-shadow: none; }
    .site-footer a:hover            { color: inherit; }
    .holes-pill:hover               { border-color: var(--c-line); color: var(--c-text-2); }
    .challenge-card:hover           { transform: none; border-color: var(--c-line); }
    .admin-header .nav a:hover      { color: inherit; }
    .admin-table tr:hover td        { background: transparent; }
}
