:root {
    --bg: #0a0a0e;
    --bg-soft: #111217;
    --panel: #15161d;
    --panel-2: #1e2029;
    --text: #f5f1e8;
    --muted: #b8b0a2;
    --accent: #e08821;
    --accent-2: #c82e2e;
    --green: #39a228;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: rgba(0, 0, 0, 0.45);
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", Arial, sans-serif;
    --nav-height: 112px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: var(--sans);
    line-height: 1.65;
    background-image:
        radial-gradient(circle at 50% 0, rgba(224, 136, 33, 0.07), transparent 34%),
        linear-gradient(#0a0a0e, #050507);
}

body.menu-open {
    overflow: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: #ffb15a;
}

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

.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;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.container.narrow {
    width: min(850px, calc(100% - 40px));
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: #0a0a0e;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.page-loader img {
    animation: pulse 1.4s ease-in-out infinite;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes pulse {
    0%, 100% { opacity: 0.45; transform: scale(0.97); }
    50% { opacity: 1; transform: scale(1); }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: var(--nav-height);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0));
    transition: background 220ms ease, min-height 220ms ease, box-shadow 220ms ease;
}

.site-header--solid {
    min-height: 82px;
    background: rgba(7, 7, 9, 0.94);
    box-shadow: 0 12px 44px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
}

.top-strip {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    text-transform: uppercase;
}

.site-header--solid .top-strip {
    display: none;
}

.top-strip nav,
.top-strip__social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-strip a {
    color: inherit;
}

.top-strip a:hover {
    color: var(--accent);
}

.top-strip__social a {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 11px;
}

.main-nav-row {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    position: relative;
    color: #fff;
    overflow: hidden;
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.desktop-nav a::after {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    bottom: auto;
    height: 1px;
    background: currentColor;
    content: "";
    opacity: 0.55;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--accent);
}

.icon-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    background: rgba(10, 10, 14, 0.55);
    cursor: pointer;
}

.icon-button span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
}

.side-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
}

.side-nav[aria-hidden="false"] {
    visibility: visible;
    pointer-events: auto;
}

.side-nav__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    opacity: 0;
    transition: opacity 180ms ease;
}

.side-nav[aria-hidden="false"] .side-nav__backdrop {
    opacity: 1;
}

.side-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(390px, 90vw);
    min-height: 100%;
    padding: 46px 42px;
    background:
        linear-gradient(180deg, rgba(10, 10, 14, 0.38), rgba(10, 10, 14, 0.92)),
        url("../images/menuderecha.jpg") center / cover;
    box-shadow: -22px 0 50px var(--shadow);
    transform: translateX(100%);
    transition: transform 220ms ease;
}

.side-nav[aria-hidden="false"] .side-nav__panel {
    transform: translateX(0);
}

.side-nav__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.side-nav__mark {
    display: block;
    margin: 26px auto 42px;
}

.side-nav nav {
    display: grid;
    gap: 14px;
}

.side-nav nav a {
    color: #fff;
    font-family: var(--serif);
    font-size: 24px;
}

.side-nav nav a.active,
.side-nav nav a:hover {
    color: var(--accent);
}

.side-nav p {
    margin-top: 46px;
    color: #ddd4c7;
    font-size: 14px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #050506;
    isolation: isolate;
}

.hero-home {
	padding: 3rem;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35), #0a0a0e 96%),
        url("../images/portada2.png") center / cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(224, 136, 33, 0.11), transparent 34%),
        rgba(0, 0, 0, 0.22);
    z-index: -1;
}

.hero::after,
.page-hero::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 95px;
    background: linear-gradient(180deg, transparent, #0a0a0e);
    content: "";
    pointer-events: none;
}

.hero__content {
    position: relative;
    width: min(940px, calc(100% - 40px));
    padding-top: 11rem;
    text-align: center;
}

.hero__logo {
    width: 148px;
    margin-bottom: 34px;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7));
}

.hero h1,
.page-hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(48px, 8vw, 112px);
    font-weight: 400;
    line-height: 0.95;
}

.hero h1 em {
    color: var(--accent);
    font-style: italic;
}

.hero p {
    margin: 30px auto 0;
    max-width: 680px;
    color: #f1eee8;
    font-size: clamp(19px, 2.5vw, 28px);
}

.hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 46px;
}

.hero__separator {
    width: min(500px, 70vw);
    height: 24px;
    margin: 58px auto 0;
    background:
        linear-gradient(90deg, transparent, rgba(224, 136, 33, 0.6), transparent) center / 100% 1px no-repeat,
        radial-gradient(circle, rgba(224, 136, 33, 0.9) 0 3px, transparent 4px) center / 24px 24px no-repeat;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border: 1px solid var(--accent);
    color: #fff;
    background: rgba(14, 14, 14, 0.9);
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    border-radius: 2px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button::before {
    position: absolute;
    inset: 4px;
    border: 1px solid currentColor;
    content: "";
    pointer-events: none;
}

.button-primary {
    background: var(--accent);
    color: #130b03;
}

.button-ghost:hover,
.button-primary:hover {
    border-color: #ffb15a;
    background: #ffb15a;
    color: #130b03;
    transform: translateY(-2px);
    box-shadow: 0 9px 24px rgba(224, 136, 33, 0.22);
}

.section {
    padding: 110px 0;
}

.intro-section {
    background: #0a0a0e;
    text-align: center;
    position: relative;
}

.intro-section::before,
.newsletter-section::before,
.testimonials::before {
    display: block;
    width: min(900px, 80vw);
    height: 1px;
    margin: -32px auto 90px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    content: "";
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
}

h2 {
    margin: 0 0 28px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1;
}

h3 {
    margin: 0 0 14px;
    font-size: 30px;
}

p {
    margin-top: 0;
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #09090c;
    background-image: url("../images/border-top.png"), url("../images/border-bottom.png");
    background-repeat: repeat-x, repeat-x;
    background-position: top center, bottom center;
}

.stat {
    min-height: 190px;
    display: grid;
    place-items: center;
    padding: 32px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat span {
    display: block;
    color: var(--accent);
    font-family: var(--serif);
    font-size: clamp(54px, 8vw, 88px);
    line-height: 1;
}

.stat strong {
    display: block;
    margin-top: 12px;
    font-size: 18px;
    text-transform: uppercase;
}

.feature-grid-section,
.newsletter-section,
.content-page {
    background:
        linear-gradient(rgba(10, 10, 14, 0.94), rgba(10, 10, 14, 0.94)),
        url("../images/menuderecha.jpg") center / cover fixed;
}

.feature-grid,
.manual-grid,
.class-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.feature-grid article,
.manual-grid article,
.class-grid article,
.news-card {
    min-height: 250px;
    padding: 36px;
    border: 1px solid var(--line);
    background: rgba(12, 12, 16, 0.82);
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-grid article::after,
.manual-grid article::after,
.class-grid article::after,
.news-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(224, 136, 33, 0.12), transparent 38%);
    opacity: 0;
    content: "";
    pointer-events: none;
    transition: opacity 180ms ease;
}

.feature-grid article:hover,
.manual-grid article:hover,
.class-grid article:hover,
.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(224, 136, 33, 0.55);
    background: rgba(15, 15, 20, 0.92);
}

.feature-grid article:hover::after,
.manual-grid article:hover::after,
.class-grid article:hover::after,
.news-card:hover::after {
    opacity: 1;
}

.feature-icon {
    display: inline-grid;
    min-width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-weight: 900;
}

.video-section {
    //background: var(--bg);
	    padding: 66px 0;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px var(--shadow);
    background: #000;
}

.video-frame::before {
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(224, 136, 33, 0.32);
    content: "";
    pointer-events: none;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.newsletter-section {
    text-align: center;
}

.newsletter-form {
    display: flex;
    margin: 30px auto 14px;
    max-width: 620px;
}

input,
textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    font: inherit;
}

textarea {
    resize: vertical;
}

.newsletter-form input {
    border-right: 0;
}

.newsletter-form .button {
    flex: 0 0 auto;
}

.testimonials {
    background: #0a0a0e;
}

.testimonials .container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.testimonials article {
    padding: 34px;
    text-align: center;
}

.testimonials img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

blockquote {
    margin: 22px 0 16px;
    color: #eee9df;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.45;
}

cite {
    color: var(--muted);
    font-style: normal;
}

.page-hero {
    position: relative;
    min-height: 460px;
    display: grid;
    align-items: end;
    padding: 130px 0 70px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.25), #0a0a0e 94%),
        url("../images/banner-bg-2.jpg") center / cover;
}

.page-hero p {
    max-width: 620px;
    margin: 24px 0 0;
    color: #d9d0c0;
    font-size: 21px;
}

.content-page h2 {
    margin-top: 0;
}

.content-page h3 {
    margin-top: 46px;
    color: #fff;
}

.rules-list,
.warning-list {
    padding-left: 24px;
}

.rules-list li,
.warning-list li {
    margin-bottom: 16px;
}

.rules-list strong,
.warning-list strong {
    color: var(--accent);
}

.news-card + .news-card {
    margin-top: 26px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

.site-footer {
    position: relative;
    padding: 70px 20px 80px;
    text-align: center;
    background: #070709;
    border-top: 1px solid var(--line);
    margin-top: 90px;
}

.footer-corner {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    max-height: 210px;
    object-fit: cover;
    pointer-events: none;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 22px;
}

.site-footer p {
    max-width: 760px;
    margin: 0 auto 12px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.side-buttons {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    display: grid;
    gap: 10px;
    transform: translateX(86px) translateY(58%);
    transition: transform 180ms ease;
}

.side-buttons:hover {
    transform: translateX(0) translateY(0);
}

.problem-button,
.scroll-top {
    min-height: 44px;
    border: 1px solid var(--accent);
    color: #fff;
    background: rgba(10, 10, 14, 0.86);
    font-weight: 800;
    cursor: pointer;
}

.problem-button {
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
}

.scroll-top {
    width: 44px;
    justify-self: end;
}

.cookie-alert {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 120;
    width: min(420px, calc(100% - 40px));
    display: none;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(12, 12, 16, 0.94);
    box-shadow: 0 18px 60px var(--shadow);
}

.cookie-alert.visible {
    display: flex;
}

.cookie-alert p {
    margin: 0;
    color: #ddd4c7;
    font-size: 14px;
}

.cookie-alert button {
    min-height: 40px;
    padding: 0 15px;
    border: 0;
    background: var(--accent);
    color: #130b03;
    font-weight: 800;
    cursor: pointer;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .site-header {
        min-height: 78px;
    }

    .top-strip {
        display: none;
    }

    .main-nav-row {
        padding: 0 20px;
    }

    .desktop-nav {
        display: none;
    }

    .icon-button {
        display: block;
    }

    .feature-grid,
    .manual-grid,
    .class-grid,
    .testimonials .container {
        grid-template-columns: 1fr;
    }

    .stats-band {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stat:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 620px) {
    .site-header {
        min-height: 72px;
    }

    .container,
    .container.narrow {
        width: min(100% - 28px, 1120px);
    }

    .brand img {
        width: 78px;
    }

    .hero {
        min-height: auto;
        padding: 104px 0 56px;
        place-items: start center;
    }

    .hero__content {
        width: min(100% - 28px, 940px);
        padding-top: 0;
    }

    .hero__logo {
        width: 96px;
        margin-bottom: 20px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 46px;
        line-height: 1;
    }

    .hero p {
        margin-top: 18px;
        font-size: 18px;
        line-height: 1.45;
    }

    .section {
        padding: 70px 0;
    }

    .page-hero {
        min-height: 360px;
        padding: 116px 0 54px;
    }

    .page-hero p {
        font-size: 18px;
        line-height: 1.5;
    }

    .feature-grid article,
    .manual-grid article,
    .class-grid article,
    .news-card {
        min-height: auto;
        padding: 26px;
    }

    .newsletter-form {
        display: grid;
        gap: 12px;
    }

    .newsletter-form input {
        border-right: 1px solid var(--line);
    }

    .side-buttons {
        display: none;
    }

    .nk-side-buttons {
        right: 14px;
        bottom: 14px;
    }

    .nk-side-buttons .problem-button {
        display: none;
    }

    .cookie-alert {
        right: 14px;
        bottom: 82px;
        left: 14px;
        width: auto;
        padding: 14px;
    }

    .cookie-alert.visible {
        display: grid;
    }

    .cookie-alert p {
        font-size: 13px;
        line-height: 1.45;
    }
}

/* GodLike template alignment */
.nk-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    color: #fff;
    pointer-events: none;
    background: #0e0e0e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.45);
}

.nk-header > * {
    pointer-events: auto;
}

.nk-contacts-top {
    background: #0e0e0e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: "Marcellus SC", serif;
    font-size: 13px;
}

.nk-header-scrolled .nk-contacts-top {
    display: none;
}

.nk-contacts-top .container {
    min-height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nk-contacts-left,
.nk-contacts-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nk-contacts-top a {
    color: rgba(255, 255, 255, 0.82);
}

.nk-contacts-top a:hover {
    color: #e08821;
}

.nk-contacts-right a {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    font-size: 11px;
}

.nk-navbar {
    position: relative;
    padding: 26px 0;
    background-color: #0e0e0e;
    transition: background-color 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.nk-navbar-transparent {
    background-color: #0e0e0e;
}

.site-header--solid.nk-navbar,
.nk-navbar.site-header--solid {
    padding: 18px 0;
    background-color: #0e0e0e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: none;
}

.nk-nav-table {
    display: table;
    width: 100%;
}

.nk-nav-table > * {
    display: table-cell;
    vertical-align: middle;
}

.nk-nav-logo {
    width: 1%;
    white-space: nowrap;
    padding-right: 34px;
}

.nk-nav-logo img {
    display: block;
    height: auto;
    width: 100px;
    max-width: none;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.nk-navbar ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.nk-navbar a,
.nk-navbar button {
    overflow: hidden;
    font-family: "Marcellus SC", serif;
    font-weight: 600;
    color: inherit;
}

.nk-nav {
    position: relative;
}

.nk-nav-right {
    text-align: right;
}

.nk-nav > li {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.nk-nav > li > a,
.nk-nav > li > button {
    position: relative;
    display: block;
    padding: 5px 22px;
    border: 0;
    background: transparent;
    white-space: nowrap;
    cursor: pointer;
}

.nk-nav > li.active > a,
.nk-nav > li > a:hover,
.nk-nav > li > button:hover {
    color: #e08821;
}

.nk-nav > li > a::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 50%;
    left: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition: transform 180ms ease;
}

.nk-nav > li.active > a::after,
.nk-nav > li > a:hover::after {
    transform: scaleX(1);
    transform-origin: 0 50%;
}

.nk-nav-icons {
    width: 1%;
    white-space: nowrap;
}

.mobile-only {
    display: none !important;
}

.nk-icon-button {
    width: 44px;
    height: 32px;
    padding: 0 !important;
}

.nk-icon-burger {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 17px;
    vertical-align: middle;
}

.nk-icon-burger > span {
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nk-icon-burger .nk-t-1 {
    top: 0;
}

.nk-icon-burger .nk-t-2 {
    top: 7px;
}

.nk-icon-burger .nk-t-3 {
    top: 14px;
}

.nk-icon-button:hover .nk-t-1 {
    transform: translateX(-4px);
}

.nk-icon-button:hover .nk-t-3 {
    transform: translateX(4px);
}

.side-nav__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.side-nav__backdrop.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nk-navbar-side.side-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 1002;
    width: 350px;
    max-width: 90vw;
    padding: 40px 0;
    margin: 0;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(14, 14, 14, 0.4), rgba(14, 14, 14, 0.96)),
        url("../images/menuderecha.jpg") center / cover;
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 220ms ease;
}

.nk-navbar-side.side-nav[aria-hidden="false"] {
    transform: translateX(0);
}

.nk-navbar-side .nano {
    height: 100%;
    overflow-y: auto;
}

.nk-navbar-side .nk-nav-logo {
    display: block;
    width: 100%;
    padding: 0 35px 60px;
}

.nk-navbar-side .nk-nav-logo img {
    margin: 0 auto;
    width: 142px;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.7));
}

.nk-navbar-side nav {
    display: block;
}

.nk-navbar-side nav a {
    display: block;
    padding: 12px 40px;
    color: #fff;
    font-family: "Marcellus SC", serif;
    font-size: 18px;
}

.nk-navbar-side nav a.active,
.nk-navbar-side nav a:hover {
    color: #e08821;
}

.nk-navbar-side .nk-nav-footer {
    padding: 40px;
    padding-bottom: 0;
    color: #999;
    text-align: left;
}

.side-nav__close {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 22px;
}

.nk-btn {
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    border: 0;
    border-radius: 2px;
    color: inherit;
    background-color: rgba(14, 14, 14, 0.9);
    font-family: "Marcellus SC", serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nk-btn:hover {
    color: inherit;
    background-color: #0e0e0e;
    box-shadow: 0 5px 15px rgba(14, 14, 14, 0.4);
    transform: translateY(-2px);
}

.nk-btn::before {
    content: "";
    position: absolute;
    inset: 4px;
    display: block;
    border: 1px solid currentColor;
    border-radius: 2px;
    opacity: 0.9;
}

.nk-btn-lg {
    padding: 14px 34px;
}

.nk-btn-icon {
    width: 50px;
    padding-right: 0;
    padding-left: 0;
}

.nk-side-buttons {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1000;
    padding: 0;
    transform: none;
    transition: transform 200ms ease-in-out;
}

.nk-side-buttons:hover,
.nk-side-buttons.nk-side-buttons-visible {
    transform: none;
}

.nk-side-buttons ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.nk-side-buttons li {
    display: inline-block;
    text-align: center;
}

.nk-side-buttons li + li {
    margin-left: 5px;
}

.nk-side-buttons .problem-button {
    display: block;
    min-height: auto;
    padding: 14px 34px;
    border: 0;
    color: #fff;
    background: rgba(14, 14, 14, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.nk-side-buttons .scroll-top {
    width: 50px;
    min-height: auto;
    border: 0;
    color: #fff;
    background: rgba(14, 14, 14, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.nk-side-buttons .nk-scroll-top {
    transform: none;
    transition: transform 200ms ease-in-out;
}

.nk-side-buttons:hover .nk-scroll-top,
.nk-side-buttons.nk-side-buttons-visible .nk-scroll-top {
    transform: translateX(0);
}

@media (max-width: 900px) {
    .nk-contacts-top {
        display: none;
    }

    .nk-navbar {
        padding: 18px 0;
        background-color: rgba(14, 14, 14, 0.86);
    }

    .desktop-nav {
        display: none;
    }

    .mobile-only {
        display: inline-block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .nk-nav > li > button {
        padding-right: 0;
    }
}

/* ---------- Atmosphere upgrade ---------- */

/* Parchment-style drop cap for intro paragraphs */
.dropcap::first-letter {
    float: left;
    margin: 6px 14px 0 0;
    padding: 8px 14px 2px;
    border: 1px solid rgba(224, 136, 33, 0.4);
    color: var(--accent);
    background: linear-gradient(180deg, rgba(224, 136, 33, 0.08), transparent);
    font-family: "Marcellus SC", "Times New Roman", serif;
    font-size: 64px;
    line-height: 1;
}

/* Sword cursor on interactive elements (graceful fallback) */
.hero__actions .button,
.button-download,
.tavern-trigger,
.ladder li,
.noticias-card,
.class-card {
    cursor:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M22 4 L24 6 L11 19 L8 21 L7 20 L9 17 Z' fill='%23e08821' stroke='%23130b03' stroke-width='1'/><path d='M5 22 L8 19 L9 20 L6 23 Z' fill='%23130b03'/></svg>") 4 4,
        pointer;
}

/* ---------- Live status strip in top bar ---------- */
.server-strip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px;
    border: 1px solid rgba(57, 162, 40, 0.45);
    background: rgba(57, 162, 40, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-family: "Marcellus SC", serif;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1;
}

.server-strip__pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(57, 162, 40, 0.7);
    animation: pulseDot 1.8s ease-out infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(57, 162, 40, 0.65); }
    70% { box-shadow: 0 0 0 10px rgba(57, 162, 40, 0); }
    100% { box-shadow: 0 0 0 0 rgba(57, 162, 40, 0); }
}

.server-strip__sep {
    opacity: 0.55;
}

.server-strip__status,
.server-strip__players strong,
.server-strip__clock strong {
    color: var(--accent);
    font-weight: 700;
}

.server-strip__label {
    opacity: 0.75;
}

.server-strip.is-offline {
    border-color: rgba(200, 46, 46, 0.55);
    background: rgba(200, 46, 46, 0.08);
}

.server-strip.is-offline .server-strip__pulse {
    background: var(--accent-2);
    animation: none;
}

/* ---------- Taberna trigger in nav ---------- */
.tavern-trigger-cell {
    margin-right: 10px;
}

.tavern-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--accent);
    background: rgba(224, 136, 33, 0.08);
    color: #fff;
    font-family: "Marcellus SC", serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.tavern-trigger:hover {
    background: var(--accent);
    color: #130b03;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(224, 136, 33, 0.28);
}

.tavern-trigger__icon {
    display: inline-grid;
    place-items: center;
}

/* ---------- Hero upgrades ---------- */
.hero {
    isolation: isolate;
}

.hero__embers {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.85;
}

.hero__overlay {
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__logo-wrap {
    display: inline-block;
    position: relative;
}

.hero__logo {
    animation: torchFlicker 4.5s ease-in-out infinite;
}

@keyframes torchFlicker {
    0%, 100% { filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 18px rgba(224, 136, 33, 0.18)); }
    45% { filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 30px rgba(224, 136, 33, 0.32)); }
    55% { filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 14px rgba(224, 136, 33, 0.12)); }
}

.hero__lead {
    min-height: 1.4em;
    transition: opacity 300ms ease;
}

.hero__lead.is-fading {
    opacity: 0;
}

.hero-countdown {
    width: min(620px, calc(100% - 24px));
    margin: 28px auto 0;
    padding: 12px 16px 14px;
    border: 1px solid rgba(224, 136, 33, 0.38);
    background:
        linear-gradient(180deg, rgba(18, 12, 8, 0.72), rgba(8, 6, 6, 0.86));
    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.48),
        inset 0 0 0 1px rgba(255, 255, 255, 0.035);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.hero-countdown::before,
.hero-countdown::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(224, 136, 33, 0.58), transparent);
    pointer-events: none;
}

.hero-countdown::before { top: 6px; }
.hero-countdown::after { bottom: 6px; }

.hero-countdown__label {
    display: block;
    margin-bottom: 10px;
    color: #f1ead9;
    font-family: "Marcellus SC", serif;
    font-size: 13px;
    letter-spacing: 1.6px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-countdown__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.hero-countdown__unit {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 9px 8px 8px;
    border: 1px solid rgba(224, 136, 33, 0.22);
    background:
        radial-gradient(circle at 50% 0, rgba(224, 136, 33, 0.14), transparent 62%),
        rgba(0, 0, 0, 0.26);
}

.hero-countdown__unit strong {
    color: var(--accent);
    font-family: "Marcellus SC", serif;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 400;
    line-height: 0.95;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 16px rgba(224, 136, 33, 0.2);
}

.hero-countdown__unit em {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
    letter-spacing: 1.4px;
    line-height: 1;
    text-transform: uppercase;
}

.hero-countdown.is-ended .hero-countdown__grid {
    display: none;
}

.hero-countdown.is-ended .hero-countdown__label {
    margin-bottom: 0;
    color: var(--accent);
}

.hero__actions {
    margin-top: 30px;
}

.button-download {
    gap: 10px;
}

.button-download__icon {
    display: inline-grid;
    place-items: center;
}

.hero__divider {
    width: min(560px, 80vw);
    margin: 50px auto 0;
}

/* ---------- Hero inset server panel ---------- */
.server-panel {
    margin: 46px auto 0;
    width: min(820px, calc(100% - 24px));
    padding: 22px 28px;
    border: 1px solid rgba(224, 136, 33, 0.4);
    background:
        linear-gradient(180deg, rgba(20, 14, 8, 0.78), rgba(8, 6, 6, 0.92));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    text-align: left;
    position: relative;
    backdrop-filter: blur(4px);
}

.server-panel::before {
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(224, 136, 33, 0.16);
    pointer-events: none;
    content: "";
}

.server-panel__row {
    display: grid;
    grid-template-columns: auto repeat(3, 1fr);
    align-items: center;
    gap: 22px;
}

.server-panel__pulse {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(57, 162, 40, 0.55);
    background: rgba(57, 162, 40, 0.1);
    color: var(--green);
    font-family: "Marcellus SC", serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.server-panel__pulse strong {
    color: #d6f5cf;
}

.server-panel__metric {
    display: grid;
    line-height: 1;
}

.server-panel__metric span {
    color: var(--accent);
    font-family: "Marcellus SC", serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
}

.server-panel__metric em {
    margin-top: 6px;
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-panel__row--event {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed rgba(224, 136, 33, 0.25);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    font-size: 14px;
    color: #e8e0d0;
}

.server-panel__event-tag {
    padding: 4px 10px;
    border: 1px solid var(--accent-2);
    color: var(--accent-2);
    font-family: "Marcellus SC", serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.server-panel__event-desc {
    color: var(--muted);
    flex: 1 1 200px;
}

.server-panel__event-timer {
    margin-left: auto;
    font-family: "Marcellus SC", serif;
    color: var(--accent);
}

.server-panel__event-timer em {
    font-style: normal;
    font-variant-numeric: tabular-nums;
}

/* ---------- Section heads ---------- */
.section-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head__lead {
    color: var(--muted);
    font-size: 17px;
}

.section-cta {
    margin-top: 40px;
    text-align: center;
}

/* ---------- Pulso del Reino ---------- */
.pulso-section {
    background:
        linear-gradient(rgba(8, 8, 12, 0.92), rgba(8, 8, 12, 0.96)),
        url("../images/menuderecha.jpg") center / cover fixed;
    position: relative;
}

.pulso-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 6px);
    pointer-events: none;
}

.pulso-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
}

.pulso-card {
    position: relative;
    padding: 32px 34px;
    background: rgba(14, 12, 16, 0.88);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.pulso-card::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(224, 136, 33, 0.18);
    pointer-events: none;
}

.pulso-card header {
    margin-bottom: 22px;
}

.pulso-card__kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-family: "Marcellus SC", serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pulso-card h3 {
    margin: 0;
    font-size: 26px;
}

.pulso-subhead {
    margin: 24px 0 14px;
}

.ladder {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.ladder li {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(90deg, rgba(224, 136, 33, 0.05), transparent 65%);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ladder li:hover {
    transform: translateX(4px);
    border-color: rgba(224, 136, 33, 0.5);
    background:
        linear-gradient(90deg, rgba(224, 136, 33, 0.12), transparent 65%);
}

.ladder__rank {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    color: var(--muted);
    font-family: "Marcellus SC", serif;
    font-size: 22px;
    background: rgba(0, 0, 0, 0.4);
    position: relative;
}

.ladder li[data-rank="1"] .ladder__rank { color: #f1c84c; background: rgba(241, 200, 76, 0.08); box-shadow: 0 0 18px rgba(241, 200, 76, 0.18); }
.ladder li[data-rank="2"] .ladder__rank { color: #d6d6d6; background: rgba(214, 214, 214, 0.06); }
.ladder li[data-rank="3"] .ladder__rank { color: #c98552; background: rgba(201, 133, 82, 0.08); }

.ladder__body {
    display: grid;
    gap: 4px;
}

.ladder__name {
    font-family: "Marcellus SC", serif;
    font-size: 18px;
    color: #fff;
}

.ladder__meta {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ladder__faction {
    padding: 2px 8px;
    border: 1px solid currentColor;
    font-size: 10px;
    margin-left: 8px;
    letter-spacing: 1.2px;
}

.ladder__faction--real { color: #6fb3ff; }
.ladder__faction--caos { color: var(--accent-2); }

.ladder__kills {
    color: var(--accent);
    font-family: "Marcellus SC", serif;
    font-size: 22px;
    text-align: right;
}

.ladder__kills em {
    display: block;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: normal;
}

.ladder-kill__line {
    font-family: "Marcellus SC", serif;
    font-size: 22px;
    color: #fff;
    line-height: 1.3;
}

.ladder-kill__line strong { color: var(--accent); font-weight: 600; }
.ladder-kill__line em { color: var(--accent-2); font-style: normal; }

.ladder-kill__meta {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulso-divider {
    height: 1px;
    margin: 26px 0;
    background: linear-gradient(90deg, transparent, rgba(224, 136, 33, 0.3), transparent);
}

.pulso-event-desc {
    color: var(--muted);
    margin: 0 0 16px;
}

.pulso-timer {
    padding: 10px 14px;
    border-left: 2px solid var(--accent-2);
    background: rgba(200, 46, 46, 0.06);
    color: #f5dada;
    font-family: "Marcellus SC", serif;
    letter-spacing: 1px;
}

.pulso-timer strong {
    color: var(--accent-2);
    font-variant-numeric: tabular-nums;
}

/* ---------- Clases destacadas ---------- */
.clases-section {
    background: #0a0a0e;
}

.class-grid--showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.class-card {
    padding: 28px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(20, 14, 10, 0.7), rgba(8, 8, 10, 0.95));
    position: relative;
    overflow: hidden;
    transition: transform 200ms ease, border-color 200ms ease;
}

.class-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0, rgba(224, 136, 33, 0.18), transparent 55%);
    opacity: 0;
    transition: opacity 200ms ease;
    pointer-events: none;
}

.class-card:hover {
    transform: translateY(-6px);
    border-color: rgba(224, 136, 33, 0.55);
}

.class-card:hover::before {
    opacity: 1;
}

.class-card__crest {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: "Marcellus SC", serif;
    font-size: 22px;
}

.class-card h3 {
    margin: 0 0 4px;
    font-size: 22px;
}

.class-card__tag {
    display: block;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.class-stats {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.class-stats li {
    display: grid;
    grid-template-columns: 70px 1fr 36px;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}

.class-stats__bar {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.class-stats__fill {
    position: absolute;
    inset: 0;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #ffb15a);
    transition: width 600ms ease;
}

.class-card.is-visible .class-stats__fill {
    width: var(--w, 0%);
}

.class-stats__val {
    color: var(--accent);
    font-family: "Marcellus SC", serif;
    font-size: 14px;
    text-align: right;
}

/* ---------- Noticias del Reino ---------- */
.noticias-section {
    background:
        linear-gradient(rgba(10, 10, 14, 0.92), rgba(10, 10, 14, 0.96)),
        url("../images/banner-bg-2.jpg") center / cover;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.noticias-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 58px 30px 30px;
    background:
        linear-gradient(180deg, #f4ebd2, #e6dab7);
    color: #2a1d0a;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    transition: transform 200ms ease;
}

.noticias-card::before,
.noticias-card::after {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    height: 4px;
    background:
        repeating-linear-gradient(45deg, transparent 0 6px, rgba(85, 55, 20, 0.4) 6px 12px);
}

.noticias-card::before { top: 6px; }
.noticias-card::after  { bottom: 6px; }

.noticias-card:hover {
    transform: translateY(-6px);
}

.noticias-card__date {
    position: absolute;
    top: 12px;
    left: 28px;
    width: 70px;
    height: 74px;
    box-sizing: border-box;
    padding-top: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: var(--accent-2);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
    font-family: "Marcellus SC", serif;
    text-align: center;
    line-height: 1;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.noticias-card__date strong {
    display: block;
    font-size: 24px;
    line-height: 0.9;
}

.noticias-card__date span {
    display: block;
    margin-top: 7px;
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.noticias-card__tag {
    min-height: 52px;
    margin: 0 0 8px;
    padding-left: 92px;
    display: flex;
    align-items: center;
    color: var(--accent-2);
    font-family: "Marcellus SC", serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.noticias-card h3 {
    margin: 0 0 12px;
    color: #2a1d0a;
    font-size: 22px;
    line-height: 1.2;
}

.noticias-card p {
    margin: 0 0 18px;
    color: #4a3717;
    font-size: 14.5px;
    line-height: 1.55;
}

.noticias-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-2);
    font-family: "Marcellus SC", serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.noticias-card__link::after {
    content: "->";
    transition: transform 180ms ease;
}

.noticias-card:hover .noticias-card__link::after {
    transform: translateX(4px);
}

/* ---------- Discord band ---------- */
.discord-band {
    padding: 60px 0;
    background:
        linear-gradient(135deg, rgba(88, 101, 242, 0.16), rgba(0, 0, 0, 0)),
        #0a0a0e;
    border-top: 1px solid rgba(88, 101, 242, 0.25);
    border-bottom: 1px solid rgba(88, 101, 242, 0.25);
}

.discord-band__content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 36px;
    align-items: center;
}

.discord-band__lead {
    color: var(--muted);
    max-width: 540px;
    margin: 12px 0 0;
}

.discord-band__stats {
    display: grid;
    gap: 16px;
    padding: 24px 28px;
    border: 1px solid rgba(88, 101, 242, 0.3);
    background: rgba(88, 101, 242, 0.05);
    text-align: center;
}

.discord-band__stats > div {
    display: grid;
    place-items: center;
    gap: 8px;
}

.discord-band__stats span {
    color: #8b97ff;
    font-family: "Marcellus SC", serif;
    font-size: 48px;
    line-height: 1;
}

.discord-band__stats strong {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.discord-band__online {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #cdd1ff;
    font-family: "Marcellus SC", serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discord-band__online em {
    color: #fff;
    font-style: normal;
    font-size: 16px;
}

/* ---------- Taberna drawer ---------- */
.tavern-drawer {
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
    visibility: hidden;
}

.tavern-drawer[aria-hidden="false"] {
    pointer-events: auto;
    visibility: visible;
}

.tavern-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 220ms ease;
}

.tavern-drawer[aria-hidden="false"] .tavern-drawer__backdrop {
    opacity: 1;
}

.tavern-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, 92vw);
    height: 100%;
    padding: 52px 38px 36px;
    background:
        linear-gradient(180deg, rgba(20, 14, 8, 0.95), rgba(8, 6, 6, 0.98)),
        url("../images/menuderecha.jpg") center / cover;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 260ms ease;
    overflow-y: auto;
}

.tavern-drawer[aria-hidden="false"] .tavern-drawer__panel {
    transform: translateX(0);
}

.tavern-drawer__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    cursor: pointer;
}

.tavern-drawer__crest {
    display: grid;
    place-items: center;
    margin-bottom: 10px;
}

.tavern-drawer__title {
    margin: 4px 0 8px;
    color: #fff;
}

.tavern-drawer__lead {
    color: var(--muted);
    margin: 0 0 24px;
    font-size: 14px;
}

.tavern-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 22px;
    border: 1px solid var(--line);
}

.tavern-tab {
    padding: 12px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: "Marcellus SC", serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
}

.tavern-tab + .tavern-tab {
    border-left: 1px solid var(--line);
}

.tavern-tab.is-active {
    background: rgba(224, 136, 33, 0.12);
    color: var(--accent);
}

.tavern-form {
    display: none;
    gap: 14px;
}

.tavern-form.is-active {
    display: grid;
}

.tavern-form label {
    display: grid;
    gap: 6px;
}

.tavern-form label > span {
    color: var(--muted);
    font-family: "Marcellus SC", serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.tavern-form input[type="text"],
.tavern-form input[type="email"],
.tavern-form input[type="password"] {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--line);
    color: #fff;
    min-height: 46px;
}

.tavern-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(224, 136, 33, 0.06);
}

.tavern-form__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}

.tavern-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tavern-check input { width: auto; min-height: 0; }

.tavern-form__link {
    color: var(--accent);
}

.tavern-form__hint {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.tavern-form.submitted button[type="submit"] {
    background: var(--green);
    border-color: var(--green);
    color: #0a0a0e;
}

/* ---------- Responsive tweaks for new sections ---------- */
@media (max-width: 1080px) {
    .pulso-grid { grid-template-columns: 1fr; }
    .class-grid--showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .discord-band__content { grid-template-columns: 1fr; }
    .server-panel__row { grid-template-columns: 1fr 1fr; }
    .server-panel__pulse { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 900px) {
    .server-strip {
        display: none;
    }
    .tavern-trigger__label { display: none; }
    .tavern-trigger { padding: 8px 12px; }
    .noticias-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .server-panel { padding: 18px; }
    .hero-countdown {
        width: min(360px, calc(100% - 28px));
        margin-top: 22px;
        padding: 10px 10px 12px;
    }
    .hero-countdown__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }
    .hero-countdown__label {
        margin-bottom: 8px;
        font-size: 11px;
        letter-spacing: 1.2px;
    }
    .hero-countdown__unit {
        padding: 8px 4px 7px;
    }
    .hero-countdown__unit strong {
        font-size: 26px;
    }
    .hero-countdown__unit em {
        font-size: 9px;
        letter-spacing: 0.8px;
    }
    .server-panel { margin-top: 28px; padding: 14px; }
    .server-panel__row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        text-align: center;
    }
    .server-panel__pulse {
        grid-column: 1 / -1;
        justify-self: center;
    }
    .server-panel__metric span {
        font-size: 24px;
    }
    .server-panel__metric em {
        font-size: 10px;
        letter-spacing: 0.6px;
    }
    .server-panel__row--event { display: none; }
    .server-panel__event-desc { flex: none; }
    .server-panel__event-timer { margin-left: 0; }
    .hero__actions {
        margin-top: 22px;
        gap: 10px;
    }
    .hero__actions .button {
        width: min(100%, 300px);
        padding-right: 18px;
        padding-left: 18px;
    }
    .hero__divider { margin-top: 30px; }
    .class-grid--showcase { grid-template-columns: 1fr; }
    .discord-band__stats span { font-size: 38px; }
    .ladder li { grid-template-columns: 44px 1fr auto; gap: 12px; padding: 12px; }
    .ladder__name { font-size: 16px; }
    .ladder__kills { font-size: 18px; }
    .dropcap::first-letter { font-size: 48px; padding: 6px 10px; margin-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__embers { display: none; }
    .hero__logo { animation: none; }
    .server-strip__pulse { animation: none; }
}

/* ---------- Voces del Reino (testimonial scrolls) ---------- */
.testimonials--scrolls {
    background:
        linear-gradient(180deg, #0a0a0e 0%, #0d0a0f 60%, #0a0a0e 100%);
    position: relative;
    overflow: hidden;
}

.testimonials--scrolls::before,
.testimonials--scrolls::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(224, 136, 33, 0.45), transparent);
    pointer-events: none;
}

.testimonials--scrolls::before { top: 0; }
.testimonials--scrolls::after  { bottom: 0; }

.testimonials--scrolls .container {
    display: block;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    margin-top: 20px;
}

.scroll-card {
    position: relative;
    padding: 118px 32px 34px;
    margin-top: 56px;
    background:
        linear-gradient(180deg, rgba(22, 18, 14, 0.95), rgba(12, 10, 12, 0.95));
    border: 1px solid rgba(224, 136, 33, 0.28);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.55),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    text-align: center;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.testimonials--scrolls .scroll-card {
    padding: 118px 32px 34px;
}

.scroll-card::before,
.scroll-card::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(224, 136, 33, 0.45), transparent);
    pointer-events: none;
}

.scroll-card::before { top: 6px; }
.scroll-card::after  { bottom: 6px; }

.scroll-card:hover {
    transform: translateY(-6px);
    border-color: rgba(224, 136, 33, 0.65);
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(224, 136, 33, 0.1);
}

.scroll-card__avatar {
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 112px;
    height: 112px;
    padding: 4px;
    background:
        linear-gradient(135deg, #ffd580, var(--accent) 45%, #6e3a0a);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.scroll-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    border-radius: 0;
    border: 0;
    display: block;
}

.scroll-card__quote {
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-family: "Marcellus SC", Georgia, serif;
    font-size: 46px;
    line-height: 1;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.scroll-card blockquote {
    margin: 6px 0 24px;
    color: #f1ead9;
    font-family: "Marcellus SC", Georgia, serif;
    font-size: 18px;
    line-height: 1.55;
    font-style: italic;
    position: relative;
    z-index: 1;
    quotes: '"\201C"' '"\201D"';
}

.scroll-card blockquote::before { content: open-quote; margin-right: 2px; color: var(--accent); }
.scroll-card blockquote::after  { content: close-quote; margin-left: 2px; color: var(--accent); }

.scroll-card footer {
    padding-top: 18px;
    border-top: 1px dashed rgba(224, 136, 33, 0.3);
    position: relative;
    z-index: 1;
}

.scroll-card footer::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 9px;
    height: 9px;
    background: var(--accent);
    box-shadow: 0 0 0 1px rgba(224, 136, 33, 0.4);
}

.scroll-card cite {
    display: grid;
    gap: 4px;
    font-style: normal;
}

.scroll-card cite strong {
    color: #fff;
    font-family: "Marcellus SC", Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
}

.scroll-card cite span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 900px) {
    .testimonials__grid { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 620px) {
    .noticias-card { padding: 26px 22px 28px; }
    .noticias-card__date {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 16px;
    }
    .noticias-card__tag {
        min-height: 0;
        padding-left: 0;
    }
    .testimonials--scrolls .scroll-card { padding: 104px 22px 28px; }
    .scroll-card__avatar { width: 92px; height: 92px; top: -36px; }
    .scroll-card__quote { top: 64px; font-size: 38px; }
    .scroll-card blockquote { font-size: 16px; }
}
