/* 1. RESET Y FUENTES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    /* Usamos 'Inter' con una alternativa segura por si tarda en cargar */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased; /* Hace que la letra se vea más fina y pro */
}

/* 2. BARRA DE NAVEGACIÓN */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid #222;
    background-color: #000;
}

/* ENLACES DEL MENÚ (Lado izquierdo) */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 11px; /* Letra pequeña y elegante como Rinse */
    font-weight: 700;
    letter-spacing: 2px; /* Espaciado entre letras pro */
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #888;
}

/* LOGO (Centro) */
.logo h1 {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
}

/* 3. REPRODUCTOR (Lado derecho) */
.player-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* EL BOTÓN REDONDO - Aquí estaba el fallo */
.round-btn {
    width: 48px;
    height: 48px;
    background-color: #fff;
    border: none;
    border-radius: 50%; /* Esto es lo que lo hace circular */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.round-btn:hover {
    transform: scale(1.05);
    background-color: #f0f0f0;
}

.play-icon {
    color: #000;
    font-size: 16px;
    /* Ajuste para que el triángulo se vea centrado visualmente */
    margin-left: 3px; 
}

.live-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #fff;
}

/* 4. ÁREA CENTRAL (HIGHLIGHT) - ESTILO RINSE FM */
.hero-highlight {
    height: 85vh;
    /* Creamos un degradado negro que va hacia la imagen */
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8)), 
                url('img/hero-bg.jpg'); 
    background-size: cover;      /* La imagen ocupa todo el espacio */
    background-position: center;  /* La imagen se centra */
    background-attachment: fixed; /* Efecto Parallax: la imagen se queda quieta al hacer scroll (opcional) */
    display: flex;
    align-items: flex-end;
    padding: 60px;
    border-bottom: 1px solid #222;
}

.content-overlay {
    max-width: 900px; /* Para que el texto no se estire infinito */
}

.category-tag {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #fff;
    border: 1px solid #fff;
    padding: 4px 8px;
    display: inline-block;
    margin-bottom: 20px;
}

.main-title {
    font-size: clamp(40px, 10vw, 110px); /* Tamaño gigante que se adapta */
    font-weight: 900;
    line-height: 0.85; /* Líneas muy juntas, estilo brutalista */
    letter-spacing: -4px; /* Letras casi pegadas */
    text-transform: uppercase;
    margin-bottom: 25px;
}

.description {
    font-size: 16px;
    font-weight: 400;
    max-width: 500px;
    line-height: 1.5;
    color: #bbb; /* Gris para que no compita con el título */
    margin-bottom: 30px;
}

.read-more {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    border-bottom: 2px solid #fff; /* Subrayado grueso */
    padding-bottom: 5px;
    transition: all 0.3s;
}

.read-more:hover {
    color: #888;
    border-bottom-color: #888;
}

/* --- AJUSTES PARA MÓVIL (Pantallas de menos de 768px) --- */
@media (max-width: 768px) {
    
    /* 1. La barra de navegación: apilamos o reducimos */
    .navbar {
        padding: 15px;
        flex-wrap: wrap; /* Permite que los elementos bajen si no caben */
    }

    .nav-links {
        order: 3; /* Mandamos los enlaces abajo */
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        gap: 15px;
    }

    .nav-links a {
        font-size: 10px; /* Un pelín más pequeña para que no rompa */
    }

    .logo h1 {
        font-size: 18px; /* Reducimos el logo para que no choque con el botón */
    }

    /* 2. El área de Highlight: menos margen y letra adaptada */
    .hero-highlight {
        padding: 30px 20px;
        height: 70vh; /* Un poco más corta en móvil */
    }

    .main-title {
        font-size: 45px; /* Tamaño grande pero controlado para móvil */
        letter-spacing: -2px;
        line-height: 0.95;
    }

    .description {
        font-size: 14px;
        max-width: 100%; /* Que ocupe todo el ancho disponible */
    }

    /* 3. El botón de Play: un poco más pequeño para que sea sutil */
    .round-btn {
        width: 40px;
        height: 40px;
    }

    .live-label {
        display: none; /* En móvil, mejor ocultar el texto y dejar solo el botón para ahorrar espacio */
    }
}

.track-info {
    display: flex;
    flex-direction: column; /* Ponemos el título debajo de LIVE ON AIR */
    justify-content: center;
}

#current-track {
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    font-weight: 400;
}

/* La "ventana" que recorta el texto */
.ticker-wrapper {
    width: 200px; /* Ajusta este ancho según quieras que ocupe en el header */
    overflow: hidden; /* Esconde lo que sale de los 200px */
    white-space: nowrap; /* Evita que el texto salte de línea */
    position: relative;
}

/* La animación del texto */
.ticker-text {
    display: inline-block;
    white-space: nowrap; /* Obligatorio para que no salte de línea */
    padding-left: 100%; /* Empieza fuera de la ventana por la derecha */
    animation: ticker-move 25s linear infinite; /* 15 segundos para completar el ciclo */
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Definición del movimiento */
@keyframes ticker-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.main-footer {
    background-color: #000;
    padding: 80px 40px 40px; /* Más espacio arriba para que respire */
    border-top: 1px solid #111;
}

.footer-content {
    display: flex;
    justify-content: space-between; /* Separa las secciones a los extremos */
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-label {
    display: block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #444; /* Gris oscuro muy elegante */
    margin-bottom: 25px;
    text-transform: uppercase;
}

.social-links-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links-footer a {
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.social-links-footer a:hover {
    color: #888;
}

.app-status {
    font-size: 11px;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #0a0a0a;
    text-align: center;
}

.footer-bottom p {
    font-size: 9px;
    color: #222; /* Casi invisible, muy minimal */
    letter-spacing: 2px;
}