@font-face {
    font-family: 'TrajanSansPro-Regular';
    src: url("TrajanSansPro-Regular.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'TrajanSansPro-Semibold';
    src: url("TrajanSansPro-Semibold.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat-Regular';
    src: url("Montserrat-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url("Montserrat-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

/* =========================================================
   Lineage II Ragnarok — paleta y variables
   (mismo esquema de variables del template original,
   recoloreado: grafito/acero + acento carmesí-magenta)
   ========================================================= */
:root {
    --color-primary: #d9a552;      /* dorado/bronce clásico MMORPG */
    --color-secondary: #8a5a1f;    /* bronce profundo */
    --color-background: #0d0e11;
    --color-dark: #08080a;
    --color-light: #ffffff;
    --color-accent: #f0c375;
    --accent-bg-color: rgba(138, 90, 31, 0.85);
    --color-gray: #8b93a1;
    --bg-dark: #08080a;
    --bg-panel: #131417;

    --font-accent-regular: TrajanSansPro-Regular;
    --font-accent-bold: TrajanSansPro-Semibold;
    --font-regular: Montserrat-Regular;
    --font-bold: Montserrat-SemiBold;

    --container-padding: 30px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
* { outline: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

html, body { margin: 0; height: 100%; scroll-behavior: smooth; background: var(--bg-dark); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrapper { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
body {
    font-family: var(--font-regular), sans-serif;
    background: var(--bg-dark);
}

ul, li { list-style-type: none; margin: 0; padding: 0; }
p { margin: 0; color: #9aa0aa; }
h1, h2, h3 { font-family: var(--font-accent-regular), serif; color: #fff; }
a { color: #fff; text-decoration: none; }
::selection { background: var(--color-primary); color: #fff; }

.wrap {
    width: 1320px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* ===== HEADER / NAV ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 10px 0;
    transition: background .4s ease, backdrop-filter .4s ease, border-color .4s ease, padding .4s ease;
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    background: rgba(8,8,10,.86);
    border-color: rgba(196,201,210,.10);
    padding: 6px 0;
}
@media only screen and (min-width: 961px) {
    .header.scrolled {
        background: rgba(8,8,10,.74);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}
.header .wrap { position: relative; }
.top_line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
}
.gw-burger { display: none; }

.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo .brand-icon { height: 42px; width: auto; filter: drop-shadow(0 0 10px rgba(217,165,82,.4)); }
.brand-logo .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-logo .brand-text .l1 { font-family: var(--font-bold), sans-serif; font-size: 10px; letter-spacing: .3em; color: var(--color-gray); }
.brand-logo .brand-text .l2 { font-family: var(--font-accent-bold), serif; font-size: 16px; color: #fff; letter-spacing: .04em; }

.top_menu { display: flex; gap: 34px; align-items: center; }
.top_menu .mobile-only { display: none; }
.nav-link {
    font-family: var(--font-bold), sans-serif;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c4c9d2;
    transition: color .3s ease;
}
.nav-link svg { opacity: .6; transition: opacity .3s ease; }
.nav-link:hover { color: #fff; }
.nav-link:hover svg { opacity: 1; color: var(--color-primary); }
.nav-item.active .nav-link { color: var(--color-primary); }

.top_right { display: flex; align-items: center; gap: 22px; }

/* ===== BUTTONS ===== */
.btn-main {
    position: relative;
    width: fit-content;
    overflow: hidden;
    cursor: pointer;
    padding: 17px 40px;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    background: linear-gradient(135deg, var(--color-primary), #5c3c14);
    box-shadow: 0 0 0 0 rgba(217,165,82,0);
    transition: box-shadow .35s ease, transform .35s ease;
}
.btn-main:hover { box-shadow: 0 10px 30px -8px rgba(217,165,82,.65); transform: translateY(-2px); }
.btn-main .text {
    font-family: var(--font-bold), sans-serif;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-ghost {
    position: relative;
    width: fit-content;
    padding: 15px 38px;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    border: 1px solid rgba(196,201,210,.22);
    background: transparent;
    font-family: var(--font-bold), sans-serif;
    font-size: 14px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #eef0f3;
    transition: border-color .35s ease, color .35s ease, transform .35s ease;
    cursor: pointer;
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }

.btn-red {
    width: max-content;
    font-family: var(--font-bold), sans-serif;
    font-size: 12.5px;
    letter-spacing: .05em;
    text-transform: uppercase;
    height: 38px;
    background: linear-gradient(135deg, var(--color-primary), #5c3c14);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    display: flex;
    align-items: center;
    padding: 0 22px;
    transition: box-shadow .3s ease;
}
.btn-red:hover { box-shadow: 0 8px 22px -6px rgba(217,165,82,.6); }

.btn-wrapper { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 36px; text-align: center; }

/* ===== mobile burger ===== */
.navigation__burger {
    display: none;
    width: 44px; height: 44px;
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 5px;
    background: var(--bg-panel);
    border: 1px solid rgba(196,201,210,.22);
    cursor: pointer;
    position: relative;
    z-index: 10001; /* siempre por encima del drawer mobile (9999) para poder cerrarlo */
    flex: none;
    transition: border-color .3s ease, background .3s ease;
}
.navigation__burger:hover { border-color: var(--color-primary); }
.gw-burger__line {
    width: 20px; height: 2px;
    background-color: #eef0f3;
    border-radius: 2px;
    transition: all .3s ease;
}
.gw-burger_active { background: var(--bg-dark); border-color: var(--color-primary); }
.gw-burger_active .gw-burger__line { background-color: var(--color-primary); }
.gw-burger_active .gw-burger__line_pos_top { transform: translateY(7px) rotate(45deg); }
.gw-burger_active .gw-burger__line_pos_middle { opacity: 0; }
.gw-burger_active .gw-burger__line_pos_bottom { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(3,3,4,.95);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
.mobile-menu-backdrop.active { opacity: 1; pointer-events: auto; }

/* ===== HERO ===== */
#main {
    min-height: 100svh;
    padding-top: 120px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 0; /* fija el stacking context para que .main-bg (z-index:-2) nunca quede tapada */
}
.main-bg {
    position: absolute; inset: 0; z-index: -2;
    background-image: url("hero-bg.jpg");
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
}
.main-bg::after {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 45% at 50% 0%, rgba(217,165,82,.20), transparent 60%),
        radial-gradient(ellipse 70% 60% at 5% 100%, rgba(6,6,8,.9), transparent 60%),
        linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(10,10,13,.72) 45%, #0a0a0c 100%);
}
.logo { text-align: center; }
.logo img { height: 400px; width: auto; filter: drop-shadow(0 0 30px rgba(217,165,82,.35)); }
.main-text { margin-top: 0px; text-align: center; line-height: 1.5; }
.main-text .eyebrow {
    font-family: var(--font-bold), sans-serif;
    font-size: 12px; letter-spacing: .5em; text-transform: uppercase; color: var(--color-gray);
    margin-bottom: 10px;
}
h1 {
    font-family: var(--font-accent-bold), serif;
    color: #fff;
    font-size: clamp(34px, 6vw, 66px);
    line-height: 1.08;
    text-shadow: 0 0 60px rgba(217,165,82,.25);
}
h1 .accent {
    background: linear-gradient(135deg, #eef0f3, var(--color-primary) 120%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.main-text p.lead {
    font-family: var(--font-regular), sans-serif;
    font-size: 16px;
    color: #9aa0aa;
    max-width: 56ch;
    margin: 20px auto 0;
    line-height: 1.7;
}
.hero-stats {
    margin: 42px auto 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid rgba(196,201,210,.14);
    max-width: 560px;
}
.hero-stats .stat-k { font-family: var(--font-bold), sans-serif; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #565b64; }
.hero-stats .stat-v { font-family: var(--font-accent-bold), serif; font-size: 20px; color: var(--color-primary); margin-top: 6px; }
.hero-beta { margin-top: 16px; text-align: center; font-family: var(--font-bold), sans-serif; letter-spacing: .24em; font-size: 11px; color: #565b64; text-transform: uppercase; }

/* ===== SERVER STATUS BAR ===== */
.status-bar {
    position: relative; z-index: 5;
    border-top: 1px solid rgba(196,201,210,.10);
    border-bottom: 1px solid rgba(196,201,210,.10);
    background: var(--bg-dark);
}
.status-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.status-item { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #33d17a; position: relative; }
.status-dot::after {
    content: ""; position: absolute; inset: -5px; border-radius: 50%;
    border: 1px solid #33d17a; opacity: .5; animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { 0%{ transform: scale(.6); opacity:.6; } 100%{ transform: scale(2.2); opacity:0; } }
.status-label { font-family: var(--font-bold), sans-serif; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; color: #8b93a1; }
.status-value { font-family: var(--font-bold), sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.status-meta { font-family: var(--font-bold), sans-serif; font-size: 12.5px; color: #565b64; letter-spacing: .04em; }

/* ===== GENERIC SECTION ===== */
section, .about_block { position: relative; padding: 90px 0; }

/* ===== fondo de la sección Características ===== */
/* Para cambiar la imagen: reemplazá el archivo images/caracteristicas-bg.jpg */
#caracteristicas { z-index: 0; overflow: hidden; }
.caracteristicas-bg {
    position: absolute; inset: 0; z-index: -2;
    background-image: url("caracteristicas-bg.jpg");
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    opacity: .3;
}
.caracteristicas-bg::after {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 85% 20%, rgba(217,165,82,.14), transparent 60%),
        linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(8,8,10,.88) 55%, #08080a 100%);
}

.eyebrow {
    font-family: var(--font-bold), sans-serif;
    font-weight: 700; letter-spacing: .28em; text-transform: uppercase; font-size: 12px;
    color: var(--color-primary);
    display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--color-primary)); }
.block_title {
    font-family: var(--font-accent-bold), serif;
    color: #fff;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.2;
}
.section-sub { color: #8b93a1; font-size: 15.5px; line-height: 1.7; max-width: 56ch; margin-top: 14px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== HIGHLIGHTS + CTA A INFO COMPLETA (home) ===== */
.highlight-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: rgba(196,201,210,.12); border: 1px solid rgba(196,201,210,.12);
    margin-top: 44px;
}
.highlight-item { background: var(--bg-panel); padding: 26px 20px; text-align: center; }
.highlight-item .k { font-family: var(--font-bold), sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8b93a1; }
.highlight-item .v { font-family: var(--font-accent-bold), serif; font-size: 26px; color: var(--color-primary); margin-top: 8px; }
.info-cta {
    margin-top: 1px;
    background: var(--bg-panel);
    border: 1px solid rgba(196,201,210,.12); border-top: none;
    padding: 30px 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.info-cta h3 { font-family: var(--font-bold), sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .02em; color: #fff; }
.info-cta p { margin-top: 6px; font-size: 13.5px; color: #8b93a1; max-width: 52ch; }
.info-cta .btn-ghost { flex: none; }

/* ===== INFO PAGE (informacion.html) ===== */
.info-page { position: relative; z-index: 0; overflow: hidden; padding-top: 150px; padding-bottom: 100px; }
.info-banner-bg {
    position: absolute; top: 0; left: 0; right: 0; height: 480px; z-index: -2;
    background-image: url("informacion-bg.jpg");
    background-size: cover;
    background-position: center 38%;
    background-repeat: no-repeat;
}
.info-banner-bg::after {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 15% 20%, rgba(217,165,82,.14), transparent 60%),
        linear-gradient(180deg, rgba(8,8,10,.5) 0%, rgba(8,8,10,.85) 70%, #08080a 100%);
}
.info-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-bold), sans-serif; font-size: 13px; letter-spacing: .04em;
    color: #8b93a1; margin-bottom: 28px; transition: color .3s ease;
}
.info-back:hover { color: var(--color-primary); }

.info-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; margin-top: 52px; align-items: start; }
.info-sidebar {
    position: sticky; top: 110px;
    display: flex; flex-direction: column; gap: 2px;
    border-left: 1px solid rgba(196,201,210,.14);
}
.info-sidebar a {
    font-family: var(--font-bold), sans-serif; font-weight: 700; letter-spacing: .04em;
    font-size: 13px; color: #8b93a1; padding: 10px 18px;
    border-left: 2px solid transparent; margin-left: -1px;
    transition: color .3s ease, border-color .3s ease;
}
.info-sidebar a:hover { color: #fff; }
.info-sidebar a.active { color: var(--color-primary); border-color: var(--color-primary); }

.info-content { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.info-block { scroll-margin-top: 110px; }
.info-block h2 {
    font-family: var(--font-accent-bold), serif; font-size: 24px; color: #fff;
    margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(196,201,210,.14);
}
.info-block .specs-table { border: 1px solid rgba(196,201,210,.14); }
.info-block .specs-table td { padding: 16px 22px; font-size: 15px; }

@media only screen and (max-width: 860px) {
    .info-layout { grid-template-columns: 1fr; gap: 32px; }
    .info-sidebar {
        position: sticky; top: 0; z-index: 10;
        flex-direction: row; overflow-x: auto; border-left: none; border-bottom: 1px solid rgba(196,201,210,.14);
        background: var(--bg-dark); padding: 10px 0; margin-top: -10px;
    }
    .info-sidebar a { border-left: none; border-bottom: 2px solid transparent; white-space: nowrap; margin-left: 0; }
    .info-sidebar a.active { border-color: var(--color-primary); }
}

/* ===== SPECS TABLE (usada en informacion.html) ===== */
.specs-wrap { margin-top: 48px; border: 1px solid rgba(196,201,210,.14); }
.specs-table { width: 100%; border-collapse: collapse; background: var(--bg-panel); }
.specs-group td {
    font-family: var(--font-bold), sans-serif;
    font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px;
    color: var(--color-primary);
    background: var(--bg-panel);
    padding: 14px 22px;
    border-top: 1px solid rgba(196,201,210,.14);
}
.specs-group:first-child td { border-top: none; }
.specs-table tr:not(.specs-group) td {
    padding: 15px 22px;
    font-size: 14.5px;
    color: #c4c9d2;
    border-top: 1px solid rgba(196,201,210,.08);
    vertical-align: top;
}
.specs-table tr:not(.specs-group):hover td { background: rgba(217,165,82,.04); }
.specs-table td:first-child {
    font-family: var(--font-bold), sans-serif;
    font-weight: 700; letter-spacing: .02em;
    color: #8b93a1;
    width: 34%;
    white-space: nowrap;
}
.specs-table td:last-child { color: #eef0f3; }
.specs-table .val-accent { color: var(--color-primary); font-family: var(--font-bold), sans-serif; font-weight: 700; }
@media only screen and (max-width: 675px) {
    .specs-table td:first-child { width: 40%; white-space: normal; }
    .specs-table tr:not(.specs-group) td, .specs-group td { padding: 12px 16px; }
}

/* ===== DIARY / GAME EXPERIENCE ===== */
#diary { position: relative; }
.diary_gradient {
    padding: 110px 0;
    background:
        radial-gradient(ellipse 55% 70% at 12% 50%, rgba(217,165,82,.10), transparent 60%),
        radial-gradient(ellipse 40% 50% at 100% 0%, rgba(217,165,82,.06), transparent 60%),
        var(--bg-panel);
    border-top: 1px solid rgba(196,201,210,.10);
    border-bottom: 1px solid rgba(196,201,210,.10);
}
.about_block { padding: 0; max-width: 620px; }
.rate-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: rgba(196,201,210,.14); border: 1px solid rgba(196,201,210,.14);
    margin-top: 36px; max-width: 520px;
}
.rate-stat { background: rgba(13,14,17,.8); padding: 18px 14px; text-align: center; }
.rate-stat .v { font-family: var(--font-accent-bold), serif; font-size: 22px; color: var(--color-primary); }
.rate-stat .k { font-family: var(--font-bold), sans-serif; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #8b93a1; margin-top: 4px; }

/* ===== ACCOUNT CTA ===== */
.account-cta {
    position: relative; overflow: hidden;
    background: #0d0a0e;
    border: 1px solid rgba(196,201,210,.18);
    padding: 70px 32px; text-align: center;
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.account-cta-bg {
    position: absolute; inset: 0; z-index: -2;
    background-image: url("cuenta-bg.jpg");
    background-size: cover;
    background-position: center 40%;
    opacity: .28;
}
.account-cta::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(500px 260px at 50% 0%, rgba(217,165,82,.18), transparent 70%),
        linear-gradient(180deg, rgba(13,10,14,.55) 0%, rgba(13,10,14,.85) 100%);
}
.account-cta > * { position: relative; z-index: 1; }
.account-cta h2 { font-family: var(--font-accent-bold), serif; font-size: clamp(26px, 4vw, 40px); max-width: 16ch; margin: 0 auto; }
.account-cta p { margin: 16px auto 0; max-width: 52ch; color: #8b93a1; font-size: 15px; }

/* ===== SUPPORT ===== */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(196,201,210,.10); border: 1px solid rgba(196,201,210,.10); margin-top: 44px; }
.support-card { background: var(--bg-panel); padding: 32px 26px; }
.support-card .icon-box { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(196,201,210,.2); color: var(--color-primary); margin-bottom: 20px; }
.support-card h3 { font-family: var(--font-bold), sans-serif; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; color: #fff; }
.support-card p { margin-top: 8px; font-size: 14px; color: #8b93a1; line-height: 1.65; }
.support-card .link { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-bold), sans-serif; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; color: var(--color-primary); }

/* ===== FOOTER ===== */
.footer { background: #0a0a0c; padding: 60px 0 30px; border-top: 1px solid rgba(196,201,210,.10); }
.footer_all { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.copyright img { height: 55px; margin-bottom: 14px; }
.copyright p { font-size: 13px; color: #565b64; max-width: 32ch; line-height: 1.7; }
.copyright a { color: var(--color-primary); }
.menu-footer h3 { font-family: var(--font-bold), sans-serif; margin-bottom: 15px; color: #8b93a1; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.menu-footer { display: flex; flex-direction: column; gap: 12px; }
.menu-footer a { font-family: var(--font-regular), sans-serif; font-size: 14px; color: #c4c9d2; transition: color .3s ease; }
.menu-footer a:hover { color: var(--color-primary); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(196,201,210,.10); display: flex; flex-direction: column; gap: 14px; }
.footer-bottom .legal { font-size: 11.5px; color: #565b64; line-height: 1.6; max-width: 62ch; }
.footer-bottom .rights { font-size: 12.5px; color: #565b64; }

/* ===== POPUP / DOWNLOAD MODAL (reutiliza el sistema popup del template) ===== */
.popup-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 200;
    background: rgba(4,4,6,.82);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
    padding: 24px;
}
.popup-content {
    background: var(--bg-panel);
    border: 1px solid rgba(196,201,210,.2);
    width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
    padding: 40px;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.popup-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.popup-head h3 { font-family: var(--font-accent-bold), serif; font-size: 24px; }
.popup-head .sub { margin-top: 8px; font-size: 14px; color: #8b93a1; }
.popup-close {
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(196,201,210,.2); color: #c4c9d2; cursor: pointer;
    transition: all .3s ease; flex: none;
}
.popup-close:hover { border-color: var(--color-primary); color: var(--color-primary); transform: rotate(90deg); }
.dl-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(196,201,210,.1); }
.dl-item h5 { font-family: var(--font-bold), sans-serif; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13.5px; color: #fff; }
.dl-item p { margin-top: 4px; font-size: 12.5px; color: #565b64; }
.req-box { margin-top: 22px; border-top: 1px solid rgba(196,201,210,.1); padding-top: 20px; }
.req-box h5 { font-family: var(--font-bold), sans-serif; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #8b93a1; margin-bottom: 12px; }
.req-box ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.req-box li { font-size: 12.5px; color: #8b93a1; display: flex; align-items: center; gap: 8px; }
.req-box li::before { content: ''; width: 4px; height: 4px; background: var(--color-primary); flex: none; }
.popup-note { margin-top: 20px; font-size: 12px; color: #565b64; font-style: italic; line-height: 1.6; }

/* ===== NEWS ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.news-card { background: var(--bg-panel); border: 1px solid rgba(196,201,210,.1); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: all .35s ease; }
.news-card:hover { border-color: rgba(196,201,210,.22); transform: translateY(-4px); }
.news-meta { display: flex; gap: 12px; font-family: var(--font-bold), sans-serif; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.news-meta .cat { color: var(--color-primary); font-weight: 700; }
.news-meta .date { color: #565b64; }
.news-card h3 { font-family: var(--font-regular), sans-serif; font-weight: 700; font-size: 17px; line-height: 1.4; color: #fff; }
.news-card p { font-size: 13.5px; color: #8b93a1; line-height: 1.65; }

/* ===== RESPONSIVE ===== */
@media only screen and (max-width: 1024px) {
    .wrap { width: 100%; padding-left: 24px; padding-right: 24px; }
    .support-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .footer_all { flex-wrap: wrap; gap: 30px; }
}

@media only screen and (max-width: 960px) {
    .mobile-menu-backdrop { display: block; }
    .top_menu {
        position: fixed; top: 0; right: 0; width: 300px; height: 100%;
        background: #0a0a0c; border-left: 1px solid rgba(196,201,210,.12);
        transform: translateX(100%); transition: transform .4s ease;
        z-index: 9999; display: flex; flex-direction: column; align-items: flex-start;
        padding: 100px 28px 40px; gap: 4px;
    }
    .top_menu.active { transform: translateX(0); }
    .top_menu .nav-item { width: 100%; border-bottom: 1px solid rgba(196,201,210,.08); }
    .top_menu .nav-link { padding: 16px 0; font-size: 15px; }
    .navigation__burger { display: flex; }
    .top_right { display: none; }
    .top_menu .mobile-only { display: block; margin-top: 18px; width: 100%; }
    .top_menu .mobile-only .btn-red { width: 100%; justify-content: center; }
    .footer_all { flex-wrap: wrap; gap: 30px; }
}

@media only screen and (max-width: 675px) {
    .logo img { height: 110px; }
    .support-grid { grid-template-columns: 1fr; }
    .rate-stats { grid-template-columns: repeat(2, 1fr); }
    .highlight-grid { grid-template-columns: repeat(2, 1fr); }
    .info-cta { flex-direction: column; align-items: flex-start; }
    .hero-stats { gap: 26px; }
    section, .about_block { padding: 64px 0; }
    #main { padding-top: 100px; }
    .copyright { text-align: left; }
    .footer_all { flex-direction: column; }
}

@media only screen and (max-width: 480px) {
    .block_title { font-size: 24px; }
    h1 { font-size: 32px; }
    .main-text p.lead { font-size: 14.5px; }
    .top_menu { width: 100%; border-left: none; }
}

.info-prose { border: 1px solid rgba(196,201,210,.14); background: var(--bg-panel); padding: 32px 34px; }
.info-prose > p.lead { font-size: 15px; line-height: 1.75; color: #c4c9d2; margin-bottom: 6px; }
.info-prose h3 {
    font-family: var(--font-bold), sans-serif; font-weight: 700; letter-spacing: .04em;
    font-size: 14.5px; text-transform: uppercase; color: var(--color-primary);
    margin-top: 30px; margin-bottom: 12px; padding-top: 22px; border-top: 1px solid rgba(196,201,210,.10);
}
.info-prose h3:first-of-type { margin-top: 24px; padding-top: 0; border-top: none; }
.info-prose ul { list-style: none; margin: 0; padding: 0; }
.info-prose ul ul { margin-top: 8px; margin-left: 22px; }
.info-prose li {
    position: relative; padding-left: 18px; margin-bottom: 9px;
    font-size: 14px; line-height: 1.6; color: #b6bcc6;
}
.info-prose li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 5px; height: 5px; background: var(--color-primary); opacity: .8;
}
.info-prose li strong, .info-prose li b { color: #eef0f3; font-weight: 700; }
