:root {
    --azul-fondo: #002b3d;
    --naranja: #ff6600;
    --blanco: #ffffff;
    --gris-suave: rgba(255, 255, 255, 0.1);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--azul-fondo);
    color: var(--blanco);
    scroll-behavior: smooth;
    overflow-x: hidden; /* Vital para Android */
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 43, 61, 0.7), rgba(0, 43, 61, 0.7)), url('top.gif');
    background-size: cover;
    background-position: center;
    padding: 20px;
    box-sizing: border-box;
}

.eslogan {
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: clamp(0.7rem, 2vw, 1.2rem);
    margin-bottom: 20px;
}

.titulo-principal {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 600;
    margin: 0;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.text-naranja { color: var(--naranja); }

.bajada { font-size: 1.1rem; margin-top: 15px; }

/* Dominios */
.seccion-dominios {
    padding: 80px 20px 150px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.servicios-linea {
    color: var(--naranja);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.grid-dominios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card-dominio {
    background: var(--gris-suave);
    border-left: 4px solid var(--naranja);
    padding: 25px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.card-dominio:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.15); }

/* Radio Bar */
.radio-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 20, 30, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--naranja);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2000;
    box-sizing: border-box;
}

.radio-info { display: flex; align-items: center; gap: 10px; }

.status-indicator { width: 10px; height: 10px; background-color: #444; border-radius: 50%; }
.active-pulse { 
    background-color: #ff0000; 
    box-shadow: 0 0 8px #ff0000; 
    animation: pulse 1.5s infinite; 
}

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

.envivo-tag { display: block; font-size: 0.7rem; color: var(--naranja); }
.station-name { font-size: 0.85rem; }

.radio-controls { display: flex; align-items: center; gap: 15px; }

#playBtn {
    background: var(--naranja);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.volume-container { display: flex; align-items: center; gap: 8px; }

/* Responsive */
@media (max-width: 600px) {
    .volume-container { display: none; } /* Quitamos volumen en móvil */
    .radio-bar { padding: 10px; }
}

.whatsapp-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25d366;
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    z-index: 1000;
    font-size: 0.8rem;
}

footer { padding: 40px; text-align: center; font-size: 0.8rem; opacity: 0.5; margin-bottom: 90px; }