/* ============================================================
   HOME REDESIGN v2 — MU Online Modern Dark Theme
   ============================================================ */

/* ============================================================
   BODY OVERRIDES (home-v2 scope)
   ============================================================ */

body.home-v2 {
    background: #0b0b0d !important;
    background-image: none !important;
    background-color: #0b0b0d !important;
}

body.home-v2 .container-top {
    padding-top: 0 !important;
}

/* ============================================================
   SITE HEADER — always-dark top navbar
   ============================================================ */

.site-header {
    height: 65px !important;
    top: 0 !important;
    background: #000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.8);
}

.site-header.topPanel-top {
    height: 65px !important;
    top: 0 !important;
    background: #000 !important;
}

.site-header .fixed-logo,
.site-header .download-fixed,
.site-header .menu-logo {
    display: none !important;
}

.site-header__inner {
    max-width: 1400px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 24px;
    position: relative;
}

/* col 3: auth buttons — right-aligned */
.site-header__inner > .site-header__auth {
    justify-self: end;
}

/* ---- Navigation links ---- */

.site-nav {
    height: 65px !important;
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0 !important;
    padding: 0 !important;
}

.site-nav li {
    height: 65px !important;
    display: flex !important;
    align-items: center;
    position: relative;
}

.site-nav > li > a {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 0 20px !important;
    line-height: 65px !important;
    display: block;
    transition: color 0.25s ease;
}

.site-nav > li > a:hover,
.site-nav > li > a.show {
    color: #3ab4c8 !important;
}

.site-nav .menu-a {
    cursor: pointer;
}

/* ---- Dropdown ---- */

.site-nav .dropDown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0;
    width: auto !important;
    min-width: 200px;
    background: #0d0d0f;
    border: 1px solid rgba(58, 180, 200, 0.22);
    border-top: 2px solid rgba(58, 180, 200, 0.55);
    padding: 8px 0 !important;
    display: none;
    z-index: 300;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.9);
    border-radius: 0 0 6px 6px;
}

.site-nav .dropDown-menu li {
    height: auto !important;
    display: block !important;
    padding: 0 !important;
    text-align: left !important;
}

.site-nav .dropDown-menu li a {
    padding: 11px 22px !important;
    line-height: 1 !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px;
    display: block;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.site-nav .dropDown-menu li a:hover {
    color: #3ab4c8 !important;
    padding-left: 30px !important;
    background: rgba(58, 180, 200, 0.04);
}

/* ---- Auth buttons (desktop right) — CYAN ---- */

.site-header__auth {
    display: flex;
    align-items: center;
    gap: 8px;
    /* sin position absolute — vive en la col 3 del grid */
}

.nav-auth-btn {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 9px 20px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    background: #1a7a8b;
    color: #fff !important;
    border: 1px solid #2aa0b5;
    line-height: 1;
}

.nav-auth-btn:hover {
    background: #1f94a9;
    color: #fff !important;
    box-shadow: 0 0 18px rgba(58, 180, 200, 0.5);
}

.nav-auth-btn--outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-auth-btn--outline:hover {
    color: #3ab4c8 !important;
    border-color: rgba(58, 180, 200, 0.4);
    background: rgba(58, 180, 200, 0.06);
    box-shadow: none;
}

/* ---- Mobile-only auth inside drawer ---- */

/* div fuera del ul.site-nav — ninguna regla de .menu li interfiere */
.nav-auth-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 20px 60px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-auth-mobile a {
    font-size: 22px;
    line-height: 1;
    padding: 14px 0;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.nav-auth-mobile a:hover {
    color: #3ab4c8;
}

/* ============================================================
   HERO SECTION — nuevo-fondo-top-2.jpeg
   ============================================================ */

.hero-section {
    /* En resoluciones grandes usamos height fijo para que la imagen no se corte */
    height: 85vh;
    min-height: 560px;
    max-height: 960px;
    background: url(../img/nuevo-fondo-top-2.jpeg) center 20% / cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

/* En pantallas muy anchas/grandes: imagen anclada al top para no perder el focal point */
@media (min-width: 1600px) {
    .hero-section {
        background-position: center top;
    }
}

/* Vignette: oscuro arriba-abajo, centro limpio */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 28%, transparent 52%, rgba(0,0,0,0.78) 84%, rgba(0,0,0,0.94) 100%),
        linear-gradient(to right,  rgba(0,0,0,0.22) 0%, transparent 18%),
        linear-gradient(to left,   rgba(0,0,0,0.22) 0%, transparent 18%);
    z-index: 1;
}

/* Fade al color del body */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: linear-gradient(to top, #0b0b0d, transparent);
    z-index: 2;
}

/* ---- Canvas de rayos de luz (JS) ---- */

#heroRaysCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ---- Bloque de CTA pegado al fondo ---- */

.hero-bottom {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 30px 52px;
    width: 100%;
    max-width: 860px;
}

.hero-tagline {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 22px !important;
}

.hero-dot {
    color: #3ab4c8;
    margin: 0 8px;
    opacity: 0.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 52px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-btn--primary {
    background: #1a7a8b;
    color: #fff !important;
    border: 1px solid #2aa0b5;
    box-shadow: 0 0 30px rgba(58, 180, 200, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-btn--primary:hover {
    background: #1f94a9;
    box-shadow: 0 0 45px rgba(58, 180, 200, 0.65);
    color: #fff !important;
    transform: translateY(-2px);
}

.hero-btn--secondary {
    background: transparent;
    color: #c9a227 !important;
    border: 1px solid rgba(201, 162, 39, 0.55);
}

.hero-btn--secondary:hover {
    background: rgba(201, 162, 39, 0.1);
    color: #c9a227 !important;
    box-shadow: 0 0 28px rgba(201, 162, 39, 0.25);
    transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.45;
    animation: hero-bounce 2.2s ease-in-out infinite;
}

.hero-scroll-indicator span {
    display: block;
    width: 1px;
    height: 32px;
    background: rgba(58, 180, 200, 0.7);
}

.hero-scroll-indicator i {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1px solid rgba(58, 180, 200, 0.8);
    border-bottom: 1px solid rgba(58, 180, 200, 0.8);
    transform: rotate(45deg);
    margin-top: -10px;
}

@keyframes hero-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0);   }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SERVER INFO RIBBON
   ============================================================ */

.server-ribbon {
    background: #0d0d0f;
    border-top: 1px solid rgba(58, 180, 200, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 13px 0;
}

.server-ribbon__items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.server-ribbon__item {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    padding: 5px 24px;
    position: relative;
}

.server-ribbon__item + .server-ribbon__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.09);
}

.server-ribbon__item span {
    color: #3ab4c8;
    margin-left: 6px;
    font-weight: 800;
}

.server-ribbon__online span {
    color: #97e158;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */

.section-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 180, 200, 0.3), transparent);
}

.section-title {
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #3ab4c8 !important;
    white-space: nowrap;
    margin: 0 !important;
    text-shadow: 0 0 25px rgba(58, 180, 200, 0.35);
}

/* ============================================================
   HOME MAIN — 3-COLUMN GRID
   ============================================================ */

.home-main {
    background: #0b0b0d;
    padding: 48px 0 70px;
}

.home-columns {
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr;
    gap: 22px;
    align-items: start;
}

.home-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- hcard base card ---- */

.hcard {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hcard:hover {
    border-color: rgba(58, 180, 200, 0.22);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.hcard__title {
    padding: 12px 18px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #3ab4c8;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(58, 180, 200, 0.12);
}

.hcard__body {
    padding: 18px;
}

.hcard__body--flush {
    padding: 0;
}

.hcard__body--center {
    padding: 20px 18px;
    display: flex;
    justify-content: center;
}

/* ---- Staff card ---- */

.hcard--staff .hcard__body--flush img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* ---- Stat cards ---- */

.hstat-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.home-col .statCard-circle {
    width: 120px !important;
    height: 120px !important;
    position: relative !important;
    display: inline-block !important;
}

.hstat-info {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2;
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.hstat-online {
    display: block !important;
    color: #3ab4c8 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    padding: 0 !important;
    text-shadow: 0 0 20px rgba(58, 180, 200, 0.6);
}

.hstat-accounts {
    display: block !important;
    color: #4db8ff !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    padding: 0 !important;
    text-shadow: 0 0 20px rgba(77, 184, 255, 0.6);
}

.hstat-days {
    display: block !important;
    color: #c9a227 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    padding: 0 !important;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.7);
}

.hstat-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 !important;
}

/* ---- Social card ---- */

.hcard__body--social {
    padding: 14px 12px;
}

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.soc-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    cursor: pointer;
}

.soc-link:hover {
    transform: translateY(-3px);
}

.soc-link__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.25s ease;
    flex-shrink: 0;
}

.soc-link__icon img,
.soc-link__icon svg {
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.soc-link__name {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.25s ease;
}

/* TikTok — #ff2d55 */
.soc-link--tiktok:hover {
    border-color: rgba(255, 45, 85, 0.45);
    background: rgba(255, 45, 85, 0.06);
    box-shadow: 0 4px 20px rgba(255, 45, 85, 0.2);
}
.soc-link--tiktok:hover .soc-link__icon {
    background: rgba(255, 45, 85, 0.12);
}
.soc-link--tiktok:hover .soc-link__icon svg {
    filter: none;
    color: #ff2d55;
    opacity: 1;
}
.soc-link--tiktok:hover .soc-link__name {
    color: #ff2d55;
}

/* Facebook — #1877f2 */
.soc-link--facebook:hover {
    border-color: rgba(24, 119, 242, 0.45);
    background: rgba(24, 119, 242, 0.06);
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.2);
}
.soc-link--facebook:hover .soc-link__icon {
    background: rgba(24, 119, 242, 0.12);
}
.soc-link--facebook:hover .soc-link__icon img {
    filter: none;
    opacity: 1;
}
.soc-link--facebook:hover .soc-link__name {
    color: #4d9fff;
}

/* Discord — #5865f2 */
.soc-link--discord:hover {
    border-color: rgba(88, 101, 242, 0.45);
    background: rgba(88, 101, 242, 0.06);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.2);
}
.soc-link--discord:hover .soc-link__icon {
    background: rgba(88, 101, 242, 0.12);
}
.soc-link--discord:hover .soc-link__icon img {
    filter: none;
    opacity: 1;
}
.soc-link--discord:hover .soc-link__name {
    color: #7b87ff;
}

/* WhatsApp — #25d366 */
.soc-link--whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.45);
    background: rgba(37, 211, 102, 0.06);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2);
}
.soc-link--whatsapp:hover .soc-link__icon {
    background: rgba(37, 211, 102, 0.12);
}
.soc-link--whatsapp:hover .soc-link__icon img {
    filter: none;
    opacity: 1;
}
.soc-link--whatsapp:hover .soc-link__name {
    color: #25d366;
}

/* ---- Placeholder cards ---- */

.hcard--placeholder {
    min-height: 140px;
    position: relative;
    overflow: hidden;
    border: 1px dashed rgba(58, 180, 200, 0.18) !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

.hcard--placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(58, 180, 200, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hcard__placeholder-content {
    text-align: center;
    padding: 28px 18px;
    position: relative;
    z-index: 1;
}

.hcard__placeholder-icon {
    font-size: 34px;
    display: block;
    margin-bottom: 12px;
    opacity: 0.18;
    filter: grayscale(1) brightness(2);
    line-height: 1;
}

.hcard__placeholder-title {
    font-size: 10px !important;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(58, 180, 200, 0.4) !important;
    margin-bottom: 6px !important;
}

.hcard__placeholder-sub {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0 !important;
}

/* ============================================================
   CS HUB — CENTER COLUMN
   ============================================================ */

.cs-hub {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(58, 180, 200, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(58, 180, 200, 0.06), 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Banner */

.cs-hub__banner {
    position: relative;
    background: url(../img/castle_owner_bg.jpg) center 30% / cover no-repeat;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
}

.cs-hub__banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(5, 15, 20, 0.84) 100%
    );
    z-index: 1;
}

.cs-hub__icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(58, 180, 200, 0.7));
    flex-shrink: 0;
}

.cs-hub__title-wrap {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cs-hub__title {
    font-size: 26px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: #fff !important;
    text-shadow: 0 0 40px rgba(58, 180, 200, 0.7), 0 0 80px rgba(58, 180, 200, 0.3);
    margin: 0 0 4px !important;
    line-height: 1.1 !important;
}

.cs-hub__subtitle {
    font-size: 9px;
    color: rgba(58, 180, 200, 0.65);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 !important;
}

/* Section label (line ─── text ───) */

.cs-hub__section-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-hub__section-label-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 180, 200, 0.3), transparent);
}

.cs-hub__section-label-text {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(58, 180, 200, 0.6);
    white-space: nowrap;
}

/* Current winner */

.cs-hub__current {
    padding: 20px 20px 14px;
}

.cs-hub__current .cs-hub__section-label {
    margin-bottom: 14px;
}

/* Strip chrome from the legacy eventBlock wrapper */
.cs-hub__current .eventBlock {
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.cs-hub__current .eventBlock > h1 {
    display: none !important;
}

/* ============================================================
   CS WINNER CARD — new design
   ============================================================ */

.cs-winner-card {
    position: relative;
    background: url(../img/castle_owner_bg.jpg) center 35% / cover no-repeat;
    border-radius: 10px;
    overflow: hidden;
}

.cs-winner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35)  0%,
        rgba(0, 0, 0, 0.55)  55%,
        rgba(0, 0, 0, 0.88) 100%
    );
    z-index: 1;
}

.cs-winner-card > * {
    position: relative;
    z-index: 2;
}

/* Top crown divider */
.cs-winner__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 22px 0;
}

.cs-winner__header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.55), transparent);
}

.cs-winner__header-crown {
    font-size: 22px;
    color: #c9a227;
    text-shadow: 0 0 18px rgba(201, 162, 39, 0.8);
    line-height: 1;
}

/* Guild logo ring */
.cs-winner__logo-wrap {
    display: flex;
    justify-content: center;
    padding: 16px 0 10px;
}

.cs-winner__logo-ring {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: 3px solid #c9a227;
    box-shadow:
        0 0 22px rgba(201, 162, 39, 0.55),
        0 0 50px rgba(201, 162, 39, 0.22),
        inset 0 0 18px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080a0c;
    animation: cs-logo-pulse 3.5s ease-in-out infinite;
}

@keyframes cs-logo-pulse {
    0%, 100% {
        box-shadow: 0 0 22px rgba(201, 162, 39, 0.55), 0 0 50px rgba(201, 162, 39, 0.22), inset 0 0 18px rgba(0,0,0,0.8);
    }
    50% {
        box-shadow: 0 0 35px rgba(201, 162, 39, 0.85), 0 0 75px rgba(201, 162, 39, 0.4), inset 0 0 18px rgba(0,0,0,0.8);
    }
}

.cs-winner__logo-ring img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}

/* Clan info */
.cs-winner__body {
    text-align: center;
    padding: 4px 24px 18px;
}

.cs-winner__eyebrow {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(201, 162, 39, 0.65);
    margin-bottom: 8px;
}

.cs-winner__clan {
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    text-shadow:
        0 0 40px rgba(201, 162, 39, 0.7),
        0 0 80px rgba(201, 162, 39, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.95);
    margin-bottom: 16px;
    line-height: 1.1;
    word-break: break-word;
}

.cs-winner__clan a {
    color: inherit !important;
    text-decoration: none !important;
}

.cs-winner__master-row {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 28px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(58, 180, 200, 0.2);
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.cs-winner__master-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(58, 180, 200, 0.6);
}

.cs-winner__master-name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.cs-winner__master-name a {
    color: #3ab4c8 !important;
    text-decoration: none !important;
}

/* Footer meta strip */
.cs-winner__footer {
    background: rgba(0, 0, 0, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 22px;
}

.cs-winner__meta {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
}

.cs-winner__meta-item {
    text-align: center;
    flex: 1;
}

.cs-winner__meta-label {
    display: block;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 4px;
}

.cs-winner__meta-val {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #3ab4c8;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(58, 180, 200, 0.55);
}

.cs-winner__meta-sep {
    font-size: 16px;
    color: rgba(201, 162, 39, 0.35);
    flex-shrink: 0;
}

/* Empty state (castle not occupied) */
.cs-winner-card--empty {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-winner__empty-state {
    text-align: center;
    padding: 40px 24px;
    position: relative;
    z-index: 2;
}

.cs-winner__empty-icon {
    font-size: 44px;
    display: block;
    margin-bottom: 14px;
    opacity: 0.28;
    filter: grayscale(1);
}

.cs-winner__empty-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 6px !important;
}

.cs-winner__empty-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: 1.5px;
    margin-bottom: 0 !important;
}

/* Stage/countdown — div separado debajo del card */
.cs-stage-info {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    margin-top: 10px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(58, 180, 200, 0.12);
    border-radius: 8px;
}

.cs-stage-info__item {
    text-align: center;
    flex: 1;
}

.cs-stage-info__label {
    display: block;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 5px;
}

.cs-stage-info__val {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #3ab4c8;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(58, 180, 200, 0.55);
}

.cs-stage-info__sep {
    font-size: 16px;
    color: rgba(201, 162, 39, 0.3);
    flex-shrink: 0;
}

/* ---- Legacy .event fallback (si la caché de PHP sirve el markup viejo) ---- */

.cs-hub__current .event {
    position: relative;
    background: url(../img/castle_owner_bg.jpg) center 30% / cover no-repeat !important;
    border: 1px solid rgba(58, 180, 200, 0.2) !important;
    border-radius: 10px !important;
    overflow: hidden;
    min-height: 200px;
    color: #fff;
    display: flex !important;
    align-items: center;
    padding: 24px 16px !important;
}

.cs-hub__current .event::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

.cs-hub__current .event > div {
    position: relative;
    z-index: 2;
}

.cs-hub__current .event img {
    border-radius: 50%;
    border: 2px solid #c9a227;
    box-shadow: 0 0 20px rgba(201,162,39,0.5);
}

.cs-hub__current .event span[style] {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-shadow: 0 0 30px rgba(201,162,39,0.7) !important;
    display: block;
}

.cs-hub__empty {
    text-align: center;
    padding: 30px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    letter-spacing: 1px;
}

/* Historical ranking */

.cs-hub__history {
    padding: 14px 20px 24px;
    border-top: 1px solid rgba(58, 180, 200, 0.08);
}

.cs-hub__history .cs-hub__section-label {
    margin-bottom: 16px;
}

.cs-hub__history .guildHistoricalBlock {
    margin: 0 !important;
}

.cs-hub__history .gh-header {
    display: none !important;
}

/* ============================================================
   CLASSES SECTION — background-2600.jpg
   ============================================================ */

.classes-section {
    position: relative;
    background: url(../img/background-2600.jpg) center top / cover no-repeat;
    padding: 60px 0 70px;
    overflow: hidden;
}

.classes-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 11, 13, 0.90) 0%,
        rgba(11, 11, 13, 0.62) 30%,
        rgba(11, 11, 13, 0.62) 70%,
        rgba(11, 11, 13, 0.94) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.classes-section__header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding: 0 15px;
}

.classes-section > .container,
.classes-section > div,
.classes-section > section {
    position: relative;
    z-index: 2;
}

/* ---- Classes slider overrides ---- */

/* Tighter main viewer */
body.home-v2 .gallery-top {
    height: 520px !important;
}

/* Remove the class-img.png overlay (designed for light bg) */
body.home-v2 .gallery-top::after {
    display: none !important;
}

/* Character name text: white + cyan glow */
body.home-v2 .className {
    bottom: 160px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center;
    width: auto;
    white-space: nowrap;
}

body.home-v2 .className h3 {
    color: #fff !important;
    font-size: 52px !important;
    text-shadow: 0 0 50px rgba(58, 180, 200, 0.7), 0 2px 20px rgba(0, 0, 0, 0.9) !important;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Slide background: contain the character art */
body.home-v2 .gallery-top .swiper-slide {
    background-size: contain !important;
    background-position: center bottom !important;
}

/* Nav arrows: position relative to shorter slide */
body.home-v2 .gallery-top .swiper-button-white {
    bottom: 110px !important;
}

/* Thumbs container: pull up less to match new height */
body.home-v2 .gallery-thumbs-container {
    background: transparent;
    margin-top: -100px !important;
    margin-bottom: 0 !important;
    padding: 0 15px;
}

body.home-v2 .gallery-thumbs {
    height: 90px !important;
    max-width: 100% !important;
}

body.home-v2 .gallery-thumbs .swiper-slide {
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s ease;
}

/* Cyan active thumbnail */
body.home-v2 .gallery-thumbs .swiper-slide-thumb-active {
    border: 2px solid #3ab4c8 !important;
    box-shadow: 0 0 16px rgba(58, 180, 200, 0.45) !important;
}

body.home-v2 .gallery-thumbs-name {
    color: #3ab4c8 !important;
    font-size: 11px !important;
    letter-spacing: 2px;
    font-weight: 700;
    border-radius: 6px !important;
    background: rgba(0, 0, 0, 0.75) !important;
}

/* ============================================================
   SOCIAL BLOCK
   ============================================================ */

body.home-v2 .socBlock {
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 40px 0 !important;
}

body.home-v2 .socBlock h3 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px !important;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 28px;
}

/* ============================================================
   INNER PAGES — body.inner-page
   ============================================================ */

/* Fondo: franjas laterales cyan + orbs de luz + grid de puntos */
body.inner-page {
    background-color: #07070b !important;
    background-image:
        /* franja lateral izquierda */
        radial-gradient(ellipse 45% 100% at 0% 50%,   rgba(58, 180, 200, 0.22) 0%, transparent 100%),
        /* franja lateral derecha */
        radial-gradient(ellipse 45% 100% at 100% 50%, rgba(58, 180, 200, 0.22) 0%, transparent 100%),
        /* orb esquina top-right */
        radial-gradient(ellipse 700px 600px at 98% 4%, rgba(58, 180, 200, 0.18) 0%, transparent 65%),
        /* orb esquina top-left (espejo) */
        radial-gradient(ellipse 700px 600px at 2%  4%, rgba(58, 180, 200, 0.18) 0%, transparent 65%),
        /* grid de puntos */
        radial-gradient(circle at 1px 1px, rgba(58, 180, 200, 0.13) 1px, transparent 0) !important;
    background-size: auto, auto, auto, auto, 36px 36px !important;
    background-attachment: fixed, fixed, fixed, fixed, fixed !important;
}

body.inner-page .container-top {
    background: transparent;
    max-width: 1200px;
    position: relative;
}

/* Orb animado derecho — palpita sobre la franja */
body.inner-page .container-top::before {
    content: '';
    position: fixed;
    top: 10%;
    right: -120px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(58, 180, 200, 0.20) 0%, rgba(58, 180, 200, 0.06) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: inner-orb-breathe 9s ease-in-out infinite;
}


@keyframes inner-orb-breathe {
    0%, 100% { opacity: 0.6; transform: scale(1);    }
    50%       { opacity: 1;   transform: scale(1.18); }
}

/* ---- Page title banner ---- */

body.inner-page .content h1 {
    background:
        linear-gradient(to bottom, rgba(5, 5, 8, 0.42) 0%, rgba(5, 5, 8, 0.88) 100%),
        url(../img/nuevo-fondo-top-2.jpeg) center 28% / cover no-repeat;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: #fff !important;
    text-align: center;
    padding: 70px 20px !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(58, 180, 200, 0.22);
    text-shadow:
        0 0 25px rgba(58, 180, 200, 1),
        0 0 55px rgba(58, 180, 200, 0.5),
        0 0 90px rgba(58, 180, 200, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.9);
    position: relative;
}

/* Línea pulsante bajo el título */
body.inner-page .content h1::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background: linear-gradient(90deg, transparent, #3ab4c8, transparent);
    box-shadow: 0 0 16px rgba(58, 180, 200, 0.95), 0 0 32px rgba(58, 180, 200, 0.5);
    animation: inner-line-breathe 4s ease-in-out infinite;
}

@keyframes inner-line-breathe {
    0%, 100% { width: 80px;  opacity: 0.7; }
    50%       { width: 150px; opacity: 1;   }
}

/* ---- Content area ---- */

body.inner-page .content {
    background: rgba(9, 9, 13, 0.97);
    border-left:   1px solid rgba(58, 180, 200, 0.10);
    border-right:  1px solid rgba(58, 180, 200, 0.10);
    border-bottom: 1px solid rgba(58, 180, 200, 0.10);
    box-shadow:
        0 0 100px rgba(58, 180, 200, 0.05),
        0 10px 50px rgba(0, 0, 0, 0.7),
        inset 0 0 80px rgba(58, 180, 200, 0.025);
    margin-bottom: 0 !important;
    min-height: 500px;
    position: relative;
}

body.inner-page .contentBlock {
    padding: 40px;
    background: transparent;
    min-height: 600px;
    position: relative;
}

/* Esquinas decorativas en las esquinas inferiores del bloque */
body.inner-page .contentBlock::before,
body.inner-page .contentBlock::after {
    content: '';
    position: absolute;
    bottom: 24px;
    width: 24px;
    height: 24px;
    pointer-events: none;
    opacity: 0.4;
}

body.inner-page .contentBlock::before {
    left: 24px;
    border-bottom: 1px solid #3ab4c8;
    border-left:   1px solid #3ab4c8;
}

body.inner-page .contentBlock::after {
    right: 24px;
    border-bottom: 1px solid #3ab4c8;
    border-right:  1px solid #3ab4c8;
}

/* Separadores de bloque internos */
body.inner-page .contentBlock .block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---- Tipografía general de módulos ---- */

body.inner-page .content h1 a,
body.inner-page .contentBlock h2,
body.inner-page .contentBlock h3 {
    color: #fff !important;
}

body.inner-page .contentBlock h2 {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #3ab4c8 !important;
    text-align: center;
    margin-bottom: 42px !important;
    padding-bottom: 16px;
    position: relative;
}

/* Línea glow bajo cada h2 de módulo */
body.inner-page .contentBlock h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 180, 200, 0.8), transparent);
    box-shadow: 0 0 10px rgba(58, 180, 200, 0.6);
}

/* ---- contentPage (ToS, Privacy, etc.) ---- */

body.inner-page .contentPage {
    padding: 40px 50px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

body.inner-page .contentPage h2,
body.inner-page .contentPage h3 {
    color: #3ab4c8 !important;
    font-size: 14px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px !important;
    font-weight: 700 !important;
}

body.inner-page .contentPage p {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 14px;
}

body.inner-page .contentPage a {
    color: #3ab4c8;
}

body.inner-page .contentPage a:hover {
    color: #5acfde !important;
    text-decoration: underline;
}

/* ---- Mensajes de sistema (error, success, info) ---- */

body.inner-page .alert-danger,
body.inner-page .alert-error {
    background: rgba(139, 26, 26, 0.2) !important;
    border: 1px solid rgba(139, 26, 26, 0.45) !important;
    color: #e8a0a0 !important;
    border-radius: 6px;
}

body.inner-page .alert-success {
    background: rgba(37, 140, 70, 0.18) !important;
    border: 1px solid rgba(37, 140, 70, 0.4) !important;
    color: #80d4a0 !important;
    border-radius: 6px;
}

body.inner-page .alert-info {
    background: rgba(58, 180, 200, 0.1) !important;
    border: 1px solid rgba(58, 180, 200, 0.3) !important;
    color: #8adde8 !important;
    border-radius: 6px;
}

/* ============================================================
   SITE FOOTER — redesign
   ============================================================ */

.site-footer {
    background: #060608;
    border-top: 1px solid rgba(58, 180, 200, 0.14);
    padding: 44px 0 28px;
    position: relative;
    /* neutraliza estilos del .footer viejo */
    font-family: inherit;
}

/* Acento cyan centrado en el top border */
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3ab4c8, transparent);
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* ---- Top row: logo + links ---- */

.site-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer__logo {
    display: block;
    flex-shrink: 0;
    text-decoration: none !important;
}

.site-footer__logo img {
    height: 36px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

.site-footer__logo:hover img {
    opacity: 0.9;
}

.site-footer__nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 2px;
}

.site-footer__nav a {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none !important;
    padding: 4px 10px;
    transition: color 0.2s ease;
}

.site-footer__nav a:hover {
    color: #3ab4c8 !important;
}

.site-footer__nav-sep {
    color: rgba(255, 255, 255, 0.1);
    font-size: 14px;
    line-height: 1;
    user-select: none;
}

/* ---- Separador ---- */

.site-footer__line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

/* ---- Social icons ---- */

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-soc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none !important;
    transition: border-color 0.25s ease, background 0.25s ease,
                box-shadow 0.25s ease, transform 0.2s ease;
}

.footer-soc img,
.footer-soc svg {
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.45;
    transition: opacity 0.25s ease, filter 0.25s ease;
    pointer-events: none;
}

.footer-soc:hover {
    transform: translateY(-3px);
}

/* TikTok */
.footer-soc--tiktok:hover {
    border-color: rgba(255, 45, 85, 0.5);
    background: rgba(255, 45, 85, 0.1);
    box-shadow: 0 4px 18px rgba(255, 45, 85, 0.22);
}
.footer-soc--tiktok:hover svg {
    filter: none;
    color: #ff2d55;
    opacity: 1;
}

/* Facebook */
.footer-soc--facebook:hover {
    border-color: rgba(24, 119, 242, 0.5);
    background: rgba(24, 119, 242, 0.1);
    box-shadow: 0 4px 18px rgba(24, 119, 242, 0.22);
}
.footer-soc--facebook:hover img {
    filter: none;
    opacity: 1;
}

/* Discord */
.footer-soc--discord:hover {
    border-color: rgba(88, 101, 242, 0.5);
    background: rgba(88, 101, 242, 0.1);
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.22);
}
.footer-soc--discord:hover img {
    filter: none;
    opacity: 1;
}

/* WhatsApp */
.footer-soc--whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.5);
    background: rgba(37, 211, 102, 0.1);
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.22);
}
.footer-soc--whatsapp:hover img {
    filter: none;
    opacity: 1;
}

/* ---- Copyright ---- */

.site-footer__copy {
    text-align: center;
    width: 100%;
}

.site-footer__copy p {
    margin-bottom: 4px !important;
    line-height: 1.7;
}

.site-footer__copy-name {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.22);
}

.site-footer__copy-webzen {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.1) !important;
}

.site-footer__copy-powered {
    margin-top: 6px !important;
}

.site-footer__copy-powered a,
.site-footer__copy-powered {
    font-size: 10px;
    color: rgba(58, 180, 200, 0.25);
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.site-footer__copy-powered a:hover {
    color: rgba(58, 180, 200, 0.6) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
    .site-header__auth {
        display: none;
    }

    .nav-auth-mobile {
        display: flex;
    }

    /* Mostrar y posicionar el hamburger en mobile */
    .site-header .button-btn {
        display: block;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
    }

    .site-header .button-btn span {
        display: block;
        width: 26px;
        height: 2px;
        background: #fff;
        margin-bottom: 6px;
        transition: 0.3s;
    }

    .site-header .button-btn span:last-child {
        margin-bottom: 0;
    }

    .site-header .button-btn.active {
        left: 300px;
        top: 22px;
        transform: none;
    }

    .site-header .menuBlock {
        background: rgba(0, 0, 0, 0.97) !important;
    }
}

@media (max-width: 992px) {
    .home-columns {
        grid-template-columns: 1fr 1fr;
    }

    .home-col--center {
        grid-column: 1 / -1;
        order: -1;
    }

    .hero-title {
        font-size: 48px !important;
        letter-spacing: 5px;
    }
}

@media (max-width: 769px) {
    .site-footer__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer__nav {
        justify-content: center;
    }

    .home-columns {
        grid-template-columns: 1fr;
    }

    .home-col--center {
        grid-column: auto;
        order: -1;
    }

    .home-col--left,
    .home-col--right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .cs-hub__banner {
        gap: 12px;
        padding: 22px 16px;
    }

    .hero-title {
        font-size: 36px !important;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .hero-btn {
        padding: 14px 36px;
        font-size: 11px;
    }

    .server-ribbon__item {
        padding: 4px 14px;
        font-size: 9px;
    }

    body.home-v2 .gallery-top {
        height: 400px !important;
    }

    body.home-v2 .gallery-thumbs-container {
        margin-top: -80px !important;
    }

    body.home-v2 .className h3 {
        font-size: 38px !important;
        letter-spacing: 3px;
    }
}

@media (max-width: 595px) {
    .home-col--left,
    .home-col--right {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 28px !important;
        letter-spacing: 3px;
    }

    .hero-eyebrow {
        font-size: 10px;
        letter-spacing: 4px;
    }

    .hero-btn {
        padding: 13px 28px;
        width: 100%;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        max-width: 280px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 10px !important;
        letter-spacing: 3px;
    }

    .cs-hub__title {
        font-size: 20px !important;
        letter-spacing: 5px;
    }

    .cs-hub__icon {
        width: 34px;
        height: 34px;
    }

    body.home-v2 .gallery-top {
        height: auto !important;
        min-height: 300px;
    }

    body.home-v2 .gallery-thumbs-container {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }

    body.home-v2 .className {
        bottom: auto !important;
        top: 20px !important;
        transform: none !important;
        left: 20px !important;
        text-align: left;
    }

    body.home-v2 .className h3 {
        font-size: 28px !important;
        letter-spacing: 2px;
    }
}

/* ============================================================
   GUIDES MODULE — .guides-module
   ============================================================ */

/* ---- Tab navigation ---- */

.guides-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 24px 40px 0;
    border-bottom: 1px solid rgba(58, 180, 200, 0.15);
    margin-bottom: 0;
}

.guides-tab {
    background: transparent;
    border: 1px solid rgba(58, 180, 200, 0.18);
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.22s ease;
    position: relative;
    bottom: -1px;
}

.guides-tab:hover {
    color: #3ab4c8;
    border-color: rgba(58, 180, 200, 0.45);
    background: rgba(58, 180, 200, 0.06);
}

.guides-tab.active {
    color: #3ab4c8;
    border-color: #3ab4c8;
    border-bottom-color: #0d0d10;
    background: rgba(58, 180, 200, 0.08);
    text-shadow: 0 0 14px rgba(58, 180, 200, 0.6);
}

/* ---- Panels ---- */

.guides-panel {
    display: none;
    padding: 36px 40px 48px;
}

.guides-panel.active {
    display: block;
}

/* ---- Grid layouts ---- */

.guides-grid {
    display: grid;
    gap: 20px;
}

.guides-grid--general {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.guides-grid--tutorials {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.guides-grid--monsters {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.guides-grid--events {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* ---- Base card ---- */

.gcard {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(58, 180, 200, 0.12);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.gcard:hover {
    border-color: rgba(58, 180, 200, 0.40);
    box-shadow: 0 0 28px rgba(58, 180, 200, 0.10);
    transform: translateY(-3px);
}

/* ---- Card thumbnail ---- */

.gcard__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a0a0f;
}

.gcard__thumb--sq {
    aspect-ratio: 1 / 1;
    max-height: 160px;
}

.gcard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.gcard:hover .gcard__thumb img {
    transform: scale(1.06);
}

/* ---- Card body ---- */

.gcard__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.gcard__name {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff !important;
    margin: 0 !important;
}

.gcard__desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0 !important;
}

.gcard__map {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(58, 180, 200, 0.75);
    font-weight: 600;
    letter-spacing: 1px;
}

.gcard__map-icon {
    font-size: 13px;
}

/* ---- Tags / badges ---- */

.gcard__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    background: rgba(58, 180, 200, 0.10);
    border: 1px solid rgba(58, 180, 200, 0.25);
    color: #3ab4c8;
    align-self: flex-start;
}

.gcard__badge--respawn {
    background: rgba(201, 162, 39, 0.10);
    border-color: rgba(201, 162, 39, 0.30);
    color: #c9a227;
}

.gcard__badge--qty {
    background: rgba(255, 120, 50, 0.10);
    border-color: rgba(255, 120, 50, 0.30);
    color: #ff8844;
}

/* ---- Drop tags ---- */

.gcard__drops {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
    padding-top: 8px;
}

.gcard__drop {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.55);
}

.gcard__drop--gold {
    background: rgba(201, 162, 39, 0.08);
    border-color: rgba(201, 162, 39, 0.25);
    color: #c9a227;
}

/* ---- Bullet list ---- */

.gcard__list {
    margin: 0 !important;
    padding: 0 0 0 14px !important;
    list-style: none;
}

.gcard__list li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    position: relative;
    padding-left: 2px;
}

.gcard__list li::before {
    content: '›';
    position: absolute;
    left: -12px;
    color: #3ab4c8;
    font-weight: 700;
}

/* ---- Link ---- */

.gcard__link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #3ab4c8 !important;
    text-decoration: none !important;
    margin-top: auto;
    padding-top: 8px;
    transition: color 0.2s;
}

.gcard__link:hover {
    color: #5acfde !important;
}

/* ---- Tag inline ---- */

.gcard__tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(58, 180, 200, 0.55);
}

/* ---- Video card ---- */

.gcard__video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.gcard__video iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .guides-nav     { padding: 16px 16px 0; }
    .guides-panel   { padding: 24px 16px 32px; }
    .guides-tab     { padding: 8px 12px; font-size: 10px; }
    .guides-grid--monsters  { grid-template-columns: repeat(2, 1fr); }
    .guides-grid--general,
    .guides-grid--events,
    .guides-grid--tutorials { grid-template-columns: 1fr; }
}

/* ============================================================
   RANKINGS MODULE — .rank-module
   ============================================================ */

/* ---- Rankings menu (nav generado por rankingsMenu()) ---- */

.rankings_menu {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 24px 0 0;
    border-bottom: 1px solid rgba(58, 180, 200, 0.15);
    margin-bottom: 0;
}

.rankings_menu a {
    background: transparent;
    border: 1px solid rgba(58, 180, 200, 0.18);
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 10px 20px;
    text-decoration: none !important;
    transition: all 0.22s ease;
    position: relative;
    bottom: -1px;
    display: inline-block;
}

.rankings_menu a:hover {
    color: #3ab4c8 !important;
    border-color: rgba(58, 180, 200, 0.45);
    background: rgba(58, 180, 200, 0.06);
}

.rankings_menu a.active {
    color: #3ab4c8 !important;
    border-color: #3ab4c8;
    border-bottom-color: #0d0d10;
    background: rgba(58, 180, 200, 0.08);
    text-shadow: 0 0 14px rgba(58, 180, 200, 0.6);
}

/* ---- Wrapper del módulo ---- */

.rank-module {
    padding-bottom: 48px;
}

/* ---- Tabla ---- */

.rank-table {
    padding: 0;
    margin-top: 0;
}

/* ---- Header ---- */

.rank-head {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(58, 180, 200, 0.20);
    margin-bottom: 4px;
}

.rank-head__pos  { width: 52px; flex-shrink: 0; }
.rank-head__cls  { width: 52px; flex-shrink: 0; }
.rank-head__name { flex: 1; }
.rank-head__val  { width: 110px; text-align: right; flex-shrink: 0; }

.rank-head > span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(58, 180, 200, 0.55);
}

/* ---- Fila ---- */

.rank-row {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.18s ease;
}

.rank-row:hover {
    background: rgba(58, 180, 200, 0.05);
}

/* Top 3 con fondo sutil de color */
.rank-row--1 { background: rgba(255, 215, 0,   0.04); border-left: 2px solid rgba(255, 215, 0,   0.45); }
.rank-row--2 { background: rgba(192, 192, 192, 0.04); border-left: 2px solid rgba(192, 192, 192, 0.35); }
.rank-row--3 { background: rgba(205, 127, 50,  0.04); border-left: 2px solid rgba(205, 127, 50,  0.35); }

.rank-row--1:hover { background: rgba(255, 215, 0,   0.08); }
.rank-row--2:hover { background: rgba(192, 192, 192, 0.07); }
.rank-row--3:hover { background: rgba(205, 127, 50,  0.07); }

/* ---- Posición ---- */

.rank-pos {
    width: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.rank-medal {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.rank-medal--1 {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.55);
    color: #ffd700;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}

.rank-medal--2 {
    background: rgba(192, 192, 192, 0.12);
    border: 1px solid rgba(192, 192, 192, 0.45);
    color: #c0c0c0;
}

.rank-medal--3 {
    background: rgba(205, 127, 50, 0.12);
    border: 1px solid rgba(205, 127, 50, 0.45);
    color: #cd7f32;
}

.rank-num {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.20);
    width: 28px;
    text-align: center;
}

/* ---- Avatar de clase ---- */

.rank-cls {
    width: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-avatar__img,
.rank-cls img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(58, 180, 200, 0.3));
}

.rank-guild-logo img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain;
    border-radius: 4px;
}

/* ---- Nombre ---- */

.rank-name {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.rank-name a,
.rank-name a:visited {
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s;
}

.rank-name a:hover {
    color: #3ab4c8 !important;
}

/* ---- Dot de estado online ---- */

.rank-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rank-dot--on  { background: #2ecc71; box-shadow: 0 0 6px rgba(46, 204, 113, 0.7); }
.rank-dot--off { background: rgba(255, 255, 255, 0.15); }

/* ---- Stats ---- */

.rank-stat {
    width: 110px;
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rank-stat a,
.rank-stat a:visited {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.70) !important;
    text-decoration: none !important;
}

.rank-stat__val {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.rank-stat__lbl {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(58, 180, 200, 0.5);
    line-height: 1;
}

/* ---- Última actualización ---- */

.rank-updated {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.20);
    text-align: right;
    letter-spacing: 1.5px;
    padding: 16px 0 0;
    margin: 0 !important;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .rankings_menu { padding: 16px 0 0; }
    .rank-table    { padding: 0; }
    .rank-updated  { padding: 12px 0 0; }
    .rank-head__val,
    .rank-stat     { width: 80px; }
    .rank-stat__val { font-size: 13px; }
}

/* ============================================================
   DOWNLOADS MODULE — .dl-module
   ============================================================ */

.dl-module {
    padding-bottom: 48px;
}

.dl-section {
    margin-bottom: 36px;
}

.dl-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(58, 180, 200, 0.7);
    padding: 20px 0 12px;
    border-bottom: 1px solid rgba(58, 180, 200, 0.15);
    margin-bottom: 4px;
}

.dl-section__icon {
    font-size: 15px;
}

.dl-list {
    display: flex;
    flex-direction: column;
}

.dl-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.18s ease;
}

.dl-card:hover {
    background: rgba(58, 180, 200, 0.05);
}

.dl-card__arrow {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(58, 180, 200, 0.25);
    border-radius: 50%;
    color: #3ab4c8;
    font-size: 16px;
    font-weight: 700;
}

.dl-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.dl-card__name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dl-card__desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dl-card__size {
    font-size: 11px;
    font-weight: 700;
    color: rgba(58, 180, 200, 0.6);
    letter-spacing: 1px;
    flex-shrink: 0;
    width: 80px;
    text-align: right;
}

.dl-card__btn {
    flex-shrink: 0;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(58, 180, 200, 0.4);
    color: #3ab4c8 !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.22s ease;
}

.dl-card__btn:hover {
    background: rgba(58, 180, 200, 0.12);
    border-color: #3ab4c8;
    box-shadow: 0 0 12px rgba(58, 180, 200, 0.2);
    text-decoration: none !important;
}

@media (max-width: 600px) {
    .dl-card { flex-wrap: wrap; }
    .dl-card__size { width: auto; }
    .dl-card__btn { width: 100%; text-align: center; }
}

/* ============================================================
   DONATIONS MODULE — .don-module
   ============================================================ */

.don-module {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    padding-bottom: 48px;
    align-items: start;
}

/* ── Precios ── */

.don-prices {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.don-currency {
    position: relative;
}

.don-currency__header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(58, 180, 200, 0.75);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(58, 180, 200, 0.18);
    margin-bottom: 2px;
}

.don-currency__flag { font-size: 17px; }

.don-currency__head {
    display: flex;
    justify-content: space-between;
    padding: 7px 14px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(58, 180, 200, 0.35);
}

.don-currency__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.18s ease;
    position: relative;
}

.don-currency__row--first {
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    border-left: 2px solid rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.03);
}

.don-currency__row:hover {
    background: rgba(58, 180, 200, 0.06);
}

.don-currency__amount {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.don-currency__wc {
    font-size: 15px;
    font-weight: 800;
    color: #3ab4c8;
    text-shadow: 0 0 10px rgba(58, 180, 200, 0.4);
}

.don-currency__wc em {
    font-style: normal;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(58, 180, 200, 0.45);
    margin-left: 4px;
}

.don-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
    padding: 14px;
    border: 1px solid rgba(58, 180, 200, 0.1);
    background: rgba(58, 180, 200, 0.03);
}

.don-note__icon {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Frame exterior del iframe ── */

.don-frame-outer {
    position: relative;
    padding: 0 12px;
}

/* Esquinas decorativas */
.don-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    z-index: 2;
    pointer-events: none;
}

.don-corner--tl { top: 32px;  left: 0;  border-top: 2px solid #3ab4c8; border-left:  2px solid #3ab4c8; }
.don-corner--tr { top: 32px;  right: 0; border-top: 2px solid #3ab4c8; border-right: 2px solid #3ab4c8; }
.don-corner--bl { bottom: 28px; left: 0;  border-bottom: 2px solid #3ab4c8; border-left:  2px solid #3ab4c8; }
.don-corner--br { bottom: 28px; right: 0; border-bottom: 2px solid #3ab4c8; border-right: 2px solid #3ab4c8; }

/* Barra superior */
.don-frame-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(58, 180, 200, 0.07);
    border: 1px solid rgba(58, 180, 200, 0.18);
    border-bottom: none;
    margin-bottom: 0;
}

.don-frame-bar__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.8);
    animation: don-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes don-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(46,204,113,0.8); }
    50%       { opacity: 0.5; box-shadow: 0 0 3px rgba(46,204,113,0.3); }
}

.don-frame-bar__label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(58, 180, 200, 0.7);
    flex: 1;
}

.don-frame-bar__secure {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.25);
}

/* Líneas laterales animadas */
.don-side-line {
    position: absolute;
    top: 40px;
    bottom: 28px;
    width: 12px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.don-side-line--left  { left: 0; }
.don-side-line--right { right: 0; }

.don-side-line__track {
    position: absolute;
    top: 0;
    left: 5px;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(58,180,200,0.15) 20%,
        rgba(58,180,200,0.15) 80%,
        transparent 100%
    );
}

.don-side-line__track::after {
    content: '';
    position: absolute;
    left: 0;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #3ab4c8, transparent);
    animation: don-slide 3s linear infinite;
}

.don-side-line--right .don-side-line__track::after {
    animation-delay: 1.5s;
}

@keyframes don-slide {
    0%   { top: -60px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Iframe y scanner */
.don-frame-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(58, 180, 200, 0.18);
    border-top: none;
    border-bottom: none;
    background: #fff;
}

.don-scanner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(58,180,200,0.6) 40%,
        rgba(58,180,200,0.9) 50%,
        rgba(58,180,200,0.6) 60%,
        transparent 100%
    );
    box-shadow: 0 0 12px rgba(58,180,200,0.5);
    z-index: 3;
    pointer-events: none;
    animation: don-scan 4s ease-in-out infinite;
}

@keyframes don-scan {
    0%   { top: 0;    opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.don-iframe {
    display: block;
    width: 100%;
    height: 680px;
    border: none;
}

/* Barra inferior */
.don-frame-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 16px;
    background: rgba(58, 180, 200, 0.04);
    border: 1px solid rgba(58, 180, 200, 0.18);
    border-top: none;
}

.don-frame-footer__powered {
    font-size: 9px;
    color: rgba(255,255,255,0.2);
    letter-spacing: 1px;
}

.don-frame-footer__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(46, 204, 113, 0.7);
}

.don-frame-footer__led {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 6px rgba(46,204,113,0.8);
    animation: don-pulse 2s ease-in-out infinite;
}

@media (max-width: 900px) {
    .don-module { grid-template-columns: 1fr; }
    .don-iframe  { height: 580px; }
}

/* ============================================================
   HOME RANKING WIDGET — .hcard--ranking
   ============================================================ */

.hcard--ranking .hcard__body {
    padding: 0;
}

.hrank-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s ease;
}

.hrank-row:hover {
    background: rgba(58,180,200,0.05);
}

.hrank-pos {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: rgba(255,255,255,0.3);
    border-radius: 50%;
}

.hrank-pos--1 { background: rgba(255,215,0,0.15);  color: #ffd700; }
.hrank-pos--2 { background: rgba(192,192,192,0.15); color: #c0c0c0; }
.hrank-pos--3 { background: rgba(205,127,50,0.15);  color: #cd7f32; }

.hrank-avatar { width: 28px; flex-shrink: 0; }
.hrank-avatar__img { width: 28px; height: 28px; object-fit: contain; }

.hrank-name {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hrank-name a {
    color: #fff !important;
    text-decoration: none !important;
}

.hrank-name a:hover { color: #3ab4c8 !important; }

.hrank-val {
    font-size: 11px;
    font-weight: 800;
    color: #3ab4c8;
    flex-shrink: 0;
    text-align: right;
}

.hrank-val em {
    font-style: normal;
    font-size: 8px;
    letter-spacing: 1.5px;
    color: rgba(58,180,200,0.45);
    display: block;
    text-align: right;
}

.hcard__footer-link {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(58,180,200,0.5) !important;
    text-decoration: none !important;
    border-top: 1px solid rgba(58,180,200,0.1);
    transition: color 0.2s ease, background 0.2s ease;
}

.hcard__footer-link:hover {
    color: #3ab4c8 !important;
    background: rgba(58,180,200,0.05);
}

.hrank-empty {
    padding: 20px;
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.25);
}

/* ── Variante dorada para eventos ── */

.hcard--event {
    border-color: rgba(255,215,0,0.15);
}

.hcard__title--event {
    color: #c9a84c;
    border-bottom-color: rgba(255,215,0,0.12);
}

.hrank-row--event:hover {
    background: rgba(255,215,0,0.04);
}

.hrank-pos--event {
    color: rgba(255,215,0,0.4);
}

.hrank-pos--event.hrank-pos--1 { background: rgba(255,215,0,0.15); color: #ffd700; }
.hrank-pos--event.hrank-pos--2 { background: rgba(192,192,192,0.12); color: #c0c0c0; }
.hrank-pos--event.hrank-pos--3 { background: rgba(205,127,50,0.12); color: #cd7f32; }

.hrank-val--event {
    color: #c9a84c;
}

.hrank-val--event em {
    color: rgba(201,168,76,0.45);
}

/* ============================================================
   EL MÁS PICANTE — .hcard--picante
   ============================================================ */

.hcard--picante {
    border-color: rgba(255,80,0,0.2);
    background: rgba(255,60,0,0.03);
}

.hcard__title--picante {
    color: #ff6a00;
    border-bottom-color: rgba(255,80,0,0.15);
}

.picante-body {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
}

.picante-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(255,80,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,60,0,0.06);
    position: relative;
}

.picante-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 12px rgba(255,80,0,0.15);
    pointer-events: none;
}

.picante-avatar__img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.picante-info {
    flex: 1;
    min-width: 0;
}

.picante-name {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
}

.picante-name__text {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 0 14px rgba(255,80,0,0.5), 0 0 28px rgba(255,80,0,0.2);
}

.picante-name__fire {
    font-size: 12px;
    animation: picante-flicker 1.4s ease-in-out infinite alternate;
}

@keyframes picante-flicker {
    0%   { opacity: 1;   transform: scale(1); }
    100% { opacity: 0.6; transform: scale(0.88); }
}

.picante-class {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,106,0,0.6);
    margin-bottom: 10px;
}

.picante-stats {
    display: flex;
    gap: 14px;
}

.picante-stat {
    display: flex;
    flex-direction: column;
}

.picante-stat__val {
    font-size: 14px;
    font-weight: 800;
    color: #ff6a00;
    line-height: 1;
}

.picante-stat__lbl {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,106,0,0.4);
    margin-top: 2px;
}
