/* --- 1. VARIABLES Y RESET --- */
:root {
    --yellow: #FCD55C;
    --red: #BE1212;
    --white: #F4F4F4;
    --black: #0A0A0A;
    --gray: #151515;
    --glitch-speed: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Space Mono', monospace;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 2. JERARQUÍA DE TIPOGRAFÍAS --- */
h1, h2, h3, .btn, .year {
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
}

p, .tagline, .archive-desc {
    font-family: 'Playfair Display', serif;
}

.logo, .nav-links a, .newsletter-form input, .footer-brand p, .footer-status span {
    font-family: 'Space Mono', monospace;
}

/* --- 3. NAVEGACIÓN --- */
.navbar {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--black) 20%, transparent);
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
}

.logo span { color: var(--red); animation: pulse 2s infinite; }

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover { color: var(--yellow); }

/* --- 4. HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: linear-gradient(to right, var(--black) 30%, transparent), 
                url('/images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 1px, transparent 1px, transparent 2px);
    pointer-events: none;
}

.glitch-text {
    font-size: clamp(3.5rem, 12vw, 7rem);
    line-height: 0.85;
    color: var(--yellow);
    position: relative;
    text-shadow: 2px 0 var(--red), -2px 0 cyan;
    animation: glitch var(--glitch-speed) infinite;
}

.tagline {
    font-size: 1.4rem;
    max-width: 450px;
    margin: 20px 0 40px 0;
    border-left: 3px solid var(--red);
    padding-left: 15px;
    font-style: italic;
}

/* --- 5. BOTONES --- */
.btn {
    display: inline-block;
    padding: 18px 35px;
    text-decoration: none;
    font-weight: 900;
    transition: 0.2s;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
    font-size: 0.8rem;
}

.btn-primary { background-color: var(--yellow); color: var(--black); }
.btn-secondary { background-color: transparent; color: var(--red); border: 2px solid var(--red); margin-left: 10px; }

/* --- 6. HOSTS (SOLUCIÓN AL CORTE DE IMÁGENES) --- */
.hosts-section { padding: 100px 10%; }

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 60px;
    border-left: 8px solid var(--yellow);
    padding-left: 20px;
}

.hosts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.host-card {
    background: var(--gray);
    padding: 25px;
    border-left: 1px solid #333;
    transition: 0.4s;
}

/* Contenedor de la imagen corregido */
.host-img {
    height: 450px;
    width: 100%;
    background-color: #000;
    margin-bottom: 25px;
    border: 1px solid #333;
    overflow: hidden; /* Evita que la imagen se salga */
    display: flex;
    align-items: flex-end; /* Alinea la imagen a la base */
}

/* Ajuste de la imagen dentro del div */
.host-img {
    background-size: cover; /* Cambia a cover si quieres que llenen el cuadro o contain si quieres que se vean completas */
    background-position: top center;
    background-repeat: no-repeat;
    filter: grayscale(100%) contrast(1.2);
    transition: 0.5s ease;
}

/* Si usas las imágenes como background en el HTML, este es el fix */
.host-card:hover .host-img {
    filter: grayscale(0%) brightness(1.1);
    border-color: var(--yellow);
}

.host-card h3 { color: var(--yellow); margin-bottom: 10px; font-size: 1.6rem; }

/* --- 7. EL LEGADO --- */
.archive-section { padding: 100px 10%; background: #080808; border-top: 1px solid #1a1a1a; }
.archive-desc { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.8; }

.player-embed-container {
    background: #000;
    padding: 15px;
    border-radius: 20px;
    border: 1px solid #222;
}

/* --- 8. SOCIAL HUB --- */
.social-hub { padding: 100px 10%; display: flex; flex-wrap: wrap; gap: 50px; }
.newsletter-box { flex: 1; min-width: 300px; }
.newsletter-form input {
    background: #111;
    border: 1px solid #333;
    padding: 18px;
    color: var(--white);
    width: 100%;
    margin-bottom: 15px;
}

.social-links { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.social-links a {
    border: 1px solid #222;
    padding: 20px;
    text-align: center;
    color: var(--white);
    text-decoration: none;
    font-size: 0.7rem;
    transition: 0.3s;
}

.social-links a:hover { background: var(--red); }

/* --- 9. FOOTER --- */
.main-footer { padding: 80px 10% 40px; background: #050505; border-top: 1px solid #111; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.footer-status { display: flex; align-items: center; font-size: 0.7rem; color: var(--yellow); }
.dot-rec { width: 8px; height: 8px; background: var(--red); border-radius: 50%; margin-right: 10px; animation: pulse 1s infinite; }
.footer-bottom { text-align: center; padding-top: 30px; font-size: 0.7rem; opacity: 0.3; }

/* --- 10. ANIMACIONES --- */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

/* --- 11. RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { align-items: flex-start; padding-top: 120px; }
    .footer-grid { flex-direction: column; gap: 40px; }
    .host-img { height: 350px; }
}