/* ==========================================================
   1. ESTILOS GENERALES Y RESETEO (Modo Oscuro VIP)
   ========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0a0c;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================
   2. HEADER / ENCABEZADO PRINCIPAL
   ========================================================== */
.main-header {
    background: #121216;
    color: #ffffff;
    padding: 15px 0;
    border-bottom: 2px solid #ff0055;
    box-shadow: 0 4px 20px rgba(255, 0, 85, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header-left-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #ff0055, #ff5500);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 12px rgba(255, 0, 85, 0.4);
    transition: 0.3s;
}

.logo:hover {
    color: #ff0055;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-search {
    font-size: 18px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
}

/* Enlaces de Navegación del Header */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #ff0055;
    text-shadow: 0 0 8px rgba(255, 0, 85, 0.5);
}

/* ==========================================================
   3. TICKER / BARRA DE NOVEDADES
   ========================================================== */
.ticker-bar {
    background: #15151d;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222233;
}

.ticker-title {
    background: #ff0055;
    color: #ffffff;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
}

.ticker-text {
    padding-left: 20px;
    font-size: 14px;
    font-style: italic;
    color: #cccccc;
}

/* ==========================================================
   4. GRID DE NOTICIAS DESTACADAS (Sección Superior)
   ========================================================== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.featured-main {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: #000000;
    border: 1px solid #262633;
    border-radius: 8px;
}

.featured-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.5s;
}

.featured-main:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.featured-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #ffffff;
}

.featured-content h2 {
    font-size: 24px;
    margin-top: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

.post-meta-hero {
    font-size: 11px;
    color: #dddddd;
    margin-top: 5px;
}

.category-tag {
    background: #ff0055;
    color: #ffffff;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255, 0, 85, 0.5);
}

/* ==========================================================
   5. DISEÑO DE COLUMNAS (CONTENIDO PRINCIPAL + SIDEBAR)
   ========================================================== */
.main-content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Tarjetas de artículos individuales (Estilo VIP Oscuro) */
.post-card {
    background: #13131a;
    border: 1px solid #262633;
    border-radius: 8px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.post-card:hover {
    box-shadow: 0 5px 20px rgba(255, 0, 85, 0.25);
    border-color: #ff0055;
    transform: translateY(-3px);
}

.card-title-link {
    text-decoration: none;
    color: #ffffff;
}

.card-title-link:hover {
    color: #ff0055;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #262633;
}

.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.category-link {
    color: #ff0055;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.card-body h3 {
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.3;
    color: #ffffff;
}

.card-body p {
    color: #cccccc;
    font-size: 14px;
}

.post-signature {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaaaaa;
    margin-top: 15px;
    border-top: 1px dashed #262633;
    padding-top: 8px;
}

/* Botones de compartir */
.share-buttons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    align-items: center;
}

.share-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.share-btn:hover {
    opacity: 0.85;
    transform: scale(1.1);
}

/* ==========================================================
   6. SIDEBAR / BARRA LATERAL DERECHA
   ========================================================== */
.sidebar {
    background: #13131a;
    padding: 20px;
    border: 1px solid #262633;
    border-radius: 8px;
    height: fit-content;
}

.sidebar-title {
    color: #ffffff;
    border-bottom: 2px solid #ff0055;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    text-transform: uppercase;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #222233;
    padding-bottom: 10px;
}

.sidebar-list a {
    text-decoration: none;
    color: #dddddd;
    font-weight: bold;
    font-size: 14px;
    transition: 0.2s;
}

.sidebar-list a:hover {
    color: #ff0055;
    padding-left: 5px;
}

.sidebar-contact-box {
    background: #1a1a24;
    border: 1px solid #ff0055;
    padding: 15px;
    margin-top: 25px;
    text-align: center;
    border-radius: 6px;
}

.sidebar-contact-box h4 {
    margin-bottom: 10px;
    color: #ffffff;
}

.sidebar-contact-box p {
    color: #cccccc;
    font-size: 12px;
    margin-bottom: 15px;
}

.sidebar-email-btn {
    display: block;
    background: #ff0055;
    color: #ffffff;
    text-decoration: none;
    padding: 8px;
    font-weight: bold;
    font-size: 13px;
    border-radius: 4px;
    transition: 0.3s;
    border: 1px solid #ff0055;
}

.sidebar-email-btn:hover {
    background: #d40046;
    border-color: #d40046;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

/* ==========================================================
   7. PAGINACIÓN
   ========================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.page-num, .page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #262633;
    background: #13131a;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.3s;
}

.page-num:hover, .page-btn:hover, .page-num.active {
    border-color: #ff0055;
    color: #ffffff;
    background: #ff0055;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.4);
}

/* ==========================================================
   8. FOOTER / PIE DE PÁGINA
   ========================================================== */
.main-footer {
    background: #0d0d12;
    color: #ffffff;
    padding: 50px 0 0 0;
    margin-top: 50px;
    border-top: 1px solid #262633;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 0 20px 40px 20px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 20px;
    border-left: 3px solid #ff0055;
    padding-left: 10px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.footer-column a:hover {
    color: #ff0055;
    padding-left: 4px;
}

.footer-bottom {
    background: #08080a;
    padding: 20px 0;
    font-size: 12px;
    border-top: 1px solid #1a1a24;
    color: #aaaaaa;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    color: #ff0055;
}

/* ==========================================================
   9. MEDIA QUERIES (ADAPTACIÓN MÓVIL Y RESPONSIVE)
   ========================================================== */
@media (max-width: 992px) {
    .main-content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .header-left-group {
        width: 100%;
        justify-content: space-between;
    }
    .menu-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        width: 100%;
    }
    .main-nav.open {
        display: block;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: #121216;
        padding: 15px 0;
    }
    .hero-grid, .articles-grid {
        grid-template-columns: 1fr;
    }
    .featured-main {
        height: 260px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column h3 {
        border-left: none;
        border-bottom: 2px solid #ff0055;
        display: inline-block;
        padding-bottom: 5px;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================
   10. COMPONENTES INTERACTIVOS DE SUBPÁGINAS (VIP / ADULT)
   ========================================================== */
.articulo-completo {
    background: #13131a;
    border: 1px solid #262633;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #ff0055;
    box-shadow: 0 0 25px rgba(255, 0, 85, 0.3);
    margin-bottom: 30px;
}

.hero-img-container img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-img-container:hover img {
    transform: scale(1.03);
}

.vip-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.85);
    color: #ff0055;
    border: 1px solid #ff0055;
    padding: 6px 12px;
    font-weight: bold;
    font-size: 12px;
    border-radius: 20px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.vip-cta-box {
    background: linear-gradient(135deg, #1f0813 0%, #0d0d14 100%);
    border: 2px dashed #ff0055;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin: 35px 0;
    box-shadow: inset 0 0 15px rgba(255, 0, 85, 0.15);
}

.vip-cta-box h3 {
    color: #ffffff;
    margin: 0 0 10px 0;
    font-size: 22px;
    text-transform: uppercase;
}

.vip-cta-box p {
    color: #dddddd;
    font-size: 15px;
    margin-bottom: 20px;
}

.btn-vip-access {
    display: inline-block;
    background: linear-gradient(45deg, #ff0055, #ff5500);
    color: #ffffff;
    font-weight: 900;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.5);
    transition: all 0.3s ease;
}

.btn-vip-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 85, 0.8);
    color: #ffffff;
}

/* Tarjetas de artículos sugeridos en subpáginas */
.articulos-interesantes-seccion {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #262633;
}

.interesantes-titulo {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: bold;
    border-left: 4px solid #ff0055;
    padding-left: 10px;
}

.interesantes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.interesantes-tarjeta {
    display: block;
    text-decoration: none;
    background-color: #1a1a24;
    border: 1px solid #2a2a3a;
    border-radius: 8px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tarjeta-cuerpo {
    padding: 20px;
}

.interesantes-tarjeta h4 {
    margin: 0 0 8px 0;
    font-size: 17px;
    color: #ffffff;
}

.interesantes-tarjeta p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #aaaaaa;
}

.tarjeta-link {
    font-size: 14px;
    font-weight: bold;
    color: #ff0055;
    transition: color 0.2s ease;
}

.interesantes-tarjeta:hover {
    border-color: #ff0055;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.3);
}

.interesantes-tarjeta:hover .tarjeta-link {
    color: #ffffff;
}

@media (max-width: 650px) {
    .interesantes-grid {
        grid-template-columns: 1fr;
    }
}
/* Reparaciones de navegación y pantallas pequeñas */
button.menu-toggle, button.menu-toggle-btn, button.close-btn { font: inherit; background: transparent; border: 0; cursor: pointer; }
button.menu-toggle { color: white; }
.sidebar-nav { visibility: hidden; }
img { max-width: 100%; }
.cookie-banner { box-sizing: border-box; flex-wrap: wrap; }
.cookie-banner p { overflow-wrap: anywhere; }
.card-body, .main-content-layout > *, .hero-grid > *, .footer-column { min-width: 0; }
a, h1, h2, h3, p { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid #ff5599; outline-offset: 4px; }
iframe { max-width: 100%; }
@media (max-width: 600px) {
  .articulo-completo { padding: 16px; }
  .main-title { font-size: clamp(24px, 7vw, 36px); }
  .vip-cta-box { padding: 16px; }
  .btn-vip-access { box-sizing: border-box; max-width: 100%; padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}