/* ============================================ */
/* 1. VARIÁVEIS E CORES (Paleta Tartaruga)    */
/* ============================================ */
:root {
    --bg-color: #F5F2E8;       
    --bg-alt: #EBE6D6;         
    --card-bg: #FFFFFF;        
    --text-color: #3E3B35;     
    --primary: #789F6D;        
    --accent: #8B5E3C;         
    --border-color: #2C2A25;
    --border-width: 3px;
    --shadow: 4px 4px 0px var(--border-color);
}

/* ============================================ */
/* 2. RESET E TIPOGRAFIA BASE                 */
/* ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, .logo-text, .btn-primary, .btn-secondary {
    font-family: 'Titan One', cursive;
    text-transform: uppercase;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-alt { background-color: var(--bg-alt); border-top: var(--border-width) solid var(--border-color); border-bottom: var(--border-width) solid var(--border-color); }

/* ============================================ */
/* 3. NAVBAR (Menu)                           */
/* ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: var(--bg-color);
    border-bottom: var(--border-width) solid var(--border-color);
    z-index: 1000;
    padding: 10px 0;
    transition: background-color 0.3s;
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }

.logo-area { 
    display: flex; 
    align-items: center; 
    gap: 15px; /* Espaço entre a tartaruga e os textos */
    text-decoration: none; 
}

.logo-stack {
    display: flex;
    flex-direction: column;
    align-items: center; /* ISSO ALINHA OS TEXTOS AO MEIO (Centralizados) */
    justify-content: center;
    line-height: 0.9; /* Deixa eles mais juntinhos verticalmente */
}

.nav-logo { 
    height: 55px; /* Ajuste leve para equilibrar com o bloco de texto duplo */
    width: auto; 
    transition: transform 0.3s ease; 
}

.logo-area:hover .nav-logo { transform: rotate(-5deg) scale(1.1); }
.logo-text { 
    font-size: 1.6rem; /* Levemente menor para equilibrar */
    color: var(--accent); 
    font-family: 'Titan One', cursive;
    margin-bottom: 2px;
}
.logo-subtitle {
    font-family: 'Titan One', cursive; /* Mesma fonte */
    font-size: 1.4rem; /* MESMO TAMANHO QUE O DE CIMA */
    color: var(--primary); /* Cor diferente para dar charme (ou use var(--accent) para ser igual) */
    letter-spacing: 1px;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 700; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary); color: #fff !important; padding: 8px 20px; border-radius: 50px;
    border: 2px solid var(--border-color); box-shadow: 2px 2px 0 var(--border-color);
}
.btn-nav:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--border-color); }

.mobile-menu-icon { display: none; font-size: 1.5rem; cursor: pointer; }
.mobile-nav {
    display: none; background: var(--bg-color); border-bottom: var(--border-width) solid var(--border-color);
    padding: 20px; text-align: center;
}
.mobile-nav a { display: block; padding: 10px; font-weight: bold; border-bottom: 1px solid #ccc; }

.theme-btn {
    background: var(--bg-color); border: var(--border-width) solid var(--border-color); color: var(--text-color);
    font-size: 1.5rem; padding: 5px 10px; border-radius: 50%; cursor: pointer;
    box-shadow: 2px 2px 0px var(--border-color); transition: transform 0.2s; margin-left: 20px;
}
.theme-btn:active { transform: translate(2px, 2px); box-shadow: none; }

/* ============================================ */
/* 4. HERO SECTION                            */
/* ============================================ */
.hero-section {
    padding-top: 140px; padding-bottom: 80px; min-height: 90vh; display: flex; align-items: center;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

.tagline { font-weight: bold; letter-spacing: 2px; color: var(--primary); }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin: 15px 0; }
.highlight { color: var(--accent); }
.hero-text p { font-size: 1.2rem; margin-bottom: 30px; max-width: 450px; }

.cta-group { display: flex; gap: 15px; }
.btn-primary {
    display: inline-block; background: var(--accent); color: #fff; padding: 12px 30px; border-radius: 50px;
    border: var(--border-width) solid var(--border-color); box-shadow: var(--shadow); transition: 0.2s; cursor: pointer;
}
.btn-secondary {
    display: inline-block; background: transparent; color: var(--text-color); padding: 12px 30px; border-radius: 50px;
    border: var(--border-width) solid var(--border-color); box-shadow: var(--shadow); transition: 0.2s; cursor: pointer;
}
.btn-primary:hover, .btn-secondary:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--border-color); }

.image-box {
    width: 100%; height: auto; background: var(--card-bg);
    border: var(--border-width) solid var(--border-color); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden;
}

/* Estilo para a Citação do Nietzsche */
.nietzsche-quote {
    font-family: 'Nunito', sans-serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-color);
    border-left: 4px solid var(--primary); /* Barra colorida na esquerda */
    padding-left: 20px;
    margin: 20px 0;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 500px; /* Garante que não fique muito largo */
}

/* Ajuste fino para a descrição abaixo da citação */
.hero-desc {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 480px;
    color: var(--text-color);
    opacity: 0.8;
}

/* No modo noturno, a citação ganha destaque */
body.dark-mode .nietzsche-quote {
    color: #e0e0e0;
    border-left-color: var(--accent); /* Muda a cor da barra à noite */
}

/* ============================================ */
/* 5. JORNADA (Storytelling)                  */
/* ============================================ */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; color: var(--accent); }

.about-block { display: flex; align-items: center; gap: 50px; margin-bottom: 80px; }
.about-block.reverse { flex-direction: row-reverse; }

.about-text { flex: 1; }
.about-text h3 {
    font-size: 1.8rem; color: var(--accent); margin-bottom: 15px; border-left: 5px solid var(--primary); padding-left: 15px;
}
.about-text p { margin-bottom: 15px; font-size: 1.1rem; text-align: justify; }

.about-image {
    flex: 1; height: 300px; background-color: var(--card-bg);
    border: var(--border-width) solid var(--border-color); border-radius: 20px; box-shadow: var(--shadow);
    overflow: hidden; display: flex; align-items: center; justify-content: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* A mágica: preenche tudo sem distorcer */
}

/* ============================================ */
/* 6. GAMES GRID (Card + Gifs)                */
/* ============================================ */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.game-link { display: block; text-decoration: none; color: inherit; transition: transform 0.2s; }

.game-card {
    background: var(--card-bg); border: var(--border-width) solid var(--border-color);
    border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, border-color 0.3s;
}

.card-image { height: 200px; position: relative; overflow: hidden; border-bottom: var(--border-width) solid var(--border-color); }
.static-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.gif-thumb {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s ease-in-out; z-index: 2;
}
.game-link:hover .gif-thumb { opacity: 1; }
.game-link:hover .game-card { transform: translateY(-8px); border-color: var(--primary); }

.card-content { padding: 20px; }
.genre {
    display: inline-block; font-size: 0.75rem; font-weight: bold; background: var(--bg-color); color: var(--primary);
    padding: 4px 8px; border-radius: 6px; margin-bottom: 10px; border: 2px solid var(--border-color); text-transform: uppercase;
}

/* ============================================ */
/* 7. EQUIPE                                  */
/* ============================================ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.team-card { padding: 20px; transition: transform 0.2s; background: var(--card-bg); border-radius: 16px; }
.team-card:hover { transform: scale(1.05); }

.avatar-circle {
    width: 120px; height: 120px; background: #ddd; border-radius: 50%;
    margin: 0 auto 15px; border: var(--border-width) solid var(--border-color); overflow: hidden; position: relative;
}
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.role { display: inline-block; margin-top: 5px; font-size: 0.9rem; color: var(--primary); font-weight: bold; }

/* ============================================ */
/* 8. FOOTER                                  */
/* ============================================ */
footer {
    background: #1a1a1a; color: #fff; padding: 60px 0 20px;
    border-top: var(--border-width) solid var(--border-color); margin-top: 60px;
}
.footer-flex { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.footer-flex h4 { margin-bottom: 20px; color: var(--primary); font-size: 1.2rem; }
.social-links a { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #ccc; transition: 0.3s; }
.social-links a:hover { color: #fff; transform: translateX(5px); }

.input-group { display: flex; gap: 10px; }
.input-group input { padding: 10px; border-radius: 8px; border: none; flex: 1; }

.copy { text-align: center; padding-top: 20px; border-top: 1px solid #444; font-size: 0.8rem; color: #888; }

/* ============================================ */
/* 9. RESPONSIVO                              */
/* ============================================ */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-icon { display: block; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .about-block, .about-block.reverse { flex-direction: column; gap: 20px; }
    .cta-group { justify-content: center; }
}

/* ============================================ */
/* 10. MODO NOTURNO (Dark Mode)               */
/* ============================================ */
body.dark-mode {
    --bg-color: #1a1a1a; --bg-alt: #252525; --card-bg: #2d2d2d;
    --text-color: #F5F2E8; --border-color: #000000; --accent: #D4A373;
}

/* ============================================ */
/* ============================================ */
/* ============================================ */
/* 10.B. MODO TARDE (Golden Hour - Tons Terrosos) */
/* ============================================ */
body.afternoon-mode {
    /* Fundos (Mantidos claros e quentes) */
    --bg-color: #fff3e0;       
    --bg-alt: #ffe0b2;         
    --card-bg: #fff8e1;        
    
    /* --- NOVAS CORES DE TEXTO BASEADAS NA IMAGEM --- */
    
    /* Texto Principal: Marrom Sépia Escuro (Confortável para ler) */
    --text-color: #4E342E;     
    
    /* Destaques/Botões: Laranja Queimado Vibrante (O sol da imagem) */
    --primary: #EF6C00;        
    
    /* Títulos (Accent): Marrom Café Profundo (Contraste forte, silhueta) */
    --accent: #3E2723;         
    
    /* Bordas: Marrom Terra Médio */
    --border-color: #8D6E63;
}

/* ============================================ */
/* 11. ESTILOS DO BLOG (Diário de Bordo)      */
/* ============================================ */
.blog-header {
    padding-top: 120px; padding-bottom: 40px; background-color: var(--bg-alt); text-align: center;
    border-bottom: var(--border-width) solid var(--border-color);
}
.blog-header h1 { font-size: 3rem; color: var(--accent); margin-bottom: 10px; }
.blog-header p { font-size: 1.2rem; color: var(--text-color); font-style: italic; }

.blog-container { max-width: 800px; margin: 60px auto; }

.post-single {
    background: var(--card-bg); padding: 40px; border-radius: 2px;
    border: var(--border-width) solid var(--border-color); box-shadow: 6px 6px 0px var(--border-color);
}

.post-meta {
    display: flex; gap: 20px; font-size: 0.9rem; color: #888; margin-bottom: 15px; font-weight: bold; text-transform: uppercase;
}
.post-meta i { color: var(--primary); margin-right: 5px; }

.post-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 25px; color: var(--text-color); }

.post-image { margin-bottom: 30px; }
.post-image img { width: 100%; border-radius: 10px; border: 2px solid var(--border-color); }
.caption { display: block; text-align: center; font-size: 0.85rem; color: #888; margin-top: 8px; font-style: italic; }

.post-content { font-size: 1.15rem; line-height: 1.8; color: var(--text-color); }
.post-content p { margin-bottom: 20px; }
.post-content strong { color: var(--accent); }

blockquote {
    border-left: 5px solid var(--primary); padding-left: 20px; margin: 30px 0;
    font-family: 'Titan One', cursive; font-size: 1.4rem; color: var(--primary);
    background: var(--bg-alt); padding: 20px; border-radius: 0 10px 10px 0;
}

.post-divider { margin: 40px 0; border: 0; border-top: 1px solid var(--border-color); }
.post-footer { display: flex; justify-content: space-between; align-items: center; }
.share-buttons .btn-share { font-size: 1.2rem; color: var(--text-color); margin-left: 15px; transition: color 0.2s; }
.share-buttons .btn-share:hover { color: var(--primary); }

@media (max-width: 768px) {
    .post-single { padding: 20px; }
    .post-title { font-size: 1.8rem; }
    .post-meta { flex-direction: column; gap: 5px; }
}

/* ============================================ */
/* 12. ÁREA DO MAPA (MESA MÓVEL)              */
/* ============================================ */
.map-layout {
    display: grid; grid-template-columns: 1fr 350px; gap: 30px;
    padding-top: 100px; padding-bottom: 60px; height: calc(100vh - 20px); min-height: 700px;
}

.map-display-area { display: flex; flex-direction: column; gap: 15px; height: 100%; }

.map-page-header h1 {
    font-size: 3rem; color: var(--accent); text-transform: uppercase;
    font-family: 'Titan One', cursive; text-shadow: 2px 2px 0px var(--bg-color), 4px 4px 0px rgba(0,0,0,0.1);
}

.map-window {
    position: relative; width: 100%; height: 100%; background-color: #1a1a1a; 
    border: 5px solid #3E2723; border-radius: 20px; overflow: hidden;
    cursor: grab; display: flex; align-items: center; justify-content: center;
}
.map-window:active { cursor: grabbing; }

.map-content {
    position: relative; background-color: #5D4037; background-image: url('assets/images/wood_texture.jpg');
    background-size: 500px; background-repeat: repeat; padding: 250px; 
    box-shadow: 0 0 50px rgba(0,0,0,0.8); transform-origin: center center;
    transition: transform 0.1s ease-out; display: inline-block; 
}

.map-art {
    display: block; max-width: 100%; height: auto; object-fit: contain; pointer-events: none;
    box-shadow: 5px 10px 15px rgba(0,0,0,0.4); border-radius: 2px;
}

.desk-prop {
    position: absolute; pointer-events: none; z-index: 50; filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.5));
}
.prop-compass { bottom: 50px; left: 50px; width: 120px; transform: rotate(-10deg); }
.prop-pen { top: 20px; right: 20px; width: 200px; transform: rotate(135deg); }
.prop-coffee { top: 40px; left: 40px; width: 140px; opacity: 0.6; mix-blend-mode: multiply; }

.map-sidebar { display: flex; flex-direction: column; gap: 25px; overflow-y: auto; padding-right: 5px; }
.hud-card { background: var(--card-bg); border: var(--border-width) solid var(--border-color); border-radius: 15px; padding: 25px; box-shadow: var(--shadow); width: 100%; flex-shrink: 0; }
.hud-card h2, .hud-card h3 { color: var(--primary); margin-bottom: 20px; font-size: 1.4rem; border-bottom: 2px dashed #ccc; padding-bottom: 10px; }
.stats-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.stats-list .icon { font-size: 1.8rem; width: 40px; text-align: center; }
.stat-info .label { font-size: 0.9rem; color: #888; font-weight: bold; text-transform: uppercase; }
.stat-info strong { font-size: 1.1rem; }

.zoom-controls { position: absolute; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 100; }
.zoom-controls button { width: 50px; height: 50px; border-radius: 50%; border: 3px solid var(--border-color); background: var(--bg-color); color: var(--text-color); font-size: 1.5rem; cursor: pointer; box-shadow: 4px 4px 0 rgba(0,0,0,0.4); transition: 0.2s; }
.zoom-controls button:hover { background: var(--primary); color: white; transform: scale(1.1); }

.map-pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; z-index: 10; transition: transform 0.2s; }
.current { color: #c0392b; font-size: 3rem; filter: drop-shadow(0 5px 5px rgba(0,0,0,0.5)); }
.pulse-ring { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; background: #c0392b; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0.5; animation: pulse 2s infinite; z-index: -1; }
@keyframes pulse { 0% { width: 0; height: 0; opacity: 0.8; } 100% { width: 70px; height: 70px; opacity: 0; } }
.pin-tooltip {
    visibility: hidden; position: absolute; bottom: 130%; left: 50%;
    --zoom-level: 1; transform: translateX(-50%) scale(calc(1 / var(--zoom-level)));
    transform-origin: bottom center;
    background: var(--card-bg); color: var(--text-color); padding: 15px; min-width: 200px; 
    border: 3px solid var(--border-color); border-radius: 10px; text-align: center; font-size: 1rem; z-index: 100;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3); opacity: 0; transition: opacity 0.2s, transform 0.1s;
    white-space: nowrap; 
}
.pin-tooltip strong { display: block; font-size: 1.1rem; color: var(--accent); margin-bottom: 5px; }
.map-pin:hover .pin-tooltip { visibility: visible; opacity: 1; }

@media (max-width: 1000px) {
    .map-layout { grid-template-columns: 1fr; height: auto; }
    .map-window { height: 500px; }
    .prop-pen, .prop-coffee { display: none; }
}

/* ============================================ */
/* 13. RÁDIO MINIATURA (Rodapé)               */
/* ============================================ */
.radio-wrapper-compact {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.dashboard-radio.mini-square {
    width: 220px; /* MAIS LARGO (Retangular) */
    padding: 10px;
    
    display: flex;
    flex-direction: column;
    gap: 8px;
    
    background: repeating-linear-gradient(90deg, #5d4037, #3e2723 2px, #5d4037 4px);
    border: 2px solid #8d6e63;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    position: relative;
}

.center-panel {
    background: #eebb18;
    border: 2px solid #d4a017;
    border-radius: 4px;
    padding: 5px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    width: 100%;
}

.analog-tuner-window {
    background: #1a252f;
    height: 18px; /* Um pouco mais baixo pra enfatizar o retangular */
    border-radius: 3px;
    border: 1px solid #5d4037;
    position: relative; overflow: hidden;
}

.tuner-scale {
    display: flex; justify-content: space-between; padding: 0 5px;
    color: #f1c40f; font-family: monospace; 
    font-size: 0.55rem;
    line-height: 18px;
    z-index: 1; position: relative;
}

.tuner-needle {
    position: absolute; top: 0; bottom: 0; left: 10%; width: 1px;
    background: #ff0000; box-shadow: 0 0 3px red; z-index: 2;
    transition: left 0.5s;
}

.radio-info-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 4px;
}
.power-light { width: 5px; height: 5px; border-radius: 50%; background: #330; border: 1px solid #555; }
.radio-active .power-light { background: red; box-shadow: 0 0 5px red; }

.brand-text { font-size: 0.45rem; font-family: 'Titan One', cursive; color: #3e2723; }

.station-display {
    font-size: 0.5rem;
    font-weight: bold; color: #3e2723;
    background: rgba(255,255,255,0.4); padding: 1px 2px; border-radius: 2px;
    width: 60px; /* Um pouco mais largo para caber nomes melhor */
    text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.radio-controls-row {
    display: flex; 
    justify-content: center; /* Centraliza os botões */
    align-items: center;
    gap: 15px; /* Espaço entre botões e grelha */
    padding: 0 2px;
}

.side-control { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.label { font-size: 0.5rem; font-weight: bold; color: #eebb18; text-shadow: 0 1px 1px #000; letter-spacing: 1px; }

.knob-gold {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fffacd, #d4af37, #8b4513);
    border: 1px solid #5d4037;
    box-shadow: 0 2px 3px rgba(0,0,0,0.5);
    cursor: pointer; transition: transform 0.3s;
}

.center-turtle-btn {
    width: 45px; /* Tamanho de destaque no centro */
    height: auto;
    cursor: pointer;
    transition: transform 0.2s, filter 0.3s;
    filter: sepia(100%) hue-rotate(80deg) saturate(400%) brightness(70%) contrast(130%) drop-shadow(0 3px 3px rgba(0,0,0,0.6));
    margin-top: -5px; 
}
.center-turtle-btn:active {
    transform: scale(0.9);
    filter: sepia(100%) hue-rotate(80deg) saturate(400%) brightness(60%) contrast(130%) drop-shadow(0 1px 1px rgba(0,0,0,0.8));
}

/* ============================================ */
/* 14. SEÇÃO DIÁRIO: OUTDOOR + CENÁRIO        */
/* ============================================ */

/* Container Principal do Cenário */
.billboard-section {
    padding: 160px 0 120px; /* Altura ajustada */
    position: relative;
    overflow: hidden;
    transition: background 1s ease;
    /* Céu do Dia */
    background: linear-gradient(to bottom, #4fc3f7 0%, #ffffff 80%, #a5d6a7 100%);
    z-index: 1;
}

/* Container da Placa (No centro) */
.relative-container { 
    position: relative; 
    z-index: 10; 
}

/* --- ESTRUTURA FÍSICA DA PLACA --- */
.wood-billboard-structure {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Corpo de Madeira */
.billboard-body {
    background-color: #3E2723; /* Madeira Escura */
    border: 8px solid #281814; /* Moldura */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

/* Título */
.billboard-title-sign {
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-bottom: 4px solid #281814;
}
.billboard-title-sign h2 {
    font-family: 'Titan One', cursive;
    font-size: 3rem;
    color: #E6DCC3;
    margin: 0; line-height: 1;
    text-shadow: 2px 2px 0 #5D4037, 4px 4px 0 #281814;
    -webkit-text-stroke: 1px #281814;
}

/* Posts (Cards) */
.billboard-content-posts {
    padding: 30px;
    display: flex; gap: 20px; 
    overflow-x: auto; /* Rolagem lateral se precisar */
    scrollbar-width: none;
}
.billboard-content-posts::-webkit-scrollbar { display: none; }

.rustic-post-card {
    min-width: 260px; flex: 1;
    background: #fdfbf7;
    padding: 15px;
    border: 2px solid #d4a017;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
    position: relative;
    transition: transform 0.2s;
    text-align: left;
}
.rustic-post-card:hover { transform: translateY(-3px); }
.rustic-post-card img { width: 100%; height: 140px; object-fit: cover; border: 2px solid #eee; margin-bottom: 10px; }
.rustic-date {
    position: absolute; top: -10px; right: -10px;
    background: #bf360c; color: #fff; font-weight: bold; font-size: 0.7rem;
    padding: 4px 8px; border: 2px solid #fff; transform: rotate(3deg);
}
.rustic-info h4 { color: #3E2723; margin-bottom: 5px; font-size: 1.1rem; }
.rustic-info p { font-size: 0.9rem; color: #555; }
.read-more { display: block; margin-top: 10px; color: #d35400; font-weight: bold; }

/* Pernas do Outdoor */
.billboard-legs {
    position: absolute; top: 100%; left: 0; width: 100%; height: 80px; z-index: 0;
}
.leg {
    position: absolute; top: -10px; width: 40px; height: 120px;
    background: #281814; border-right: 10px solid #1a0f0c;
}
.leg.left { left: 15%; } .leg.right { right: 15%; }

/* --- LUZES E ILUMINAÇÃO --- */
.billboard-lights-container {
    position: absolute; top: -50px; left: 0; width: 100%;
    display: flex; justify-content: space-around; padding: 0 50px;
    z-index: 10;
}
.lamp-fixture { position: relative; width: 60px; height: 60px; display: flex; justify-content: center; }
.lamp-head {
    width: 100%; height: 40px; background: #222;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    border-bottom: 3px solid #000; position: relative;
}
.lamp-head::before { /* Haste */
    content: ''; position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    width: 8px; height: 25px; background: #222;
}

/* Feixe de Luz (Só acende à noite) */
.light-beam {
    position: absolute; top: 35px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 300px;
    background: radial-gradient(ellipse at top, rgba(255, 223, 128, 0.6), transparent 70%);
    filter: blur(15px); pointer-events: none;
    opacity: 0; transition: opacity 0.8s; z-index: 5;
}
body.dark-mode .light-beam { opacity: 1; }
body.afternoon-mode .light-beam { opacity: 0.4; }

/* --- CENÁRIO (Camadas de Profundidade) --- */

/* Camada 1: Céu */
.scenery-sky { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.cloud {
    position: absolute; background: #fff; border-radius: 50px; opacity: 0.8;
    animation: floatClouds 60s linear infinite;
}
.cloud::after, .cloud::before { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.cloud::after { width: 40px; height: 40px; top: -20px; left: 15px; }
.cloud::before { width: 30px; height: 30px; top: -10px; left: 40px; }
.cloud-1 { width: 100px; height: 30px; top: 10%; left: -150px; animation-duration: 45s; }
.cloud-2 { width: 140px; height: 40px; top: 20%; left: -150px; animation-duration: 65s; animation-delay: 5s; }
.cloud-3 { width: 80px; height: 25px; top: 5%; left: -150px; animation-duration: 80s; animation-delay: 20s; }
@keyframes floatClouds { 0% { transform: translateX(0); } 100% { transform: translateX(120vw); } }

/* Camada 2: Horizonte (Montanhas/Árvores Fundo) */
.scenery-horizon { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.mountain-range-back {
    position: absolute; bottom: 0; left: -20%; width: 140%; height: 60%;
    background: #a5d6a7; border-radius: 100% 100% 0 0 / 30% 30% 0 0; opacity: 0.6;
}
.mountain-range {
    position: absolute; bottom: 0; left: -10%; width: 120%; height: 40%;
    background: #66bb6a; border-radius: 80% 80% 0 0 / 40% 40% 0 0;
}

.prop-tree {
    position: absolute; bottom: 20%; width: 0; height: 0;
    border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 80px solid #2e7d32;
    transition: border-bottom-color 1s; z-index: 6;
}
.prop-tree::after { content: ''; position: absolute; top: 80px; left: -5px; width: 10px; height: 15px; background: #3E2723; }
.prop-tree.tall { transform: scale(3); bottom: 49%; }
.prop-tree.giant { transform: scale(5); bottom: 42%; }

/* Camada 4: Frente (Chão/Arbustos) */
.scenery-foreground {
    position: absolute; bottom: 0; left: 0; width: 100%; height: auto;
    z-index: 20; pointer-events: none;
}
.ground-plane {
    position: absolute; bottom: 0; width: 100%; height: 80px;
    background: #4caf50; border-top: 8px solid #388e3c; transition: background 1s;
}
.prop-bush {
    position: absolute; bottom: 40px; width: 100px; height: 100px;
    background: #2e7d32; border-radius: 50%; box-shadow: inset -10px -10px 0 rgba(0,0,0,0.2);
    transition: background 1s;
}
.prop-bush.giant { transform: scale(2); bottom: -20px; }
.prop-bush.big { transform: scale(1.5); bottom: 10px; }
.prop-bush.small { transform: scale(0.8); bottom: 20px; }

/* --- CORES DOS ELEMENTOS (DIA - Oásis/Deserto) --- */
.mountain-range-back { background: #a8d5ba; opacity: 0.6; } /* Montanha distante suave */
.mountain-range { background: #E6D0A8; } /* Montanha cor de areia/terra */
.prop-tree { border-bottom-color: #2e7d32; } /* Verde vivo */
.ground-plane { background: #789F6D; border-top: 8px solid #5a8f4d; } /* Chão de grama do oásis */
.prop-bush { background: #43a047; box-shadow: inset -10px -10px 0 rgba(0,0,0,0.2); }


/* --- MUDANÇA DE CORES POR TEMA --- */

/* 1. MODO TARDE (Sunset Laranja + Natureza Verde Oliva) */
body.afternoon-mode .billboard-section { 
    /* Gradiente: Vermelho Pôr do Sol -> Laranja -> Amarelo Ouro */
    background: linear-gradient(to bottom, #ff7043 0%, #ffca28 60%, #fff176 100%); 
}

/* Montanhas (Verde acinzentado distante com neblina laranja) */
body.afternoon-mode .mountain-range-back { background: #7cb342; opacity: 0.4; }
body.afternoon-mode .mountain-range { background: #558b2f; }

/* Árvores (Verde Oliva Escuro - Natural, sem roxo) */
body.afternoon-mode .prop-tree { border-bottom-color: #33691e; } 

/* Chão (Verde Musgo Quente - "Esverdeado" como pediu) */
body.afternoon-mode .ground-plane { 
    background: #689f38; 
    border-color: #33691e; 
}

/* Arbustos (Verde Escuro Intenso) */
body.afternoon-mode .prop-bush { 
    background: #2e7d32; 
    box-shadow: inset -10px -10px 0 rgba(62, 39, 35, 0.4); /* Sombra marrom suave */
}

/* Nuvens (Brancas com brilho amarelo) */
body.afternoon-mode .cloud { background: #fff9c4; opacity: 0.8; }

/* Luzes (Acendem fraco, tom âmbar) */
body.afternoon-mode .light-beam { 
    opacity: 0.2; 
    background: radial-gradient(ellipse at top, rgba(255, 179, 0, 0.6), transparent 70%);
}


/* 2. MODO NOITE (Mantido Silhueta Escura/Roxa que você já tinha aprovado ou ajustado) */
body.dark-mode .billboard-section { background: linear-gradient(to bottom, #0d1b2a 0%, #1b263b 100%); }
body.dark-mode .mountain-range-back { background: #101010; opacity: 0.5; }
body.dark-mode .mountain-range { background: #050505; }
body.dark-mode .prop-tree { border-bottom-color: #000; } 
body.dark-mode .ground-plane { background: #000; border-color: #111; }
body.dark-mode .prop-bush { background: #020202; }
body.dark-mode .cloud { opacity: 0.1; }

/* 2. MODO NOITE (Baseado na Arte dos Coelhos - Roxo/Fantasia) */
body.dark-mode .billboard-section { 
    /* Gradiente: Roxo Escuro Profundo -> Índigo Noturno */
    background: linear-gradient(to bottom, #2b1055 0%, #4c2678 50%, #240b36 100%); 
}

/* Montanhas Roxas escuras */
body.dark-mode .mountain-range-back { background: #1a0b2e; opacity: 0.8; }
body.dark-mode .mountain-range { background: #120621; }

/* Árvores em Verde Floresta Escuro (como na arte) */
body.dark-mode .prop-tree { border-bottom-color: #0f380f; } 

/* Chão Escuro Misterioso */
body.dark-mode .ground-plane { 
    background: #0a0510; 
    border-color: #1a0b2e; 
}

/* Arbustos quase pretos com toque de roxo/verde */
body.dark-mode .prop-bush { 
    background: #0d1b15; 
    box-shadow: inset -10px -10px 0 #000; 
}

/* Nuvens roxas sutis */
body.dark-mode .cloud { 
    background: #5e35b1; 
    opacity: 0.2; 
}

/* Luzes acesas com força total */
body.dark-mode .light-beam { 
    opacity: 1; 
    /* Amarelo intenso igual a lua da arte */
    background: radial-gradient(ellipse at top, rgba(255, 235, 59, 0.7), transparent 70%);
}

/* ============================================ */
/* ESTRELAS (Geradas via Javascript)          */
/* ============================================ */

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8); /* Brilho */
    opacity: 0; /* Começa invisível */
    z-index: 0; /* Fica atrás das nuvens */
    animation: twinkle 3s infinite ease-in-out;
}

/* Animação de Cintilar */
@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.2; transform: scale(0.8); }
}

/* Garante que nuvens fiquem na frente das estrelas */
.cloud { z-index: 2; }

/* --- A TARTARUGA DO GRIMÓRIO (Mascote) --- */
.wizard-mascot {
    position: absolute;
    top: -90px; /* Sobe para ficar sentada na borda superior */
    right: -40px; /* Sai um pouco para a direita (quebra a caixa) */
    width: 140px; /* Tamanho de destaque */
    height: auto;
    z-index: 20; /* Fica na frente das luzes e da madeira */
    
    /* Efeitos Visuais */
    filter: drop-shadow(5px 10px 5px rgba(0,0,0,0.5)); /* Sombra projetada na placa */
    transform: rotate(5deg); /* Leve inclinação para dar vida */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Interação: Ela dá um "pulo" quando passa o mouse */
.wizard-mascot:hover {
    transform: scale(1.1) rotate(0deg) translateY(-10px);
    cursor: pointer;
}

/* Ajuste Responsivo (No celular ela fica menor e centralizada ou no canto) */
@media (max-width: 768px) {
    .wizard-mascot {
        width: 90px;
        top: -60px;
        right: 0;
    }
    
    /* Ajuste do tamanho da fonte do título para caber "Grimório" */
    .billboard-title-sign h2 {
        font-size: 1.8rem; 
    }
}

/* ============================================ */
/* EFEITO DE DESTAQUE NA FOTO (Sobreposição)  */
/* ============================================ */

/* O Container precisa ser relativo para segurar as imagens absolutas */
.interactive-frame {
    position: relative;
    /* Mantém as definições de tamanho antigas da .about-image */
    flex: 1; 
    height: 300px;
    background-color: var(--card-bg);
    border: var(--border-width) solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Configuração comum para as duas fotos */
.interactive-frame img {
    position: absolute; /* Uma em cima da outra */
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover; /* Garante que preencha sem distorcer */
    transition: opacity 0.5s ease-in-out; /* Animação suave */
}

/* A Imagem Base (Original) */
.img-base {
    opacity: 1;
    z-index: 1;
}

/* A Imagem Editada (Só vcs coloridos) */
.img-hover {
    opacity: 0; /* Começa invisível */
    z-index: 2; /* Fica na frente */
}

/* --- A MÁGICA DO MOUSE --- */
/* Quando passar o mouse na caixa, a imagem editada aparece */
.interactive-frame:hover .img-hover {
    opacity: 1;
}


/* ============================================ */
/* QUADRO DE CONSPIRAÇÃO (Blog Nav)           */
/* ============================================ */

.conspiracy-board-section {
    padding: 40px 0;
    background-color: #2c2c2c; /* Parede escura atrás do quadro */
}

/* O Quadro de Cortiça */
.cork-board {
    background-color: #8d6e63;
    /* Se tiver textura de cortiça, use aqui: */
    /* background-image: url('assets/images/cork_texture.jpg'); */
    border: 10px solid #5d4037; /* Moldura de madeira */
    box-shadow: inset 0 0 40px rgba(0,0,0,0.6), 0 10px 20px rgba(0,0,0,0.5);
    padding: 40px;
    border-radius: 5px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    overflow: hidden; /* Corta os fios que saírem */
}

/* --- ELEMENTOS DE EVIDÊNCIA --- */

/* Tachinhas */
.pin {
    width: 12px; height: 12px;
    background: radial-gradient(circle at 30% 30%, #e74c3c, #922b21);
    border-radius: 50%;
    position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
    box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    z-index: 10;
}

/* 1. POLAROIDS (Autores) */
.polaroid {
    background: #fff;
    padding: 10px 10px 30px 10px; /* Borda branca grossa embaixo */
    width: 100px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    transform: rotate(-3deg);
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}
.polaroid:nth-child(even) { transform: rotate(4deg); } /* Variação */
.polaroid:hover { transform: scale(1.1) rotate(0deg); z-index: 5; }

.polaroid img { width: 100%; height: 80px; object-fit: cover; filter: sepia(30%); }
.polaroid .caption {
    display: block; text-align: center; font-family: 'Courier New', monospace;
    font-size: 0.65rem; margin-top: 5px; font-weight: bold; color: #333;
}

/* 2. POST-ITS (Áreas) */
.sticky-note {
    width: 90px; height: 90px;
    background: #fff176; /* Amarelo */
    box-shadow: 2px 4px 6px rgba(0,0,0,0.2);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    font-family: 'Kalam', cursive; /* Fonte manuscrita se tiver, ou cursive */
    font-weight: bold; font-size: 0.9rem; line-height: 1.1; color: #333;
    transform: rotate(2deg);
    cursor: pointer; position: relative;
}
.sticky-note.pink { background: #f48fb1; transform: rotate(-2deg); }
.sticky-note.blue { background: #81d4fa; transform: rotate(3deg); }
.sticky-note:hover { transform: scale(1.1); z-index: 5; }

/* 3. DOSSIÊS (Projetos) */
.file-folder {
    width: 120px; height: 80px;
    background: #d7ccc8; border: 1px solid #a1887f;
    padding: 10px;
    font-family: 'Courier New', monospace; font-size: 0.7rem;
    transform: rotate(-1deg); cursor: pointer; position: relative;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
.folder-tab {
    position: absolute; top: -15px; left: 0; 
    background: #d7ccc8; padding: 2px 5px; border-radius: 3px 3px 0 0;
    font-weight: bold; font-size: 0.6rem; border: 1px solid #a1887f; border-bottom: none;
}

.newspaper-clip {
    background: #f5f5f5; width: 110px; padding: 10px;
    border: 1px dashed #999;
    font-family: 'Times New Roman', serif;
    transform: rotate(4deg); cursor: pointer; position: relative;
}
.headline { font-weight: 900; font-size: 0.8rem; display: block; margin-bottom: 5px; line-height: 1; }

/* FITA ADESIVA (Label dos Grupos) */
.label-tape {
    position: absolute; top: -15px; left: 10px;
    background: rgba(255,255,255,0.8);
    padding: 2px 10px;
    font-family: 'Courier New', monospace; font-weight: bold; font-size: 0.8rem;
    transform: rotate(-1deg);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.authors-group { position: relative; margin: 10px; display: flex; gap: 10px; }

/* --- A LINHA VERMELHA (CSS String) --- */
.red-string {
    position: absolute; pointer-events: none;
    background: #c0392b; height: 2px;
    opacity: 0.7; box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
/* Exemplo de conexão fixa (ajuste conforme layout) */
.string-1 { top: 40%; left: 20%; width: 200px; transform: rotate(15deg); }
.string-2 { top: 60%; right: 30%; width: 150px; transform: rotate(-10deg); }


/* --- O CÍRCULO VERMELHO (Active State) --- */
.red-circle-mark {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 3px solid #d32f2f; /* Vermelho Canetão */
    border-radius: 50% 40% 60% 50% / 40% 60% 50% 60%; /* Formato imperfeito orgânico */
    opacity: 0; /* Invisível por padrão */
    transform: scale(1.2) rotate(-5deg);
    transition: opacity 0.2s;
    pointer-events: none;
    box-shadow: 0 0 5px rgba(211, 47, 47, 0.4);
}

/* Quando a classe .selected é adicionada via JS */
.polaroid.selected .red-circle-mark,
.sticky-note.selected .red-circle-mark,
.file-folder.selected .red-circle-mark,
.newspaper-clip.selected .red-circle-mark {
    opacity: 1;
    animation: circleDraw 0.4s ease-out forwards;
}

@keyframes circleDraw {
    0% { clip-path: inset(0 100% 0 0); } /* Efeito de desenhar (opcional, pode ser complexo) */
    100% { clip-path: inset(0 0 0 0); }
}

/* Reset Button */
.reset-investigation {
    background: #333; color: #fff; padding: 5px 10px;
    font-size: 0.8rem; cursor: pointer; border-radius: 3px;
    position: absolute; bottom: 10px; right: 10px;
    font-family: 'Courier New', monospace;
}
.reset-investigation:hover { background: #c0392b; }

/* Responsivo */
@media (max-width: 768px) {
    .cork-board { flex-direction: column; align-items: center; }
    .red-string { display: none; } /* Remove fios no mobile pra não quebrar */
}

/* ============================================ */
/* SELO "EM BREVE" (GRIMÓRIO)                 */
/* ============================================ */
.soon-badge {
    position: absolute;
    top: -12px; /* Sai um pouco pra cima do card */
    left: 50%;
    transform: translateX(-50%) rotate(-3deg); /* Centraliza e entorta */
    
    background-color: #c62828; /* Vermelho Alerta */
    color: #fff;
    font-family: 'Titan One', cursive; /* Fonte do título */
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 5px 15px;
    
    border: 2px solid #fff; /* Borda branca para destacar */
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3); /* Sombra 3D */
    z-index: 10;
    white-space: nowrap;
    pointer-events: none; /* Deixa clicar no card atrás dele */
}

/* Efeito ao passar o mouse no card (O selo se ajeita) */
.rustic-post-card:hover .soon-badge {
    transform: translateX(-50%) rotate(0deg) scale(1.1);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================================ */
/* AVISO GIGANTE "EM BREVE" (GRIMÓRIO)        */
/* ============================================ */

/* O Carimbo Gigante */
.giant-soon-stamp {
    position: absolute;
    top: 55%; 
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg); 
    
    font-family: 'Titan One', cursive;
    font-size: 4rem; 
    color: #c62828; 
    text-transform: uppercase;
    letter-spacing: 5px;
    
    /* --- NOVO: ALINHAMENTO DO TEXTO --- */
    text-align: center; /* Centraliza o EM com o BREVE */
    line-height: 0.9;   /* Junta as linhas verticalmente */
    
    /* Visual de Placa/Adesivo */
    background-color: rgba(255, 248, 225, 0.95); 
    border: 8px solid #c62828;
    border-radius: 20px;
    padding: 30px 50px; /* Ajustei levemente o padding para equilibrar a altura extra */
    
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    z-index: 50; 
    pointer-events: none; 
}

/* Efeito nos posts atrás do aviso */
.billboard-content-posts.blurred {
    filter: blur(4px) grayscale(60%); /* Desfoca e tira um pouco a cor */
    opacity: 0.6; /* Deixa meio transparente */
    pointer-events: none; /* Impede clicar nos posts */
    user-select: none; /* Impede selecionar texto */
}

/* Responsivo para celular (Diminui um pouco o carimbo) */
@media (max-width: 768px) {
    .giant-soon-stamp {
        font-size: 2.5rem;
        padding: 15px 30px;
        border-width: 5px;
    }
}
