/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
    --azul-profundo: #0a1a3a;
    --azul-vibrante: #1a5fb4;
    --azul-brillante: #3584e4;
    --azul-claro: #62a0ea;
    --azul-fondo: #0d2847;
    --dorado: #f5c842;
    --dorado-claro: #fae28a;
    --blanco: #ffffff;
}

/* ============================================================
   RESET Y BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--azul-fondo);
    color: var(--blanco);
    overflow-x: hidden;
    padding-bottom: 80px;
}

a {
    color: var(--dorado);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--dorado-claro);
    text-decoration: underline;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 26, 58, 0.95);
    backdrop-filter: blur(20px);
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 2px solid rgba(245, 200, 66, 0.2);
    min-height: 65px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.nav-logo img {
    height: 38px;
    width: auto;
}
.nav-logo .brand-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-logo .brand-sub {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    color: var(--blanco);
    opacity: 0.85;
}

.nav-menu {
    display: flex;
    gap: 15px;
    list-style: none;
}
.nav-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    transition: 0.3s;
    padding: 5px 0;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dorado);
    transition: 0.3s;
}
.nav-menu a:hover {
    color: var(--blanco);
}
.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--blanco);
    border-radius: 3px;
    transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    margin-top: 65px;
    padding: 20px 15px 30px;
}

/* ============================================================
   BANNERS
   ============================================================ */
.banners-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.banner-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.banner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--dorado);
}
.banner-item a {
    display: block;
    text-decoration: none;
}
.banner-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}
.banner-item .banner-title {
    padding: 10px;
    text-align: center;
    color: var(--blanco);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================================
   SLIDER
   ============================================================ */
.banner-slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/5;
    background: var(--azul-profundo);
    margin-bottom: 25px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(transparent, rgba(10, 26, 58, 0.6));
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.banner-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
}
.banner-dots .dot.active {
    background: var(--dorado);
    border-color: var(--blanco);
    transform: scale(1.2);
}

/* ============================================================
   REPRODUCTORES
   ============================================================ */
.players-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
}
.audio-player, .video-player {
    flex: 1;
    min-width: 280px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 15px;
}
.audio-player h3, .video-player h3 {
    color: var(--dorado);
}
.audio-player audio, .video-player video {
    width: 100%;
    border-radius: 10px;
}

/* ============================================================
   BIENVENIDA + TARJETAS
   ============================================================ */
.hero-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}
.hero-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
}

.highlight {
    background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-verse {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px 25px;
    border-left: 4px solid var(--dorado);
}
.hero-verse .verse-label {
    color: var(--dorado);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}
.hero-verse .verse-text {
    color: var(--blanco);
    font-size: 1rem;
    margin: 8px 0;
    font-style: italic;
}
.hero-verse .verse-ref {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ============================================================
   SECCIÓN DE TARJETAS
   ============================================================ */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
}
.section-title .line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--dorado), var(--azul-vibrante));
    margin: 12px auto;
    border-radius: 5px;
}
.section-title p {
    color: var(--azul-claro);
    font-size: 0.95rem;
}

/* ============================================================
   TARJETAS DE NOTICIAS Y ANUNCIOS
   ============================================================ */
.news-grid, .ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card, .ad-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    padding: 15px;
    transition: 0.3s;
    border: 2px solid transparent;
}
.news-card:hover, .ad-card:hover {
    transform: translateY(-5px);
    border-color: var(--dorado);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-card img, .ad-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.news-card h3, .ad-card h3 {
    font-size: 1.1rem;
    margin-top: 10px;
}
.news-card h3 a, .ad-card h3 a {
    color: var(--blanco);
    text-decoration: none;
}
.news-card h3 a:hover, .ad-card h3 a:hover {
    color: var(--dorado);
}

.news-card p, .ad-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 8px;
}

.news-card .read-more, .ad-card .read-more {
    color: var(--dorado);
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--azul-profundo);
    padding: 40px 15px 25px;
    border-top: 3px solid var(--dorado);
    text-align: center;
}
.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer a:hover {
    color: var(--dorado);
    text-decoration: underline;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--blanco);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: var(--dorado);
    color: var(--azul-profundo);
    transform: translateY(-3px);
    text-decoration: none;
}