/* ==============================================
   DESIGN SYSTEM - ORDEM PARANORMAL: HEXATOMBE QUIZ
   ============================================== */

@font-face {
    font-family: 'SigilosParanormais';
    src: url('assets/fonts/SigilosDeConhecimento.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Color Palette - Premium Grayscale & White Details */
    --bg-dark: #0c0c0e;
    --bg-card: rgba(20, 20, 22, 0.75);
    --border-color: rgba(255, 255, 255, 0.12); /* Detalhes brancos nítidos */
    --text-main: #ffffff;
    --text-muted: #8e8e93;
    
    /* Variáveis do Tema Ativo (Neutro: Branco, Cinza e Preto por padrão) */
    --color-theme: #ffffff; /* Destaques brancos premium */
    --color-theme-glow: rgba(255, 255, 255, 0.12);
    --color-theme-alt: #a1a1aa; /* Detalhes em cinza claro */
    --color-theme-text-hover: #0c0c0e; /* Texto escuro no hover padrão para alto contraste com fundo branco */
    
    /* Aliases Dinâmicos para retrocompatibilidade com componentes legados */
    --color-morte: var(--color-theme);
    --color-morte-glow: var(--color-theme-glow);
    --color-morte-alt: var(--color-theme-alt);
    
    --color-energia: var(--color-theme-alt);
    --color-energia-glow: var(--color-theme-glow);
    
    --color-conhecimento: #CFB53B;
    --color-conhecimento-glow: rgba(207, 181, 59, 0.4);
    
    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Cinzel Decorative', cursive;
    --font-spooky: 'Special Elite', system-ui;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ícones de Símbolos do Google */
.material-symbols-outlined {
    vertical-align: middle;
    font-size: 1.15rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-inline {
    margin-right: 4px;
}

/* Mapeamento de Cores por Temporada (Puras no Modo Escuro) */
body.bg-osnf {
    --color-theme: #1D4A22;
    --color-theme-glow: rgba(29, 74, 34, 0.65);
    --color-theme-alt: #4ade80; /* Verde Lodo legível */
    --bg-card-theme: rgba(0, 0, 0, 0.88); /* Morte (Preto) */
    --color-theme-text-hover: #ffffff;
}
body.bg-deconjuracao {
    --color-theme: #8C1C2A; /* Vermelho vinho rico / Deep Cabernet */
    --color-theme-glow: rgba(140, 28, 42, 0.5);
    --color-theme-alt: #FF5252; /* Vermelho carmesim brilhante */
    --bg-card-theme: rgba(12, 7, 8, 0.94); /* Carvão com forte nuance de vinho */
    --color-theme-text-hover: #ffffff;
}
body.bg-calamidade {
    --color-theme: #CFB53B; /* Dourado místico */
    --color-theme-glow: rgba(207, 181, 59, 0.45);
    --color-theme-alt: #FFE082; /* Dourado claro */
    --bg-card-theme: rgba(15, 13, 8, 0.94); /* Carvão dourado místico */
    --color-theme-text-hover: #0c0c0e;
}
body.bg-osni {
    --color-theme: #135E4E;
    --color-theme-glow: rgba(19, 94, 78, 0.65);
    --color-theme-alt: #55D29C; /* Verde Lanterna Místico */
    --bg-card-theme: rgba(8, 20, 18, 0.88); /* Fundo Verde Oceano Escuro */
    --color-theme-text-hover: #ffffff;
}
body.bg-sdol {
    --color-theme: #056f57;
    --color-theme-glow: rgba(5, 111, 87, 0.65);
    --color-theme-alt: #05cf9f; /* Verde Esmeralda Cósmico */
    --bg-card-theme: rgba(6, 16, 14, 0.88); /* Fundo Vórtice Esmeralda */
    --color-theme-text-hover: #ffffff;
}
body.bg-hexatombe {
    --color-theme: #8A0303;
    --color-theme-glow: rgba(138, 3, 3, 0.65);
    --color-theme-alt: #ef4444; /* Vermelho escarlate */
    --bg-card-theme: rgba(16, 6, 6, 0.86); /* Vermelho Sangue Profundo (#660000) */
    --color-theme-text-hover: #ffffff;
}


/* ==============================================
   ESTILOS GERAIS
   ============================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-drag: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

body::before {
    content: "";
    position: fixed;
    top: -15px; /* Margem extra para evitar bordas brancas com o desfoque */
    left: -15px;
    right: -15px;
    bottom: -15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    filter: blur(6px); /* Nível de desfoque perfeito do fundo */
    transition: background-image 0.8s ease-in-out, background-color 0.8s ease-in-out;
    pointer-events: none;
    
    /* Fundo Base - Estilo Cimento Queimado Escuro Premium (Texturizado com CSS) */
    background-color: #0b0b0d;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(25, 25, 28, 0.95), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(18, 18, 20, 0.95), transparent 50%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.008) 0px, rgba(255, 255, 255, 0.008) 1px, transparent 1px, transparent 8px),
        linear-gradient(135deg, #070709 0%, #151518 100%);
}

/* Partículas e Efeitos de Brilho de Fundo */
#ambient-particles {
    display: none !important;
}

.paranormal-glow {
    display: none !important;
}

.paranormal-glow.purple {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--color-morte) 0%, transparent 70%);
    animation: pulse-glow 15s infinite alternate;
}

.paranormal-glow.cyan {
    bottom: -15%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, var(--color-energia) 0%, transparent 70%);
    animation: pulse-glow 18s infinite alternate-reverse;
}

@keyframes pulse-glow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.1; }
    50% { transform: scale(1.15) translate(3%, 2%); opacity: 0.15; }
    100% { transform: scale(0.9) translate(-2%, -3%); opacity: 0.08; }
}

/* Layout Principal */
.app-container {
    width: 100%;
    max-width: 680px;
    padding: 3.5rem 1.5rem 2rem 1.5rem; /* Ajuste no topo para dar mais espaço à logo/título */
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card Estilo Ordem */
.card {
    background: var(--bg-card-theme, var(--bg-card));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    margin-bottom: 1.5rem;
    transition: var(--transition-medium);
}

.card:hover {
    border-color: var(--color-theme);
    box-shadow: 0 8px 32px var(--color-theme-glow);
}

.section-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Botões Modernos */
.btn-primary {
    background: linear-gradient(135deg, #120e1a 0%, #060509 100%);
    border: 1px solid var(--color-theme);
    color: var(--color-theme-alt);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 2px;
    cursor: pointer;
    width: 100%;
    transition: var(--transition-fast);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px var(--color-theme-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover:not(:disabled) {
    background: var(--color-theme);
    color: var(--color-theme-text-hover, #ffffff);
    box-shadow: 0 0 25px var(--color-theme);
    transform: translateY(-2px);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(1px);
}

.btn-primary:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
    border-color: rgba(255,255,255,0.1);
    color: var(--text-muted);
}

.btn-primary.pulse-btn {
    animation: border-pulse 2s infinite;
}

@keyframes border-pulse {
    0% { box-shadow: 0 0 10px var(--color-theme-glow); }
    50% { box-shadow: 0 0 20px var(--color-theme); }
    100% { box-shadow: 0 0 10px var(--color-theme-glow); }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.btn-text:hover {
    color: var(--color-theme-alt);
}

/* Link "Apoie o projeto" na tela inicial */
.support-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.support-link .material-symbols-outlined {
    font-size: 1.1rem;
    color: #ef4444;
}

.support-link:hover {
    color: var(--color-theme-alt);
}

/* Botão de texto solto direto numa tela (sem um wrapper .game-footer para centralizar) */
#btn-quit-reveal {
    display: block;
    margin: 0.75rem auto 0;
}

/* ==============================================
   TELA INICIAL (INTRO)
   ============================================== */

.screen {
    display: none;
    width: 100%;
    animation: fade-in 0.4s ease-out forwards;
}

.screen.active {
    display: block;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-area {
    text-align: center;
    margin-bottom: 2rem;
}

.subtitle {
    font-size: 0.9rem; /* Destaque elegante para a temporada ativa */
    letter-spacing: 5px;
    color: var(--color-theme-alt);
    text-shadow: 0 0 10px var(--color-theme-glow);
    font-weight: 800;
    margin-top: 0.6rem; /* Fica logo embaixo do título do projeto */
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 2.3rem; /* Tamanho ajustado para caber perfeitamente sem quebrar a tela */
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95);
    line-height: 1.2;
}

.symbol-ornament {
    color: var(--color-theme);
    opacity: 0.8;
    margin-top: 0.5rem;
}

.intro-description {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.2rem;
    padding: 0 1rem;
}

/* Seletores de Modo */
.mode-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

/* Os dois modos jogáveis dividem a largura toda, mantendo a altura dos quadrados */
.mode-square {
    height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    gap: 0.45rem;
    padding: 1rem !important;
    overflow: hidden;
}

.mode-square .mode-icon .material-symbols-outlined {
    font-size: 2.4rem;
    color: var(--color-theme-alt, #ffffff);
    opacity: 0.9;
}

.mode-square .mode-title {
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.mode-square .mode-desc {
    font-size: 0.82rem;
    line-height: 1.4;
    max-width: 30ch;
}

/* O duelo ocupa a linha inteira e fica travado */
.mode-locked {
    grid-column: 1 / -1;
    position: relative;
    padding: 2.3rem 0.9rem 0.9rem 0.9rem !important;
    cursor: not-allowed !important;
    opacity: 0.45;
    filter: grayscale(0.8);
}

.mode-locked:hover {
    border-color: rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.3);
}

.mode-locked .mode-title {
    font-size: 1.05rem;
}

.mode-locked .mode-desc {
    font-size: 0.82rem;
    line-height: 1.4;
}

.mode-locked .locked-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

@media (max-width: 480px) {
    .mode-square {
        height: auto;
        min-height: 190px;
    }

    .mode-square .mode-title,
    .mode-locked .mode-title {
        font-size: 0.92rem;
    }

    .mode-square .mode-desc,
    .mode-locked .mode-desc {
        font-size: 0.74rem;
    }
}

.btn-mode {
    background: rgba(0, 0, 0, 0.3);
    /* Borda escura por fora + fio claro por dentro: recorta o card sem clareá-lo */
    border: 1px solid rgba(0, 0, 0, 0.9);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    padding: 1.1rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-main);
    width: 100%;
}

.btn-mode:hover {
    border-color: var(--color-theme-glow);
    background: rgba(255, 255, 255, 0.02);
}

.btn-mode.active {
    border-color: var(--color-theme);
    background: var(--color-theme-glow);
    box-shadow: 0 0 15px var(--color-theme-glow);
}

.mode-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mode-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Custom styles for Modo Diário Card and sub-views transitions */
.daily-mode-card {
    background: linear-gradient(135deg, rgba(20, 20, 22, 0.9) 0%, rgba(10, 10, 12, 0.9) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.daily-mode-card:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

.daily-mode-card.active {
    border-color: var(--color-theme, #ffffff) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.12) !important;
}

.daily-mode-card.completed {
    border-color: rgba(74, 222, 128, 0.3) !important;
    background: linear-gradient(135deg, rgba(8, 28, 16, 0.45) 0%, rgba(10, 12, 10, 0.65) 100%) !important;
    opacity: 0.9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(74, 222, 128, 0.05) !important;
}

.daily-mode-card .mode-badge:empty { visibility: hidden; }
.daily-mode-card .mode-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.mode-view {
    animation: fade-in 0.3s ease-out forwards;
}

.btn-back-arrow {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    transition: var(--transition-fast);
}

.btn-back-arrow:hover {
    color: #ffffff;
    transform: translateX(-2px);
}

/* Seletores de Campanha */
.campaign-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: -0.35rem 0 0.85rem 0;
}

.campaign-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media(max-width: 580px) {
    .campaign-selector {
        grid-template-columns: 1fr;
    }
}

.btn-campaign {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-campaign:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

/* Campaign Specific Colors and Active States */
.btn-campaign[data-campaign="osnf"] .campaign-title { color: #4ade80; }
.btn-campaign[data-campaign="deconjuracao"] .campaign-title { color: #FF5252; }
.btn-campaign[data-campaign="osni"] .campaign-title { color: #55D29C; }
.btn-campaign[data-campaign="sdol"] .campaign-title { color: #05cf9f; }
.btn-campaign[data-campaign="calamidade"] .campaign-title { color: #CFB53B; }
.btn-campaign[data-campaign="hexatombe"] .campaign-title { color: #ef4444; }

.btn-campaign[data-campaign="osnf"].active {
    border-color: #1D4A22;
    background: rgba(29, 74, 34, 0.25);
    box-shadow: 0 0 15px rgba(29, 74, 34, 0.5);
}

.btn-campaign[data-campaign="deconjuracao"].active {
    border-color: #8C1C2A;
    background: rgba(140, 28, 42, 0.25);
    box-shadow: 0 0 15px rgba(140, 28, 42, 0.5);
}

.btn-campaign[data-campaign="osni"].active {
    border-color: #135E4E;
    background: rgba(19, 94, 78, 0.25);
    box-shadow: 0 0 15px rgba(85, 210, 156, 0.5);
}

.btn-campaign[data-campaign="sdol"].active {
    border-color: #056f57;
    background: rgba(5, 111, 87, 0.25);
    box-shadow: 0 0 15px rgba(5, 207, 159, 0.5);
}

.btn-campaign[data-campaign="hexatombe"].active {
    border-color: #8A0303;
    background: rgba(102, 0, 0, 0.25);
    box-shadow: 0 0 15px rgba(138, 3, 3, 0.5);
}

.btn-campaign[data-campaign="calamidade"].active {
    border-color: #CFB53B;
    background: rgba(139, 0, 0, 0.25);
    box-shadow: 0 0 15px rgba(207, 181, 59, 0.5);
}

/* Estado Removido: a temporada saiu da investigação (e do fundo) */
.btn-campaign {
    position: relative;
    opacity: 0.98;
}

.btn-campaign:not(.active) {
    filter: grayscale(0.85);
    opacity: 0.42;
    border-style: dashed;
}

.btn-campaign:not(.active):hover {
    filter: grayscale(0.35);
    opacity: 0.8;
}

.btn-campaign::after {
    content: "check";
    font-family: 'Material Symbols Outlined';
    font-size: 0.95rem;
    line-height: 1;
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    opacity: 0.75;
    transition: var(--transition-fast);
}

.btn-campaign:not(.active)::after {
    content: "add";
    opacity: 0.5;
}

.campaign-title {
    font-weight: 800;
    font-size: 0.78rem;
    margin-bottom: 0.25rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.campaign-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Transições e Brilhos de Campanha Dinâmicos */
.main-title {
    transition: background 0.4s ease, filter 0.4s ease;
}

.main-title.osnf {
    background: linear-gradient(to right, #ffffff 30%, #1D4A22 100%);
    -webkit-background-clip: text;
}

.main-title.deconjuracao {
    background: linear-gradient(to right, #ffffff 30%, #451275 100%);
    -webkit-background-clip: text;
}

.main-title.osni {
    background: linear-gradient(to right, #ffffff 40%, #55D29C 100%);
    -webkit-background-clip: text;
}

.main-title.sdol {
    background: linear-gradient(to right, #ffffff 30%, #05cf9f 100%);
    -webkit-background-clip: text;
}

.main-title.hexatombe {
    background: linear-gradient(to right, #ffffff 30%, #8A0303 100%);
    -webkit-background-clip: text;
}

.main-title.calamidade {
    background: linear-gradient(to right, #FFE082 30%, #CFB53B 100%);
    -webkit-background-clip: text;
}

.sigil-font {
    font-family: 'SigilosParanormais' !important;
    letter-spacing: 4px !important;
    text-transform: none !important;
}

/* Decifração de Letras com Grid Estável */
.decipher-char {
    display: inline-block;
    min-width: 0.85em;
    text-align: center;
    transition: transform 0.15s ease, color 0.15s ease;
    vertical-align: middle;
}

.decipher-char.sigil {
    font-family: 'SigilosParanormais' !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--color-theme-alt);
    opacity: 0.9;
    font-size: 1.1em;
}

.decipher-space {
    display: inline;
}

/* Painel de Multiplayer */
.multiplayer-options {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.multi-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.multi-col h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-morte);
}

.multi-info {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
    min-height: 2.8rem;
}

.multi-divider {
    font-family: var(--font-spooky);
    font-size: 0.9rem;
    color: var(--color-morte);
    opacity: 0.6;
    padding: 0 0.5rem;
}

.code-input-row {
    display: flex;
    gap: 0.5rem;
}

.code-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0 0.75rem;
    color: #fff;
    font-family: var(--font-spooky);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    width: 6.5rem;
}

.code-input:focus {
    outline: none;
    border-color: var(--color-morte);
    box-shadow: 0 0 10px var(--color-morte-glow);
}

/* Status do Lobby */
.lobby-status-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px dashed var(--color-morte);
    border-radius: 10px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    text-align: center;
    margin-top: 1rem;
    animation: pulse-border 2.5s infinite;
}

@keyframes pulse-border {
    0% { border-color: rgba(139, 92, 246, 0.3); }
    50% { border-color: var(--color-morte); }
    100% { border-color: rgba(139, 92, 246, 0.3); }
}

.lobby-status-msg {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.lobby-code-display {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.room-code-badge {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--color-morte);
    color: var(--color-morte);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-family: var(--font-spooky);
    font-size: 1.25rem;
    margin-left: 0.5rem;
    text-shadow: 0 0 5px var(--color-morte-glow);
    display: inline-block;
}

.opponent-name-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.glowing-purple {
    color: var(--color-morte);
    text-shadow: 0 0 10px var(--color-morte-glow);
    font-weight: 800;
}

/* Sound controls card */
.sound-controls {
    padding: 1.2rem;
}

.control-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.control-row:last-child {
    margin-bottom: 0;
}

.control-row.inline {
    flex-direction: row;
    align-items: center;
}

.control-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.control-icon {
    cursor: pointer;
}

/* Volume Slider */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    transition: var(--transition-fast);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-morte);
    cursor: pointer;
    box-shadow: 0 0 8px var(--color-morte-glow);
    transition: var(--transition-fast);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 12px var(--color-morte);
}

.slider.volume-small {
    height: 4px;
}

.slider.volume-small::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
}

/* Switch */
.switch-container {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 2.8rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    height: 1.4rem;
}

.switch-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.4rem;
    width: 2.3rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition-fast);
}

.switch-container input:checked ~ .checkmark {
    background-color: var(--color-morte-glow);
    border-color: var(--color-morte);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: block;
    transition: var(--transition-fast);
    top: 2px;
    left: 2px;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--text-muted);
}

.switch-container input:checked ~ .checkmark:after {
    left: 1rem;
    background-color: var(--color-morte);
    box-shadow: 0 0 8px var(--color-morte);
}

.setup-container {
    width: 100%;
    margin-bottom: 1rem;
}

.footer-info {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.2);
    text-align: center;
    margin-top: 2rem;
    line-height: 1.4;
}

/* ==============================================
   TELA DE JOGO (GAME)
   ============================================= */

.game-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.hud-item {
    text-align: center;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.hud-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.hud-value {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-main);
}

.sanity-hearts {
    display: flex;
    gap: 0.2rem;
}

.heart {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.15) !important;
    transition: var(--transition-medium);
    display: inline-block;
}

.heart.active {
    color: #ef4444 !important;
    animation: heartbeat-pulse 1.5s infinite alternate;
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.65));
}

@keyframes heartbeat-pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* Monitor CRT Estilizado */
.video-panel {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.monitor-frame {
    background: #110e17;
    border: 6px solid #221a2c;
    border-radius: 14px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.8),
        inset 0 2px 10px rgba(255,255,255,0.05);
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
}

.monitor-bezel {
    background: #000;
    border-radius: 8px;
    padding: 0.25rem;
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: inset 0 0 20px rgba(0,0,0,1);
}

.monitor-screen-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

/* Scanner de Varredura CRT e Efeitos de Ruído */
.crt-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.12) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 6px 100%;
    z-index: 15;
    pointer-events: none;
    opacity: 0.45;
}

.crt-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 40px rgba(139, 92, 246, 0.15);
    z-index: 14;
    pointer-events: none;
    animation: flicker-monitor 0.15s infinite;
}

@keyframes flicker-monitor {
    0% { opacity: 0.96; }
    50% { opacity: 1; }
    100% { opacity: 0.98; }
}

#youtube-player-container {
    position: absolute;
    top: -12%;
    left: -6%;
    width: 112%;
    height: 124%;
    z-index: 5;
    overflow: hidden;
}

#youtube-player {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none; /* impede pausar clicando no vídeo */
}

/* Barra de segurança mística para ocultar o título do YouTube */
.video-shield-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Oculta título e canal do YouTube. O bloco do título tem tamanho quase fixo em px (~40px visíveis
       em telas pequenas), então em player pequeno 10% da altura não bastava. */
    height: max(10%, 42px);
    background: #060509; /* Cor de fundo idêntica ao tema escuro */
    border-bottom: 2px solid var(--color-morte);
    z-index: 8; /* Fica acima do player (5) mas abaixo do signal-lost (10) e scanlines (15) */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    box-sizing: border-box;
    font-family: var(--font-spooky);
    font-size: 0.75rem;
    color: var(--color-morte);
    text-shadow: 0 0 5px var(--color-morte-glow);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
    pointer-events: none; /* Não interfere com cliques */
}

.shield-text {
    font-weight: bold;
    letter-spacing: 1px;
}

.shield-status {
    color: #ef4444;
    font-weight: bold;
    animation: flash-red 1s infinite alternate;
}

@keyframes flash-red {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* Sintonização / Carregamento Overlay */
.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #040306;
    z-index: 7;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.loading-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.loading-text-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-main);
    font-family: var(--font-spooky);
}

.loading-main-text {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--color-morte);
    text-shadow: 0 0 8px var(--color-morte-glow);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sinal Cortado Overlay */
.signal-lost-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #040306;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.static-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-radial-gradient(circle at 17% 32%, white, black 0.00085px);
    opacity: 0.04;
    animation: static-flicker 0.15s infinite;
}

@keyframes static-flicker {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -1%); }
    20% { transform: translate(1%, 2%); }
    30% { transform: translate(-2%, -2%); }
    40% { transform: translate(1%, 3%); }
    50% { transform: translate(-1%, 1%); }
    60% { transform: translate(2%, -1%); }
    70% { transform: translate(-2%, 2%); }
    80% { transform: translate(1%, -2%); }
    90% { transform: translate(-1%, 3%); }
    100% { transform: translate(0, 0); }
}

.lost-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.lost-text-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem;
}

.lost-icon {
    font-size: 2.2rem;
    color: var(--color-morte);
    text-shadow: 0 0 10px var(--color-morte-glow);
    margin-bottom: 0.5rem;
    animation: scale-icon 2s infinite alternate;
}

@keyframes scale-icon {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.lost-main-text {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-morte);
    letter-spacing: 2px;
    text-shadow: 0 0 8px var(--color-morte-glow);
    margin-bottom: 0.35rem;
}

.lost-sub-text {
    font-family: var(--font-spooky);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Barra de Progresso Customizada do Player */
.audio-player-ui {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.status-msg-container {
    text-align: center;
}

#player-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-morte);
    text-shadow: 0 0 5px var(--color-morte-glow);
}

.loading-dots:after {
    content: '...';
    display: inline-block;
    width: 0px;
    overflow: hidden;
    vertical-align: bottom;
    animation: dots-wave 1.5s steps(4, end) infinite;
}

@keyframes dots-wave {
    to { width: 1.25em; }
}

.custom-audio-controls {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(0,0,0,0.2);
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.03);
}

.btn-audio-control {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-audio-control:hover:not(:disabled) {
    transform: scale(1.15);
}

.btn-audio-control:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-audio-control.secondary-audio {
    font-size: 1rem;
}

.time-progress {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.progress-bar-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--color-morte);
    box-shadow: 0 0 8px var(--color-morte);
    transition: width 0.2s linear;
}

/* Painel de Dica */
.hint-panel {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.btn-hint {
    background: rgba(234, 179, 8, 0.05);
    border: 1px dashed var(--color-conhecimento);
    color: var(--color-conhecimento);
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-fast);
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.05);
}

.btn-hint:hover:not(:disabled) {
    background: var(--color-conhecimento-glow);
    box-shadow: 0 0 15px var(--color-conhecimento);
    transform: scale(1.02);
}

.btn-hint:disabled {
    opacity: 0.35;
    border-color: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    background: none;
}

.hint-btn-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hint-info-icon {
    font-size: 1.15rem !important;
    color: var(--text-muted);
    cursor: help;
    opacity: 0.75;
    transition: var(--transition-fast);
    outline: none;
}

.hint-info-icon:hover,
.hint-info-icon:focus {
    color: var(--color-conhecimento);
    opacity: 1;
}

.hint-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: min(280px, 80vw);
    background: rgba(10, 10, 12, 0.97);
    border: 1px solid var(--color-conhecimento);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(234, 179, 8, 0.15);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-main);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 20;
}

.hint-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--color-conhecimento);
}

.hint-info-icon:hover + .hint-tooltip,
.hint-info-icon:focus + .hint-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Volume In-Game */
.gameplay-volume-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.vol-icon {
    font-size: 0.75rem;
    cursor: pointer;
    color: var(--text-muted);
}

.vol-display {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    min-width: 1.75rem;
}

/* Temporizador Regressivo */
.timer-container {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    margin: 1.2rem 0;
    position: relative;
    overflow: hidden;
}

.timer-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--color-energia) 0%, var(--color-morte) 100%);
    box-shadow: 0 0 8px var(--color-morte-glow);
    transition: width 0.1s linear;
}

.timer-bar.warning {
    background: var(--color-sangue);
    box-shadow: 0 0 10px var(--color-sangue-glow);
}

/* Grid de Respostas (10 Episódios) */
.options-quiz-wrapper {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.quiz-instruction {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.85rem;
    font-weight: 600;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

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

.btn-option {
    background: rgba(18, 14, 26, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-main);
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
    gap: 0.6rem;
}

.btn-option:hover:not(:disabled) {
    border-color: var(--color-morte);
    background: rgba(139, 92, 246, 0.05);
    transform: translateY(-1px);
}

.btn-option:active:not(:disabled) {
    transform: translateY(1px);
}

.btn-option:disabled {
    cursor: not-allowed;
}

.btn-option.correct {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: #10b981 !important;
    color: #10b981 !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2) !important;
    font-weight: 800;
}

.btn-option.wrong {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2) !important;
    opacity: 0.6;
}

.opt-num {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-morte);
    flex-shrink: 0;
}

.opt-text {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-footer {
    text-align: center;
}

/* ==============================================
   TELA DE REVELAÇÃO (REVEAL)
   ============================================= */

.reveal-result-banner {
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    animation: banner-zoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes banner-zoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.reveal-result-banner.correct {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid #10b981;
}

.reveal-result-banner.wrong {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid #ef4444;
}

.reveal-icon {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
}

.reveal-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.15rem;
}

.reveal-result-banner.correct .reveal-title {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.reveal-result-banner.wrong .reveal-title {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.reveal-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-main);
}

.reveal-details {
    position: relative;
    overflow: hidden;
}

.element-icon-background {
    position: absolute;
    right: -2rem;
    bottom: -3rem;
    font-size: 10rem;
    opacity: 0.04;
    pointer-events: none;
}

.reveal-track-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.detail-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    min-width: 4.8rem;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.detail-value.text-glowing {
    color: var(--color-morte);
    text-shadow: 0 0 8px var(--color-morte-glow);
    font-weight: 800;
}

.detail-value.highlight-season {
    color: var(--color-conhecimento);
    font-weight: 800;
}

.reveal-extra-lore {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    background: rgba(0,0,0,0.25);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255,255,255,0.02);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-morte);
    text-shadow: 0 0 5px var(--color-morte-glow);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-link:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--color-morte);
}

/* Contexto da Cena (escrito pelos admins), logo acima do link do episódio */
.reveal-context {
    position: relative;
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-left: 2px solid var(--color-theme-alt);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 6px 6px 0;
}

.reveal-context-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.reveal-context-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-main);
    white-space: pre-line;
}

/* ==============================================
   TELA FINAL (GAMEOVER)
   ============================================= */

.gameover-header {
    text-align: center;
    margin-bottom: 2rem;
}

.skull-glowing {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.8rem;
    animation: pulse-glow-skull 2.5s infinite alternate;
}

.medo-symbol-img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
}

@keyframes pulse-glow-skull {
    0% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.9)); }
}

.gameover-title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.gameover-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stats-summary {
    text-align: left;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 0.85rem;
    text-align: center;
}

.stat-box-featured {
    grid-column: 1 / -1;
    padding: 1.15rem;
    background: rgba(139, 92, 246, 0.05);
    border-color: var(--color-morte-glow);
}

.stat-box-featured .stat-val {
    font-size: 1.9rem;
}

.stat-val {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.15rem;
    color: var(--text-main);
}

.stat-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Média geral (agregada, sem dado de jogador nenhum), legenda compacta abaixo do resultado do jogador */
.stat-global {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--text-muted);
}

.rank-container {
    background: rgba(139, 92, 246, 0.02);
    border: 1px dashed var(--color-morte-glow);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.rank-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.rank-badge {
    font-family: var(--font-spooky);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-morte);
    text-shadow: 0 0 12px var(--color-morte-glow);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    overflow-wrap: anywhere;
}
@media (max-width: 480px) {
    .rank-badge { font-size: clamp(1.05rem, 6.2vw, 1.5rem); letter-spacing: 0.5px; }
    .rank-container { padding: 1rem 0.75rem; }
}

.rank-desc {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.gameover-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Fim do estilo principal */

/* Modal de Resultados Diários */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in 0.3s ease-out forwards;
}

.modal-content {
    max-width: 480px;
    width: 90%;
    padding: 2rem !important;
    border: 1px solid var(--border-color) !important;
    background: rgba(15, 15, 18, 0.95) !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.08) !important;
    position: relative;
    text-align: center;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: #fff;
}

.modal-title {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: #ffffff;
}

.modal-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

/* Rodapé no fim da página (rola junto com o conteúdo, não é flutuante) */
body { padding-bottom: 110px; }
.page-footer {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

/* Aviso de desempenho (canto inferior esquerdo) */
.perf-tip {
    max-width: min(340px, calc(100vw - 120px));
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(15, 15, 18, 0.92);
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}
.perf-tip button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--color-theme-alt);
    text-decoration: underline;
    cursor: pointer;
}
@media (max-width: 480px) {
    .perf-tip { font-size: 0.7rem; padding: 0.5rem 0.65rem; }
}

/* Efeitos visuais desativados pelo jogador: sem animações, blur, sombras nem camadas decorativas */
html.no-fx *, html.no-fx *::before, html.no-fx *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
html.no-fx #ambient-particles,
html.no-fx .crt-scanlines,
html.no-fx .static-noise,
html.no-fx body::before { display: none !important; }

html.modal-open, html.modal-open body { overflow: hidden; }

/* Botão flutuante e modal de feedback */
.feedback-fab {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(15, 15, 18, 0.92);
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}
.feedback-fab .material-symbols-outlined { font-size: 1.4rem; }
.feedback-fab:hover { color: var(--color-theme-alt); border-color: var(--color-theme-alt); }
@media (max-width: 480px) {
    .feedback-fab { padding: 0.8rem; }
    .feedback-fab-label { display: none; }
}

@media (max-width: 480px) {
    #feedback-modal .modal-content { padding: 1.5rem 1rem !important; }
    .feedback-types { gap: 0.35rem; }
    .feedback-type span { font-size: 0.72rem; padding: 0.5rem 0.3rem; }
    #feedback-modal .modal-title { font-size: 1.05rem; letter-spacing: 1px; padding-right: 1.25rem; }
}
.feedback-form { display: flex; flex-direction: column; gap: 0.75rem; text-align: left; }
.feedback-types { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.feedback-type { flex: 1 1 auto; min-width: 0; cursor: pointer; }
.feedback-type input { position: absolute; opacity: 0; pointer-events: none; }
.feedback-type span {
    display: block;
    text-align: center;
    padding: 0.5rem 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
    transition: var(--transition-fast);
}
.feedback-type input:checked + span { color: var(--text-main); border-color: var(--color-theme-alt); background: rgba(255, 255, 255, 0.06); }
.feedback-type input:focus-visible + span { outline: 2px solid var(--color-theme-alt); }
.feedback-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
}
.feedback-input:focus { outline: none; border-color: var(--color-theme-alt); }
.feedback-status { min-height: 1.2em; margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.feedback-status.ok { color: #4ade80; }
.feedback-status.erro { color: #ef4444; }

.modal-body {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Acionador do Calendário */
.btn-calendar-trigger {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-calendar-trigger:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Modal do Calendário */
.calendar-modal-content {
    max-width: 360px !important;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.15rem;
}

.calendar-nav-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
}

.calendar-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.calendar-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.03);
}

.calendar-month-year {
    font-size: 0.9rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.72rem;
    font-weight: bold;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.45rem;
    text-align: center;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-fast);
    background: rgba(255, 255, 255, 0.02);
}

.calendar-day:hover:not(.empty):not(.future) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.calendar-day.active {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important;
}

.calendar-day.completed {
    border-color: rgba(74, 222, 128, 0.4) !important;
    background: rgba(8, 28, 16, 0.35) !important;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.1) !important;
}

.calendar-day.completed.active {
    border-color: #ffffff !important;
    background: rgba(74, 222, 128, 0.3) !important;
}

.calendar-day.future,
.calendar-day.locked {
    opacity: 0.22;
    cursor: not-allowed;
    background: none;
    pointer-events: none;
}

.calendar-day.empty {
    background: none;
    border: none;
    cursor: default;
    pointer-events: none;
}

/* ==========================================
   EFEITOS TEMÁTICOS PERFORMANCES DAS TEMPORADAS
   ========================================== */

/* ==========================================
   EFEITOS TEMÁTICOS PERFORMANCES DAS TEMPORADAS
   ========================================== */

/* Animação Global de Névoa Paranormal */
@keyframes campaign-fog {
    0% { transform: translate(-2%, -2%) scale(1); opacity: 0.25; }
    50% { transform: translate(2%, 2%) scale(1.05); opacity: 0.45; }
    100% { transform: translate(-2%, -2%) scale(1); opacity: 0.25; }
}

/* OSNF: Floresta, Névoa (Verde Lodo / Morte) */
body.bg-osnf::after {
    content: "";
    position: fixed;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(74, 222, 128, 0.25) 0%, transparent 65%),
        radial-gradient(circle at 85% 75%, rgba(29, 74, 34, 0.4) 0%, transparent 60%),
        /* Silhuetas de árvores formadas por gradientes verticais */
        linear-gradient(90deg, transparent 15%, rgba(10, 25, 12, 0.8) 18%, rgba(10, 25, 12, 0.9) 20%, rgba(10, 25, 12, 0.8) 22%, transparent 25%),
        linear-gradient(90deg, transparent 70%, rgba(10, 25, 12, 0.7) 74%, rgba(10, 25, 12, 0.85) 76%, rgba(10, 25, 12, 0.7) 78%, transparent 82%);
    z-index: -1;
    filter: blur(4px);
    animation: campaign-fog 12s infinite ease-in-out;
    pointer-events: none;
}

/* Desconjuração: Floresta, Névoa Sombria (Vermelho Cabernet / Sangue) */
body.bg-deconjuracao::after {
    content: "";
    position: fixed;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255, 82, 82, 0.25) 0%, transparent 65%),
        radial-gradient(circle at 85% 75%, rgba(140, 28, 42, 0.4) 0%, transparent 60%),
        /* Silhuetas de árvores em tons avermelhados sombrios */
        linear-gradient(90deg, transparent 15%, rgba(30, 5, 8, 0.85) 18%, rgba(30, 5, 8, 0.95) 20%, rgba(30, 5, 8, 0.85) 22%, transparent 25%),
        linear-gradient(90deg, transparent 70%, rgba(30, 5, 8, 0.75) 74%, rgba(30, 5, 8, 0.9) 76%, rgba(30, 5, 8, 0.75) 78%, transparent 82%);
    z-index: -1;
    filter: blur(4px);
    animation: campaign-fog 12s infinite ease-in-out;
    pointer-events: none;
}

/* Calamidade: Floresta, Névoa Energética (Dourado / Energia) */
body.bg-calamidade::after {
    content: "";
    position: fixed;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255, 224, 130, 0.22) 0%, transparent 65%),
        radial-gradient(circle at 85% 75%, rgba(207, 181, 59, 0.35) 0%, transparent 60%),
        /* Silhuetas de árvores em tons dourados-âmbar sombrios */
        linear-gradient(90deg, transparent 15%, rgba(25, 20, 5, 0.85) 18%, rgba(25, 20, 5, 0.95) 20%, rgba(25, 20, 5, 0.85) 22%, transparent 25%),
        linear-gradient(90deg, transparent 70%, rgba(25, 20, 5, 0.75) 74%, rgba(25, 20, 5, 0.9) 76%, rgba(25, 20, 5, 0.75) 78%, transparent 82%);
    z-index: -1;
    filter: blur(4px);
    animation: campaign-fog 12s infinite ease-in-out;
    pointer-events: none;
}

/* OSNI: Floresta, Névoa Costeira (Verde Lanterna / Teal) */
body.bg-osni::after {
    content: "";
    position: fixed;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(85, 210, 156, 0.25) 0%, transparent 65%),
        radial-gradient(circle at 85% 75%, rgba(19, 94, 78, 0.4) 0%, transparent 60%),
        /* Silhuetas de árvores em tons verde-petróleo sombrios */
        linear-gradient(90deg, transparent 15%, rgba(5, 20, 18, 0.85) 18%, rgba(5, 20, 18, 0.95) 20%, rgba(5, 20, 18, 0.85) 22%, transparent 25%),
        linear-gradient(90deg, transparent 70%, rgba(5, 20, 18, 0.75) 74%, rgba(5, 20, 18, 0.9) 76%, rgba(5, 20, 18, 0.75) 78%, transparent 82%);
    z-index: -1;
    filter: blur(4px);
    animation: campaign-fog 12s infinite ease-in-out;
    pointer-events: none;
}

/* SDOL: VHS, Eletrônicos (Mantido Único e Original) */
@keyframes sdol-vhs {
    0% { transform: scale(1); opacity: 0.25; }
    50% { transform: scale(1.003); opacity: 0.45; }
    100% { transform: scale(1); opacity: 0.25; }
}
body.bg-sdol::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(5, 207, 159, 0.3) 0%, transparent 70%),
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.4) 50%),
        repeating-linear-gradient(90deg, rgba(5, 207, 159, 0.02) 0px, rgba(5, 207, 159, 0.02) 1.5px, transparent 1.5px, transparent 15px);
    background-size: 100% 100%, 100% 6px, 30px 100%;
    z-index: -1;
    animation: sdol-vhs 5s infinite ease-in-out;
    pointer-events: none;
}

/* Hexatombe: Floresta, Névoa Apocalíptica (Vermelho Escarlate / Sangue) */
body.bg-hexatombe::after {
    content: "";
    position: fixed;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(239, 68, 68, 0.25) 0%, transparent 65%),
        radial-gradient(circle at 85% 75%, rgba(138, 3, 3, 0.4) 0%, transparent 60%),
        /* Silhuetas de árvores em tons escarlates sombrios */
        linear-gradient(90deg, transparent 15%, rgba(25, 4, 4, 0.85) 18%, rgba(25, 4, 4, 0.95) 20%, rgba(25, 4, 4, 0.85) 22%, transparent 25%),
        linear-gradient(90deg, transparent 70%, rgba(25, 4, 4, 0.75) 74%, rgba(25, 4, 4, 0.9) 76%, rgba(25, 4, 4, 0.75) 78%, transparent 82%);
    z-index: -1;
    filter: blur(4px);
    animation: campaign-fog 12s infinite ease-in-out;
    pointer-events: none;
}

/* ==========================================
   FUNDO DIVIDIDO DAS TEMPORADAS SELECIONADAS
   Cada temporada ocupa uma fatia da tela e as
   bordas se misturam com as fatias vizinhas.
   Ao remover uma temporada, a fatia (cor + estilo)
   dela simplesmente sai e as outras reocupam o espaço.
   ========================================== */
#season-blend-bg {
    --blend-angle: 90deg;
    position: fixed;
    top: -14%;
    left: -14%;
    right: -14%;
    bottom: -14%;
    z-index: -1;
    display: flex;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}

/* Teto de opacidade: o fundo é só uma sugestão de cor, não pinta o site */
#season-blend-bg.active {
    opacity: 0.5;
}

/* Camada de cor contínua: as cores das temporadas derretem umas nas outras,
   sem nenhuma faixa de fundo aparecendo nas emendas */
.blend-underlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0;
    filter: blur(40px);
    transition: opacity 0.85s ease-in-out;
}

.blend-underlay.visible {
    opacity: 1;
}

.season-slice {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    filter: blur(4px);
    animation: campaign-fog 12s infinite ease-in-out;
    transition: flex-grow 0.85s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease-in-out;
    /* Máscaras bem largas: cada fatia só é sólida no meio e invade as vizinhas */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%);
}

/* As pontas não desbotam para fora da tela */
.season-slice:first-child {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 54%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 54%, transparent 100%);
}

.season-slice:last-child {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 100%);
}

.season-slice:only-child {
    -webkit-mask-image: none;
    mask-image: none;
}

/* Fatia removida: encolhe e some antes de sair do DOM */
.season-slice.removing {
    flex-grow: 0.001;
    opacity: 0;
}

/* Cada fatia sangra para os lados para invadir e se misturar com as vizinhas */
.season-slice::before {
    content: "";
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: -40%;
    right: -40%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* Desencontra a respiração da névoa entre as fatias */
.season-slice:nth-child(2) { animation-delay: -2s; }
.season-slice:nth-child(3) { animation-delay: -4s; }
.season-slice:nth-child(4) { animation-delay: -6s; }
.season-slice:nth-child(5) { animation-delay: -8s; }
.season-slice:nth-child(6) { animation-delay: -10s; }

/* OSNF: Floresta, Névoa (Verde Lodo / Morte) */
.season-slice[data-campaign="osnf"]::before {
    background-image:
        radial-gradient(circle at 50% 22%, rgba(74, 222, 128, 0.15) 0%, transparent 62%),
        radial-gradient(circle at 50% 82%, rgba(29, 74, 34, 0.22) 0%, transparent 60%),
        linear-gradient(90deg, transparent 24%, rgba(10, 25, 12, 0.8) 29%, rgba(10, 25, 12, 0.9) 32%, rgba(10, 25, 12, 0.8) 35%, transparent 40%),
        linear-gradient(90deg, transparent 62%, rgba(10, 25, 12, 0.7) 67%, rgba(10, 25, 12, 0.85) 70%, rgba(10, 25, 12, 0.7) 73%, transparent 78%);
}

/* Desconjuração: Névoa Sombria (Vermelho Cabernet / Sangue) */
.season-slice[data-campaign="deconjuracao"]::before {
    background-image:
        radial-gradient(circle at 50% 22%, rgba(255, 82, 82, 0.15) 0%, transparent 62%),
        radial-gradient(circle at 50% 82%, rgba(140, 28, 42, 0.22) 0%, transparent 60%),
        linear-gradient(90deg, transparent 24%, rgba(30, 5, 8, 0.85) 29%, rgba(30, 5, 8, 0.95) 32%, rgba(30, 5, 8, 0.85) 35%, transparent 40%),
        linear-gradient(90deg, transparent 62%, rgba(30, 5, 8, 0.75) 67%, rgba(30, 5, 8, 0.9) 70%, rgba(30, 5, 8, 0.75) 73%, transparent 78%);
}

/* Calamidade: Névoa Energética (Dourado / Energia) */
.season-slice[data-campaign="calamidade"]::before {
    background-image:
        radial-gradient(circle at 50% 22%, rgba(255, 224, 130, 0.14) 0%, transparent 62%),
        radial-gradient(circle at 50% 82%, rgba(207, 181, 59, 0.20) 0%, transparent 60%),
        linear-gradient(90deg, transparent 24%, rgba(25, 20, 5, 0.85) 29%, rgba(25, 20, 5, 0.95) 32%, rgba(25, 20, 5, 0.85) 35%, transparent 40%),
        linear-gradient(90deg, transparent 62%, rgba(25, 20, 5, 0.75) 67%, rgba(25, 20, 5, 0.9) 70%, rgba(25, 20, 5, 0.75) 73%, transparent 78%);
}

/* OSNI: Névoa Costeira (Verde Lanterna / Teal) */
.season-slice[data-campaign="osni"]::before {
    background-image:
        radial-gradient(circle at 50% 22%, rgba(85, 210, 156, 0.15) 0%, transparent 62%),
        radial-gradient(circle at 50% 82%, rgba(19, 94, 78, 0.22) 0%, transparent 60%),
        linear-gradient(90deg, transparent 24%, rgba(5, 20, 18, 0.85) 29%, rgba(5, 20, 18, 0.95) 32%, rgba(5, 20, 18, 0.85) 35%, transparent 40%),
        linear-gradient(90deg, transparent 62%, rgba(5, 20, 18, 0.75) 67%, rgba(5, 20, 18, 0.9) 70%, rgba(5, 20, 18, 0.75) 73%, transparent 78%);
}

/* SDOL: VHS, Eletrônicos (mantém o chiado original) */
.season-slice[data-campaign="sdol"] {
    filter: none;
    animation: sdol-vhs 5s infinite ease-in-out;
}

.season-slice[data-campaign="sdol"]::before {
    background-image:
        radial-gradient(circle at 50% 50%, rgba(5, 207, 159, 0.18) 0%, transparent 70%),
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.4) 50%),
        repeating-linear-gradient(90deg, rgba(5, 207, 159, 0.02) 0px, rgba(5, 207, 159, 0.02) 1.5px, transparent 1.5px, transparent 15px);
    background-size: 100% 100%, 100% 6px, 30px 100%;
}

/* Hexatombe: Névoa Apocalíptica (Vermelho Escarlate / Sangue) */
.season-slice[data-campaign="hexatombe"]::before {
    background-image:
        radial-gradient(circle at 50% 22%, rgba(239, 68, 68, 0.15) 0%, transparent 62%),
        radial-gradient(circle at 50% 82%, rgba(138, 3, 3, 0.22) 0%, transparent 60%),
        linear-gradient(90deg, transparent 24%, rgba(25, 4, 4, 0.85) 29%, rgba(25, 4, 4, 0.95) 32%, rgba(25, 4, 4, 0.85) 35%, transparent 40%),
        linear-gradient(90deg, transparent 62%, rgba(25, 4, 4, 0.75) 67%, rgba(25, 4, 4, 0.9) 70%, rgba(25, 4, 4, 0.75) 73%, transparent 78%);
}

/* Em telas estreitas, as fatias empilham na vertical */
@media (max-width: 580px) {
    #season-blend-bg {
        --blend-angle: 180deg;
        flex-direction: column;
    }

    .season-slice {
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 46%, #000 54%, transparent 100%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 46%, #000 54%, transparent 100%);
    }

    .season-slice:first-child {
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 54%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, #000 54%, transparent 100%);
    }

    .season-slice:last-child {
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 46%, #000 100%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 46%, #000 100%);
    }

    .season-slice::before {
        left: -10%;
        right: -10%;
        top: -40%;
        bottom: -40%;
    }
}

/* Selo Branco Fixo no Canto Superior Direito */
.fixed-seal {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 85px;
    height: 85px;
    z-index: 9999; /* Garante que fique acima de todas as telas e modais */
    pointer-events: auto;
    opacity: 0.65;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.12));
    cursor: pointer;
}

.fixed-seal:hover {
    opacity: 1;
    transform: scale(1.08) rotate(15deg);
    filter: drop-shadow(0 0 14px var(--color-theme-glow, rgba(255, 255, 255, 0.35)));
}

/* Responsividade do Selo */
@media (max-width: 768px) {
    .fixed-seal {
        top: 15px;
        right: 15px;
        width: 58px;
        height: 58px;
    }

    /* O selo é fixo no canto: o conteúdo começa abaixo dele para não ser sobreposto */
    .app-container {
        padding-top: 6.5rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.95rem;
    }

    .subtitle {
        font-size: 0.78rem;
        letter-spacing: 3px;
    }
}


