
/* Forzar FontAwesome 5 con CDN más reciente */
@import url('https://use.fontawesome.com/releases/v5.15.4/css/all.css');

.sd-post-meta span i {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    display: inline-block !important;
    color: var(--sd-yellow) !important;
    margin-right: 12px !important;
    font-size: 18px !important;
    vertical-align: middle !important;
}

/* Fix FontAwesome 5 Visibility */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

.fas, .far, .fab, .fa {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.far {
    font-weight: 400 !important;
}
:root {
    --sd-purple-dark: #13013C;
    --sd-purple-mid: #6621A2;
    --sd-purple-light: #51299B;
    --sd-yellow: #FCD310;
    --sd-yellow-dark: #FAC108;
    --sd-discord: #818CF8;
    --sd-discord-hover: #9CA3FF;
}

/* Base Body Overrides */
body {
    background-color: var(--sd-purple-dark) !important;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

/* Animations */
@keyframes hero-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Classes */
.navbar-floating-container { 
    width: 100%; 
    position: fixed; 
    display: flex; 
    justify-content: center; 
    margin-top: 24px; 
    z-index: 9999; 
    padding: 0 16px; 
    pointer-events: none; 
    left: 0; 
    right: 0; 
}


.navbar-main { 
    display: flex; 
    pointer-events: auto; 
    width: 100%; 
    max-width: 1240px; 
    padding: 0 16px; 
    background: linear-gradient(180deg, #6621A2, #51299B); 
    border-radius: 16px; 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); 
    align-items: center; 
    height: 80px; /* Altura original basada en p-4 (32px) + 48px logo */
}

/* Forzamos visibilidad de escritorio */
@media (min-width: 1025px) {
    .navbar-desktop {
        display: flex !important;
    }

    .navbar-mobile {
        display: none !important;
    }
}

/* Forzamos visibilidad de móvil */
@media (max-width: 1024px) {
    .navbar-desktop {
        display: none !important;
    }

    .navbar-mobile {
        display: flex !important;
    }
}

.navbar-logo-link { 
    position: relative; 
    z-index: 100; 
    display: flex; 
    align-items: center; 
    width: 64px; /* Ocupa espacio horizontal */
    height: 100%; /* Dentro de la navbar */
}

.navbar-logo-glow { 
    position: absolute; 
    width: 100px; 
    height: 100px; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    background: var(--sd-yellow); 
    border-radius: 50%; 
    filter: blur(25px); 
    opacity: 0.4; 
    transition: opacity 0.3s; 
}

.navbar-logo-link:hover .navbar-logo-glow { 
    position: absolute; 
    width: 100px; 
    height: 100px; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    background: var(--sd-yellow); 
    border-radius: 50%; 
    filter: blur(25px); 
    opacity: 0.4; 
    transition: opacity 0.3s; 
}

.navbar-logo { 
    position: absolute; 
    height: 70px !important; 
    width: auto; 
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); 
    transition: transform 0.3s; 
    filter: brightness(1.18); 
    max-width: none !important;
    z-index: 100;
}

.navbar-logo-link:hover .navbar-logo { 
    position: absolute; 
    height: 70px !important; 
    width: auto; 
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); 
    transition: transform 0.3s; 
    filter: brightness(1.18); 
    max-width: none !important;
    z-index: 100;
}

.nav-links-container {
    flex: 1;
    padding-left: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    color: white !important;
    text-decoration: none !important;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.nav-link:hover {
    color: var(--sd-yellow) !important;
    transform: scale(1.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--sd-yellow);
    border-radius: 99px;
    transition: width 0.2s;
    box-shadow: 0 0 8px rgba(253, 224, 71, 0.6);
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn-discord {
    background-color: var(--sd-discord);
    box-shadow: 0 2px 0 #4139C1, inset 0 2px 1px rgba(255, 255, 255, 0.4);
    width: 42px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-discord:hover {
    transform: scale(1.05);
    background-color: var(--sd-discord-hover);
    box-shadow: 0 4px 20px rgba(129, 140, 248, 0.6), 0 2px 0 #4139C1, inset 0 2px 1px rgba(255, 255, 255, 0.4);
}

.btn-yellow-small {
    background: linear-gradient(90deg, var(--sd-yellow), var(--sd-yellow-dark));
    box-shadow: 0 2px 0 #B33819, inset 0 2px 1px rgba(255, 255, 255, 0.4);
    height: 38px;
    width: 124px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 17px;
    color: #47241C !important;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.btn-yellow-small:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 0 #B33819, inset 0 2px 1px rgba(255, 255, 255, 0.4), 0 0 20px rgba(252, 211, 16, 0.6);
}

/* Mobile Navbar Styles */
.navbar-mobile-top { 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 12px; 
    background: linear-gradient(180deg, #6621A2, #51299B); 
    border-radius: 16px; 
    position: relative; 
    z-index: 50; 
    height: 70px;
}

.btn-mobile-menu {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
}

.mobile-dropdown {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #521c97;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform-origin: top;
    transition: all 0.3s;
    opacity: 0;
    transform: scaleY(0);
    pointer-events: none;
}

.mobile-dropdown.active {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
}

.mobile-nav-link {
    font-weight: 900;
    font-size: 20px;
    color: white !important;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: var(--sd-yellow) !important;
}

/* Footer Styles */
.sd-footer { position: relative; z-index: 50; background: linear-gradient(180deg, #13013C, #000000); padding: 24px 0 16px; width: 100vw !important; margin-left: calc(-50vw + 50%) !important; margin-right: calc(-50vw + 50%) !important; box-sizing: border-box; }

.sd-footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    z-index: 0;
}

.sd-footer-container { width: 100%; max-width: 1240px !important; margin: 0 auto !important; padding: 0 16px; position: relative; z-index: 10; float: none !important; }

.sd-ip-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 24px;
    background: linear-gradient(180deg, #6621A2, #51299B);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sd-ip-banner:hover {
    transform: scale(1.01);
}

.sd-ip-text {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sd-ip-subtext {
    font-size: 11px;
    font-weight: 700;
    color: #FEE75C;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sd-social-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.sd-social-link {
    transition: transform 0.2s;
}

.sd-social-link:hover {
    transform: scale(1.1);
}

.sd-footer-main {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding-top: 32px;
}

.sd-footer-section {
    flex: 1;
    min-width: 250px;
}

.sd-footer-title {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.sd-footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1.6;
}

.sd-footer-disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sd-info-icon {
    width: 7px !important;
    height: 7px !important;
    flex-shrink: 0;
}

.sd-footer-links {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

/* Si hay muchos enlaces, pasamos a 2 columnas */
.sd-footer-links.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
}

.sd-footer-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 12px;
    text-decoration: none !important;
}

.sd-footer-link:hover {
    color: white !important;
    text-decoration: underline !important;
}

/* Ghost Overrides para Ancho y Espaciado */
.site-main {
    margin-top: 80px !important;
}

/* Expandir contenedor principal a 1240px (paridad con navbar) */
.gh-inner, 
.inner,
.gh-content,
.gh-article-header,
.gh-comments,
.gh-readnext-inner {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* Ajuste específico para el feed de posts */
.post-feed {
    max-width: 1240px !important;
    margin: 0 auto !important;
}

@media (max-width: 1024px) {
    

    .nav-links-container {
        display: none;
    }

    .sd-footer-main {
        flex-direction: column;
    }

    .sd-social-links {
        display: none;
    }
}





/* Paginación SD Sync */
.sd-pagination-container {
    width: 100%;
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 16px;
}

.sd-pagination-banner {
    background: linear-gradient(180deg, #6621A2, #51299B);
    border-radius: 16px;
    height: 74px; /* 7% más estrecha que los 80px del footer/navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sd-pagination-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.pagination-btn {
    width: 130px !important;
    height: 38px !important;
    font-size: 15px !important;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .sd-pagination-banner { height: auto; padding: 15px 0; }
    .sd-pagination-content { flex-direction: column; gap: 15px; }
    .pagination-btn { width: 100% !important; }
}





/* Modern Wiki Overrides (Next.js Style) */
.wiki-container {
    background: linear-gradient(180deg, #13013C, #000000) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden;
}

.wiki-sidebar {
    background: rgba(102, 33, 162, 0.15) !important;
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.wiki-content-wrapper {
    background: transparent !important;
    padding: 40px !important;
}

.wiki-header {
    border-bottom: 2px solid rgba(255, 255, 255, 0.05) !important;
    margin-bottom: 32px !important;
}

.wiki-title {
    color: var(--sd-yellow) !important;
    font-size: 32px !important;
    text-shadow: 0 2px 10px rgba(252, 211, 16, 0.3) !important;
    letter-spacing: 1px !important;
}

.wiki-nav-title {
    color: white !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    opacity: 0.6;
}

.wiki-nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 700 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 12px !important;
    margin: 4px 0 !important;
}

.wiki-nav-link:hover, .wiki-nav-link.active {
    background: linear-gradient(90deg, #6621A2, #51299B) !important;
    color: white !important;
    transform: scale(1.02) translateX(5px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

.wiki-nav-link.active {
    border-left: 4px solid var(--sd-yellow) !important;
}

.wiki-nav-link i {
    color: var(--sd-yellow) !important;
}


/* Gamer 2026 Post Style (Next.js / React) */
.sd-post-article { 
    width: 100% !important; 
    max-width: 1240px !important; 
    margin: 80px auto !important; 
    padding: 0 16px !important; 
}

.sd-gamer-card {
    background: rgba(19, 1, 60, 0.4) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 30px 60px 60px 60px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
                inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9) !important;
    width: 100% !important;
    max-width: 1240px !important;
}

.sd-gamer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #DE3AF8, #6621A2, transparent);
    opacity: 0.5;
}

.sd-post-title { 
    font-size: 3.5rem !important; 
    font-weight: 900 !important; 
    text-transform: uppercase !important; 
    letter-spacing: -1px !important; 
    margin-bottom: 40px !important; 
    background: linear-gradient(135deg, #FFF 30%, rgba(255,255,255,0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
    text-align: center !important;
    width: 100%;
}

.sd-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sd-yellow);
    opacity: 0.8;
}

.sd-post-content { 
    font-family: "Montserrat", sans-serif !important; 
    font-size: 1.42rem !important; /* Aumentado de 1.15rem */
    line-height: 2 !important; 
    color: rgba(255, 255, 255, 0.9) !important; 
    letter-spacing: 0.3px;
}

.sd-post-content h2, .sd-post-content h3 {
    color: white !important;
    margin-top: 2em !important;
    margin-bottom: 0.5em !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sd-post-content img {
    border-radius: 16px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.sd-post-content img:hover {
    transform: scale(1.01);
}

.sd-post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sd-related-title {
    font-size: 24px;
    font-weight: 900;
    color: white;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.sd-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.sd-related-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.sd-related-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    border-color: var(--sd-purple-mid);
}



.sd-related-section {
    max-width: 1240px;
    margin: 60px auto 100px;
    padding: 0 16px;
}

.sd-related-grid-external {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.sd-related-card-glossy {
    background: linear-gradient(135deg, rgba(146, 72, 220, 0.15) 0%, rgba(84, 36, 141, 0.3) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.sd-related-card-glossy::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: rotate(45deg);
    transition: 0.6s;
}

.sd-related-card-glossy:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--sd-yellow);
    box-shadow: 0 20px 40px rgba(102, 33, 162, 0.4);
    background: linear-gradient(135deg, rgba(146, 72, 220, 0.25) 0%, rgba(84, 36, 141, 0.4) 100%);
}

.sd-related-card-glossy:hover::after {
    left: 100%;
}

/* Corregir visibilidad de iconos FontAwesome */
.sd-meta-item i, .sd-post-meta i, .far, .fas, .fab {
    color: var(--sd-yellow) !important;
    margin-right: 8px;
    font-style: normal !important;
    display: inline-block !important;
}



.article-image img { border-radius: 32px !important; }



.sd-post-article .gh-canvas, 
.sd-post-article .gh-content, 
.sd-post-article .article-header {
    max-width: 1240px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.sd-gamer-card {
    background: rgba(19, 1, 60, 0.4) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 30px 60px 60px 60px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
                inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9) !important;
    width: 100% !important;
    max-width: 1240px !important;
}




/* FINAL CRITICAL OVERRIDES - GAMER 2026 */

/* 1. ANCHO TOTAL (1360px) - Para todo tipo de posts (Featured y Normal) */
.sd-post-article, 
.sd-post-article .gh-canvas, 
.sd-post-article .gh-content, 
.sd-post-article .article-header,
.sd-post-article .sd-gamer-card {
    max-width: 1240px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 2. SEPARACIÓN PUTA (180px) */
/* Aplicamos al header o a la imagen para asegurar que se mueva */
.sd-post-article .article-header {
    margin-bottom: 80px !important; /* Espacio después del título */
}

.sd-post-article .article-image {
    margin-bottom: 15px !important; /* Espacio masivo antes de la card */
    display: block !important;
    width: 100% !important;
    border-radius: 32px !important;
    overflow: hidden !important;
}

.sd-post-article .article-image img {
    border-radius: 32px !important;
    width: 100% !important;
    display: block !important;
}

/* 3. CENTRADO DE TÍTULO */
.sd-post-title {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin: 0 auto 40px !important;
}

/* 4. VISIBILIDAD DE ICONOS (FontAwesome 5) */
.sd-post-meta {
    justify-content: center !important;
}

.sd-meta-item i, .sd-post-meta i, .fas, .far {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    color: var(--sd-yellow) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
}

/* Content Readability Enhancements */
.sd-post-content {
    font-size: 1.55rem !important; /* Un poco más grande */
    letter-spacing: 0.5px !important;
}

/* Aumentar Emojis un 15% aproximadamente */
.sd-post-content img.emoji, 
.sd-post-content .kg-emoji-card img {
    height: 1.47em !important;
    width: 1.47em !important;
    vertical-align: -0.2em !important;
}

/* Si usan emojis normales de texto */
.sd-post-content span[role='img'], 
.sd-post-content i.emoji {
    font-size: 1.15em !important;
    display: inline-block;
}

/* Call to Action (CTA) Box Styles */
.kg-callout-card {
    background: rgba(102, 33, 162, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin: 40px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.kg-callout-emoji {
    font-size: 2rem !important;
}

.kg-callout-text {
    color: white !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
}


/* Ghost Content Cards - Premium Gamer 2026 Fixes */

/* Callout Cards (Call to Action) */
.kg-callout-card {
    display: flex !important;
    padding: 30px !important;
    border-radius: 20px !important;
    margin: 40px 0 !important;
    background: rgba(102, 33, 162, 0.15) !important; /* Base cristal morado sutil */
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255,255,255,0.05) !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
}

.kg-callout-card:hover {
    transform: scale(1.01) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.kg-callout-emoji {
    font-size: 32px !important;
    line-height: 1 !important;
    margin-right: 20px !important;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3)) !important;
}

.kg-callout-text {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
}

/* Colores dinámicos de Ghost Callouts - Forzamos a que se vean en modo Gamer */
.kg-callout-card-blue { background: rgba(59, 130, 246, 0.15) !important; border-color: rgba(59, 130, 246, 0.3) !important; }
.kg-callout-card-green { background: rgba(34, 197, 94, 0.15) !important; border-color: rgba(34, 197, 94, 0.3) !important; }
.kg-callout-card-yellow { background: rgba(234, 179, 8, 0.15) !important; border-color: rgba(234, 179, 8, 0.3) !important; }
.kg-callout-card-red { background: rgba(239, 68, 68, 0.15) !important; border-color: rgba(239, 68, 68, 0.3) !important; }

/* Bookmark Cards */
.kg-bookmark-container {
    background: rgba(19, 1, 60, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
    text-decoration: none !important;
    overflow: hidden !important;
}

.kg-bookmark-content {
    padding: 24px !important;
}

.kg-bookmark-title {
    color: var(--sd-yellow) !important;
    font-weight: 800 !important;
}

/* Buttons inside content */
.kg-btn {
    background: linear-gradient(90deg, #6621A2, #51299B) !important;
    border-radius: 12px !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 12px 30px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(102, 33, 162, 0.4) !important;
}

.kg-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(102, 33, 162, 0.6) !important;
}

/* Ghost Specialized Cards (CTAs) */

/* Header Card (often used as CTA) */
.kg-header-card {
    padding: 40px !important;
    border-radius: 24px !important;
    background: rgba(102, 33, 162, 0.2) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 40px 0 !important;
    
    align-items: center !important;
    text-align: center !important;
}

.kg-header-card h2 {
    color: var(--sd-yellow) !important;
    margin-top: 0 !important;
}

/* Signup Card (Subscription CTA) */
.kg-signup-card {
    background: rgba(19, 1, 60, 0.5) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    margin: 40px 0 !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4) !important;
}

.kg-signup-card-heading {
    color: white !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

.kg-signup-card-subheading {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.1rem !important;
}

.kg-signup-card-button {
    background: linear-gradient(90deg, var(--sd-yellow), var(--sd-yellow-dark)) !important;
    color: #47241C !important;
    font-weight: 800 !important;
    padding: 14px 30px !important;
    border-radius: 12px !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(252, 211, 16, 0.3) !important;
}

/* Forzar colores en Callouts que Ghost oculta por defecto */
.kg-callout-card {
    background: rgba(102, 33, 162, 0.25) !important;
    border-left: 5px solid var(--sd-yellow) !important;
}

.kg-callout-card-grey { background: rgba(150, 150, 150, 0.15) !important; }
.kg-callout-card-blue { background: rgba(33, 150, 243, 0.15) !important; border-color: #2196f3 !important; }
.kg-callout-card-green { background: rgba(76, 175, 80, 0.15) !important; border-color: #4caf50 !important; }
.kg-callout-card-yellow { background: rgba(255, 235, 59, 0.15) !important; border-color: #ffeb3b !important; }
.kg-callout-card-red { background: rgba(244, 67, 54, 0.15) !important; border-color: #f44336 !important; }
.kg-callout-card-pink { background: rgba(233, 30, 99, 0.15) !important; border-color: #e91e63 !important; }
.kg-callout-card-purple { background: rgba(156, 39, 176, 0.15) !important; border-color: #9c27b0 !important; }
.kg-callout-card-orange { background: rgba(255, 152, 0, 0.15) !important; border-color: #ff9800 !important; }


/* CALLOUT PATCH - ULTRA VISIBLE */
.kg-callout-card {
    background: rgba(46, 16, 101, 0.8) !important; /* Morado profundo más sólido */
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    margin: 40px auto !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
    max-width: 100% !important;
}

.kg-callout-emoji {
    font-size: 36px !important;
    margin-right: 25px !important;
}

.kg-callout-text {
    color: #FFFFFF !important;
    font-size: 1.42rem !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

/* Forzar colores vivos por clase de Ghost */
.kg-callout-card-blue { background: rgba(0, 102, 204, 0.6) !important; border-color: #0088ff !important; }
.kg-callout-card-green { background: rgba(0, 128, 0, 0.6) !important; border-color: #00ff00 !important; }
.kg-callout-card-yellow { background: rgba(204, 153, 0, 0.6) !important; border-color: #ffd700 !important; }
.kg-callout-card-red { background: rgba(153, 0, 0, 0.6) !important; border-color: #ff0000 !important; }


/* --- CALLOUT STABLE FIX (v28) --- */
/* Forzamos el contenedor de la tarjeta para que sea visible en cualquier contexto */
.kg-callout-card {
    background: rgba(19, 1, 60, 0.6) !important; /* Casi opaco, estilo Gamer Dark */
    backdrop-filter: blur(12px) !important;
    border: none !important; /* Borde amarillo SurvivalDub fijo */
    border-radius: 16px !important;
    padding: 30px !important;
    margin: 40px 0 !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
}

.kg-callout-emoji { 
    font-size: 32px !important; 
    margin-right: 20px !important; 
    line-height: 1 !important;
}

.kg-callout-text { 
    color: white !important; 
    font-weight: 700 !important; 
    font-size: 1.3rem !important;
    line-height: 1.5 !important;
}

/* Forzar colores de fondo sutiles si Ghost aplica clases de color */
.kg-callout-card-blue   { background: rgba(0, 102, 204, 0.6) !important; border-left: 8px solid #0088ff !important; }
.kg-callout-card-green  { background: rgba(34, 139, 34, 0.6) !important; border-left: 8px solid #32cd32 !important; }
.kg-callout-card-yellow { background: rgba(184, 134, 11, 0.6) !important; border-left: 8px solid #ffd700 !important; }
.kg-callout-card-red    { background: rgba(139, 0, 0, 0.6) !important; border-left: 8px solid #ff4500 !important; }



/* --- INDEX GAMER 2026 REFIX (v32) --- */

/* No tocamos .post-feed para no romper la disposición original */

/* Tarjetas Normales y Grandes (Featured) */
article.post-card, 
article.triplezone-card {
    background: linear-gradient(135deg, rgba(146, 72, 220, 0.15) 0%, rgba(84, 36, 141, 0.3) 100%) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 24px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    
}

/* Hover Effect - Next.js Style */
article.post-card:hover, 
article.triplezone-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    border-color: var(--sd-yellow) !important;
    background: linear-gradient(135deg, rgba(146, 72, 220, 0.25) 0%, rgba(84, 36, 141, 0.4) 100%) !important;
    box-shadow: 0 20px 40px rgba(102, 33, 162, 0.5) !important;
}

/* Featured Post (Large) Fix */
article.post-card.post-card-large,
article.post-card.featured {
    /* Mantenemos la disposición de Ghost pero aplicamos el estilo */
    grid-column: span 2; /* Generalmente Ghost usa esto para featured */
}

/* Interior de las tarjetas */
.post-card-content {
    background: transparent !important;
    padding: 25px !important;
}

.post-card-title {
    color: white !important;
    font-weight: 800 !important;
    font-size: 1.7rem !important;
    transition: color 0.3s ease !important;
}

article.post-card:hover .post-card-title {
    color: var(--sd-yellow) !important;
}

.post-card-excerpt {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
}

/* Etiquetas y Meta */
.post-card-primary-tag {
    color: var(--sd-yellow) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.post-card-meta {
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 600 !important;
}

/* Imagen con brillo metálico */
.post-card-image-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.post-card-image {
    transition: transform 0.8s ease !important;
}

article.post-card:hover .post-card-image {
    transform: scale(1.05) !important;
}

/* --- REFINAMIENTO INDEX v33 --- */

/* Aplicar estética glossy SIN romper layout */
article.post-card, 
article.triplezone-card {
    background: linear-gradient(135deg, rgba(146, 72, 220, 0.12) 0%, rgba(19, 1, 60, 0.4) 100%) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Post destacado (horizontal en muchos temas Ghost) */
.post-card-large {
    grid-column: 1 / span 2 !important; /* Restaurar el span original */
}

/* Estilización de la Tarjeta del Autor (Byline) */
.post-card-meta {
    background: rgba(102, 33, 162, 0.15) !important; /* Fondo púrpura transparente */
    backdrop-filter: blur(5px) !important;
    padding: 15px 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin: 0 !important;
    border-radius: 0 0 24px 24px !important;
}

.post-card-byline-content {
    color: rgba(255, 255, 255, 0.8) !important;
}

.post-card-byline-content a {
    color: var(--sd-yellow) !important;
    font-weight: 700 !important;
}

.author-profile-image {
    border: none !important;
    box-shadow: none !important;
}

/* Limpieza de colores grises nativos */
.post-card-content {
    background: transparent !important;
}

.post-card-content-link {
    background: transparent !important;
}

/* --- OPTIMIZACIÓN DE CARDS v34 --- */

/* Ampliar contenido al ancho total de la card */
.post-card-content {
    padding: 20px 0 !important; /* Eliminamos paddings laterales para que el texto llegue al borde si es necesario, o lo igualamos al autor */
    margin: 0 20px !important; /* Mantenemos un margen interno consistente con el autor pero equilibrado */
}

/* Forzar que el extracto ocupe más ancho y reduzca la altura total */
.post-card-excerpt {
    width: 100% !important;
    margin-bottom: 15px !important;
    /* Reducimos un poco el line-height para ganar espacio vertical */
    line-height: 1.4 !important;
}

.post-card-title {
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
}

/* Reducir altura de cards no destacadas */
article.post-card:not(.post-card-large) {
    min-height: auto !important; /* Permitir que se encojan */
}

/* Limpiar avatar del autor */
.author-profile-image {
    background: transparent !important;
    padding: 0 !important;
}


/* --- GLOBAL BACKGROUND (15% Opacidad) --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/portal/fondo_paginas.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

/* --- EXPANDED CONTENT IN CARDS (Refuerzo) --- */
.post-card-content {
    margin: 0 !important; /* Eliminar margen lateral para expandir texto */
    padding: 20px 10px !important; /* Mínimo padding lateral */
}

.post-card-title, .post-card-excerpt {
    width: 100% !important;
    max-width: none !important;
}

/* --- AUTHOR PAGE REDESIGN (Gamer 2026) --- */
.author-template .site-header, 
.author-template .site-archive-header {
    display: none !important; /* Ocultar navbars antiguas duplas */
}

/* Nueva Cabecera de Autor Gamer */
.author-header {
    background: linear-gradient(135deg, rgba(102, 33, 162, 0.4) 0%, rgba(19, 1, 60, 0.6) 100%) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 60px !important;
    margin: 40px auto !important;
    max-width: 1240px !important;
    text-align: center !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5) !important;
}

.author-header .author-profile-image {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    border: 4px solid var(--sd-yellow) !important;
    margin: 0 auto 20px !important;
    box-shadow: 0 0 30px rgba(252, 211, 16, 0.4) !important;
}

.author-header .site-title {
    font-size: 3rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    color: white !important;
    margin-bottom: 15px !important;
    background: linear-gradient(135deg, #FFF, var(--sd-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.author-header .site-description {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* Fix para evitar navbar duplicada en author.hbs ocultando la nativa */
.author-template .gh-head { display: none !important; }
/* --- AUTHOR PAGE DETAILS --- */
.author-location, .author-stats {
    display: inline-block !important;
    margin: 10px 15px !important;
    font-weight: 700 !important;
    color: var(--sd-yellow) !important;
    font-size: 1rem !important;
}

.author-location i, .author-stats i {
    margin-right: 8px !important;
}

.author-template .post-feed {
    margin-top: 40px !important;
}

/* REFUERZO EXPANSIÓN v38 */
article.post-card .post-card-content, 
article.triplezone-card .post-card-content {
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.post-card-content-link {
    display: block !important;
    width: 100% !important;
}

.post-card-excerpt, .post-card-title {
    margin-left: 20px !important;
    margin-right: 20px !important;
    width: calc(100% - 40px) !important;
}

/* Forzar fondo en Wiki y Blog content específicamente si el global no bastara */
.wiki-container, .sd-gamer-card {
    position: relative !important;
}

/* Limpieza final de navbar de Ghost en autor */
.author-template .gh-head, 
.author-template .nav-header,
.author-template .site-nav-main {
    display: none !important;
}

/* --- GLOBAL BACKGROUND v39 --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/portal/fondo_paginas.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.15 !important;
    z-index: -10 !important;
    pointer-events: none !important;
}

/* --- CABECERA DE AUTOR ESPECTACULAR --- */
.author-profile-header {
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: transparent !important;
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
}

.author-header-glass {
    max-width: 1100px;
    width: 90%;
    background: rgba(19, 1, 60, 0.4) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 40px !important;
    padding: 60px !important;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6) !important;
    position: relative;
    z-index: 5;
}

.author-avatar-wrapper {
    flex-shrink: 0;
}

.author-avatar-img {
    width: 180px !important;
    height: 180px !important;
    border-radius: 30% !important; /* Estilo iOS/Squircle */
    border: 3px solid var(--sd-yellow) !important;
    box-shadow: 0 0 40px rgba(252, 211, 16, 0.3) !important;
    object-fit: cover !important;
}

.author-info-main {
    flex-grow: 1;
}

.author-name-premium {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    margin: 0 0 10px 0 !important;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--sd-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3)) !important;
}

.author-bio-premium {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 25px !important;
    max-width: 700px !important;
}

.author-meta-premium {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.author-meta-item {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--sd-yellow) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.author-meta-item i {
    margin-right: 8px !important;
}

.author-social-premium {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.author-social-premium a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.author-social-premium a:hover {
    background: var(--sd-yellow);
    color: #13013C !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(252, 211, 16, 0.3);
}

/* Ocultar cualquier otra navbar en author page */
.author-template .site-nav, 
.author-template .site-header,
.author-template .gh-head {
    display: none !important;
}

/* --- REFUERZO EXPANDED CONTENT --- */
.post-card-excerpt {
    font-size: 1.1rem !important; /* Un poco más legible */
    margin: 0 0 20px 0 !important; /* Quitamos márgenes laterales ya que el padre tiene padding */
}

/* Responsivo para autor */
@media (max-width: 900px) {
    .author-header-glass {
        flex-direction: column;
        padding: 40px !important;
        text-align: center;
    }
    .author-meta-premium {
        justify-content: center;
    }
    .author-social-premium {
        margin: 20px auto 0 !important;
    }
}

/* --- LIMPIEZA NAVBAR Y CABECERA v40 --- */
.author-template .site-header,
.author-template .site-nav,
.author-template .gh-head,
.author-template .site-header-container,
.author-template header.site-archive-header {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Forzar que solo se vea la NAVBAR DE SURVIVALDUB (basado en vuestro diseño) */
/* Si deluxe-header inyecta algo, nos aseguramos que solo haya UNA */

/* Ajuste del contenedor de la cabecera de autor para que no parezca un bloque sólido */
.author-profile-header {
    background: transparent !important;
    border: none !important;
    min-height: 400px !important;
}

.author-header-glass {
    /* El efecto cristal ya lo tiene, nos aseguramos que no se "pegue" a los bordes */
    margin-top: 20px !important;
}

/* REAJUSTE DE ANCHO DE CONTENIDO EN CARDS v41 */
.post-card-content {
    margin: 0 !important;
    padding: 20px 25px !important; /* Un poco de respiro pero mucho más ancho */
    width: 100% !important;
    box-sizing: border-box !important;
}

.post-card-excerpt, .post-card-title {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* MARGEN PARA LA TARJETA DEL AUTOR (DENTRO DE LA CARD) */
.post-card-meta {
    margin: 0 20px 20px 20px !important; /* Margen para que no toque los bordes de la card */
    border-radius: 16px !important; /* Redondearla un poco más ya que flota */
}

/* LIMPIEZA TOTAL DE NAVBARS EN AUTOR (AGRESIVO) */
.author-template .navbar-floating-container:nth-of-type(2),
.author-template .gh-head,
.author-template header.site-archive-header {
    display: none !important;
}

/* Eliminar franjas sólidas que cubran el ancho total en la sección de autor */
.author-profile-header {
    background: transparent !important;
    margin-top: 100px !important; /* Espacio para la navbar principal */
}
