/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 2px solid #00ff88;
    margin-bottom: 3rem;
}

.logo-container {
    margin-bottom: 1rem;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 255, 136, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.station-name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.frequency {
    font-size: 1.5rem;
    color: #cccccc;
    font-weight: 300;
}

/* Main Content */
.main-content {
    display: grid;
    gap: 3rem;
}

/* Sections */
section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #00ff88;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Video Section */
.video-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container iframe {
    max-width: 100%;
    border: none;
    border-radius: 10px;
}

/* Audio Player */
.audio-player {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #1a1a1a;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.player-info {
    flex: 1;
    min-width: 200px;
}

.now-playing {
    display: block;
    font-weight: 500;
    font-size: 1.1rem;
    color: #00ff88;
}

.status {
    display: block;
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
}

.volume-slider {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: #333;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00ff88;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00ff88;
    cursor: pointer;
    border: none;
}

.diagnostic-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 136, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #00ff88;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.diagnostic-btn:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    transform: scale(1.1);
}

.mobile-force-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 136, 0, 0.3);
    background: rgba(255, 136, 0, 0.2);
    color: #ff8800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-left: 5px;
}

.mobile-force-btn:hover {
    background: rgba(255, 136, 0, 0.3);
    border-color: #ff8800;
    transform: scale(1.1);
}

.mobile-force-btn.visible {
    display: flex !important;
}

/* Info Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
}

.info-card i {
    font-size: 2.5rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.info-card p {
    color: #cccccc;
    font-size: 1rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .station-name {
        font-size: 2rem;
    }
    
    .frequency {
        font-size: 1.2rem;
    }
    
    section {
        padding: 1.5rem;
    }
    
    .player-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .volume-control {
        justify-content: center;
    }
    
    .video-container iframe {
        width: 100%;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 150px;
    }
    
    .station-name {
        font-size: 1.5rem;
    }
    
    .frequency {
        font-size: 1rem;
    }
    
    .video-container iframe {
        height: 220px;
    }
    
    section h2 {
        font-size: 1.4rem;
    }
}

/* Animaciones */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.playing .play-btn {
    animation: pulse 2s infinite;
}

/* Estados del reproductor */
.loading .status {
    color: #ffaa00;
}

.error .status {
    color: #ff4444;
}

.playing .status {
    color: #00ff88;
}
