/* ==========================================================================
   Ofelina.pro — Agregador editorial independiente de ofertas
   style.css — tokens, base, layout & components
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Palette — "midnight río" */
    --ink:        #0a1420;   /* deep navy base                */
    --ink-2:      #0f1e2d;   /* elevated dark surface         */
    --ink-3:      #16283a;   /* hairline / raised dark        */
    --paper:      #f6f5f1;   /* light card                    */
    --paper-2:    #ffffff;
    --paper-edge: #e3e0d8;

    --celeste:    #7cb6de;   /* structural accent, links      */
    --celeste-dk: #2c5f86;
    --gold:       #e2b33c;   /* action accent — CTA only      */
    --gold-dk:    #b98d21;

    --text-hi:    #eef2f6;
    --text-md:    #a9bccd;
    --text-lo:    #7d93a6;
    --text-dark:  #16222e;
    --text-dark-md: #4c5f70;

    --ok:         #3f9d7a;
    --warn-bg:    #241d0f;
    --warn-bd:    #5a4718;

    --line:       rgba(255, 255, 255, .10);
    --line-soft:  rgba(255, 255, 255, .06);

    /* Type */
    --display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Space & shape */
    --wrap: 1120px;
    --gap: 24px;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;

    --shadow-soft: 0 18px 40px -24px rgba(0, 0, 0, .75);
    --shadow-card: 0 26px 60px -30px rgba(0, 0, 0, .85);

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--ink);
    background-image:
        radial-gradient(900px 520px at 78% -8%, rgba(124, 182, 222, .13), transparent 62%),
        radial-gradient(700px 460px at 4% 4%, rgba(226, 179, 60, .07), transparent 58%);
    background-repeat: no-repeat;
    color: var(--text-hi);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: var(--celeste); text-decoration: none; }
a:hover { color: #a6d0ef; }

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    color: #fff;
}

h1 { font-size: clamp(2.25rem, 1.35rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; color: var(--text-md); }
p:last-child { margin-bottom: 0; }

strong { color: var(--text-hi); font-weight: 600; }

ul, ol { color: var(--text-md); padding-left: 1.15em; }
li { margin-bottom: .5em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

::selection { background: var(--gold); color: #21180a; }

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-line { border-top: 1px solid var(--line-soft); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--gold); color: #21180a; padding: 12px 18px;
    font-weight: 700; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* Eyebrow — small structural label with a rule */
.eyebrow {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--mono);
    font-size: .74rem; letter-spacing: .17em; text-transform: uppercase;
    color: var(--celeste); margin: 0 0 18px;
}
.eyebrow::after {
    content: ""; flex: 1 1 auto; height: 1px; max-width: 120px;
    background: linear-gradient(90deg, rgba(124, 182, 222, .55), transparent);
}
.eyebrow-center { justify-content: center; }
.eyebrow-center::after { display: none; }

.lede { font-size: 1.12rem; color: var(--text-md); max-width: 62ch; }

/* Constrains a text column without re-centring it inside .wrap */
.measure { max-width: 760px; }

.section-head { max-width: 68ch; margin-bottom: 34px; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--body); font-size: 1rem; font-weight: 700;
    letter-spacing: .01em;
    padding: 15px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    text-align: center;
    transition: transform .18s var(--ease), background-color .18s var(--ease),
                border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
    background: linear-gradient(180deg, #f0c356, var(--gold));
    color: #211804;
    box-shadow: 0 12px 26px -14px rgba(226, 179, 60, .9);
}
.btn-gold:hover { background: linear-gradient(180deg, #f7cf6c, #e9bd48); color: #211804; }

.btn-ghost {
    background: transparent; color: var(--text-hi);
    border-color: rgba(255, 255, 255, .22);
}
.btn-ghost:hover { border-color: var(--celeste); color: #fff; background: rgba(124, 182, 222, .09); }

.btn-dark {
    background: var(--ink); color: #fff; border-color: var(--ink);
}
.btn-dark:hover { background: var(--ink-3); color: #fff; }

.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-arrow::after { content: "→"; font-family: var(--mono); font-size: .95em; }

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(10, 20, 32, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark {
    width: 34px; height: 34px; flex: none;
    display: grid; place-items: center;
    border-radius: 9px;
    background: linear-gradient(150deg, var(--celeste), var(--celeste-dk));
    color: #06121d;
    font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .02em;
}
.brand-name { font-family: var(--display); font-size: 1.3rem; letter-spacing: -.01em; }
.brand-dot { color: var(--celeste); }

.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }

.nav-list {
    display: flex; align-items: center; gap: 24px;
    list-style: none; margin: 0; padding: 0;
}
.nav-list a {
    color: var(--text-md); font-size: .93rem; font-weight: 500;
    padding: 6px 0; display: inline-block; position: relative;
}
.nav-list a:hover { color: #fff; }
.nav-list a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
    background: var(--celeste); transition: right .25s var(--ease);
}
.nav-list a:hover::after { right: 0; }
.nav-list a.is-current { color: #fff; }
.nav-list a.is-current::after { right: 0; background: var(--gold); }

.nav-extra { display: flex; align-items: center; gap: 18px; }

.lang-switch {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--mono); font-size: .78rem; letter-spacing: .08em;
    border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
}
.lang-switch a { color: var(--text-lo); }
.lang-switch a:hover { color: #fff; }
.lang-switch .is-active { color: var(--gold); font-weight: 600; }
.lang-sep { color: rgba(255, 255, 255, .2); }

.nav-toggle {
    display: none;
    width: 44px; height: 44px; padding: 0;
    background: transparent; border: 1px solid var(--line); border-radius: 11px;
    cursor: pointer;
}
.nav-toggle-bar {
    display: block; width: 19px; height: 1.6px; margin: 4px auto;
    background: var(--text-hi); border-radius: 2px;
    transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero (home)
   -------------------------------------------------------------------------- */
.hero { padding: 88px 0 96px; position: relative; }

.hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 64px; align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 em {
    font-style: italic; color: var(--celeste);
}
.hero-sub { font-size: 1.2rem; color: var(--text-md); max-width: 46ch; margin-bottom: 14px; }
.hero-note { font-size: 1rem; color: var(--text-lo); max-width: 46ch; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }

.age-flag {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-lo);
    border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
}
.age-flag b { color: var(--gold); font-weight: 600; }

/* --------------------------------------------------------------------------
   7. Signature element — "comprobante" / betting-slip card
   -------------------------------------------------------------------------- */
.slip {
    position: relative;
    background: var(--paper);
    color: var(--text-dark);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-card);
    padding: 30px 30px 26px;
    isolation: isolate;
}
/* punched edge on the left, like a torn ticket stub */
.slip::before {
    content: ""; position: absolute; inset: 0 auto 0 -1px; width: 10px;
    background-image: radial-gradient(circle at 0 50%, var(--ink) 0 5px, transparent 5.5px);
    background-size: 10px 18px; background-repeat: repeat-y;
    z-index: 2;
}
.slip-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    padding-bottom: 16px; margin-bottom: 18px;
    border-bottom: 1.5px dashed var(--paper-edge);
}
.slip-title { font-family: var(--display); font-size: 1.42rem; color: var(--text-dark); margin: 0 0 4px; }
.slip-kind {
    font-family: var(--mono); font-size: .7rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--text-dark-md);
}
.badge {
    flex: none;
    font-family: var(--mono); font-size: .66rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    background: #1c2c3c; color: var(--gold);
    padding: 7px 11px; border-radius: 999px;
    white-space: nowrap;
}
.badge-soft { background: rgba(124, 182, 222, .16); color: var(--celeste-dk); }

.offer {
    font-family: var(--mono); font-weight: 600;
    font-size: clamp(1.35rem, 1rem + 1.5vw, 1.95rem);
    letter-spacing: -.02em; line-height: 1.15;
    color: #0d1a26; margin: 0 0 12px;
}
.offer span { color: var(--celeste-dk); }

.slip p { color: var(--text-dark-md); }

.slip-list { list-style: none; padding: 0; margin: 18px 0; }
.slip-list li {
    position: relative; padding-left: 26px; margin-bottom: 9px;
    color: var(--text-dark); font-size: .97rem;
}
.slip-list li::before {
    content: "✓"; position: absolute; left: 0; top: -1px;
    color: var(--ok); font-weight: 700;
}

.slip-terms {
    font-size: .84rem; line-height: 1.55; color: var(--text-dark-md);
    border-top: 1.5px dashed var(--paper-edge);
    padding-top: 14px; margin-top: 20px;
}
.slip-terms b { color: var(--text-dark); }

.slip-cta { margin-top: 20px; }

/* Two-card grid */
.slip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* Compact preview slip used in the hero */
.slip-preview { padding: 26px; }
.slip-preview .slip-row {
    display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
    padding: 13px 0; border-bottom: 1px dashed var(--paper-edge);
}
.slip-preview .slip-row:last-of-type { border-bottom: 0; }
.slip-row-label { font-size: .95rem; color: var(--text-dark); font-weight: 600; }
.slip-row-value { font-family: var(--mono); font-size: .95rem; color: var(--celeste-dk); white-space: nowrap; }
.slip-foot {
    margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed var(--paper-edge);
    font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--text-dark-md);
    display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   8. Panels, notices, cards
   -------------------------------------------------------------------------- */
.panel {
    background: var(--ink-2);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    padding: 30px;
}

.notice {
    border-left: 3px solid var(--gold);
    background: linear-gradient(90deg, rgba(226, 179, 60, .10), rgba(226, 179, 60, 0));
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 20px 24px;
}
.notice p { color: var(--text-md); margin: 0; }
.notice strong { color: var(--gold); }

.notice-info {
    border-left-color: var(--celeste);
    background: linear-gradient(90deg, rgba(124, 182, 222, .10), rgba(124, 182, 222, 0));
}
.notice-info strong { color: var(--celeste); }

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

.info-card {
    background: var(--ink-2);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    padding: 26px;
    transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.info-card:hover { border-color: rgba(124, 182, 222, .35); transform: translateY(-3px); }
.info-card h3 { font-size: 1.18rem; margin-bottom: .5em; }
.info-card p { font-size: .96rem; margin: 0; }

/* Steps — a real sequence, so numbering carries meaning */
.step {
    background: var(--ink-2);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    padding: 24px;
    position: relative;
}
.step-num {
    font-family: var(--mono); font-size: .78rem; font-weight: 600;
    color: var(--gold); letter-spacing: .1em;
    display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.08rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; margin-bottom: .45em; }
.step p { font-size: .93rem; margin: 0; }

/* Responsible-gambling list */
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules li {
    position: relative; padding-left: 30px; margin: 0;
    color: var(--text-md);
}
.rules li::before {
    content: ""; position: absolute; left: 8px; top: .72em;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--celeste);
}

/* Definition-style legal blocks */
.legal h2 { margin-top: 44px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { margin-top: 30px; font-family: var(--body); font-weight: 700; font-size: 1.08rem; letter-spacing: 0; }
.legal .updated {
    font-family: var(--mono); font-size: .78rem; letter-spacing: .08em;
    text-transform: uppercase; color: var(--text-lo);
    border: 1px solid var(--line); border-radius: 999px;
    padding: 7px 14px; display: inline-block; margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   9. Comparison table
   -------------------------------------------------------------------------- */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    background: var(--ink-2);
}
.table-scroll:focus-visible { outline: 3px solid var(--gold); }

table.compare {
    width: 100%; min-width: 620px;
    border-collapse: collapse;
    font-size: .96rem;
}
table.compare caption {
    text-align: left; padding: 18px 22px 0;
    font-family: var(--mono); font-size: .74rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--text-lo);
}
table.compare th, table.compare td {
    padding: 15px 22px; text-align: left;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}
table.compare thead th {
    font-family: var(--mono); font-size: .74rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--celeste);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
table.compare tbody th {
    font-family: var(--body); font-weight: 600; color: var(--text-hi);
    white-space: nowrap;
}
table.compare td { color: var(--text-md); }
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody tr:hover td,
table.compare tbody tr:hover th { background: rgba(124, 182, 222, .05); }

.scroll-hint {
    font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--text-lo); margin-top: 12px;
}

/* --------------------------------------------------------------------------
   10. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }

.faq-q {
    width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
    background: none; border: 0; cursor: pointer;
    padding: 22px 4px;
    font-family: var(--display); font-size: 1.13rem; font-weight: 500; line-height: 1.35;
    color: var(--text-hi); text-align: left;
    transition: color .18s var(--ease);
}
.faq-q:hover { color: var(--celeste); }

.faq-icon {
    flex: none; width: 26px; height: 26px; margin-top: 2px;
    border: 1px solid var(--line); border-radius: 50%;
    position: relative;
    transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.faq-icon::before, .faq-icon::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    background: var(--celeste); border-radius: 2px;
    transform: translate(-50%, -50%);
}
.faq-icon::before { width: 11px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 11px; transition: opacity .2s var(--ease); }
.faq-q[aria-expanded="true"] .faq-icon { border-color: var(--gold); background: rgba(226, 179, 60, .12); }
.faq-q[aria-expanded="true"] .faq-icon::before { background: var(--gold); }
.faq-q[aria-expanded="true"] .faq-icon::after { opacity: 0; }

.faq-a {
    display: none;
    padding: 0 60px 24px 4px;
}
.faq-a.is-open { display: block; }
.faq-a p { font-size: .98rem; }

/* --------------------------------------------------------------------------
   11. Forms
   -------------------------------------------------------------------------- */
.form-panel {
    background: var(--ink-2);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    padding: 38px;
}

.field { margin-bottom: 20px; }
.field label {
    display: block; margin-bottom: 8px;
    font-family: var(--mono); font-size: .74rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--text-md);
}
.field input, .field textarea, .field select {
    width: 100%;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--text-hi);
    font-family: var(--body); font-size: 1rem;
    padding: 14px 16px;
    transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5f7488; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .2); }
.field input:focus, .field textarea:focus {
    background: rgba(255, 255, 255, .06);
    border-color: var(--celeste);
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 182, 222, .18);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
    border-color: #d4735f;
    box-shadow: 0 0 0 3px rgba(212, 115, 95, .16);
}

.field-error {
    display: none;
    margin-top: 7px; font-size: .85rem; color: #eda392;
}
.field-error.is-visible { display: block; }

.form-hint { font-size: .84rem; color: var(--text-lo); margin-top: 14px; }

/* Inline subscribe form */
.subscribe {
    background: var(--ink-2);
    border: 1px solid rgba(124, 182, 222, .22);
    border-radius: var(--r-lg);
    padding: 40px;
}
.subscribe-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.subscribe h2 { margin-bottom: .4em; }
.subscribe-form .field { margin-bottom: 14px; }

/* Success states */
.form-success {
    display: none;
    border: 1px solid rgba(63, 157, 122, .4);
    background: rgba(63, 157, 122, .09);
    border-radius: var(--r-md);
    padding: 30px;
}
.form-success.is-visible { display: block; animation: rise .35s var(--ease) both; }
.form-success h3 { color: #cfeee0; margin-bottom: .4em; }
.form-success p { color: #a9cfbf; margin: 0; }
.form-success .btn { margin-top: 22px; }

.success-mark {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(63, 157, 122, .18);
    border: 1px solid rgba(63, 157, 122, .5);
    display: grid; place-items: center;
    color: var(--ok); font-size: 1.15rem; font-weight: 700;
    margin-bottom: 16px;
}

.is-hidden { display: none !important; }

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

/* --------------------------------------------------------------------------
   12. Contact details
   -------------------------------------------------------------------------- */
.contact-meta { display: grid; gap: 26px; }
.contact-meta dt {
    font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--text-lo); margin-bottom: 6px;
}
.contact-meta dd { margin: 0; color: var(--text-md); }
.contact-meta a { word-break: break-word; }

/* --------------------------------------------------------------------------
   13. 404
   -------------------------------------------------------------------------- */
.error-page { padding: 110px 0 120px; text-align: center; }
.error-code {
    font-family: var(--mono); font-weight: 600;
    font-size: clamp(4.5rem, 3rem + 9vw, 9rem);
    line-height: 1; letter-spacing: -.04em;
    background: linear-gradient(160deg, var(--celeste), rgba(124, 182, 222, .2));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    margin: 0 0 10px;
}
.error-page h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); }
.error-page p { margin-left: auto; margin-right: auto; max-width: 48ch; }
.error-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    border-top: 1px solid var(--line-soft);
    background: #08111b;
    padding: 60px 0 34px;
    margin-top: 20px;
}
.footer-top {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr;
    gap: 44px; padding-bottom: 40px;
    border-bottom: 1px solid var(--line-soft);
}
.footer-about p { font-size: .93rem; color: var(--text-lo); max-width: 40ch; margin-top: 16px; }

.footer-col h4 {
    font-family: var(--mono); font-size: .72rem; letter-spacing: .13em;
    text-transform: uppercase; color: var(--celeste); margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-md); font-size: .93rem; }
.footer-col a:hover { color: #fff; }

.footer-legal { padding-top: 30px; display: grid; gap: 16px; }
.footer-legal p { font-size: .84rem; color: var(--text-lo); line-height: 1.6; margin: 0; }
.footer-age {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: .78rem; letter-spacing: .06em;
    color: var(--text-md);
}
.footer-age b {
    background: var(--gold); color: #21180a; border-radius: 5px;
    padding: 2px 7px; font-weight: 700;
}
.footer-bottom {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
    margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line-soft);
    font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
    color: var(--text-lo);
}

/* --------------------------------------------------------------------------
   15. Cookie banner
   -------------------------------------------------------------------------- */
.cookie-bar {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
    max-width: 940px; margin: 0 auto;
    background: rgba(15, 30, 45, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(124, 182, 222, .26);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-card);
    padding: 20px 24px;
    display: none;
    align-items: center; gap: 24px;
}
.cookie-bar.is-visible { display: flex; animation: rise .4s var(--ease) both; }
.cookie-bar p { font-size: .9rem; margin: 0; }
.cookie-bar p a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: none; }

.cookie-prefs {
    display: none;
    width: 100%; margin-top: 18px; padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}
.cookie-prefs.is-open { display: block; }
.cookie-choice { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.cookie-choice input { margin-top: 5px; accent-color: var(--celeste); width: 17px; height: 17px; }
.cookie-choice span { font-size: .88rem; color: var(--text-md); }
.cookie-choice b { display: block; color: var(--text-hi); font-size: .93rem; }

/* --------------------------------------------------------------------------
   16. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .btn:hover, .info-card:hover { transform: none; }
}
