/* =========================================================
   SONS DA NATUREZA 4D - DASHBOARD (VIDRO TEMPERADO BRANCO)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@500;600;700&display=swap');

:root {
    /* Tons de Vidro Branco Translúcido */
    --bg-dark: #0f172a;
    --bg-panel: rgba(255, 255, 255, 0.12); /* Vidro Branco */
    --bg-card: rgba(255, 255, 255, 0.1);
    --bg-card-hover: rgba(255, 255, 255, 0.25);
    
    --accent-primary: #0ea5e9; /* Azul Neon */
    --accent-glow: rgba(14, 165, 233, 0.6);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    
    --border-glass: rgba(255, 255, 255, 0.3);
    --border-glass-light: rgba(255, 255, 255, 0.5);
    
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-glass: 0 15px 35px rgba(0, 0, 0, 0.2);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow: hidden; /* Dashboard não rola a tela inteira */
}

/* --- BACKGROUND DINÂMICO E VIVO --- */
.background-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transition: background-image 1.5s ease-in-out;
    /* Imagem mais viva, clara e vibrante */
    filter: brightness(1.1) saturate(1.4) contrast(1.1); 
}

.bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Névoa suave para não ofuscar o vidro */
    background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
    z-index: -1;
}

/* --- ESTRUTURA DASHBOARD --- */
#app-wrapper { display: flex; height: 100vh; width: 100vw; overflow: hidden; }

/* --- LEFT SIDEBAR (Menu Temas) --- */
.dashboard-sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.08); /* Vidro Branco */
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border-right: 1px solid var(--border-glass);
    display: flex; flex-direction: column; z-index: 50;
    transition: transform var(--transition);
}

.sidebar-header-branding {
    padding: 1.5rem; display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--border-glass);
}
.sidebar-logo { width: 180px; filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); }
.mobile-close-btn { 
    display: none; 
    background: transparent; 
    color: white; 
    border: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
}

.sidebar-content { flex: 1; padding: 1.5rem; overflow-y: auto; }
.sidebar-content::-webkit-scrollbar { width: 6px; }
.sidebar-content::-webkit-scrollbar-thumb { background: var(--border-glass-light); border-radius: 4px; }

.nav-title { font-size: 0.80rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 1.5px; margin-bottom: 1rem; }
.theme-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.nav-btn-home { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 1.5px; margin-bottom: 1rem; }
.theme-link {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.85rem 1rem; border-radius: var(--radius-sm);
    text-decoration: none; color: var(--text-primary);
    font-weight: 500; transition: all var(--transition);
    border: 1px solid transparent; text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    font-size: 1.0rem;
}
.theme-link img { width: 28px; height: 28px; object-fit: contain; transition: 0.3s; filter: brightness(0.8); }
.theme-link:hover { background: var(--bg-card-hover); border-color: var(--border-glass-light); }
.theme-link.active {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid #fff; color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.theme-link.active img { filter: brightness(1.2) drop-shadow(0 0 5px rgba(255,255,255,0.5)); }

/* --- CENTER COLUMN --- */
.main-column { flex: 1; display: flex; flex-direction: column; position: relative; overflow: hidden; }

.top-header {
    height: 80px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 2rem; background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent); z-index: 10;
}

.header-controls { display: flex; align-items: center; gap: 10px; }

.glass-btn {
    background: none; backdrop-filter: blur(10px);
    border: 0px solid var(--border-glass); color: #fff;
    padding: 0.6rem 1.2rem; border-radius: 50px; font-weight: 500;
    cursor: pointer; transition: all var(--transition);
    display: flex; align-items: center; gap: 0.5rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.glass-btn:hover { background: var(--bg-card-hover); border-color: #fff; }
.glass-btn.danger:hover { background: rgba(239, 68, 68, 0.3); border-color: #ef4444; color: #fff; }

.glass-select {
    background: none; border: 0px solid var(--border-glass);
    color: white; padding: 8px 12px; border-radius: 20px; outline: none;
    cursor: pointer; font-size: 0.85rem; font-family: var(--font-body);
}
.glass-select option { background: #1e293b; color: white; }

/* Dashboard Content Area */
.dashboard-content { flex: 1; overflow-y: auto; padding: 0 2rem 50px 2rem; }
.dashboard-content::-webkit-scrollbar { width: 8px; }
.dashboard-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.4); border-radius: 4px; }

.dashboard-grid { display: flex; gap: 2rem; max-width: 1400px; margin: 0 auto; }
.content-col-main { flex: 2; display: flex; flex-direction: column; gap: 2rem; }
.content-col-side { flex: 1; display: flex; flex-direction: column; gap: 2rem; min-width: 320px; }

/* --- PAINÉIS DE VIDRO (GLASS PANELS) --- */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-glass);
}

.section-header-main { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 10px; }
.section-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 0.5rem; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.theme-badge-name { background: rgba(255,255,255,0.2); border: 1px solid #fff; color: #fff; padding: 5px 15px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }

/* --- CONTROLES DE SOM --- */
.sound-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem;}
.binaural-wrapper {  margin-top: 1rem;}

.sound-control {
    background: var(--bg-card); border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm); padding: 1rem;
    display: flex; align-items: center; gap: 1rem; transition: all var(--transition);
}
.sound-control:hover { background: var(--bg-card-hover); transform: translateY(-2px); border-color: var(--border-glass-light); }
.sound-control.active { background: rgba(255,255,255,0.25); border-color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }

.play-toggle {
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(255,255,255,0.15); border: 1px solid var(--border-glass);
    border-radius: 50%; color: #fff; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: 0.3s;
}
.sound-control.active .play-toggle { background: var(--accent-primary); border-color: var(--accent-primary); box-shadow: 0 0 10px var(--accent-glow); }
.play-toggle i { font-size: 14px; margin-left: 2px; }
.sound-control.active .play-toggle i { margin-left: 0; }

.sound-details { flex-grow: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.sound-name { font-size: 0.95rem; font-weight: 500; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }

input[type=range] { -webkit-appearance: none; width: 100%; height: 5px; background: rgba(255,255,255,0.3); border-radius: 3px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; background: #fff; border-radius: 50%; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.sound-control.active input[type=range] { background: linear-gradient(to right, var(--accent-primary) var(--volume-progress, 70%), rgba(255,255,255,0.3) var(--volume-progress, 70%)); }

/* --- BINAURAL & TEMÁTICOS --- */
.binaural-selector { display: flex; gap: 0.5rem; margin-bottom: 10px; }
.binaural-btn { flex: 1; padding: 0.75rem 0; background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); color: #fff; font-weight: 600; cursor: pointer; transition: 0.3s; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.binaural-btn:hover { background: var(--bg-card-hover); border-color: #fff; }
.binaural-btn.active { background: var(--accent-primary); border-color: var(--accent-primary); box-shadow: 0 4px 15px var(--accent-glow); }

.thematic-grid-modern { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 0.75rem;  margin-top: 1rem; }
.thematic-btn { background: var(--bg-card); border: 1px solid var(--border-glass); width: 100%; aspect-ratio: 1; border-radius: 18px; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: 0.3s; overflow: hidden; }
.thematic-btn:hover { background: var(--bg-card-hover); border-color: #fff; transform: scale(1.05); }
.thematic-btn.active { background: rgba(255,255,255,0.3); border-color: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.thematic-btn img { width: 45%; height: 45%; object-fit: contain; filter: brightness(0.9) drop-shadow(0 2px 2px rgba(0,0,0,0.5)); transition: 0.3s; }
.thematic-btn.active img { filter: brightness(1.2) drop-shadow(0 0 5px rgba(255,255,255,0.8)); transform: scale(1.1); }

/* --- RIGHT SIDEBAR (YouTube) --- */
.right-sidebar {
    position: fixed; right: 0; top: 0; height: 100vh; width: 360px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border-left: 1px solid var(--border-glass); z-index: 100;
    padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem;
    transform: translateX(105%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
}

.right-sidebar-header { display: flex; justify-content: space-between; align-items: center; }
.right-sidebar-header h3 { font-family: var(--font-heading); display: flex; align-items: center; gap: 0.5rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.player-wrapper { width: 100%; height: 200px; background: #000; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border-glass); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.video-controls { display: flex; flex-direction: column; gap: 1rem; }
.input-group { display: flex; gap: 0.5rem; }
.input-group input { flex: 1; padding: 0.75rem; background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); color: white; outline: none; }
.input-group input::placeholder { color: rgba(255,255,255,0.6); }
.btn-action { background: var(--accent-primary); border: none; padding: 0 1.2rem; border-radius: var(--radius-sm); color: white; cursor: pointer; font-size: 1rem; transition: 0.3s; }
.btn-action:hover { background: #0284c7; }

.preset-title { font-size: 0.85rem; color: #fff; margin-top: 1rem; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.preset-videos { display: flex; flex-direction: column; gap: 0.5rem; }
.preset-btn { background: var(--bg-card); border: 1px solid var(--border-glass); padding: 0.8rem; border-radius: var(--radius-sm); color: #fff; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 0.75rem; transition: 0.2s; font-size: 0.9rem; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.preset-btn i { color: #fff; filter: drop-shadow(0 0 5px var(--accent-primary)); }
.preset-btn:hover { background: var(--bg-card-hover); border-color: #fff; transform: translateX(5px); }

/* --- MODO BLACKOUT (LÂMPADA) --- */
.blackout-overlay { position: fixed; inset: 0; background: #000; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 2s ease-in-out; }
.blackout-overlay.active { opacity: 1; pointer-events: all; }
.lamp-btn { background: none; border: none; color: #fff; font-size: 3rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 15px; filter: drop-shadow(0 0 15px rgba(255,255,255,0.8)); animation: pulse-lamp 3s infinite; }
.lamp-btn span { font-size: 1rem; font-family: var(--font-body); opacity: 0.7; }
@keyframes pulse-lamp { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }

/* --- RESPONSIVIDADE E AJUSTES DE CELULAR --- */
.mobile-only { display: none !important; }

@media (max-width: 1024px) {
    .dashboard-grid { flex-direction: column; }
    .content-col-side { min-width: 100%; }
}

@media (max-width: 768px) {
    .mobile-only { display: flex !important; }
    .mobile-close-btn { display: block; }
    
    .dashboard-sidebar { position: fixed; left: 0; top: 0; height: 100vh; transform: translateX(-100%); }
    .dashboard-sidebar.is-open { transform: translateX(0); }
    
    .top-header { padding: 0 10px; height: 70px; }
    
    /* Muito espaço no fundo para não cortar nada! */
    .dashboard-content { padding: 0 1rem 120px 1rem !important; }
    
    .section-header-main { flex-direction: column; align-items: flex-start; }
    .right-sidebar { width: 100%; }
    .glass-btn { padding: 0.5rem 0.8rem; font-size: 0.85rem; }
    .desktop-only { display: none; }
}

/* Modal Info Binaural */
.modal-container { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.3s; }
.modal-container.is-open { opacity: 1; pointer-events: all; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); }
.glass-modal { position: relative; width: 90%; max-width: 450px; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-md); padding: 2rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); transform: scale(0.95); transition: 0.3s; }
.modal-container.is-open .glass-modal { transform: scale(1); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.binaural-list { list-style: none; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 1rem; }
.badge { padding: 0.2rem 0.5rem; border-radius: 4px; font-weight: bold; font-size: 0.75rem; margin-right: 0.5rem; color: #fff;}
.badge.beta { background: #ef4444; } .badge.alfa { background: #f59e0b; } .badge.theta { background: #10b981; } .badge.delta { background: #3b82f6; }
.warning-box { background: rgba(239, 68, 68, 0.15); border-left: 4px solid #ef4444; padding: 1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; display: flex; gap: 1rem; align-items: center; font-size: 0.85rem; color: #fca5a5; }

.ebook-promo-card {
    margin-top: 2rem; /* Distância dos botões de cima */
    background: rgba(255, 255, 255, 0.05); /* Fundo de vidro sutil */
    border: 1px solid var(--border-glass-light);
    border-radius: var(--radius-md);
    padding: 20px; /* Margem interna (respiro) */
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background 0.3s ease;
}

.ebook-promo-card:hover {
    transform: translateY(-5px); /* Efeito de flutuar ao passar o mouse */
    background: rgba(255, 255, 255, 0.12); /* Brilha levemente */
}

.ebook-img {
    width: 100%;
    max-width: 170px; /* Tamanho perfeito para a sidebar */
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

/*.ebook-promo-card:hover .ebook-img {
    transform: scale(1.05); /* Capa do e-book aumenta um pouquinho
}*/

.ebook-promo-card h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.ebook-promo-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.ebook-btn {
    width: 100%;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.75rem;
    background: var(--accent-primary) !important;
    border: none !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
}

.ebook-btn:hover {
    filter: brightness(1.2); /* Acende o botão "Quero" ao passar o mouse */
}

/* =========================================
   CORREÇÃO DA ROLAGEM DA SIDEBAR
   ========================================= */

.dashboard-sidebar {
    height: 100vh; /* Trava a altura máxima no tamanho da tela */
    max-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar-content {
    flex: 1; /* Ocupa o espaço disponível */
    overflow-y: auto !important; /* Força a barra de rolagem vertical a aparecer */
    min-height: 0; /* Regra de ouro do Flexbox para a rolagem funcionar */
    padding-bottom: 2rem !important; /* Dá um respiro extra no final do card */
}

/* Deixa a barrinha de rolagem mais fina e elegante no vidro branco */
.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* A caixinha que segura a imagem e corta o brilho nas bordas */
.ebook-img-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden; /* Isso impede que o brilho vaze para fora da capa */
    border-radius: 8px; /* Arredondamento da capa */
    margin-bottom: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    cursor: pointer;
}

/* Tira a sombra e a margem duplicada da imagem (agora estão no wrapper) */
.ebook-promo-card .ebook-img {
    display: block;
    margin-bottom: 0; 
    box-shadow: none;
    width: 100%;
    max-width: 170px;
    transition: transform 0.4s ease;
}

/* O reflexo de vidro (Shine) */
.ebook-img-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%; /* Largura do feixe de luz */
    height: 100%;
    /* Degrade do brilho: Transparente -> Branco -> Transparente */
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg); /* Inclina o reflexo */
    animation: shine-sweep 10s infinite; /* Duração de 10s em loop */
    pointer-events: none; /* Para não bugar o mouse */
}

/* A Animação Mágica */
@keyframes shine-sweep {
    0% { left: -150%; }
    15% { left: 150%; } /* Ele passa rápido (nos primeiros 1.5s) */
    100% { left: 150%; } /* Fica invisível esperando completar os 10s */
}

/* Bônus: A capa dá um "zoom" super suave por trás do vidro ao passar o mouse */
.ebook-promo-card:hover .ebook-img {
    transform: scale(1.08); 
}

.sidebar-footer {
    padding: 1.5rem;
    padding-bottom: 2.5rem; /* A MÁGICA AQUI: Desencosta do fundo da tela! */
    border-top: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espaço entre o botão e o texto */
    background: rgba(0, 0, 0, 0.1); /* Leve escurecida para separar do conteúdo */
}

/* Destaca o título com a cor principal (Azul Neon) */
.promo-title {
    color: #ffffff; !important;
    font-size: 1.05rem !important;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.4) !important;
    margin-top: 5px;
}

/* Deixa a descrição bem legível e justificada */
.promo-desc {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
    text-align: center;
}

.promo-desc strong {
    color: #fff;
    font-weight: 600;
}

/* Divisão elegante para a área do PIX/QR Code */
.donate-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-glass-light); /* Linha tracejada em vidro */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Texto de convite para doação */
.donate-text {
    font-size: 0.7rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-style: italic;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
}

/* O QR Code perfeito (Fundo branco para os celulares conseguirem ler no vidro) */
.qrcode-img {
    width: 110px;
    height: 110px;
    background: #ffffff; /* Obriga o fundo a ser branco */
    padding: 6px; /* Uma bordinha branca como moldura */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.qrcode-img:hover {
    transform: scale(1.1); /* Dá um zoom no QR code para facilitar a leitura */
}

/* Deixando o botão mais premium e sutil */
.nav-btn-home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.nav-btn-home:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* O texto do Copyright */
.copyright-text {
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45); /* Branco bem sutil/transparente */
    line-height: 1.5;
    font-family: var(--font-body);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

/* =========================================
   TAMANHO DOS ÍCONES DO CABEÇALHO (Lâmpada, YouTube, Parar)
   ========================================= */
.glass-btn i {
    font-size: 20px; /* Altere este valor para deixar maior ou menor */
}

/* Se quiser deixar apenas o ícone do YouTube e da Lâmpada ainda maiores */
#sidebar-toggle-btn i, 
#lamp-on-btn i {
    font-size: 20px; /* Tamanho específico para eles */
}

/* =========================================
   EQUALIZADOR DE ÁUDIO (10 BANDAS) - UI
   ========================================= */

/* Aba lateral flutuante */
.eq-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass-light);
    border-right: none;
    padding: 15px 12px;
    border-radius: 12px 0 0 12px;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 90;
    box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eq-tab:hover {
    background: rgba(255, 255, 255, 0.25);
    padding-right: 18px; /* Dá uma esticadinha charmosa */
}

/* Modal Overlay */
.eq-modal-overlay {
    position: fixed; inset: 0; 
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: 0.3s;
}

.eq-modal-overlay.is-open {
    opacity: 1; pointer-events: all;
}

/* Painel de Vidro do EQ */
.eq-panel {
    width: 95%; max-width: 600px;
    transform: translateY(50px);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.eq-modal-overlay.is-open .eq-panel {
    transform: translateY(0);
}

.eq-header {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border-glass-light);
    padding-bottom: 10px; margin-bottom: 20px;
}

/* Area das Bandas e Sliders Verticais */
.eq-sliders-container {
    display: flex; justify-content: space-between; align-items: center;
    gap: 8px; overflow-x: auto; padding-bottom: 10px;
}

.eq-sliders-container::-webkit-scrollbar { height: 4px; }
.eq-sliders-container::-webkit-scrollbar-thumb { background: var(--border-glass-light); border-radius: 4px; }

.eq-band {
    display: flex; flex-direction: column; align-items: center;
    flex: 1; min-width: 35px;
}

.eq-label {
    font-size: 0.65rem; color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5); font-family: var(--font-body);
}

/* O "Truque" para girar o slider na vertical */
/* 1. O Wrapper: Agora com posição relativa para prender o slider lá dentro */
.eq-slider-wrapper {
    height: 110px; /* Altura total do vão onde a barra vai morar */
    width: 40px;   /* Largura do vão */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. O Slider: O "Nuclear Option" para forçar o tamanho do trilho */
.eq-slider-vertical {
    -webkit-appearance: none; /* Remove o estilo padrão */
    appearance: none;
    background: transparent;  /* Fundo transparente para não criar caixas fantasmas */
    cursor: pointer;
    width: 100px !important;  /* COMPRIMENTO DO TRILHO CINZA */
    position: absolute;       /* Tira o slider do fluxo normal para não esticar o modal */
    transform: rotate(-90deg);
    margin: 0;
    z-index: 5;
}

/* 3. FORÇAR O TRILHO CINZA (A parte que você quer aumentar) */
.eq-slider-vertical::-webkit-slider-runnable-track {
    width: 100px;            /* FORÇA O TRILHO A TER 100px */
    height: 6px;             /* Espessura do trilho */
    background: rgba(255, 255, 255, 0.2); /* A COR DO TRILHO CINZA */
    border-radius: 10px;
}

/* 4. O PONTEIRO (A Bolinha Branca) */
.eq-slider-vertical::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 18px;
    width: 18px;
    background: #ffffff;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    margin-top: -6px; /* Centraliza a bolinha no trilho de 6px */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Para Firefox (ajuste extra) */
.eq-slider-vertical::-moz-range-track {
    width: 100px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* --- CONFIGURAÇÃO DO VÍDEO BACKGROUND --- */

/* 1. No Desktop: O vídeo fica totalmente escondido e não ocupa espaço */
.video-bg-mobile {
    display: none;
}

/* 2. CONFIGURAÇÃO APENAS PARA CELULAR (MODO MOBILE) */
@media (max-width: 768px) {
    
    /* Remove a imagem de fundo para o vídeo aparecer por trás */
    .background-container {
        /*background-image: none !important; */
        background-color: #000; /* Fundo preto caso o vídeo demore a carregar */
    }

    /* Ativa e configura o vídeo */
    .video-bg-mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* Garante que preencha a tela sem esticar */
        z-index: -1; /* Fica atrás de tudo */
        
        /* O Pulo do Tigre: Filtros para dar profundidade e esconder o loop */
        filter: saturate(1.2) brightness(1.1) contrast(1.1);
    }

    /* Melhora o Overlay para o vídeo parecer "infinito" */
    .bg-overlay {
        background: linear-gradient(
            to bottom, 
            rgba(15, 23, 42, 0.3) 0%, 
            rgba(15, 23, 42, 0.7) 100%
        ) !important;
        backdrop-filter: blur(0px); /* Um leve desfoque no vídeo ajuda na imersão */
    }
}
  
#modal-ebook-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  #modal-ebook-overlay.visivel {
    display: flex;
  }

  #modal-ebook-overlay.animado {
    opacity: 1;
  }

  #modal-ebook-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    max-width: 380px;
    width: 100%;
    padding: 2rem 1.8rem 1.6rem;
    text-align: center;
    color: #fff;
    position: relative;
    transform: translateY(18px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Georgia', serif;
  }

  #modal-ebook-overlay.animado #modal-ebook-card {
    transform: translateY(0);
  }

  #modal-fechar {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
  }

  #modal-fechar:hover {
    color: #fff;
  }

  #modal-ebook-card .modal-icone {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
    display: block;
  }

  #modal-ebook-card h2 {
    font-size: 1.2rem;
    font-weight: normal;
    letter-spacing: 0.02em;
    margin: 0 0 0.5rem;
    color: #fff;
    line-height: 1.4;
  }

  #modal-ebook-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
    margin: 0 0 1.4rem;
    font-family: sans-serif;
  }

  #modal-ebook-card .modal-preco {
    display: inline-block;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    font-family: sans-serif;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
  }

  #modal-btn-ebook {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50px;
    color: #fff;
    font-size: 0.95rem;
    font-family: sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    margin-bottom: 0.8rem;
  }

  #modal-btn-ebook:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.32), rgba(255,255,255,0.14));
    transform: translateY(-1px);
  }

  #modal-btn-agora-nao {
    background: none;
    border: none;
    color: rgba(255,255,255,0.45);
    font-size: 0.78rem;
    font-family: sans-serif;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
  }

  #modal-btn-agora-nao:hover {
    color: rgba(255,255,255,0.7);
  }
