* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0b0b12;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.bg-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://placehold.co/600x600/111122/white?text=RADIO') center/cover no-repeat;
    filter: blur(40px) brightness(0.35);
    transform: scale(1.1);
    z-index: 0;
    transition: background-image 0.7s ease;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

main {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.glass-player {
    background: rgba(20, 22, 36, 0.75);
    backdrop-filter: blur(16px);
    border-radius: 56px;
    padding: 30px 28px;
    box-shadow: 0 30px 45px rgba(0, 0, 0, 0.5), 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s;
}

/* Header da Rádio */
.radio-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.radio-name {
    font-size: 2rem;
    font-weight: 800;
    color: #00d4b0;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 212, 176, 0.3);
}

.radio-slogan {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 5px;
    letter-spacing: 1px;
}

.flex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    align-items: center;
}

.cover-column {
    flex: 1;
    min-width: 220px;
    text-align: center;
}

.cover-art {
    max-width: 320px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 30px -8px black;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.2s;
}

.cover-art img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #1e1e2a;
}

.info-column {
    flex: 1;
    min-width: 260px;
}

.now-playing-badge {
    background: #00d4b0;
    color: #0a0a12;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.song-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    word-break: break-word;
}

.artist-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: #cfd9ff;
    margin-top: 8px;
    opacity: 0.9;
}

.listener-info {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 18px 0 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 60px;
    width: fit-content;
}

.listener-info span {
    color: #ddd;
}

.listener-info i {
    margin-right: 6px;
    color: #00d4b0;
}

.play-btn {
    background: white;
    border: none;
    color: #12121c;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 14px 32px;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.play-btn:hover {
    transform: scale(1.02);
    background: #f0f0ff;
}

.volume-wrap {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.volume-icon {
    font-size: 22px;
    color: white;
}

input[type="range"] {
    width: 160px;
    height: 4px;
    -webkit-appearance: none;
    background: #aaa;
    border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.vol-value {
    color: white;
    font-size: 0.8rem;
}

.lyrics-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-top: 18px;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 500;
}

.lyrics-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Botão WhatsApp Flutuante */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-chat:hover {
    transform: scale(1.1);
}

.whatsapp-button {
    background: #25D366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-button i {
    font-size: 35px;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.whatsapp-chat:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 90px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Seção de Contato */
.contact-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 34px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ddd;
    font-size: 0.85rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: #00d4b0;
    width: 25px;
}

.contact-item a {
    color: #ddd;
    text-decoration: none;
    transition: 0.2s;
}

.contact-item a:hover {
    color: #00d4b0;
}

.weather-section {
    margin-top: 35px;
}

.weather-title {
    color: white;
    font-size: 1rem;
    border-left: 4px solid #00d4b0;
    padding-left: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.weather-card {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    border-radius: 34px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.weather-icon {
    font-size: 3rem;
}

.weather-temp {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.weather-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.weather-condition {
    font-size: 1rem;
    color: #00d4b0;
    font-weight: 600;
    text-transform: capitalize;
}

.weather-location {
    font-size: 0.8rem;
    color: #ccc;
}

.weather-extras {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.weather-extras div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #ddd;
}

.weather-extras i {
    color: #00d4b0;
    width: 20px;
}

.weather-update {
    font-size: 0.7rem;
    color: #888;
    margin-top: 10px;
    text-align: right;
}

.apps-section {
    margin-top: 35px;
}

.apps-title {
    color: white;
    font-size: 1rem;
    border-left: 4px solid #00d4b0;
    padding-left: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.apps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.app-card {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    padding: 12px 24px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.app-card:hover {
    background: rgba(0, 212, 176, 0.2);
    transform: translateY(-2px);
    border-color: #00d4b0;
}

.app-icon {
    font-size: 1.5rem;
}

.app-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.app-info p {
    font-size: 0.65rem;
    opacity: 0.7;
}

.android-auto-badge {
    background: linear-gradient(135deg, #3ddc84, #00d4b0);
    color: #0a0a12;
    padding: 12px 24px;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 0.85rem;
}

.historic-section {
    margin-top: 35px;
}

.historic-title {
    color: white;
    font-size: 1rem;
    border-left: 4px solid #00d4b0;
    padding-left: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.history-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    padding: 12px 20px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.history-img {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: #222 url('https://placehold.co/100/2c2c3a/white?text=🎵') center/cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.history-info {
    flex: 1;
}

.history-song {
    font-weight: bold;
    color: white;
}

.history-artist {
    font-size: 0.75rem;
    color: #bbb;
}

footer {
    text-align: center;
    margin-top: 35px;
    font-size: 0.7rem;
    color: #888;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

footer a {
    color: #00d4b0;
    text-decoration: none;
}

.modal-lyrics {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: #18182a;
    max-width: 550px;
    width: 90%;
    border-radius: 36px;
    padding: 22px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.19);
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.19);
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.lyrics-text {
    white-space: pre-wrap;
    line-height: 1.6;
    font-family: monospace;
}

/* Responsividade */
@media (max-width: 720px) {
    .glass-player {
        padding: 20px;
    }
    
    .song-title {
        font-size: 1.4rem;
    }
    
    .radio-name {
        font-size: 1.3rem;
    }
    
    .apps-grid {
        gap: 12px;
    }
    
    .app-card {
        padding: 8px 16px;
    }
    
    .contact-section {
        gap: 15px;
    }
    
    .contact-item {
        font-size: 0.7rem;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-button i {
        font-size: 28px;
    }
}