* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1c6a96;
    --secondary-color: #4b92b6;
    --accent-color: #28bfea;
    --text-dark: #000000;
    --text-light: #ffffff;
    --gray-light: #94a3b8;
    --gray-medium: #64748b;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(28,106,150,0.95) 0%, rgba(75,146,182,0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: linear-gradient(135deg, rgba(28,106,150,0.98) 0%, rgba(75,146,182,0.98) 100%);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 50px;
    transition: var(--transition);
}

.navbar-logo img:hover { transform: scale(1.05); }

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
}

.navbar-menu a:hover,
.navbar-menu a.active { background: rgba(255,255,255,0.15); }

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
}

.navbar-menu a:hover::after { width: 80%; }

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ========== DASHBOARD ========== */
.dashboard {
    padding-top: 80px;
    background: linear-gradient(160deg, #0f3d5c 0%, #1c6a96 40%, #4b92b6 100%);
    min-height: 100vh;
}

.dashboard-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 24px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

/* --- Coluna esquerda: player empilhado com twitch --- */
.dash-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- PLAYER --- */
.player-wrapper {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(40,191,234,0.18),
        0 16px 48px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.player-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 13px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.player-logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.player-info { display: flex; flex-direction: column; }

.player-station {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

.player-freq {
    color: rgba(255,255,255,0.45);
    font-size: 0.7rem;
    letter-spacing: 0.4px;
}

/* Live badge */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.35);
    color: #f87171;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.live-dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulseDot 1.6s ease infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
    50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(239,68,68,0); }
}

/* Player body */
.player-body {
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Visualizer */
.player-visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 48px;
    padding: 0 4px;
}

.player-visualizer .bar {
    width: 100%;
    max-width: 14px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(to top, var(--primary-color), var(--accent-color));
    animation: barPulse 1.2s ease-in-out infinite;
    transform-origin: bottom;
}

.player-visualizer .bar:nth-child(1)  { height: 30%; animation-delay: 0s; }
.player-visualizer .bar:nth-child(2)  { height: 55%; animation-delay: 0.1s; }
.player-visualizer .bar:nth-child(3)  { height: 80%; animation-delay: 0.2s; }
.player-visualizer .bar:nth-child(4)  { height: 40%; animation-delay: 0.3s; }
.player-visualizer .bar:nth-child(5)  { height: 70%; animation-delay: 0.15s; }
.player-visualizer .bar:nth-child(6)  { height: 90%; animation-delay: 0.25s; }
.player-visualizer .bar:nth-child(7)  { height: 50%; animation-delay: 0.05s; }
.player-visualizer .bar:nth-child(8)  { height: 75%; animation-delay: 0.35s; }
.player-visualizer .bar:nth-child(9)  { height: 35%; animation-delay: 0.2s; }
.player-visualizer .bar:nth-child(10) { height: 60%; animation-delay: 0.1s; }
.player-visualizer .bar:nth-child(11) { height: 85%; animation-delay: 0.3s; }
.player-visualizer .bar:nth-child(12) { height: 45%; animation-delay: 0.05s; }
.player-visualizer .bar:nth-child(13) { height: 70%; animation-delay: 0.15s; }
.player-visualizer .bar:nth-child(14) { height: 95%; animation-delay: 0.25s; }
.player-visualizer .bar:nth-child(15) { height: 30%; animation-delay: 0.35s; }
.player-visualizer .bar:nth-child(16) { height: 55%; animation-delay: 0s; }
.player-visualizer .bar:nth-child(17) { height: 80%; animation-delay: 0.1s; }
.player-visualizer .bar:nth-child(18) { height: 40%; animation-delay: 0.2s; }
.player-visualizer .bar:nth-child(19) { height: 65%; animation-delay: 0.3s; }
.player-visualizer .bar:nth-child(20) { height: 50%; animation-delay: 0.15s; }
.player-visualizer .bar:nth-child(21) { height: 75%; animation-delay: 0.05s; }
.player-visualizer .bar:nth-child(22) { height: 35%; animation-delay: 0.25s; }
.player-visualizer .bar:nth-child(23) { height: 85%; animation-delay: 0.1s; }
.player-visualizer .bar:nth-child(24) { height: 55%; animation-delay: 0.35s; }
.player-visualizer .bar:nth-child(25) { height: 70%; animation-delay: 0.2s; }
.player-visualizer .bar:nth-child(26) { height: 40%; animation-delay: 0s; }
.player-visualizer .bar:nth-child(27) { height: 60%; animation-delay: 0.15s; }
.player-visualizer .bar:nth-child(28) { height: 80%; animation-delay: 0.3s; }
.player-visualizer .bar:nth-child(29) { height: 45%; animation-delay: 0.05s; }
.player-visualizer .bar:nth-child(30) { height: 90%; animation-delay: 0.25s; }
.player-visualizer .bar:nth-child(31) { height: 55%; animation-delay: 0.1s; }
.player-visualizer .bar:nth-child(32) { height: 35%; animation-delay: 0.2s; }

.player-visualizer.paused .bar {
    height: 20% !important;
    animation: none;
    opacity: 0.35;
}

@keyframes barPulse {
    0%, 100% { transform: scaleY(1); }
    50%      { transform: scaleY(0.3); }
}

/* Controls */
.player-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-play {
    position: relative;
    width: 48px; height: 48px; min-width: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 4px 20px rgba(40,191,234,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(40,191,234,0.55);
}

.btn-play svg { width: 18px; height: 18px; fill: #fff; transition: opacity 0.2s; }
.btn-play .icon-pause { opacity: 0; position: absolute; }
.btn-play.playing .icon-play  { opacity: 0; }
.btn-play.playing .icon-pause { opacity: 1; }

.player-volume {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.btn-vol {
    background: none; border: none; cursor: pointer; padding: 4px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}

.btn-vol svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.55); transition: fill 0.2s; }
.btn-vol:hover svg { fill: #fff; }
.btn-vol .icon-vol-off { display: none; }
.btn-vol.muted .icon-vol-on  { display: none; }
.btn-vol.muted .icon-vol-off { display: block; }

.range-vol {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.15);
    outline: none;
    cursor: pointer;
}

.range-vol::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 6px rgba(40,191,234,0.5);
    cursor: pointer;
}

.range-vol::-moz-range-thumb {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--accent-color); border: none;
    box-shadow: 0 0 6px rgba(40,191,234,0.5);
    cursor: pointer;
}

.vol-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    min-width: 34px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

#radioPlayer { display: none; }

/* Stats strip */
.player-stats {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.player-stats .stat {
    flex: 1; text-align: center;
    padding: 12px 8px;
    border-right: 1px solid rgba(255,255,255,0.07);
}

.player-stats .stat:last-child { border-right: none; }

.stat-val {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.2;
}

.stat-txt {
    display: block;
    color: rgba(255,255,255,0.35);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 3px;
}

/* --- TWITCH --- */
.twitch-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.twitch-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.75);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.twitch-frame-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 2px rgba(40,191,234,0.2),
        0 16px 48px rgba(0,0,0,0.4);
    background: #000;
}

.twitch-frame-wrap iframe {
    width: 100%; height: 100%;
    display: block;
}

/* ========== NOTÍCIAS — coluna direita ========== */
.dash-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card destaque */
.news-featured {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: var(--transition);
}

.news-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

.news-featured-img {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.news-featured-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-featured:hover .news-featured-img img { transform: scale(1.04); }

.news-featured-body {
    padding: 24px 26px 26px;
}

.news-featured-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin: 8px 0 10px;
}

.news-featured-desc {
    color: var(--gray-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Tags de categoria */
.news-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 1;
}

.news-tag--info    { background: #0284c7; }
.news-tag--success { background: #16a34a; }
.news-tag--warning { background: #d97706; }

/* Data */
.news-date {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-medium);
    letter-spacing: 0.3px;
}

/* Link "Ler mais" */
.news-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
}

.news-link:hover { color: var(--primary-color); }

/* Grid de 3 cards pequenos */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.14);
}

.news-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.05); }

.news-card-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.news-card-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    flex: 1;
}

/* ========== SECTIONS ========== */
.container { max-width: 1400px; margin: 0 auto; }

.section { padding: 100px 20px; }

.section-light { background: white; }
.section-dark  { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-medium);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-text h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 25px; }
.section-text p  { margin-bottom: 20px; color: var(--gray-medium); font-size: 1.05rem; }

.section-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.section-image img:hover { transform: scale(1.02); }

/* ========== PROGRAMAÇÃO ========== */
.programming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.program-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.program-time  { font-size: 1.2rem; font-weight: 600; color: var(--primary-color); margin-bottom: 10px; }
.program-title { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 15px; }
.program-desc  { color: var(--gray-medium); font-size: 0.95rem; }

/* ========== CONTATO ========== */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-group { margin-bottom: 25px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(28,106,150,0.1);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(40,191,234,0.1);
}

textarea.form-control { min-height: 150px; resize: vertical; }

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), #0c4a6e);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(28,106,150,0.4);
}

.contact-info { display: flex; flex-direction: column; gap: 30px; }

.contact-item { display: flex; align-items: flex-start; gap: 20px; }

.contact-icon {
    min-width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.2rem;
}

.contact-text { width: 100%; min-width: 0; }
.contact-text h4 { font-size: 1.2rem; margin-bottom: 5px; color: var(--text-dark); }
.contact-text p, .contact-text a { color: var(--gray-medium); text-decoration: none; transition: var(--transition); }
.contact-text a:hover { color: var(--accent-color); }

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 50px; height: 3px;
    background: var(--accent-color);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-links a:hover { color: white; transform: translateX(5px); }

.footer-links li:not(:has(a)) { color: rgba(255,255,255,0.7); padding: 5px 0; }

.footer-about p { margin-bottom: 20px; opacity: 0.8; line-height: 1.8; }
.footer-about img { height: 60px; margin-bottom: 20px; }

.footer-social { display: flex; gap: 15px; margin-top: 20px; }

.social-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    text-decoration: none; color: white;
}

.social-icon:hover { background: var(--accent-color); transform: translateY(-3px); }

.footer-bottom {
    text-align: center;
    padding-top: 40px; margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.dev-credit { color: var(--accent-color); text-decoration: none; font-weight: 500; }

/* ========== LEAFLET MAP ========== */
#map { z-index: 0; }
.leaflet-marker-icon { display: none; }

.marker-radio {
    width: 28px; height: 28px;
    background: var(--primary-color);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(28,106,150,0.55);
    position: relative;
}

.marker-radio::after {
    content: '';
    position: absolute; inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%   { transform: scale(1);    opacity: 0.7; }
    100% { transform: scale(1.55); opacity: 0; }
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border: none;
}

.leaflet-popup-content {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin: 10px 14px;
    line-height: 1.5;
}

.leaflet-popup-content strong { color: var(--primary-color); display: block; margin-bottom: 2px; }
.leaflet-popup-tip-wrapper { filter: drop-shadow(0 3px 4px rgba(0,0,0,0.15)); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .dashboard-inner {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    /* empilha: player + twitch primeiro, depois notícias */
    .dash-left  { order: -1; }
    .dash-right { order: 0; }

    .news-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .section-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-image { order: -1; }

    .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 70px; left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        flex-direction: column;
        padding: 20px 0;
    }

    .navbar-menu.show { display: flex; }
    .navbar-toggle { display: block; }

    .dashboard { min-height: auto; }
    .dashboard-inner { padding: 20px 16px 40px; }

    .news-grid { grid-template-columns: 1fr 1fr; }

    .section { padding: 60px 20px; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 540px) {
    .news-grid { grid-template-columns: 1fr; }

    .player-top-bar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .player-controls { flex-direction: column; align-items: stretch; }
    .btn-play { align-self: center; }
    .player-volume { width: 100%; }
    .player-stats .stat-val { font-size: 0.78rem; }
    .program-card { padding: 25px; }
}






/* ===== SEÇÃO DE PROGRAMAÇÃO MODERNA ===== */
.section-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(28, 106, 150, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-block;
    background: rgba(40, 191, 234, 0.1);
    color: #28bfea;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid rgba(40, 191, 234, 0.3);
}

.section-title-modern {
    font-size: 3rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle-modern {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== NAVEGAÇÃO DOS DIAS ===== */
.days-nav-wrapper {
    position: relative;
    margin-bottom: 40px;
    z-index: 1;
}

.days-nav {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 5px 20px;
    scrollbar-width: thin;
    scrollbar-color: #1c6a96 transparent;
    justify-content: center;
    flex-wrap: wrap;
}

.days-nav::-webkit-scrollbar {
    height: 6px;
}

.days-nav::-webkit-scrollbar-thumb {
    background: #1c6a96;
    border-radius: 3px;
}

.day-tab {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px 20px;
    min-width: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}

.day-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(40, 191, 234, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.day-tab.active {
    background: linear-gradient(135deg, #1c6a96 0%, #28bfea 100%);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(28, 106, 150, 0.4);
}

.day-tab.today {
    border-color: #28bfea;
    box-shadow: 0 0 20px rgba(40, 191, 234, 0.3);
}

.day-abbr {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}

.day-full {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.day-tab.active .day-full {
    color: rgba(255, 255, 255, 0.9);
}

.today-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    animation: pulse-red 2s infinite;
}

.no-prog-indicator {
    position: absolute;
    bottom: -5px;
    font-size: 0.6rem;
    color: #64748b;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 10px;
}

/* ===== PAINÉIS DE CONTEÚDO ===== */
.schedule-content-wrapper {
    position: relative;
    z-index: 1;
    min-height: 400px;
}

.schedule-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.schedule-panel.active {
    display: block;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.current-day-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.current-day-info h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-transform: capitalize;
}

.live-now-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.pulse-ring {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.4);
    animation: pulse-ring 2s infinite;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.count-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== TIMELINE ===== */
.timeline-container {
    position: relative;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1c6a96, #28bfea, transparent);
}

.program-card-modern {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 25px;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.program-card-modern:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(40, 191, 234, 0.3);
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.program-card-modern.live-now {
    background: linear-gradient(135deg, rgba(28, 106, 150, 0.2) 0%, rgba(40, 191, 234, 0.1) 100%);
    border-color: #28bfea;
    box-shadow: 0 0 30px rgba(40, 191, 234, 0.2);
    animation: border-pulse 3s infinite;
}

.program-card-modern::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #1c6a96;
    border-radius: 50%;
    border: 3px solid #0f172a;
    box-shadow: 0 0 0 3px #1c6a96;
}

.program-card-modern.live-now::before {
    background: #28bfea;
    box-shadow: 0 0 0 3px #28bfea, 0 0 20px #28bfea;
    animation: glow 2s infinite;
}

.live-indicator {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.live-bar {
    width: 3px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: sound-bar 1s infinite;
}

.live-bar:nth-child(2) { animation-delay: 0.1s; }
.live-bar:nth-child(3) { animation-delay: 0.2s; }

.program-time-block {
    text-align: center;
    min-width: 100px;
}

.time-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.time-display {
    color: #28bfea;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.time-status {
    font-size: 0.75rem;
    color: #ef4444;
    font-weight: 700;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-info-block {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 25px;
}

.program-name {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.program-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.95rem;
}

.meta-icon {
    font-size: 1.1rem;
}

.reminder-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reminder-btn:hover {
    background: #28bfea;
    border-color: #28bfea;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(40, 191, 234, 0.4);
}

/* ===== ESTADO VAZIO ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.empty-state p {
    color: #64748b;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== LEGENDA ===== */
.schedule-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.live { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.legend-dot.scheduled { background: #1c6a96; }
.legend-dot.music { background: #64748b; }

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes border-pulse {
    0%, 100% { border-color: #28bfea; box-shadow: 0 0 30px rgba(40, 191, 234, 0.2); }
    50% { border-color: #1c6a96; box-shadow: 0 0 30px rgba(28, 106, 150, 0.4); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 0 3px #28bfea, 0 0 20px #28bfea; }
    50% { box-shadow: 0 0 0 3px #28bfea, 0 0 40px #28bfea; }
}

@keyframes sound-bar {
    0%, 100% { height: 12px; }
    50% { height: 20px; }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .section-title-modern { font-size: 2rem; }
    
    .days-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding-bottom: 15px;
    }
    
    .day-tab {
        min-width: 80px;
        padding: 12px 15px;
    }
    
    .day-full { display: none; }
    
    .panel-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .timeline-container { padding-left: 30px; }
    
    .program-card-modern {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .program-info-block {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 15px;
    }
    
    .program-meta { justify-content: center; }
    
    .program-card-modern::before { left: -23px; }
    
    .live-indicator {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .reminder-btn {
        width: 100%;
        height: 40px;
    }
}