:root {
    --bg: #080b11;
    --bg-soft: #0f141e;
    --panel: #121924;
    --panel-2: #171f2d;
    --text: #f4f7fb;
    --muted: #aeb8c7;
    --accent: #ff7a1a;
    --accent-2: #ff9d52;
    --line: rgba(255,255,255,.09);
    --success: #65d6a3;
    --danger: #ff8a8a;
    --radius: 18px;
    --shadow: 0 20px 60px rgba(0,0,0,.28);
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding-bottom: 58px;
    background:
        radial-gradient(circle at 15% 10%, rgba(255,122,26,.08), transparent 24rem),
        radial-gradient(circle at 82% 15%, rgba(97,132,255,.07), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    transform: translateY(-150%);
    background: #fff;
    color: #000;
    padding: .7rem 1rem;
    border-radius: 8px;
}
.skip-link:focus { transform: none; }

.container {
    width: min(calc(100% - 2rem), var(--max));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(8,11,17,.86);
    border-bottom: 1px solid var(--line);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #101010;
    background: linear-gradient(135deg, var(--accent), #ffd06c);
    box-shadow: 0 0 30px rgba(255,122,26,.25);
}

.brand-logo { display: block; width: auto; height: 48px; object-fit: contain; }
.footer-logo { display: block; width: auto; height: 52px; object-fit: contain; margin-bottom: .8rem; }

.main-nav { display: flex; align-items: center; gap: .2rem; }
.main-nav > a,
.nav-menu > summary,
.nav-submenu a {
    text-decoration: none;
    color: var(--muted);
    font-size: .88rem;
    border-radius: 10px;
    transition: background .2s ease, color .2s ease;
}
.main-nav > a,
.nav-menu > summary { padding: .62rem .62rem; }
.main-nav > a:hover,
.main-nav > a[aria-current="page"],
.nav-menu > summary:hover,
.nav-menu[open] > summary,
.nav-menu.is-active > summary,
.nav-submenu a:hover,
.nav-submenu a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.main-nav > a[aria-current="page"],
.nav-menu.is-active > summary { box-shadow: inset 0 -2px 0 var(--accent); }

.nav-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    min-width: 42px;
}
.nav-icon-link svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.nav-menu { position: relative; }
.nav-menu > summary {
    display: flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-chevron { font-size: .72rem; line-height: 1; transition: transform .18s ease; }
.nav-menu[open] > summary .nav-chevron { transform: rotate(180deg); }
.nav-submenu {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    z-index: 220;
    min-width: 210px;
    padding: .45rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(10,14,21,.985);
    box-shadow: var(--shadow);
}
.nav-menu--right .nav-submenu { left: auto; right: 0; }
.nav-submenu a { display: block; padding: .72rem .8rem; white-space: nowrap; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 10px;
}
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; }

.hero {
    min-height: 72vh;
    display: grid;
    align-items: center;
    padding: 5rem 0 4rem;
}

.hero-grid,
.split-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .85rem;
    color: var(--accent-2);
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em;
}

h1, h2, h3 { line-height: 1.12; margin-top: 0; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7vw, 5.7rem); margin-bottom: 1.2rem; letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; }

.hero h1 span,
.gradient-text {
    background: linear-gradient(90deg, #fff 0%, #ffd2b1 42%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.8rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .75rem 1.05rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent), #ff9f4f);
    color: #101114;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255,122,26,.18);
}
.button:hover { filter: brightness(1.05); }
.button-secondary {
    background: rgba(255,255,255,.04);
    color: var(--text);
    border-color: var(--line);
    box-shadow: none;
}

.media-placeholder {
    position: relative;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.12);
    background:
        linear-gradient(135deg, rgba(255,122,26,.12), transparent 35%),
        repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
        var(--panel);
    box-shadow: var(--shadow);
}
media-placeholder span {
    position: relative;
    z-index: 2;
    max-width: 70%;
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
}
.media-placeholder--portrait { aspect-ratio: 3 / 4; }
.media-placeholder--wide { aspect-ratio: 21 / 9; }

.hero-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.hero-tags span,
.badge {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
    color: #d8dfeb;
    border-radius: 999px;
    padding: .36rem .65rem;
    font-size: .8rem;
}

.section { padding: 5.5rem 0; }
.section--soft { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.008)); border-block: 1px solid var(--line); }
.section-head { max-width: 740px; margin-bottom: 2.3rem; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
    padding: 1.35rem;
    min-height: 100%;
}
.card p { color: var(--muted); margin-bottom: 0; }
.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: rgba(255,122,26,.12);
    border: 1px solid rgba(255,122,26,.2);
    color: var(--accent-2);
    font-weight: 900;
}

.page-hero { padding: 4rem 0 2.6rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); }
.page-hero .lead { max-width: 720px; }

.feature-list { display: grid; gap: 1.1rem; }
.feature-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.1rem;
    align-items: start;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 0; }
.feature-number { color: var(--accent); font-weight: 900; font-size: 1.35rem; }
.feature-row p { color: var(--muted); margin-bottom: 0; }

.notice,
.flash {
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    background: rgba(255,122,26,.06);
    padding: 1rem 1.1rem;
    border-radius: 12px;
}
.flash--success { border-left-color: var(--success); background: rgba(101,214,163,.07); }
.flash--error { border-left-color: var(--danger); background: rgba(255,138,138,.07); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 650px; background: rgba(255,255,255,.015); }
th, td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-2); background: rgba(255,255,255,.025); }
td { color: #d9e0ea; }
tr:last-child td { border-bottom: 0; }
code { color: #ffd0ad; background: rgba(255,122,26,.08); padding: .1rem .35rem; border-radius: 6px; }

.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { counter-increment: step; position: relative; padding: 1.25rem 1.25rem 1.25rem 4rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.step::before { content: counter(step); position: absolute; left: 1rem; top: 1rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #111; font-weight: 900; }
.step p { color: var(--muted); margin-bottom: 0; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.form-card { padding: 1.4rem; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.form-field { display: grid; gap: .45rem; margin-bottom: 1rem; align-content: start; align-self: start; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .92rem; }
.form-field small { color: var(--muted); }
input, textarea, select {
    width: 100%;
    color: var(--text);
    background: #0c1119;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 11px;
    padding: .78rem .85rem;
    outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,122,26,.12); }
.select-shell {
    position: relative;
    display: block;
}
.select-shell::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent-2);
    border-bottom: 2px solid var(--accent-2);
    transform: translateY(-68%) rotate(45deg);
    pointer-events: none;
}
.select-shell select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 3rem;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008)), #0c1119;
}
.select-shell:focus-within::after { border-color: #fff; }
textarea { min-height: 180px; resize: vertical; }
/* Interruptores compactos para consentimientos y preferencias. */
.switch-field {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    cursor: pointer;
    font-weight: 500 !important;
}
.switch-field input[type="checkbox"] {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}
.switch-control {
    position: relative;
    flex: 0 0 38px;
    width: 38px;
    height: 22px;
    margin-top: .1rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: #222b38;
    box-shadow: inset 0 1px 4px rgba(0,0,0,.32);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.switch-control::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #d7dee8;
    box-shadow: 0 2px 5px rgba(0,0,0,.35);
    transition: transform .18s ease, background .18s ease;
}
.switch-field input[type="checkbox"]:checked + .switch-control {
    background: linear-gradient(135deg, var(--accent), #ff9f4f);
    border-color: var(--accent);
}
.switch-field input[type="checkbox"]:checked + .switch-control::after {
    transform: translateX(16px);
    background: #11151c;
}
.switch-field input[type="checkbox"]:focus-visible + .switch-control {
    outline: 3px solid rgba(255,122,26,.25);
    outline-offset: 2px;
}
.switch-field--compact { align-items: center; }
.switch-field--compact .switch-control { margin-top: 0; }
.switch-text { color: #d7dde7; line-height: 1.45; }
.privacy-note { padding: .85rem 1rem; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .86rem; }
.privacy-note a { color: #ffd0ad; }
.form-consent { margin-top: 1rem; }
.captcha-box { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; padding: .85rem; border: 1px solid rgba(255,122,26,.22); background: rgba(255,122,26,.055); border-radius: 12px; }
.captcha-question { font-weight: 900; color: #ffd2b4; min-width: 145px; }
.captcha-box input { max-width: 160px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.legal-content { max-width: 850px; }
.legal-content h2 { margin-top: 2.4rem; font-size: 1.55rem; }
.legal-content h3 { margin-top: 1.6rem; }
.legal-content p, .legal-content li { color: #c4ccd8; }
.legal-content a { color: #ffd0ad; }
.legal-meta { display: grid; grid-template-columns: 180px 1fr; gap: .55rem 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.legal-meta strong { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: #07090e; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 2.5rem; }
.footer-grid h2 { font-size: .95rem; margin-bottom: .8rem; }
.footer-grid p { color: var(--muted); max-width: 48ch; }
.footer-grid a, .link-button { display: block; color: var(--muted); text-decoration: none; margin: .4rem 0; }
.footer-grid a:hover, .link-button:hover { color: var(--text); }
.footer-grid a[aria-current="page"] { color: var(--accent); font-weight: 800; }
.link-button { border: 0; padding: 0; background: transparent; }
.footer-brand { font-weight: 900; letter-spacing: .13em; margin-bottom: .7rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; color: #7f8997; font-size: .82rem; }

.steam-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    min-height: 58px;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    text-align: center;
    background: linear-gradient(90deg, #ea6711, #ff963d);
    color: #111;
    text-decoration: none;
    box-shadow: 0 -10px 35px rgba(0,0,0,.25);
}
.steam-dot { width: 9px; height: 9px; border-radius: 50%; background: #161616; box-shadow: 0 0 0 5px rgba(0,0,0,.1); }

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 74px;
    z-index: 300;
    max-width: 1080px;
    margin-inline: auto;
    background: rgba(16,22,32,.98);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.cookie-banner__content { display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.5rem; align-items: center; padding: 1rem; }
.cookie-banner p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.cookie-banner__actions .button { min-height: 40px; padding: .55rem .75rem; font-size: .85rem; }
.cookie-banner__content > a { color: #ffd0ad; font-size: .82rem; }

.cookie-dialog {
    width: min(620px, calc(100% - 2rem));
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    color: var(--text);
    box-shadow: var(--shadow);
    padding: 0;
}
.cookie-dialog::backdrop { background: rgba(0,0,0,.68); backdrop-filter: blur(5px); }
.cookie-dialog__panel { padding: 1.25rem; }
.dialog-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.dialog-head h2 { font-size: 1.55rem; }
.dialog-close { border: 0; background: transparent; color: var(--muted); font-size: 2rem; line-height: 1; }
.cookie-option { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.cookie-option p, .cookie-option small { display: block; color: var(--muted); margin: .25rem 0 0; }
.always-on { color: var(--success); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.cookie-dialog__actions { display: flex; justify-content: flex-end; gap: .7rem; padding-top: 1rem; }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        padding: .8rem 1rem 1rem;
        background: rgba(8,11,17,.98);
        border-bottom: 1px solid var(--line);
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .main-nav.is-open { display: grid; }
    .main-nav > a, .nav-menu > summary { padding: .8rem; min-height: 44px; }
    .nav-menu { position: static; }
    .nav-submenu {
        position: static;
        min-width: 0;
        margin-top: .25rem;
        padding: .25rem 0 .25rem .6rem;
        border: 0;
        border-left: 1px solid var(--line);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .nav-submenu a { padding: .65rem .8rem; white-space: normal; }
    .nav-menu--right .nav-submenu { right: auto; }
    .hero-grid, .split-grid, .contact-layout { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding-top: 3.5rem; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    body { padding-bottom: 64px; }
    .container { width: min(calc(100% - 1.25rem), var(--max)); }
    .header-inner { min-height: 68px; }
    .brand-logo { height: 42px; }
    .main-nav { grid-template-columns: 1fr; }
    .section { padding: 4rem 0; }
    .page-hero { padding-top: 3rem; }
    .card-grid, .card-grid--2, .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > :first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .legal-meta { grid-template-columns: 1fr; }
    .cookie-banner__content { grid-template-columns: 1fr; }
    .cookie-banner__actions { justify-content: stretch; }
    .cookie-banner__actions .button { flex: 1 1 100%; }
    .steam-bar { min-height: 64px; font-size: .92rem; }
    .feature-row { grid-template-columns: 48px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Versión 1.1.2 */
.form-feedback:empty { display: none; }
.form-feedback { margin-bottom: 1rem; }
.field-error { display: block; min-height: 1.2em; color: var(--danger) !important; font-weight: 700; }
.field-hint { display: block; }
.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select,
.form-field.has-error .select-shell select { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255,138,138,.10); }
.optional { color: var(--muted); font-weight: 500; }
.form-sending { align-self: center; color: var(--muted); }
button:disabled { opacity: .65; cursor: wait; }
input[type="file"] { padding: .6rem; }
input[type="file"]::file-selector-button {
    margin-right: .8rem;
    border: 1px solid var(--line);
    background: var(--panel-2);
    color: var(--text);
    padding: .55rem .7rem;
    border-radius: 9px;
    cursor: pointer;
}

.cookie-consent-dialog {
    width: min(680px, calc(100% - 2rem));
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: var(--panel);
    color: var(--text);
    box-shadow: var(--shadow);
    padding: 0;
}
.cookie-consent-dialog::backdrop { background: rgba(0,0,0,.74); backdrop-filter: blur(5px); }
.cookie-consent-dialog p { color: var(--muted); }
.cookie-more { display: inline-block; margin-top: 1rem; color: #ffd0ad; font-size: .88rem; }

.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.book-card { display: grid; grid-template-columns: minmax(160px,.7fr) 1.3fr; gap: 1.5rem; align-items: start; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.book-card img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }
.book-card__content { min-width: 0; }
.book-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; margin-top: 1.15rem; }
.book-actions .button { width: 100%; min-height: 38px; padding: .55rem .6rem; font-size: .82rem; line-height: 1.2; white-space: nowrap; }
.book-store-note { margin: .65rem 0 0; color: var(--muted); font-size: .82rem; }
.book-entry { display: grid; gap: 1rem; align-content: start; }
.book-summary { padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.book-summary h3 { margin: 0 0 .65rem; font-size: 1rem; color: var(--accent); }
.book-summary p { margin: 0; color: #cdd5df; }
.book-cover-placeholder { aspect-ratio: 2 / 3; border-radius: 14px; display: grid; place-items: center; text-align: center; padding: 1rem; background: radial-gradient(circle at 50% 30%, rgba(255,122,26,.18), transparent 45%), #0b1018; border: 1px solid var(--line); color: var(--muted); }
.book-cover-placeholder strong { color: var(--text); }

.youtube-panel { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; padding: clamp(1.5rem,4vw,3rem); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(circle at 85% 20%, rgba(29,185,84,.16), transparent 18rem), var(--panel); box-shadow: var(--shadow); }
.youtube-mark { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; justify-self: center; background: rgba(29,185,84,.10); border: 1px solid rgba(29,185,84,.35); font-size: 4rem; }

.changelog { display: grid; gap: 1.25rem; }
.changelog-entry { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.changelog-entry__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 1rem; }
.changelog-entry__head h2 { margin: 0; font-size: 1.35rem; }
.changelog-entry time { color: var(--accent-2); font-size: .88rem; font-weight: 800; }
.changelog-entry li { color: #cdd5df; margin: .35rem 0; }

@media (max-width: 1100px) {
    .main-nav a { font-size: .84rem; padding-inline: .52rem; }
}
@media (max-width: 980px) {
    .book-grid { grid-template-columns: 1fr; }
    .youtube-panel { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .book-card { grid-template-columns: 1fr; }
    .book-card > :first-child { max-width: 260px; margin-inline: auto; }
    .cookie-dialog__actions--stack-mobile { flex-direction: column; }
    .cookie-dialog__actions--stack-mobile .button { width: 100%; }
    .changelog-entry__head { align-items: flex-start; flex-direction: column; }
}


/* Ajustes de navegación y formularios — versión 1.1.3 */
@media (min-width: 701px) {
    .form-grid > .form-field:not(.form-field--full) .field-error {
        min-height: 2.45em;
        line-height: 1.2;
    }
}


/* Ajustes — versión 1.1.6 */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 78px;
    z-index: 210;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    background: rgba(18,25,36,.94);
    color: var(--text);
    box-shadow: 0 10px 30px rgba(0,0,0,.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease, color .2s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover,
.back-to-top:focus-visible { background: var(--accent); color: #111; outline: none; }
.back-to-top svg { width: 24px; height: 24px; fill: currentColor; }

.youtube-panel {
    background: radial-gradient(circle at 85% 20%, rgba(255,0,0,.13), transparent 18rem), var(--panel);
}
.youtube-mark {
    background: rgba(255,0,0,.09);
    border-color: rgba(255,70,70,.32);
}

@media (max-width: 700px) {
    .back-to-top { right: .8rem; bottom: 80px; width: 44px; height: 44px; }
}


/* Ajustes — versión 1.1.7 */
.button-steam,
.steam-cta {
    background: linear-gradient(135deg, #1b84ff, #66c0f4);
    color: #07111d;
    box-shadow: 0 10px 30px rgba(27,132,255,.18);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
}
.requirements-card {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.022);
}
.requirements-card--recommended {
    border-color: rgba(255,122,26,.28);
    background: linear-gradient(180deg, rgba(255,122,26,.06), rgba(255,255,255,.018));
}
.requirements-badge {
    display: inline-flex;
    margin-bottom: .8rem;
    padding: .3rem .6rem;
    border-radius: 999px;
    background: rgba(255,122,26,.10);
    border: 1px solid rgba(255,122,26,.22);
    color: var(--accent-2);
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.requirements-list { margin: 0; }
.requirements-list > div {
    display: grid;
    grid-template-columns: minmax(130px,.8fr) 1.2fr;
    gap: .75rem;
    padding: .72rem 0;
    border-bottom: 1px solid var(--line);
}
.requirements-list > div:last-child { border-bottom: 0; }
.requirements-list dt { color: var(--muted); font-size: .86rem; font-weight: 700; }
.requirements-list dd { margin: 0; color: var(--text); }
.requirements-note { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; }

.steam-wishlist-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    border: 1px solid rgba(102,192,244,.22);
    border-radius: 22px;
    background: radial-gradient(circle at 85% 20%, rgba(102,192,244,.12), transparent 20rem), var(--panel);
}
.steam-wishlist-panel h2 { margin-bottom: .7rem; }
.steam-wishlist-panel .lead { margin-bottom: 0; }

.changelog-version {
    display: inline-flex;
    margin-bottom: .35rem;
    color: var(--accent-2);
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.changelog-entry__actions { margin-top: 1.15rem; }

.form-success-dialog {
    width: min(520px, calc(100% - 2rem));
    padding: 0;
    border: 1px solid rgba(101,214,163,.30);
    border-radius: 20px;
    background: var(--panel);
    color: var(--text);
    box-shadow: var(--shadow);
}
.form-success-dialog::backdrop {
    background: rgba(0,0,0,.76);
    backdrop-filter: blur(5px);
}
.form-success-dialog__panel { padding: 1.6rem; text-align: center; }
.form-success-dialog__panel h2 { margin: .7rem 0 .65rem; font-size: 1.55rem; }
.form-success-dialog__panel p { margin: 0; color: var(--muted); }
.form-success-icon {
    width: 46px;
    height: 46px;
    margin-inline: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(101,214,163,.12);
    border: 1px solid rgba(101,214,163,.35);
    color: var(--success);
    font-size: 1.35rem;
    font-weight: 900;
}
.form-success-dialog__actions { justify-content: center; margin-top: 1.25rem; }

.steam-bar:hover,
.steam-bar:focus-visible { filter: brightness(1.05); outline: none; }

@media (max-width: 780px) {
    .requirements-grid { grid-template-columns: 1fr; }
    .steam-wishlist-panel { grid-template-columns: 1fr; }
    .steam-wishlist-panel .button { width: 100%; }
}

@media (max-width: 430px) {
    .book-actions { gap: .4rem; }
    .book-actions .button { padding-inline: .35rem; font-size: .74rem; }
    .requirements-list > div { grid-template-columns: 1fr; gap: .15rem; }
}
