/* Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #e74c3c, #c0392b);
}

section {
    padding: 80px 0;
}

/* Header */
header {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 70px;
    height: 70px;
    margin-right: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
    letter-spacing: 1px;
    margin: 0;
}

.slogan {
    font-size: 0.9rem;
    color: #ddd;
    letter-spacing: 1px;
    margin: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #e74c3c;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 100px 0 120px;
    text-align: center;
    overflow: hidden;
    width: 100%;
    height: 55vh;
    min-height: 450px;
    max-height: 600px;
}

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    opacity: 0.9;
    pointer-events: none;
    margin-left: calc(-50vw + 50%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Player Customizado */
.custom-player-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 25px;
    max-width: 500px;
    width: 95%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1000;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-display {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.now-playing-info {
    text-align: center;
    color: #fff;
}

.song-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #e74c3c;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.song-artist {
    font-size: 14px;
    color: #ccc;
    opacity: 0.9;
}

/* Visualizador de Ondas Sonoras */
.audio-visualizer {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 2px;
    height: 60px;
    margin: 15px 0;
}

.wave-bar {
    width: 2px;
    background: linear-gradient(to top, #27ae60, #2ecc71);
    border-radius: 1px;
    animation: wave 0.5s ease-in-out infinite;
    transform-origin: bottom;
}

.wave-bar:nth-child(1) { animation-delay: 0s; height: 15px; }
.wave-bar:nth-child(2) { animation-delay: 0.03s; height: 25px; }
.wave-bar:nth-child(3) { animation-delay: 0.06s; height: 35px; }
.wave-bar:nth-child(4) { animation-delay: 0.09s; height: 20px; }
.wave-bar:nth-child(5) { animation-delay: 0.12s; height: 30px; }
.wave-bar:nth-child(6) { animation-delay: 0.15s; height: 22px; }
.wave-bar:nth-child(7) { animation-delay: 0.18s; height: 28px; }
.wave-bar:nth-child(8) { animation-delay: 0.21s; height: 40px; }
.wave-bar:nth-child(9) { animation-delay: 0.24s; height: 18px; }
.wave-bar:nth-child(10) { animation-delay: 0.27s; height: 26px; }
.wave-bar:nth-child(11) { animation-delay: 0.30s; height: 32px; }
.wave-bar:nth-child(12) { animation-delay: 0.33s; height: 24px; }
.wave-bar:nth-child(13) { animation-delay: 0.36s; height: 38px; }
.wave-bar:nth-child(14) { animation-delay: 0.39s; height: 16px; }
.wave-bar:nth-child(15) { animation-delay: 0.42s; height: 29px; }
.wave-bar:nth-child(16) { animation-delay: 0.45s; height: 33px; }
.wave-bar:nth-child(17) { animation-delay: 0.48s; height: 21px; }
.wave-bar:nth-child(18) { animation-delay: 0.51s; height: 36px; }
.wave-bar:nth-child(19) { animation-delay: 0.54s; height: 19px; }
.wave-bar:nth-child(20) { animation-delay: 0.57s; height: 27px; }
.wave-bar:nth-child(21) { animation-delay: 0.60s; height: 31px; }
.wave-bar:nth-child(22) { animation-delay: 0.63s; height: 23px; }
.wave-bar:nth-child(23) { animation-delay: 0.66s; height: 37px; }
.wave-bar:nth-child(24) { animation-delay: 0.69s; height: 17px; }
.wave-bar:nth-child(25) { animation-delay: 0.72s; height: 34px; }
.wave-bar:nth-child(26) { animation-delay: 0.75s; height: 28px; }
.wave-bar:nth-child(27) { animation-delay: 0.78s; height: 25px; }
.wave-bar:nth-child(28) { animation-delay: 0.81s; height: 39px; }
.wave-bar:nth-child(29) { animation-delay: 0.84s; height: 20px; }
.wave-bar:nth-child(30) { animation-delay: 0.87s; height: 30px; }
.wave-bar:nth-child(31) { animation-delay: 0.90s; height: 22px; }
.wave-bar:nth-child(32) { animation-delay: 0.93s; height: 35px; }
.wave-bar:nth-child(33) { animation-delay: 0.96s; height: 18px; }
.wave-bar:nth-child(34) { animation-delay: 0.99s; height: 31px; }
.wave-bar:nth-child(35) { animation-delay: 1.02s; height: 26px; }
.wave-bar:nth-child(36) { animation-delay: 1.05s; height: 38px; }
.wave-bar:nth-child(37) { animation-delay: 1.08s; height: 15px; }
.wave-bar:nth-child(38) { animation-delay: 1.11s; height: 33px; }
.wave-bar:nth-child(39) { animation-delay: 1.14s; height: 24px; }
.wave-bar:nth-child(40) { animation-delay: 1.17s; height: 40px; }
.wave-bar:nth-child(41) { animation-delay: 1.20s; height: 19px; }
.wave-bar:nth-child(42) { animation-delay: 1.23s; height: 29px; }
.wave-bar:nth-child(43) { animation-delay: 1.26s; height: 32px; }
.wave-bar:nth-child(44) { animation-delay: 1.29s; height: 21px; }
.wave-bar:nth-child(45) { animation-delay: 1.32s; height: 36px; }
.wave-bar:nth-child(46) { animation-delay: 1.35s; height: 27px; }
.wave-bar:nth-child(47) { animation-delay: 1.38s; height: 16px; }
.wave-bar:nth-child(48) { animation-delay: 1.41s; height: 34px; }
.wave-bar:nth-child(49) { animation-delay: 1.44s; height: 23px; }
.wave-bar:nth-child(50) { animation-delay: 1.47s; height: 37px; }
.wave-bar:nth-child(51) { animation-delay: 1.50s; height: 20px; }
.wave-bar:nth-child(52) { animation-delay: 1.53s; height: 30px; }
.wave-bar:nth-child(53) { animation-delay: 1.56s; height: 25px; }
.wave-bar:nth-child(54) { animation-delay: 1.59s; height: 39px; }
.wave-bar:nth-child(55) { animation-delay: 1.62s; height: 17px; }
.wave-bar:nth-child(56) { animation-delay: 1.65s; height: 28px; }
.wave-bar:nth-child(57) { animation-delay: 1.68s; height: 33px; }
.wave-bar:nth-child(58) { animation-delay: 1.71s; height: 22px; }
.wave-bar:nth-child(59) { animation-delay: 1.74s; height: 35px; }
.wave-bar:nth-child(60) { animation-delay: 1.77s; height: 26px; }
.wave-bar:nth-child(61) { animation-delay: 1.80s; height: 32px; }
.wave-bar:nth-child(62) { animation-delay: 1.83s; height: 18px; }
.wave-bar:nth-child(63) { animation-delay: 1.86s; height: 36px; }
.wave-bar:nth-child(64) { animation-delay: 1.89s; height: 24px; }
.wave-bar:nth-child(65) { animation-delay: 1.92s; height: 40px; }
.wave-bar:nth-child(66) { animation-delay: 1.95s; height: 16px; }
.wave-bar:nth-child(67) { animation-delay: 1.98s; height: 30px; }
.wave-bar:nth-child(68) { animation-delay: 2.01s; height: 27px; }
.wave-bar:nth-child(69) { animation-delay: 2.04s; height: 38px; }
.wave-bar:nth-child(70) { animation-delay: 2.07s; height: 21px; }
.wave-bar:nth-child(71) { animation-delay: 2.10s; height: 34px; }
.wave-bar:nth-child(72) { animation-delay: 2.13s; height: 29px; }
.wave-bar:nth-child(73) { animation-delay: 2.16s; height: 15px; }
.wave-bar:nth-child(74) { animation-delay: 2.19s; height: 37px; }
.wave-bar:nth-child(75) { animation-delay: 2.22s; height: 23px; }
.wave-bar:nth-child(76) { animation-delay: 2.25s; height: 31px; }
.wave-bar:nth-child(77) { animation-delay: 2.28s; height: 19px; }
.wave-bar:nth-child(78) { animation-delay: 2.31s; height: 35px; }
.wave-bar:nth-child(79) { animation-delay: 2.34s; height: 25px; }
.wave-bar:nth-child(80) { animation-delay: 2.37s; height: 39px; }
.wave-bar:nth-child(81) { animation-delay: 2.40s; height: 17px; }
.wave-bar:nth-child(82) { animation-delay: 2.43s; height: 33px; }
.wave-bar:nth-child(83) { animation-delay: 2.46s; height: 28px; }
.wave-bar:nth-child(84) { animation-delay: 2.49s; height: 22px; }
.wave-bar:nth-child(85) { animation-delay: 2.52s; height: 36px; }
.wave-bar:nth-child(86) { animation-delay: 2.55s; height: 20px; }
.wave-bar:nth-child(87) { animation-delay: 2.58s; height: 32px; }
.wave-bar:nth-child(88) { animation-delay: 2.61s; height: 26px; }
.wave-bar:nth-child(89) { animation-delay: 2.64s; height: 38px; }
.wave-bar:nth-child(90) { animation-delay: 2.67s; height: 18px; }
.wave-bar:nth-child(91) { animation-delay: 2.70s; height: 34px; }
.wave-bar:nth-child(92) { animation-delay: 2.73s; height: 24px; }
.wave-bar:nth-child(93) { animation-delay: 2.76s; height: 40px; }
.wave-bar:nth-child(94) { animation-delay: 2.79s; height: 16px; }
.wave-bar:nth-child(95) { animation-delay: 2.82s; height: 30px; }
.wave-bar:nth-child(96) { animation-delay: 2.85s; height: 27px; }
.wave-bar:nth-child(97) { animation-delay: 2.88s; height: 35px; }
.wave-bar:nth-child(98) { animation-delay: 2.91s; height: 21px; }
.wave-bar:nth-child(99) { animation-delay: 2.94s; height: 37px; }
.wave-bar:nth-child(100) { animation-delay: 2.97s; height: 23px; }
.wave-bar:nth-child(101) { animation-delay: 3.00s; height: 31px; }
.wave-bar:nth-child(102) { animation-delay: 3.03s; height: 19px; }
.wave-bar:nth-child(103) { animation-delay: 3.06s; height: 33px; }
.wave-bar:nth-child(104) { animation-delay: 3.09s; height: 25px; }
.wave-bar:nth-child(105) { animation-delay: 3.12s; height: 39px; }
.wave-bar:nth-child(106) { animation-delay: 3.15s; height: 17px; }
.wave-bar:nth-child(107) { animation-delay: 3.18s; height: 29px; }
.wave-bar:nth-child(108) { animation-delay: 3.21s; height: 32px; }
.wave-bar:nth-child(109) { animation-delay: 3.24s; height: 22px; }
.wave-bar:nth-child(110) { animation-delay: 3.27s; height: 36px; }
.wave-bar:nth-child(111) { animation-delay: 3.30s; height: 20px; }
.wave-bar:nth-child(112) { animation-delay: 3.33s; height: 34px; }
.wave-bar:nth-child(113) { animation-delay: 3.36s; height: 26px; }
.wave-bar:nth-child(114) { animation-delay: 3.39s; height: 38px; }
.wave-bar:nth-child(115) { animation-delay: 3.42s; height: 18px; }
.wave-bar:nth-child(116) { animation-delay: 3.45s; height: 30px; }
.wave-bar:nth-child(117) { animation-delay: 3.48s; height: 24px; }
.wave-bar:nth-child(118) { animation-delay: 3.51s; height: 35px; }
.wave-bar:nth-child(119) { animation-delay: 3.54s; height: 21px; }
.wave-bar:nth-child(120) { animation-delay: 3.57s; height: 33px; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.3); opacity: 0.7; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Controles do Player */
.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

/* Botão Play Triangular */
.play-btn {
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 0;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: none;
}

.play-btn:active {
    transform: scale(0.95);
}

.play-triangle {
    width: 0;
    height: 0;
    border-left: 20px solid #27ae60;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
    transition: all 0.3s ease;
}

.play-btn.playing .play-triangle {
    border-left: none;
    border-top: none;
    border-bottom: none;
    width: 16px;
    height: 20px;
    background: #fff;
    position: relative;
    margin-left: 0;
}

.play-btn.playing .play-triangle::before,
.play-btn.playing .play-triangle::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 20px;
    background: #fff;
    top: 0;
}

.play-btn.playing .play-triangle::before {
    left: 0;
}

.play-btn.playing .play-triangle::after {
    right: 0;
}

/* Controle de Volume */
.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-icon {
    font-size: 18px;
    color: #fff;
}

.volume-slider {
    width: 100px;
    height: 6px;
    border-radius: 3px;
    background: #333;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #27ae60;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #2ecc71;
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #27ae60;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .custom-player-container {
        max-width: 90%;
        padding: 20px;
    }
    
    .player-controls {
        gap: 8px;
    }
    
    .play-btn {
        width: 70px;
        height: 70px;
    }
    
    .play-triangle {
        border-left-width: 18px;
        border-top-width: 11px;
        border-bottom-width: 11px;
    }
}

@media (max-width: 480px) {
    .custom-player-container {
        padding: 15px;
        overflow: hidden;
        max-width: 100%;
    }
    
    .player-controls {
        flex-direction: column;
        gap: 5px;
    }
    
    .play-btn {
        width: 80px;
        height: 80px;
    }
    
    .play-triangle {
        border-left-width: 20px;
        border-top-width: 12px;
        border-bottom-width: 12px;
    }
    
    .volume-control {
        width: 100%;
        justify-content: center;
    }
    
    .volume-slider {
        width: 150px;
    }
    
    .audio-visualizer {
        height: 40px;
        margin: 8px 0;
        gap: 1px;
        width: 100%;
        max-width: 280px;
        overflow: hidden;
    }
    
    .wave-bar {
        width: 2px;
        max-height: 35px;
    }
}

#playerbs {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 45px;
    flex-direction: column;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#playerbs audio {
    width: 100%;
    max-width: 320px;
    border-radius: 6px;
    outline: none;
    height: 35px;
}

#playerbs audio::-webkit-media-controls-panel {
    background-color: #000;
    border-radius: 10px;
}

#playerbs audio::-webkit-media-controls-play-button,
#playerbs audio::-webkit-media-controls-pause-button {
    background-color: #007bff;
    border-radius: 50%;
}

#playerbs audio::-webkit-media-controls-volume-slider {
    background-color: #333;
}

#playerbs audio::-webkit-media-controls-timeline {
    background-color: #333;
    border-radius: 5px;
}

#playerbs_msg {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    color: #fff;
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
}

/* Estilos para o player de fallback */
#fallback-player {
    width: 100%;
    text-align: center;
    margin: 20px 0;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#fallback-audio {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    background: #f5f5f5;
    height: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#fallback-msg {
    margin-top: 15px;
    padding: 10px;
    background: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 5px;
    color: #0c5460;
    font-size: 14px;
}

#fallback-msg a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

#fallback-msg a:hover {
    text-decoration: underline;
}

/* Estilos para metadados do player (capa e informações da música) */
.player-metadata {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
    width: 100%;
}



.player-info {
    flex: 1;
    text-align: left;
    color: #fff;
    max-width: 300px;
}

.player-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.3;
}

.player-artist {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.2;
}

/* Player de streaming com tema escuro moderno */
.player-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    backdrop-filter: blur(10px);
    margin: 10px auto;
    max-width: 450px;
    text-align: center;
}

/* Controles do Player */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.play-button {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.play-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

#volume-slider {
    width: 100px;
    height: 5px;
    background: #333;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #27ae60;
    border-radius: 50%;
    cursor: pointer;
}

/* Status de Conexão */
.connection-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
    font-size: 14px;
    font-weight: 500;
}

.connection-status.online {
    color: #2ecc71;
}

.connection-status.offline {
    color: #e74c3c;
}

.connection-status.checking {
    color: #f39c12;
}

.connection-status i {
    font-size: 12px;
}

/* Informações da rádio */
.radio-info {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid #444;
}

.radio-status {
    font-size: 12px;
    color: #ff4444;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.radio-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.now-playing {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Player de áudio customizado */
#fallback-player {
    margin-top: 15px;
}

#fallback-audio {
    width: 100%;
    height: 60px;
    background: #000;
    border-radius: 12px;
    border: 2px solid #333;
    outline: none;
}

#fallback-audio::-webkit-media-controls-panel {
    background-color: #000;
    border-radius: 12px;
}

#fallback-audio::-webkit-media-controls-play-button,
#fallback-audio::-webkit-media-controls-pause-button {
    background-color: #fff;
    border-radius: 50%;
}

#fallback-audio::-webkit-media-controls-volume-slider {
    background-color: #333;
}

#fallback-audio::-webkit-media-controls-timeline {
    background-color: #333;
    border-radius: 4px;
}

#fallback-msg {
    text-align: center;
    margin-top: 10px;
    color: #ccc;
    font-size: 14px;
}

#fallback-msg a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

#fallback-msg a:hover {
    color: #66BB6A;
    text-decoration: underline;
}

/* Metadados da música */
.player-metadata {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    border: 1px solid #444;
}



.player-info {
    flex: 1;
    color: #fff;
}

.player-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.player-artist {
    font-size: 14px;
    color: #ccc;
    opacity: 0.9;
}

/* Mensagens do player */
#playerbs_msg {
    text-align: center;
    color: #ccc;
    font-size: 14px;
    margin-top: 10px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid #444;
}

#playerbs_msg a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

#playerbs_msg a:hover {
    color: #66BB6A;
    text-decoration: underline;
}



/* Estilos do player antigo - comentados pois agora usamos o player de streaming
.player-info {
    position: relative;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    backdrop-filter: blur(2px);
}

.player-info * {
    margin: 0 !important;
}

.now-playing h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #e74c3c;
}

.song-metadata {
    margin-bottom: 0px;
    line-height: 1.1;
}

.song-metadata p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.1 !important;
}

.song-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0px;
    line-height: 1.2;
    color: #e74c3c;
}

.song-artist {
    font-size: 0.95rem;
    margin-bottom: 0px;
    line-height: 1.2;
    color: #ddd;
    font-style: italic;
}

.song-album {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: #bbb;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 10px;
    backdrop-filter: blur(2px);
}

.play-button {
    background: none;
    color: #e74c3c;
    border: none;
    border-radius: 0;
    width: 60px;
    height: 60px;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.play-button:hover {
    color: #c0392b;
    transform: scale(1.1);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-control i {
    color: #27ae60;
}

#volume-slider {
    width: 100px;
    cursor: pointer;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
    margin-left: 20px;
}

.connection-status #statusIcon {
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.connection-status.online #statusIcon {
    color: #4CAF50;
    animation: pulse-green 2s infinite;
}

.connection-status.offline #statusIcon {
    color: #f44336;
}

.connection-status.checking #statusIcon {
    color: #ff9800;
    animation: pulse-orange 1s infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse-orange {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
*/

/* About Section */
.about {
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: #777;
}

/* Schedule Section */
.schedule {
    background-color: #f9f9f9;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.schedule-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.schedule-item:hover {
    transform: translateY(-5px);
}

.schedule-time {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.schedule-content {
    padding: 20px;
}

.schedule-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.schedule-content p {
    color: #666;
}

/* News Section */
.news {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.news .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.news-item {
    background-color: #fff !important;
    border-radius: 10px !important;
    padding: 25px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border-left: 4px solid #e74c3c !important;
    margin-bottom: 20px !important;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-item.loading {
    opacity: 0.7;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.news-content h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-date {
    color: #e74c3c;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

.news-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #c0392b;
    text-decoration: underline;
}

.news-source {
    color: #999;
    font-size: 0.8rem;
    margin-top: 10px;
    display: block;
}

/* Gallery Section */
.gallery {
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Testimonials Section */
.testimonials {
    background-color: #f9f9f9;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.author-info p {
    font-size: 0.9rem;
    color: #777;
}

/* Contact Section */
.contact {
    background-color: #fff;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.social-media {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #c0392b;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e74c3c;
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn-submit {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #c0392b;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: #e74c3c;
    margin-bottom: 10px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #e74c3c;
}

.footer-newsletter {
    flex: 1;
    min-width: 200px;
}

.footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 0.9rem;
}

.footer-newsletter button {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: #c0392b;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 20px;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .schedule-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        max-width: 100%;
    }

    .player-container {
        max-width: 95%;
        padding: 20px;
        margin: 0 auto;
        min-height: 180px;
    }
    
    .player-metadata {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .player-info {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .player-controls {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .player-container {
        max-width: 98% !important;
        width: 98% !important;
        padding: 20px !important;
        min-height: 220px !important;
        display: flex !important;
        visibility: visible !important;
        z-index: 1001 !important;
        position: relative !important;
        margin: 20px auto !important;
        background-color: rgba(0, 0, 0, 0.8) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .player-metadata {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }
    

    
    .player-title {
        font-size: 14px !important;
    }
    
    .player-artist {
        font-size: 12px !important;
    }
    
    .radio-status {
        font-size: 12px !important;
    }
    
    .now-playing {
        font-size: 14px !important;
    }

    .hero {
        padding: 80px 0 120px !important;
        min-height: 450px !important;
        overflow: visible !important;
    }

    .hero-content {
         z-index: 1000 !important;
     }
}

/* Extra small devices */
@media (max-width: 320px) {
    .player-container {
        max-width: 99% !important;
        width: 99% !important;
        padding: 15px !important;
        margin: 15px auto !important;
        min-height: 200px !important;
    }
    
    .player-metadata {
        flex-direction: column !important;
        gap: 8px !important;
    }
    

    
    .radio-info {
        margin-bottom: 10px !important;
    }

    .hero {
        padding: 60px 0 100px !important;
        min-height: 400px !important;
    }

    .hero-content h2 {
        font-size: 1.8rem !important;
    }

    .hero-content p {
        font-size: 0.9rem !important;
    }
}