/* ============================================================
   CATÁLOGO DE RÁDIOS - STYLESHEET PRINCIPAL
   ============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-body-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--color-primary); text-decoration: none; transition: all 0.25s ease; }
a:hover { color: var(--color-accent); }

img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: var(--color-header-bg);
    color: var(--color-header-text);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-link { display: flex; align-items: center; }

.site-logo { height: 45px; width: auto; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--color-header-text);
    font-size: 1.3rem;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.mobile-menu-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
    color: var(--color-header-text);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,0.1); color: var(--color-accent); }

.main-nav a i { margin-right: 5px; font-size: 0.82rem; }

.btn-nav-outline {
    border: 2px solid var(--color-accent) !important;
    color: var(--color-accent) !important;
    border-radius: 25px !important;
    padding: 7px 18px !important;
}
.btn-nav-outline:hover { background: var(--color-accent) !important; color: #fff !important; }

.btn-nav-solid {
    background: var(--color-accent) !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 7px 18px !important;
    font-weight: 600 !important;
}
.btn-nav-solid:hover { background: var(--color-primary) !important; }

/* ============================================================
   SEARCH SECTION
   ============================================================ */
.search-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: 35px 0;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    font-size: 0.9rem;
    font-family: inherit;
    color: #333;
    transition: all 0.25s ease;
}
.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255,109,0,0.2);
}

.btn-search {
    width: 100%;
    padding: 12px 24px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}
.btn-search:hover { background: #e65100; transform: translateY(-1px); }

/* ============================================================
   MODULES / SECTIONS
   ============================================================ */
.module-section { padding: 40px 0; }

.module-title {
    color: var(--color-module-title);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-accent);
    display: inline-block;
}

/* Top Rádios Grid */
.radios-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.radio-card {
    background: var(--color-card-bg);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}
.radio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.radio-card a { display: block; }

.radio-card .radio-logo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.radio-card .radio-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    padding: 20px 10px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.radio-card:hover .radio-name-overlay { opacity: 1; }

/* Featured (smaller logos) */
.radios-grid-sm { grid-template-columns: repeat(8, 1fr); gap: 14px; }

.radio-card-sm .radio-logo { border-radius: 12px; }

/* Recommended (text only) */
.recommended-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.recommended-item {
    background: var(--color-card-bg);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.recommended-item:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateX(4px);
}

/* Banner + Featured side by side */
.module-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.module-row .banner-side { flex: 0 0 300px; }
.module-row .content-side { flex: 1; }

/* Banner containers */
.banner-container { text-align: center; margin: 0 auto; }
.banner-container img.banner-img { max-width: 100%; border-radius: 12px; }

.banner-horizontal { padding: 25px 0; }
.banner-horizontal .banner-container { max-width: 100%; }

/* ============================================================
   PAGE LAYOUT (Banner lateral + Conteúdo)
   ============================================================ */
.page-layout {
    display: flex;
    gap: 30px;
    padding: 40px 0;
}
.page-sidebar { flex: 0 0 300px; }
.page-content { flex: 1; }

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-module-title);
    margin-bottom: 20px;
}

/* Info box */
.info-box {
    background: linear-gradient(135deg, #fff3e0, #fff8e1);
    border: 2px solid #ffb74d;
    border-radius: 14px;
    padding: 25px;
    margin-bottom: 30px;
    line-height: 1.8;
}
.info-box p { font-size: 0.95rem; font-weight: 500; margin-bottom: 15px; color: #333; }
.info-box ul { margin-left: 10px; }
.info-box li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-left: 8px;
    color: #555;
}
.info-box li::marker { color: var(--color-accent); }

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
    background: var(--color-card-bg);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-grid .full-width { grid-column: 1 / -1; }

.form-group { margin-bottom: 0; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--color-text);
}
.form-group label .required { color: #e53e3e; margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--color-text);
    background: #fff;
    transition: all 0.25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-group input.error,
.form-group select.error { border-color: #e53e3e; }
.field-error { color: #e53e3e; font-size: 0.78rem; margin-top: 4px; }

/* Segment checkboxes */
.segment-checkboxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.segment-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    cursor: pointer;
}
.segment-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* Terms checkbox */
.terms-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
    padding: 16px;
    background: #f1f5f9;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}
.terms-check input { width: 20px; height: 20px; accent-color: var(--color-primary); cursor: pointer; }
.terms-check label { font-size: 0.88rem; font-weight: 500; cursor: pointer; }

/* Form buttons */
.form-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn {
    padding: 12px 32px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-secondary); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(26,115,232,0.3); }
.btn-secondary { background: #e2e8f0; color: #475569; }
.btn-secondary:hover { background: #cbd5e1; }

/* Flash messages */
.flash-message {
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.flash-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ============================================================
   PÁGINA DA RÁDIO
   ============================================================ */
.radio-page-card {
    background: var(--color-card-bg);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}
.radio-page-top {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 24px;
}
.radio-page-logo { flex-shrink: 0; }
.radio-page-logo img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.radio-page-details { flex: 1; min-width: 0; }
.radio-page-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 4px;
}
.radio-page-slogan {
    font-size: 0.95rem;
    color: #64748b;
    font-style: italic;
    margin-bottom: 10px;
}
.radio-page-location,
.radio-page-freq {
    font-size: 0.9rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
}
.radio-page-location i,
.radio-page-freq i { color: var(--color-primary); width: 16px; text-align: center; }
.radio-page-segments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.radio-seg-tag {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Player */
.radio-player-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 16px;
    padding: 22px 28px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
}
.rp-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: var(--color-accent);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 22px rgba(255,109,0,0.45);
}
.rp-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(255,109,0,0.55);
}
.rp-center { flex: 1; min-width: 0; }
.rp-status {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 2px;
}
.rp-now {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rp-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
    opacity: 0.25;
    transition: opacity 0.3s ease;
}
.rp-bars.active { opacity: 1; }
.rp-bars span {
    display: block;
    width: 4px;
    background: var(--color-accent);
    border-radius: 2px;
    height: 4px;
}
.rp-bars.active span { animation: rpBarAnim 0.6s ease-in-out infinite alternate; }
.rp-bars.active span:nth-child(1)  { animation-delay: 0s; }
.rp-bars.active span:nth-child(2)  { animation-delay: 0.08s; }
.rp-bars.active span:nth-child(3)  { animation-delay: 0.16s; }
.rp-bars.active span:nth-child(4)  { animation-delay: 0.24s; }
.rp-bars.active span:nth-child(5)  { animation-delay: 0.32s; }
.rp-bars.active span:nth-child(6)  { animation-delay: 0.12s; }
.rp-bars.active span:nth-child(7)  { animation-delay: 0.20s; }
.rp-bars.active span:nth-child(8)  { animation-delay: 0.28s; }
.rp-bars.active span:nth-child(9)  { animation-delay: 0.04s; }
.rp-bars.active span:nth-child(10) { animation-delay: 0.36s; }
@keyframes rpBarAnim {
    0%   { height: 4px; }
    100% { height: 22px; }
}
.rp-volume { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.rp-vol-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 5px;
}
.rp-vol-btn:hover { color: #fff; }
.rp-vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}
.rp-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-accent);
    cursor: pointer;
    box-shadow: 0 0 6px rgba(255,109,0,0.4);
}
.rp-vol-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-accent);
    cursor: pointer;
    border: none;
}

/* Banners retangulares */
.radio-rect-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.radio-rect-item .banner-placeholder {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Informações da Rádio */
.radio-info-section {
    background: var(--color-card-bg);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
}
.radio-info-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}
.radio-info-heading i { color: var(--color-primary); }
.radio-info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.radio-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.25s ease;
    border: 1px solid #e2e8f0;
    color: var(--color-text);
}
.radio-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.radio-info-item i {
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border-radius: 10px;
    flex-shrink: 0;
}
.radio-info-item div { overflow: hidden; }
.radio-info-item strong { display: block; font-size: 0.82rem; color: #64748b; font-weight: 600; }
.radio-info-item span { font-size: 0.88rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

.radio-info-item.whatsapp i { background: #25d366; }
.radio-info-item.facebook i { background: #1877f2; }
.radio-info-item.instagram i { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.radio-info-item.twitter i { background: #000; }
.radio-info-item.youtube i { background: #ff0000; }
.radio-info-item.tiktok i { background: #000; }
.radio-info-item.telegram i { background: #0088cc; }

/* ============================================================
   PÁGINA RÁDIOS BRASIL / MUNDO - States & Countries Grid
   ============================================================ */
.page-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 28px;
}

.states-grid,
.countries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.state-card,
.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 12px;
    background: var(--color-card-bg);
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.state-card:hover,
.country-card:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26,115,232,0.25);
}
.state-card i,
.country-card i {
    font-size: 1.3rem;
    color: var(--color-accent);
    transition: color 0.3s ease;
}
.state-card:hover i,
.country-card:hover i { color: #fff; }

.state-card small,
.country-card small {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.6;
}

.country-count { display: block; }

/* Banner placeholder */
.banner-placeholder-box {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.banner-placeholder-box i { font-size: 2rem; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}
.empty-state i { font-size: 3rem; color: #cbd5e1; margin-bottom: 16px; display: block; }
.empty-state h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.empty-state p { margin-bottom: 20px; }

/* ============================================================
   MODAL DE FILTRO
   ============================================================ */
.filter-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.filter-modal-overlay.active { display: flex; }

.filter-modal {
    background: var(--color-card-bg);
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from { transform: translateY(30px) scale(0.95); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.filter-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
}
.filter-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.filter-modal-close:hover { background: rgba(255,255,255,0.35); }

.filter-modal-body { padding: 24px; }
.filter-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 16px; color: var(--color-text); }

.filter-options { display: flex; flex-direction: column; gap: 10px; }

.filter-option { cursor: pointer; }
.filter-option input { display: none; }
.filter-option-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    color: var(--color-text);
}
.filter-option-box i { font-size: 1.1rem; color: var(--color-primary); width: 24px; text-align: center; }
.filter-option input:checked + .filter-option-box {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(26,115,232,0.08), rgba(26,115,232,0.04));
    color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(26,115,232,0.15);
}

.filter-modal-footer {
    padding: 16px 24px 24px;
    text-align: center;
}
.filter-modal-footer .btn { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

/* ============================================================
   LISTA DE RÁDIOS
   ============================================================ */
.list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.list-count {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 500;
    background: #f1f5f9;
    padding: 6px 16px;
    border-radius: 20px;
}

.active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.filter-tag-label { font-size: 0.85rem; color: #64748b; font-weight: 600; }
.filter-tag {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.radio-list { display: flex; flex-direction: column; gap: 12px; }

.radio-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-card-bg);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}
.radio-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--color-primary);
}

.radio-list-link {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
    color: var(--color-text);
}
.radio-list-link:hover { color: var(--color-text); }

.radio-list-logo {
    flex-shrink: 0;
}
.radio-list-logo img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.radio-list-info { flex: 1; min-width: 0; }
.radio-list-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.radio-list-location {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.radio-list-location i { color: var(--color-primary); font-size: 0.75rem; }

.radio-list-segments { display: flex; flex-wrap: wrap; gap: 5px; }
.radio-list-seg {
    background: #f1f5f9;
    color: var(--color-primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
}

.radio-list-action { flex-shrink: 0; }

.btn-listen {
    padding: 10px 24px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(255,109,0,0.3);
}
.btn-listen:hover {
    background: #e65100;
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(255,109,0,0.4);
    color: #fff;
}

/* Paginação */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
    padding: 20px 0;
}
.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-card-bg);
    border: 2px solid #e2e8f0;
    transition: all 0.25s ease;
    text-decoration: none;
}
.pagination-btn:hover,
.pagination-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.pagination-dots { color: #94a3b8; font-size: 0.85rem; padding: 0 4px; }

/* ============================================================
   BADGES DE PRIORIDADE
   ============================================================ */
.radio-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 8px;
}
.badge-top { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.badge-featured { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; }
.badge-recommended { background: #e2e8f0; color: #475569; }

/* ============================================================
   FORM SECTION TITLE
   ============================================================ */
.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-module-title);
    margin: 25px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-section-title:first-child { margin-top: 0; }
.form-section-title i { color: var(--color-primary); }

/* ============================================================
   RANKING TABLE
   ============================================================ */
.ranking-table-wrapper {
    overflow-x: auto;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-card-bg);
    border-radius: 14px;
    overflow: hidden;
}
.ranking-table thead { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; }
.ranking-table th {
    padding: 14px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}
.ranking-table td {
    padding: 12px 18px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f5f9;
}
.ranking-table tbody tr:hover { background: #f8fafc; }
.ranking-table tbody tr:last-child td { border-bottom: none; }
.rank-col { text-align: center; width: 80px; }
.visits-col { text-align: right; width: 140px; }
.rank-number { font-weight: 800; font-size: 1rem; color: #475569; }
.rank-number.rank-top { color: var(--color-accent); font-size: 1.1rem; }
.ranking-radio-name { font-weight: 600; color: var(--color-primary); }
.ranking-radio-name:hover { color: var(--color-accent); }
.ranking-location { color: #64748b; font-size: 0.85rem; }

/* ============================================================
   MATERIAL DIVULGAÇÃO
   ============================================================ */
.promo-audio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.promo-audio-card {
    background: var(--color-card-bg);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.promo-audio-voice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}
.promo-audio-name { font-weight: 700; font-size: 0.95rem; color: var(--color-text); }
.promo-audio-player { width: 100%; max-width: 280px; height: 40px; }
.btn-sm { padding: 8px 20px; font-size: 0.82rem; }

.promo-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.promo-banner-card {
    background: var(--color-card-bg);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.promo-banner-size {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 14px;
    border-radius: 12px;
}
.promo-banner-preview {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    max-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.promo-banner-preview img { max-height: 180px; width: auto; }

/* ============================================================
   PÁGINAS ESTÁTICAS (Política / Termos)
   ============================================================ */
.static-page-content {
    background: var(--color-card-bg);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    line-height: 1.9;
    font-size: 0.95rem;
    color: var(--color-text);
}
.static-page-content h2 { font-size: 1.4rem; font-weight: 700; margin: 25px 0 12px; color: var(--color-module-title); }
.static-page-content h3 { font-size: 1.2rem; font-weight: 600; margin: 20px 0 10px; color: var(--color-module-title); }
.static-page-content p { margin-bottom: 14px; }
.static-page-content ul, .static-page-content ol { margin: 10px 0 14px 24px; }
.static-page-content li { margin-bottom: 6px; }
.static-page-content a { color: var(--color-primary); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 50px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo { height: 40px; margin-bottom: 15px; filter: brightness(1.2); }
.footer-desc { font-size: 0.88rem; opacity: 0.8; line-height: 1.7; }

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}
.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: var(--color-footer-text);
    font-size: 0.88rem;
    opacity: 0.8;
    transition: all 0.25s ease;
}
.footer-links a:hover { color: var(--color-accent); opacity: 1; padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .search-grid { grid-template-columns: repeat(3, 1fr); }
    .radios-grid { grid-template-columns: repeat(4, 1fr); }
    .radios-grid-sm { grid-template-columns: repeat(5, 1fr); }
    .recommended-grid { grid-template-columns: repeat(3, 1fr); }
    .module-row { flex-direction: column; }
    .module-row .banner-side { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }
    .segment-checkboxes { grid-template-columns: repeat(3, 1fr); }
    .states-grid, .countries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-header-bg);
        flex-direction: column;
        padding: 15px 20px;
        gap: 4px;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .main-nav.active { display: flex; }
    .main-nav a { padding: 12px 16px; border-radius: 8px; }

    .search-grid { grid-template-columns: 1fr 1fr; }
    .radios-grid { grid-template-columns: repeat(3, 1fr); }
    .radios-grid-sm { grid-template-columns: repeat(4, 1fr); }
    .recommended-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }

    .page-layout { flex-direction: column; }
    .page-sidebar { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }

    .radio-page-top { flex-direction: column; text-align: center; align-items: center; }
    .radio-page-location, .radio-page-freq { justify-content: center; }
    .radio-page-segments { justify-content: center; }
    .radio-player-box { flex-direction: column; text-align: center; }
    .rp-bars { justify-content: center; }
    .rp-volume { justify-content: center; }
    .radio-rect-banners { grid-template-columns: 1fr; }
    .radio-info-list { grid-template-columns: 1fr; }

    .segment-checkboxes { grid-template-columns: repeat(2, 1fr); }
    .form-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .states-grid, .countries-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-audio-grid { grid-template-columns: repeat(2, 1fr); }
    .ranking-table th, .ranking-table td { padding: 10px 12px; font-size: 0.82rem; }
    .radio-list-item { flex-direction: column; text-align: center; }
    .radio-list-link { flex-direction: column; text-align: center; }
    .radio-list-location { justify-content: center; }
    .radio-list-segments { justify-content: center; }
}

@media (max-width: 480px) {
    .search-grid { grid-template-columns: 1fr; }
    .radios-grid { grid-template-columns: repeat(2, 1fr); }
    .radios-grid-sm { grid-template-columns: repeat(3, 1fr); }
    .recommended-grid { grid-template-columns: 1fr; }
    .header-inner { height: 60px; }
    .site-logo { height: 35px; }
    .module-title { font-size: 1.3rem; }
    .form-card { padding: 20px; }
    .radio-page-name { font-size: 1.4rem; }
    .radio-page-logo img { width: 110px; height: 110px; }
    .rp-vol-slider { width: 80px; }
    .states-grid, .countries-grid { grid-template-columns: 1fr 1fr; }
    .radio-list-logo img { width: 55px; height: 55px; }
    .promo-audio-grid { grid-template-columns: 1fr; }
    .static-page-content { padding: 20px; }
    .ranking-table th, .ranking-table td { padding: 8px 10px; font-size: 0.78rem; }
    .rank-col { width: 50px; }
    .visits-col { width: 100px; }
}
/* ... existing CSS ... append these styles at the end */

/* ============================================================
   AUTH MODALS
   ============================================================ */
.auth-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.auth-modal-overlay.active { display: flex; }
.auth-modal {
    background: var(--color-card-bg);
    border-radius: 20px;
    padding: 35px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}
.auth-modal h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    text-align: center;
}
.auth-modal h2 i { color: var(--color-primary); margin-right: 8px; }
.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}
.auth-modal-close:hover { color: var(--color-text); }
.auth-modal-links {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}
.auth-modal-links a {
    font-size: 0.82rem;
    color: var(--color-primary);
    font-weight: 500;
}
.auth-modal-links a:hover { text-decoration: underline; }

/* Nav User Dropdown */
.nav-user-dropdown { position: relative; }
.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    padding: 4px 14px 4px 4px;
    color: var(--color-header-text);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.25s;
}
.nav-user-btn:hover { border-color: var(--color-accent); }
.nav-user-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.nav-user-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 200px;
    overflow: hidden;
    z-index: 200;
}
.nav-user-dropdown.open .nav-user-menu { display: block; }
.nav-user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 500;
}
.nav-user-menu a:hover { background: #f8fafc; color: var(--color-primary); }
.nav-user-menu hr { border: none; border-top: 1px solid #e2e8f0; margin: 4px 0; }

/* ============================================================
   USER PANEL
   ============================================================ */
.panel-layout {
    display: flex;
    gap: 30px;
    padding: 40px 0;
}
.panel-sidebar {
    flex: 0 0 280px;
    background: var(--color-card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    align-self: flex-start;
    position: sticky;
    top: 90px;
}
.panel-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}
.panel-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-primary); }
.panel-user-info strong { display: block; font-size: 0.95rem; color: var(--color-text); }
.panel-user-info span { font-size: 0.78rem; color: #64748b; }
.panel-nav { display: flex; flex-direction: column; gap: 4px; }
.panel-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 10px;
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s;
}
.panel-nav a:hover { background: #f1f5f9; color: var(--color-primary); }
.panel-nav a.active { background: var(--color-primary); color: #fff; }
.panel-nav a i { width: 20px; text-align: center; }
.panel-content { flex: 1; min-width: 0; }

/* Avatar upload */
.avatar-upload { position: relative; display: inline-block; }
.avatar-preview { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 4px solid #e2e8f0; }
.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    border: 3px solid #fff;
}

/* Panel table */
.panel-table { width: 100%; border-collapse: collapse; }
.panel-table thead { background: #f8fafc; }
.panel-table th { padding: 12px 16px; font-size: 0.78rem; font-weight: 700; color: #64748b; text-align: left; text-transform: uppercase; }
.panel-table td { padding: 12px 16px; font-size: 0.85rem; border-top: 1px solid #f1f5f9; }
.panel-table tbody tr:hover { background: #fafbfc; }

/* Responsive panel */
@media (max-width: 768px) {
    .panel-layout { flex-direction: column; }
    .panel-sidebar { flex: none; width: 100%; position: static; }
}
