:root {
    --bg-color: #050505;
    --accent-color: #00d2ff;
    --text-primary: #ffffff;
    --error: #ff4757;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0;
}

/* SISTEMA DE FUNDO EM CAMADAS */
#notification-canvas {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.dynamic-verses-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* LETREIROS BÍBLICOS NEON */
.dynamic-verse-particle {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    max-width: 82vw;
    overflow: hidden;
    text-shadow: 0 0 12px currentColor, 0 0 4px rgba(0, 0, 0, 0.9);
    animation: riseUpText 16s linear infinite;
}

.neon-cyan { color: #00d2ff; }
.neon-gold { color: #f1c40f; }
.neon-green { color: #00ff88; }
.neon-purple { color: #9b59b6; }

/* QUADRO DE ALERTA MODERNIZADO CLICÁVEL */
#central-alert-frame {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

#central-alert-frame.hidden { display: none; }

.central-alert-content-modern {
    background: rgba(15, 15, 15, 0.95);
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(0, 210, 255, 0.4);
    backdrop-filter: blur(10px);
}

.header-alerta-modern h3 { color: #fff; font-size: 1.4rem; font-weight: 800; letter-spacing: 1px; }
.pulse-icon { color: var(--accent-color); font-size: 1.6rem; margin-bottom: 10px; animation: iconPulse 1s infinite alternate; }

.central-capa-modern {
    width: 100%; height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-info-modern h3 { color: var(--accent-color); font-size: 1.3rem; margin-bottom: 8px; }
.text-info-modern p { color: #a0a0a0; font-size: 1rem; line-height: 1.4; }

.central-actions-row { display: flex; gap: 15px; margin-top: 25px; }

.btn-action-modern {
    flex: 1; padding: 14px; border: none; border-radius: 10px;
    font-weight: bold; font-size: 0.95rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: 0.3s;
}

.stop-neon { background: #ff4757; color: white; box-shadow: 0 0 15px rgba(255, 71, 87, 0.4); }
.stop-neon:hover { background: #ff2e43; }
.home-neon { background: rgba(255, 255, 255, 0.08); color: white; border: 1px solid rgba(255, 255, 255, 0.2); }
.home-neon:hover { background: rgba(255, 255, 255, 0.15); border-color: var(--accent-color); }

/* COMPONENTES E PAINEL */
.app-container {
    width: 100%; max-width: 1200px; min-height: 95vh;
    background: transparent !important;
    display: flex; flex-direction: column; position: relative; z-index: 1;
}

.main-header { padding: 30px 40px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: bold; text-shadow: 0 0 20px var(--accent-color); }
.logo span span { color: var(--accent-color); }

.btn-secondary { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 10px 20px; border-radius: 10px; cursor: pointer; backdrop-filter: blur(5px); }

#notification-area { flex: 1; padding: 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; align-content: start; }
.notification { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-left: 5px solid var(--accent-color); padding: 20px; border-radius: 18px; margin-bottom: 10px; box-shadow: 0 15px 35px rgba(0,0,0,0.5); }

/* MENU LATERAL */
.side-menu { position: fixed; right: -100%; top: 0; width: 380px; height: 100%; background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(20px); z-index: 2000; transition: 0.5s; padding: 40px; border-left: 1px solid rgba(10,10,10,0.1); overflow-y: auto; }
.side-menu.active { right: 0; }
.menu-header-side { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.menu-header-side h3 { color: var(--accent-color); }
#close-menu { background: transparent; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

.day-check { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 8px 4px; border-radius: 6px; font-size: 11px; cursor: pointer; flex: 1; text-align: center; display: inline-block; margin: 2px; }
.day-check:has(input:checked) { background: var(--accent-color); color: black; font-weight: bold; }
.day-check input { display: none; }

.btn-upload-local { width: 100%; padding: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; border-radius: 8px; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 5px; transition: 0.3s; }
.btn-upload-local:hover { background: rgba(255, 255, 255, 0.15); border-color: var(--accent-color); }

.btn-save { width: 100%; padding: 18px; background: var(--accent-color); border: none; border-radius: 12px; color: white; font-weight: bold; margin-top: 20px; cursor: pointer; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; color: var(--accent-color); font-size: 11px; margin-bottom: 8px; text-transform: uppercase; }
.input-group input, textarea { width: 100%; padding: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: white; outline: none; }

.action-buttons { position: fixed; bottom: 40px; right: 40px; display: flex; gap: 20px; z-index: 100; }
.fab-btn, .stop-btn-modern { width: 70px; height: 70px; border-radius: 50%; border: none; font-size: 1.8rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fab-btn { background: var(--accent-color); color: #000; box-shadow: 0 15px 30px rgba(0, 210, 255, 0.4); }
.stop-btn-modern { background: rgba(255, 71, 87, 0.1); border: 2px solid var(--error); color: var(--error); }
.stop-btn-active { animation: pulse 1s infinite; }

footer { height: 80px; width: 100%; }

/* ANIMAÇÕES GERAIS */
@keyframes riseUpText { 0% { transform: translateY(105vh); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-10vh); opacity: 0; } }
@keyframes iconPulse { 0% { transform: scale(1); text-shadow: 0 0 5px #00d2ff; } 100% { transform: scale(1.2); text-shadow: 0 0 15px #00d2ff; } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); box-shadow: 0 0 25px var(--error); } 100% { transform: scale(1); } }
