@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;700&family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Marcellus&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Lora:ital,wght@0,400;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Orbitron:wght@400;700;900&display=swap');

/* =====================================================
   ESTILOS DOS TEMAS UNIFICADOS
   ===================================================== */

body.tema-cenario_1 * { box-sizing: border-box; margin: 0; padding: 0; }
body.tema-cenario_1 {
            background-color: #16302a;
            background-image:
                
                radial-gradient(circle at 18% 28%, rgba(255,255,255,0.05) 0%, transparent 22%),
                radial-gradient(circle at 82% 70%, rgba(255,255,255,0.045) 0%, transparent 26%),
                radial-gradient(circle at 50% 95%, rgba(255,255,255,0.07) 0%, transparent 30%),
                
                radial-gradient(ellipse at 50% 45%, rgba(255,255,255,0.04) 0%, transparent 70%),
                
                repeating-linear-gradient(rgba(255, 255, 255, 0.035) 0px, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 25px),
                linear-gradient(160deg, #1c3a30 0%, #142a23 55%, #18352c 100%);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            height: 100%;
            width: 100%;
            margin: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 22px 26px;
            overflow: hidden;
            position: relative;
        }

body.tema-cenario_1::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    pointer-events: none;
    border: 14px solid #5c3a22;
    box-shadow: inset 0 0 0 4px #2e1c10, inset 0 0 70px 16px rgba(0,0,0,0.55);
    z-index: 50;
}
body.tema-cenario_1 .bandeja-giz {
            position: absolute;
            bottom: 0px;
            left: 0;
            width: 100%;
            height: 16px;
            display: flex;
            justify-content: space-between;
            padding: 0 6%;
            z-index: 10;
            pointer-events: none;
        }
body.tema-cenario_1 .giz {
            width: 26px;
            height: 9px;
            border-radius: 4px;
            box-shadow: 0 2px 2px rgba(0,0,0,0.4);
            transform: rotate(-2deg);
        }
body.tema-cenario_1 .giz.branco { background: linear-gradient(#fdfdfd, #d8d8d8); }
body.tema-cenario_1 .giz.amarelo { background: linear-gradient(#fde68a, #d4a72c); transform: rotate(3deg); }
body.tema-cenario_1 .giz.rosa { background: linear-gradient(#fbcfe8, #ec8fc4); transform: rotate(-4deg); }
body.tema-cenario_1 .apagador {
            width: 52px;
            height: 14px;
            border-radius: 3px;
            background: linear-gradient(#8a6b4a, #5e4530);
            box-shadow: 0 2px 3px rgba(0,0,0,0.5), inset 0 2px 0 rgba(255,255,255,0.15);
        }
body.tema-cenario_1 .rabisco {
            position: absolute;
            z-index: 1;
            pointer-events: none;
            font-family: 'Segoe Print', 'Bradley Hand', cursive, sans-serif;
            color: rgba(255,255,255,0.22);
            text-shadow: 0 0 3px rgba(255,255,255,0.18);
            user-select: none;
        }
body.tema-cenario_1 #rabisco-atomo { top: 78px; left: 28px; font-size: 46px; transform: rotate(-8deg); color: rgba(147,197,253,0.22); }
body.tema-cenario_1 #rabisco-formula { bottom: 120px; left: 22px; font-size: 19px; transform: rotate(-3deg); }
body.tema-cenario_1 #rabisco-nota { bottom: 110px; right: 36px; font-size: 30px; transform: rotate(10deg); color: rgba(252,165,165,0.22); }
body.tema-cenario_1 #controles-topo { display: flex; gap: 10px; z-index: 20; position: relative; }
body.tema-cenario_1 #controles-topo button {
            background-color: #f8fafc;
            color: #334155;
            border: 2px solid #cbd5e1;
            padding: 10px 15px;
            font-size: 15px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.15s ease;
            box-shadow: 0 4px 0px #cbd5e1;
        }
body.tema-cenario_1 #controles-topo button:hover {
            background-color: #ffffff;
            transform: translateY(2px);
            box-shadow: 0 2px 0px #cbd5e1;
        }
body.tema-cenario_1 #controles-topo button:active {
            transform: translateY(4px);
            box-shadow: 0 0px 0px #cbd5e1;
        }
body.tema-cenario_1 #painel-placar {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: #fffbeb;
            border-left: 6px solid #f59e0b;
            padding: 15px;
            border-radius: 4px 8px 8px 4px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.28);
            width: 220px;
            z-index: 10;
        }
body.tema-cenario_1 #painel-placar::before, body.tema-cenario_1 #painel-placar::after {
            content: '';
            position: absolute;
            inset: 0;
            background: #fef3c7;
            border-radius: 4px 8px 8px 4px;
            z-index: -1;
            box-shadow: 0 6px 10px rgba(0,0,0,0.18);
        }
body.tema-cenario_1 #painel-placar::before { transform: rotate(-3deg) translate(-3px, 3px); }
body.tema-cenario_1 #painel-placar::after { transform: rotate(2.5deg) translate(4px, 4px); background: #fde68a; }
body.tema-cenario_1 .fita-adesiva {
            position: absolute;
            top: -10px;
            left: 50%;
            width: 64px;
            height: 22px;
            transform: translateX(-50%) rotate(-3deg);
            background: rgba(241, 245, 249, 0.55);
            border: 1px solid rgba(255,255,255,0.4);
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            z-index: 2;
        }
body.tema-cenario_1 .grupo-placar {
            margin-bottom: 10px;
            font-weight: bold;
            font-size: 15px;
            padding: 10px 12px;
            border-radius: 4px;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: inset 0 -3px 0 rgba(0,0,0,0.18), inset 0 2px 0 rgba(255,255,255,0.22);
            background-image: linear-gradient(to bottom, rgba(255,255,255,0.18), transparent 45%);
            position: relative;
            transition: box-shadow 0.2s ease;
        }
body.tema-cenario_1 .grupo-placar.vez-atual {
            animation: pulsar-vez 1.8s ease-in-out infinite;
        }
@keyframes pulsar-vez {
            0%, 100% { box-shadow: inset 0 -3px 0 rgba(0,0,0,0.18), inset 0 2px 0 rgba(255,255,255,0.22), 0 0 0 0 rgba(245,158,11,0.5); }
50% { box-shadow: inset 0 -3px 0 rgba(0,0,0,0.18), inset 0 2px 0 rgba(255,255,255,0.22), 0 0 0 5px rgba(245,158,11,0.18); }
}


        
        .area-quiz-container {
            width: 100%;
            display: flex;
            justify-content: center;
            z-index: 5;
            margin-top: 10px;
            position: relative;
        }
body.tema-cenario_1 #quiz-content {
            background-color: #fffdf8;
            background-image:
                linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
                linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
            background-size: 22px 22px;
            background-position: 36px 0;
            padding: 26px 34px 26px 50px;
            border-radius: 6px;
            width: 100%;
            max-width: 520px;
            text-align: left;
            box-shadow: 0 18px 34px rgba(0,0,0,0.3);
            border: 1px solid #e9e3d6;
            position: relative;
            overflow: hidden;
        }
body.tema-cenario_1 #quiz-content::before {
            content: '';
            position: absolute;
            top: 0; bottom: 0; left: 0;
            width: 26px;
            background:
                radial-gradient(circle 6px, #16302a 6px, transparent 6.5px) 50% 18px / 100% 38px repeat-y;
            opacity: 0.9;
        }
body.tema-cenario_1 #quiz-content::after {
            content: '';
            position: absolute;
            top: 0; bottom: 0;
            left: 38px;
            width: 2px;
            background: rgba(239,68,68,0.5);
        }
body.tema-cenario_1 .dobra-canto {
            position: absolute;
            top: 0; right: 0;
            width: 0; height: 0;
            border-style: solid;
            border-width: 0 34px 34px 0;
            border-color: transparent #f1ede2 transparent transparent;
            box-shadow: -3px 3px 6px rgba(0,0,0,0.18);
        }
body.tema-cenario_1 #pergunta-texto { font-size: 19px; color: #1e293b; margin-bottom: 20px; font-weight: 800; line-height: 1.4; position: relative; z-index: 1; }
body.tema-cenario_1 .btn-opcao {
            display: block;
            width: 100%;
            margin: 8px 0;
            background: linear-gradient(to right, #f8fafc, #ffffff);
            color: #1e293b;
            border: 2px solid #e2e8f0;
            text-align: left;
            padding: 14px 20px;
            font-size: 15px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            box-shadow: 0 2px 0 #e2e8f0;
            position: relative;
            overflow: hidden;
            
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }
body.tema-cenario_1 .btn-opcao::before {
            content: '';
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 6px;
            background: #3b82f6;
            transform: scaleY(0);
            transition: transform 0.2s;
        }
body.tema-cenario_1 .btn-opcao:hover {
            background: linear-gradient(to right, #eff6ff, #ffffff);
            transform: translateX(6px);
            border-color: #3b82f6;
            box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
            color: #1e293b;
        }
body.tema-cenario_1 .btn-opcao:hover::before {
            transform: scaleY(1);
        }
body.tema-cenario_1 .btn-opcao:active {
            transform: translateX(6px) translateY(2px);
            box-shadow: 0 0 0 #e2e8f0;
            background: linear-gradient(to right, #eff6ff, #ffffff);
            border-color: #3b82f6;
        }
body.tema-cenario_1 #ui-container {
            align-self: center;
            text-align: center;
            background-color: #f8fafc;
            padding: 20px 35px 15px;
            border-radius: 8px;
            box-shadow: 0 12px 28px rgba(0,0,0,0.35);
            border: 2px solid #cbd5e1;
            border-top: 8px solid #3b82f6;
            z-index: 10;
            width: 300px;
            margin-bottom: 5px;
            position: relative;
        }
body.tema-cenario_1 .clipe-prancheta {
            position: absolute;
            top: -16px;
            left: 50%;
            transform: translateX(-50%);
            width: 46px;
            height: 20px;
            background: linear-gradient(160deg, #cbd5e1, #94a3b8 60%, #64748b);
            border-radius: 6px 6px 3px 3px;
            box-shadow: 0 3px 4px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.6);
        }
body.tema-cenario_1 .clipe-prancheta::after {
            content: '';
            position: absolute;
            top: 4px; left: 50%;
            width: 6px; height: 6px;
            border-radius: 50%;
            background: #475569;
            transform: translateX(-50%);
            box-shadow: inset 0 1px 1px rgba(0,0,0,0.4);
        }
body.tema-cenario_1 #mensagem { font-size: 18px; font-weight: bold; color: #334155; margin-bottom: 12px; }
body.tema-cenario_1 button.btn-principal {
            background: linear-gradient(180deg, #ef4444 0%, #dc2626 55%, #dc2626 100%);
            color: white;
            border: none;
            padding: 12px 24px 12px 38px;
            font-size: 17px;
            font-weight: bold;
            border-radius: 6px;
            cursor: pointer;
            width: 100%;
            transition: transform 0.12s ease, box-shadow 0.12s ease;
            box-shadow: 0 4px 0px #991b1b, inset 0 1px 0 rgba(255,255,255,0.35);
            position: relative;
        }
body.tema-cenario_1 button.btn-principal::before {
            content: '🎲';
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 18px;
            transition: transform 0.3s ease;
        }
body.tema-cenario_1 button.btn-principal:hover::before {
            transform: translateY(-50%) rotate(25deg);
        }
body.tema-cenario_1 button.btn-principal:hover {
            transform: translateY(2px);
            box-shadow: 0 2px 0px #991b1b, inset 0 1px 0 rgba(255,255,255,0.35);
        }
body.tema-cenario_1 button.btn-principal:active {
            transform: translateY(4px);
            box-shadow: 0 0px 0px #991b1b, inset 0 1px 0 rgba(255,255,255,0.35);
        }
    

body.tema-cenario_2 * { box-sizing: border-box; margin: 0; padding: 0; }
body.tema-cenario_2 {
            background-color: #0a110c; 
            background-image:
                
                repeating-linear-gradient(45deg, rgba(56, 189, 248, 0.05) 0px, rgba(56, 189, 248, 0.05) 2px, transparent 2px, transparent 40px),
                repeating-linear-gradient(-45deg, rgba(56, 189, 248, 0.05) 0px, rgba(56, 189, 248, 0.05) 2px, transparent 2px, transparent 40px),
                
                radial-gradient(circle at 50% 50%, rgba(22, 69, 32, 0.2) 0%, transparent 70%),
                linear-gradient(180deg, #0f1c13 0%, #050a06 100%);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            height: 100vh;
            width: 100vw;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 22px 26px;
            overflow: hidden;
            position: relative;
            border: 14px solid #1f2937; 
            box-shadow: inset 0 0 0 4px #111827, inset 0 0 80px 20px rgba(0,0,0,0.9);
            animation: electric-fence-pulse 4s infinite; 
        }
@keyframes electric-fence-pulse {
            0%, 95%, 100% { background-color: #0a110c; }
96% { background-color: #0a141a; box-shadow: inset 0 0 0 4px #111827, inset 0 0 80px 20px rgba(0,0,0,0.9), inset 0 0 100px rgba(56, 189, 248, 0.1); }
98% { background-color: #050a06; }
}

        
        body.tema-cenario_2::before {
            content: "";
            position: absolute;
            top: -50%; left: -50%; right: -50%; bottom: -50%;
            
            background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><rect width="1.5" height="15" x="20" y="50" fill="rgba(255,255,255,0.15)"/><rect width="1" height="25" x="120" y="150" fill="rgba(255,255,255,0.1)"/><rect width="2" height="10" x="250" y="20" fill="rgba(255,255,255,0.2)"/><rect width="1" height="30" x="320" y="280" fill="rgba(255,255,255,0.15)"/><rect width="1.5" height="20" x="80" y="320" fill="rgba(255,255,255,0.1)"/><rect width="1" height="12" x="180" y="80" fill="rgba(255,255,255,0.2)"/></svg>') repeat;
            z-index: 1; 
            pointer-events: none;
            transform: rotate(15deg) translateY(0);
            animation: rainDrop 0.8s linear infinite;
            will-change: transform;
        }
@keyframes rainDrop {
            0% { transform: rotate(15deg) translateY(0); }
            100% { transform: rotate(15deg) translateY(400px); }
        }

        
        .crt-screen {
            position: relative;
            overflow: hidden;
            animation: crt-flicker 0.15s infinite;
        }
body.tema-cenario_2 .crt-screen::after {
            content: " ";
            display: block;
            position: absolute;
            top: 0; left: 0; bottom: 0; right: 0;
            background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
            z-index: 10;
            background-size: 100% 4px, 3px 100%;
            pointer-events: none;
        }
@keyframes crt-flicker {
            0% { opacity: 0.98; }
50% { opacity: 1; }
100% { opacity: 0.99; }
}

        
        #controles-topo { display: flex; gap: 15px; z-index: 20; position: relative; }
body.tema-cenario_2 #controles-topo button {
            background: repeating-linear-gradient(-45deg, #1f2937, #1f2937 10px, #111827 10px, #111827 20px);
            color: #fcd34d; border: 2px solid #b45309; padding: 10px 20px; font-size: 13px;
            border-radius: 6px; cursor: pointer; font-weight: 800; text-transform: uppercase;
            letter-spacing: 1.5px; transition: all 0.2s ease;
            box-shadow: 0 6px 0px #78350f, 0 8px 15px rgba(0,0,0,0.6);
            display: flex; align-items: center; justify-content: center; position: relative;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
            font-family: 'Share Tech Mono', monospace; 
        }
body.tema-cenario_2 #controles-topo button::after {
            content: ''; display: inline-block; width: 8px; height: 8px;
            background-color: #ef4444; border-radius: 50%;
            box-shadow: 0 0 6px #ef4444, inset 0 0 2px rgba(0,0,0,0.6);
            margin-left: 12px; transition: all 0.2s ease;
        }
body.tema-cenario_2 #controles-topo button:hover {
            background: repeating-linear-gradient(-45deg, #374151, #374151 10px, #1f2937 10px, #1f2937 20px);
            border-color: #f59e0b; color: #ffffff; transform: translateY(2px);
            box-shadow: 0 4px 0px #92400e, 0 0 15px rgba(245, 158, 11, 0.3);
        }
body.tema-cenario_2 #controles-topo button:hover::after {
            background-color: #10b981; box-shadow: 0 0 8px #10b981, inset 0 0 2px rgba(0,0,0,0.6);
        }
body.tema-cenario_2 #controles-topo button:active {
            transform: translateY(6px); box-shadow: 0 0px 0px #92400e, inset 0 4px 10px rgba(0,0,0,0.8);
        }
body.tema-cenario_2 #painel-placar {
            position: absolute; top: 20px; right: 20px;
            background-color: #020617; 
            border: 3px solid #3f3f46; border-top: 6px solid #b91c1c; 
            padding: 15px; border-radius: 12px; 
            box-shadow: 0 10px 25px rgba(0,0,0,0.6), inset 0 0 20px rgba(0,0,0,0.8);
            width: 240px; z-index: 10;
        }
body.tema-cenario_2 .rebite {
            display: block;
            position: absolute; width: 10px; height: 10px;
            background: radial-gradient(circle, #9ca3af, #374151); border-radius: 50%;
            box-shadow: inset 0 -1px 2px rgba(0,0,0,0.6), 0 1px 1px rgba(255,255,255,0.1);
        }
body.tema-cenario_2 .r-tl { top: 10px; left: 10px; }
body.tema-cenario_2 .r-tr { top: 10px; right: 10px; }
body.tema-cenario_2 #painel-placar h3 {
            margin-top: 0; text-align: center; color: #f59e0b !important; 
            font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px;
            border-bottom: 1px solid #3f3f46; padding-bottom: 8px; margin-bottom: 12px;
            font-family: 'Share Tech Mono', monospace;
            text-shadow: 0 0 5px rgba(245, 158, 11, 0.5); 
        }
body.tema-cenario_2 .grupo-placar {
            margin-bottom: 10px; font-weight: bold; font-size: 14px; padding: 10px 12px;
            border-radius: 4px; color: #38bdf8; display: flex; justify-content: space-between; align-items: center;
            background-color: rgba(15, 23, 42, 0.8); border-left: 4px solid transparent;
            box-shadow: inset 0 0 5px rgba(0,0,0,0.8); position: relative;
            font-family: 'Share Tech Mono', monospace;
        }
body.tema-cenario_2 .grupo-placar:nth-child(1) { border-left-color: #ef4444; color: #fca5a5; }
body.tema-cenario_2 .grupo-placar:nth-child(2) { border-left-color: #3b82f6; color: #93c5fd; }
body.tema-cenario_2 .grupo-placar.vez-atual { animation: pulsar-radar 2s infinite; }
@keyframes pulsar-radar {
            0%, 100% { box-shadow: inset 0 0 5px rgba(0,0,0,0.8), 0 0 0 0 rgba(245,158,11,0.5); border-left-color: #f59e0b; color: #fde68a;}
50% { box-shadow: inset 0 0 5px rgba(0,0,0,0.8), 0 0 15px 2px rgba(245,158,11,0.4); border-left-color: #fcd34d; color: #fff;}
}

        
        .area-quiz-container { width: 100%; display: flex; justify-content: center; z-index: 5; margin-top: 10px; position: relative; }
body.tema-cenario_2 #quiz-content {
            background-color: #020617; 
            background-image:
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%2338bdf8' opacity='0.04'%3E%3Cpath d='M15,40 C15,10 55,15 70,25 C85,35 95,40 95,50 C95,55 80,50 65,50 C55,50 50,40 40,40 C30,40 20,45 15,40 Z' /%3E%3Cpath d='M20,60 C35,75 70,70 85,55 C70,65 40,65 20,60 Z' /%3E%3Ccircle cx='42' cy='30' r='7' fill='%230f172a' /%3E%3Cellipse cx='82' cy='42' rx='4' ry='2' fill='%230f172a' /%3E%3C/g%3E%3C/svg%3E"),
                linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
            background-size: 280px, 30px 30px, 30px 30px; background-position: center;
            padding: 40px 45px; border-radius: 12px; width: 100%; max-width: 580px; text-align: left;
            border: 3px solid #0284c7; 
            box-shadow: 0 0 30px rgba(14, 165, 233, 0.2), inset 0 0 50px rgba(0,0,0,0.9);
            animation: brilho-tela 4s infinite alternate;
        }
@keyframes brilho-tela {
            from { box-shadow: 0 0 20px rgba(14, 165, 233, 0.15), inset 0 0 40px rgba(0,0,0,0.8); border-color: #0369a1; }
to { box-shadow: 0 0 40px rgba(14, 165, 233, 0.3), inset 0 0 50px rgba(0,0,0,0.9); border-color: #0ea5e9; }
}

body.tema-cenario_2 #quiz-content::before {
            content: 'TERMINAL BIO-GENÉTICO'; position: absolute; top: 0; left: 0; right: 0;
            background: #0ea5e9; color: #020617; font-size: 11px; font-weight: 800; text-align: center;
            padding: 4px 0; letter-spacing: 3px; font-family: 'Share Tech Mono', monospace;
            border-radius: 8px 8px 0 0;
        }
body.tema-cenario_2 #pergunta-texto { 
            font-size: 19px; color: #e0f2fe; margin-top: 15px; margin-bottom: 25px; 
            font-weight: 600; line-height: 1.5; position: relative; z-index: 3; 
            text-shadow: 0 0 5px rgba(56, 189, 248, 0.4);
            font-family: 'Share Tech Mono', monospace;
        }
body.tema-cenario_2 .btn-opcao {
            display: block; width: 100%; margin: 12px 0;
            background: rgba(15, 23, 42, 0.6); color: #7dd3fc; border: 1px solid #0369a1;
            text-align: left; padding: 18px 20px; font-size: 16px; border-radius: 4px;
            cursor: pointer; font-weight: 500; box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
            position: relative; overflow: hidden; transition: all 0.2s ease;
            font-family: 'Share Tech Mono', monospace; z-index: 3;
        }
body.tema-cenario_2 .btn-opcao::before {
            content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
            background: #38bdf8; transform: scaleY(0); transition: transform 0.2s ease;
        }
body.tema-cenario_2 .btn-opcao::after {
            content: ''; position: absolute; top: 0; left: -100%; bottom: 0; width: 30%;
            background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
            transform: skewX(-20deg); z-index: -1;
        }
body.tema-cenario_2 .btn-opcao:hover {
            background: rgba(3, 105, 161, 0.2); transform: translateX(8px);
            border-color: #38bdf8; color: #ffffff;
            box-shadow: 0 0 20px rgba(56, 189, 248, 0.2), inset 0 0 10px rgba(0,0,0,0.5);
            text-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
        }
body.tema-cenario_2 .btn-opcao:hover::before { transform: scaleY(1); }
body.tema-cenario_2 .btn-opcao:hover::after { animation: scanner 0.8s ease-out forwards; }
@keyframes scanner { 0% { left: -100%; } 100% { left: 200%; } }

        .btn-opcao:active { transform: translateX(8px) translateY(2px); background: rgba(3, 105, 161, 0.4); }
body.tema-cenario_2 #ui-container {
            align-self: center; text-align: center; background-color: #18181b;
            padding: 25px 40px 20px; border-radius: 0 0 8px 8px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.8), 0 -5px 15px rgba(0,0,0,0.5);
            border: 2px solid #3f3f46; border-top: none; z-index: 10; width: 340px;
            margin-bottom: 10px; position: relative;
            animation: sirene-emergencia 3s infinite;
        }
@keyframes sirene-emergencia {
            0%, 100% { box-shadow: 0 15px 30px rgba(0,0,0,0.9), 0 -2px 20px rgba(220, 38, 38, 0.1); }
50% { box-shadow: 0 15px 30px rgba(0,0,0,0.9), 0 -15px 40px rgba(220, 38, 38, 0.4); }
}
        
        body.tema-cenario_2 #ui-container::before {
            content: ''; position: absolute; top: -10px; left: -2px; right: -2px; height: 12px;
            background: repeating-linear-gradient(135deg, #eab308, #eab308 15px, #171717 15px, #171717 30px);
            border: 2px solid #3f3f46; border-bottom: none; border-radius: 8px 8px 0 0;
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.8);
        }
body.tema-cenario_2 #mensagem { 
            font-size: 17px; font-weight: 700; color: #f3f4f6; margin-bottom: 18px; 
            text-transform: uppercase; letter-spacing: 2px;
            font-family: 'Share Tech Mono', monospace; text-shadow: 0 0 5px rgba(255,255,255,0.3);
        }
body.tema-cenario_2 button.btn-principal {
            background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%); color: white;
            border: 2px solid #7f1d1d; padding: 16px 24px 16px 48px;
            font-size: 18px; font-weight: 800; border-radius: 6px; cursor: pointer;
            width: 100%; text-transform: uppercase; letter-spacing: 1.5px;
            transition: all 0.1s ease;
            box-shadow: 0 6px 0px #7f1d1d, 0 10px 15px rgba(0,0,0,0.5), inset 0 2px 2px rgba(255,255,255,0.2);
            position: relative; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
body.tema-cenario_2 button.btn-principal::before {
            content: '🦴'; 
            position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
            font-size: 20px; filter: grayscale(100%) brightness(200%);
        }
body.tema-cenario_2 button.btn-principal:hover {
            background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%); transform: translateY(2px);
            box-shadow: 0 4px 0px #7f1d1d, 0 6px 10px rgba(0,0,0,0.5), inset 0 2px 2px rgba(255,255,255,0.3);
        }
body.tema-cenario_2 button.btn-principal:active {
            transform: translateY(6px); box-shadow: 0 0px 0px #7f1d1d, inset 0 4px 6px rgba(0,0,0,0.4);
        }
    

body.tema-cenario_3 * { box-sizing: border-box; margin: 0; padding: 0; }
body.tema-cenario_3 { 
            background: radial-gradient(circle at 50% 20%, #ffdf9e 0%, #d87d26 40%, #8c3f15 75%, #301103 100%); 
            font-family: 'Lora', 'Georgia', serif; 
            height: 100vh; 
            width: 100vw;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 20px;
            overflow: hidden;
            position: relative;
        }
body.tema-cenario_3::before {
            content: "";
            position: absolute;
            top: -5%;
            left: -5%;
            width: 110%;
            height: 110%;
            background: inherit;
            filter: blur(2px);
            opacity: 0.25;
            z-index: 0;
            pointer-events: none;
            animation: mirage-pulse 6s ease-in-out infinite alternate;
        }
@keyframes mirage-pulse {
            0% {
                transform: scale(1) skewX(0deg);
                filter: blur(2px) brightness(1);
            }
50% {
                transform: scale(1.02) skewX(0.7deg) translateY(-2px);
                filter: blur(3px) brightness(1.05);
            }
100% {
                transform: scale(1.01) skewX(-0.7deg) translateY(1px);
                filter: blur(2px) brightness(0.98);
            }
}

        
        body.tema-cenario_3::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 200%;
            height: 100%;
            background: repeating-linear-gradient(
                105deg,
                rgba(238, 197, 131, 0) 0%,
                rgba(238, 197, 131, 0.05) 8%,
                rgba(238, 197, 131, 0.1) 12%,
                rgba(238, 197, 131, 0.05) 16%,
                rgba(238, 197, 131, 0) 24%,
                rgba(255, 235, 190, 0.07) 32%,
                rgba(238, 197, 131, 0) 45%
            );
            background-size: 200vw 100vh;
            z-index: 2;
            pointer-events: none;
            animation: sandstorm-move 10s linear infinite;
        }
@keyframes sandstorm-move {
            0% {
                transform: translateX(0);
            }
100% {
                transform: translateX(-50%);
            }
}

        @keyframes torch-flicker {
            0%, 100% { filter: brightness(1); }
25% { filter: brightness(0.96) drop-shadow(0 0 2px rgba(212, 175, 55, 0.1)); }
50% { filter: brightness(1.04) drop-shadow(0 0 8px rgba(212, 175, 55, 0.4)); }
75% { filter: brightness(0.98) drop-shadow(0 0 4px rgba(212, 175, 55, 0.2)); }
}
        
        
        #controles-topo { display: flex; gap: 10px; z-index: 20; }
body.tema-cenario_3 #controles-topo button { 
            background: linear-gradient(135deg, #e3d2be 0%, #bca68a 100%); 
            color: #2b180d; 
            border: 2px solid #7c624b; 
            padding: 10px 18px; 
            font-size: 14px; 
            font-family: 'Cinzel', serif;
            border-radius: 4px; 
            cursor: pointer; 
            font-weight: bold; 
            box-shadow: 
                0 3px 0px #5c4430,
                0 4px 8px rgba(0,0,0,0.5);
            text-shadow: 1px 1px 0px rgba(255,255,255,0.4);
            transition: all 0.15s ease; 
        }
body.tema-cenario_3 #controles-topo button:hover { 
            background: linear-gradient(135deg, #efe2d1 0%, #c9b59b 100%); 
            transform: translateY(-2px); 
            box-shadow: 
                0 5px 0px #5c4430,
                0 6px 12px rgba(0,0,0,0.6);
        }
body.tema-cenario_3 #controles-topo button:active {
            transform: translateY(3px);
            box-shadow: 
                0 0px 0px #5c4430,
                inset 0 3px 5px rgba(0,0,0,0.4);
        }
body.tema-cenario_3 {
            --papyrus-gold-bg: 
                radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(60, 30, 10, 0.3) 100%) padding-box,
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150' opacity='0.08' fill='none' stroke='%232b1205' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30,30 C40,30 40,50 30,50 C20,50 20,30 30,30 Z M30,50 L30,85 M15,60 L45,60'/%3E%3Cpath d='M80,30 L95,15 L110,30 L125,15 L140,30 M80,45 L95,30 L110,45 L125,30 L140,45'/%3E%3Cpath d='M20,110 Q45,90 70,110 Q45,130 20,110 Z'/%3E%3Ccircle cx='45' cy='110' r='6' fill='%232b1205'/%3E%3Cpath d='M45,116 L45,130 M45,116 Q35,130 20,135'/%3E%3Cpath d='M100,100 A20,20 0 0,0 140,100 Z'/%3E%3Cline x1='100' y1='100' x2='140' y2='100'/%3E%3C/svg%3E") padding-box,
                repeating-linear-gradient(90deg, rgba(100, 60, 30, 0.05) 0px, rgba(100, 60, 30, 0.05) 1px, transparent 1px, transparent 4px) padding-box,
                repeating-linear-gradient(0deg, rgba(100, 60, 30, 0.05) 0px, rgba(100, 60, 30, 0.05) 1px, transparent 1px, transparent 4px) padding-box,
                linear-gradient(#d1b790, #ba9966) padding-box,
                linear-gradient(135deg, #8a6327 0%, #ffd700 25%, #fff0b3 50%, #d4af37 75%, #4a340b 100%) border-box;
        }
body.tema-cenario_3 #painel-placar { 
            position: absolute; 
            top: 20px; 
            right: 20px; 
            background: var(--papyrus-gold-bg); 
            padding: 15px; 
            border: 8px solid transparent;
            border-radius: 40px; 
            box-shadow: 
                0 0 10px rgba(212, 175, 55, 0.6),
                0 12px 25px rgba(0,0,0,0.7); 
            width: 250px; 
            z-index: 10;
            animation: torch-flicker 3.5s infinite alternate ease-in-out;
        }
body.tema-cenario_3 #painel-placar h3 {
            font-family: 'Cinzel', serif;
            font-weight: 700;
            color: #2b180d !important;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-bottom: 2px solid #d4af37;
            padding-bottom: 8px;
            margin-bottom: 12px !important;
            text-shadow: 1px 1px 0px rgba(255,255,255,0.4);
        }
body.tema-cenario_3 .grupo-placar { 
            margin-bottom: 10px; 
            font-family: 'Cinzel', serif;
            font-weight: bold; 
            font-size: 15px; 
            padding: 10px; 
            border-radius: 4px; 
            color: white; 
            text-shadow: 1px 1px 3px rgba(0,0,0,0.8); 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            box-shadow: 0 4px 6px rgba(0,0,0,0.3);
            border: 1px solid rgba(255, 255, 255, 0.15);
            transition: all 0.3s ease;
        }
body.tema-cenario_3 .grupo-placar[style*="e74c3c"] {
            background: linear-gradient(135deg, #a82e21 0%, #761a10 100%) !important;
            border: 2px solid #d4af37 !important;
            box-shadow: 
                0 4px 6px rgba(0,0,0,0.4),
                0 0 10px rgba(168, 46, 33, 0.4);
        }
body.tema-cenario_3 .grupo-placar[style*="3498db"] {
            background: linear-gradient(135deg, #16375c 0%, #0d2139 100%) !important;
            border: 2px solid #5c84a8 !important;
            box-shadow: 
                0 4px 6px rgba(0,0,0,0.4);
        }
body.tema-cenario_3 #ambiente-jogo-preview {
            position: absolute;
            top: 48%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 400px;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
        }
body.tema-cenario_3 .casa-isometrica {
            width: 140px;
            height: 140px;
            background: linear-gradient(135deg, #e3c16a 0%, #b89030 100%);
            transform: rotateX(60deg) rotateZ(-45deg);
            box-shadow: 
                -12px 12px 0px #806117, 
                -13px 13px 0px #2b180d,
                -25px 25px 35px rgba(0,0,0,0.7);
            border-radius: 4px;
            position: relative;
            border: 2px solid #fff3cc;
        }
body.tema-cenario_3 .casa-isometrica::before {
            content: "𓋹"; 
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(45deg);
            font-size: 55px;
            color: rgba(43, 24, 13, 0.45);
            text-shadow: 1px 1px 1px rgba(255,255,255,0.3);
            font-family: 'Segoe UI Symbol', sans-serif;
        }
body.tema-cenario_3 .peao-erlenmeyer {
            position: absolute;
            bottom: 120px;
            width: 50px;
            height: 65px;
            z-index: 2;
            filter: drop-shadow(-5px 12px 6px rgba(0,0,0,0.6));
            animation: flutuar-egito 3s ease-in-out infinite;
        }
body.tema-cenario_3 .peao-erlenmeyer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 16px;
            width: 18px;
            height: 25px;
            background: #d4af37; 
            border: 2px solid #5c440a;
            border-bottom: none;
            border-radius: 4px 4px 0 0;
            box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
        }
body.tema-cenario_3 .peao-erlenmeyer::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 45px;
            background: linear-gradient(to top, #9e2a2b 75%, transparent 75%); 
            background-color: rgba(212, 175, 55, 0.2); 
            border: 2px solid #d4af37; 
            clip-path: polygon(35% 0%, 65% 0%, 100% 100%, 0% 100%);
            border-radius: 0 0 4px 4px;
            box-shadow: inset 0 0 8px rgba(212, 175, 55, 0.6);
        }
@keyframes flutuar-egito {
            0%, 100% { 
                transform: translateY(0); 
                filter: drop-shadow(-5px 12px 6px rgba(0,0,0,0.6)) drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
            }
50% { 
                transform: translateY(-12px); 
                filter: drop-shadow(-10px 24px 12px rgba(0,0,0,0.4)) drop-shadow(0 0 16px rgba(212, 175, 55, 0.7));
            }
}

        
body.tema-cenario_3 #ui-container { 
            position: relative;
            align-self: center;
            text-align: center; 
            background: var(--papyrus-gold-bg);
            padding: 20px 40px; 
            border: 8px solid transparent;
            border-radius: 50px; 
            box-shadow: 
                0 0 10px rgba(212, 175, 55, 0.6),
                0 15px 35px rgba(0,0,0,0.7); 
            z-index: 10; 
            width: 350px;
            margin-bottom: 10px;
            animation: torch-flicker 4s infinite alternate ease-in-out 1s;
        }
body.tema-cenario_3 #mensagem { 
            font-size: 18px; 
            font-weight: bold; 
            font-family: 'Cinzel', serif;
            color: #2b180d; 
            margin-bottom: 15px; 
            text-shadow: 1px 1px 0px rgba(255,255,255,0.4);
            letter-spacing: 0.5px;
        }
body.tema-cenario_3 button.btn-principal { 
            background: radial-gradient(circle at 35% 30%, #ff5252 0%, #ff1744 35%, #9e2a2b 75%, #520b0b 100%); 
            color: white; 
            border: 4px solid #d4af37; 
            padding: 14px 24px; 
            font-size: 17px; 
            font-weight: 900; 
            font-family: 'Cinzel', serif;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: 30px; 
            cursor: pointer; 
            width: 100%; 
            transition: all 0.2s ease;
            box-shadow: 
                0 5px 0px #9b7522, 
                0 0 15px rgba(255, 23, 68, 0.5), 
                0 8px 15px rgba(0,0,0,0.5);
            text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 0 8px rgba(255,255,255,0.3);
            position: relative;
            overflow: hidden;
        }
body.tema-cenario_3 button.btn-principal::before {
            content: "";
            position: absolute;
            top: 0; left: 0; width: 100%; height: 50%;
            background: linear-gradient(to bottom, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 100%);
            border-radius: 30px 30px 0 0;
            pointer-events: none;
        }
body.tema-cenario_3 button.btn-principal:hover { 
            filter: brightness(1.15); 
            box-shadow: 
                0 7px 0px #9b7522,
                0 0 25px rgba(255, 23, 68, 0.7),
                0 10px 20px rgba(0,0,0,0.6);
            transform: translateY(-2px); 
        }
body.tema-cenario_3 button.btn-principal:active {
            transform: translateY(5px);
            box-shadow: 
                0 0px 0px #9b7522,
                inset 0 4px 8px rgba(0,0,0,0.8),
                0 2px 4px rgba(0,0,0,0.2);
        }
body.tema-cenario_3 .area-quiz-container {
            width: 100%;
            display: flex;
            justify-content: center;
            z-index: 5;
            margin-top: 20px;
        }
body.tema-cenario_3 #quiz-content { 
            position: relative;
            background: var(--papyrus-gold-bg);
            padding: 30px; 
            border: 8px solid transparent;
            border-radius: 40px; 
            width: 100%; 
            max-width: 580px; 
            text-align: center; 
            box-shadow: 
                0 0 15px rgba(212, 175, 55, 0.6),
                0 20px 45px rgba(0,0,0,0.8); 
            z-index: 10;
            animation: torch-flicker 5s infinite alternate ease-in-out 0.5s;
        }
body.tema-cenario_3 #pergunta-texto { 
            font-size: 19px; 
            font-family: 'Cinzel', serif;
            font-weight: 700;
            color: #2b180d; 
            margin-bottom: 22px; 
            text-shadow: 1px 1px 0px rgba(255,255,255,0.4);
            line-height: 1.4;
        }
body.tema-cenario_3 .btn-opcao::first-letter {
            color: #2b180d;
            background: linear-gradient(135deg, #e3c16a 0%, #b89030 100%);
            padding: 2px 8px;
            border-radius: 50%;
            border: 1px solid #fff3cc;
            box-shadow: 0 2px 4px rgba(0,0,0,0.8), inset 0 1px 2px rgba(255,255,255,0.6);
            font-family: 'Cinzel', serif;
            font-weight: 900;
            margin-right: 6px;
            text-shadow: none;
        }
body.tema-cenario_3 .btn-opcao { 
            display: block; 
            width: 100%; 
            margin: 12px 0; 
            background: 
                radial-gradient(circle at 10% 25%, rgba(212, 175, 55, 0.12) 1px, transparent 2px),
                radial-gradient(circle at 85% 75%, rgba(212, 175, 55, 0.12) 2px, transparent 3px),
                repeating-linear-gradient(45deg, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 2px, transparent 2px, transparent 8px),
                linear-gradient(135deg, #1c3c61 0%, #10263f 50%, #081525 100%); 
            text-align: left; 
            padding: 14px 22px; 
            font-size: 16px; 
            font-family: 'Lora', serif;
            border-radius: 4px; 
            border: 2px solid #b89030; 
            color: #fffae8; 
            cursor: pointer; 
            font-weight: 600; 
            box-shadow: 
                0 4px 0px #06111e, 
                0 6px 12px rgba(0,0,0,0.5);
            text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
            transition: all 0.15s ease-out;
            transform: translateY(0);
        }
body.tema-cenario_3 .btn-opcao:hover { 
            filter: brightness(1.2); 
            box-shadow: 
                0 5px 0px #06111e,
                0 8px 16px rgba(212, 175, 55, 0.25);
            transform: translateY(-2px);
        }
body.tema-cenario_3 .btn-opcao:active {
            transform: translateY(4px);
            box-shadow: 
                0 0px 0px #06111e,
                inset 0 4px 8px rgba(0,0,0,0.7),
                0 2px 4px rgba(0,0,0,0.2);
        }
    

body.tema-cenario_4 * { box-sizing: border-box; margin: 0; padding: 0; }
body.tema-cenario_4 { 
            background: transparent; 
            font-family: 'Share Tech Mono', monospace; 
            height: 100vh; 
            width: 100vw;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 20px;
            overflow: hidden;
            position: relative;
        }

@keyframes panel-flicker {
            0%, 100% { filter: brightness(1); }
5% { filter: brightness(1.2); }
10% { filter: brightness(0.9); }
}
        
        
        
        #controles-topo { display: flex; gap: 10px; z-index: 20; }
body.tema-cenario_4 #controles-topo button { 
            background: linear-gradient(135deg, rgba(14, 25, 45, 0.8) 0%, rgba(2, 6, 23, 0.9) 100%);
            color: #00ffff; 
            border: 1px solid rgba(0, 255, 255, 0.5); 
            padding: 10px 18px; 
            font-size: 14px; 
            font-family: 'Orbitron', sans-serif;
            border-radius: 4px; 
            cursor: pointer; 
            font-weight: bold; 
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
            text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
            transition: all 0.2s ease; 
            backdrop-filter: blur(5px);
        }
body.tema-cenario_4 #controles-topo button:hover { 
            background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(2, 6, 23, 0.9) 100%);
            transform: translateY(-2px); 
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
            border-color: #00ffff;
        }
body.tema-cenario_4 #controles-topo button:active {
            transform: translateY(1px);
            box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.4);
        }
body.tema-cenario_4 {
            --glass-panel-bg: 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 50 l25 -43.3 l50 0 l25 43.3 l-25 43.3 l-50 0 z' fill='none' stroke='%2300ffff' stroke-width='0.5' stroke-opacity='0.15'/%3E%3C/svg%3E"),
                radial-gradient(ellipse at center, rgba(14, 25, 45, 0.6) 0%, rgba(2, 6, 23, 0.9) 100%);
            --glass-border: 1px solid rgba(0, 255, 255, 0.3);
        }
body.tema-cenario_4 #painel-placar { 
            position: absolute; 
            top: 20px; 
            right: 20px; 
            background: var(--glass-panel-bg); 
            padding: 15px; 
            border: var(--glass-border);
            border-radius: 10px; 
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.15), inset 0 0 20px rgba(0, 0, 0, 0.8); 
            width: 250px; 
            z-index: 10;
            backdrop-filter: blur(10px);
            animation: panel-flicker 8s infinite alternate ease-in-out;
        }
body.tema-cenario_4 #painel-placar h3 {
            font-family: 'Orbitron', sans-serif;
            font-weight: 700;
            color: #ffffff !important;
            letter-spacing: 2px;
            text-transform: uppercase;
            border-bottom: 1px solid rgba(0, 255, 255, 0.3);
            padding-bottom: 8px;
            margin-bottom: 12px !important;
            text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
        }
body.tema-cenario_4 .grupo-placar { 
            margin-bottom: 10px; 
            font-family: 'Share Tech Mono', monospace;
            font-weight: bold; 
            font-size: 15px; 
            padding: 10px; 
            border-radius: 4px; 
            color: #00ffff; 
            text-shadow: 0 0 5px rgba(0, 255, 255, 0.5); 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
            border: 1px solid rgba(0, 255, 255, 0.2);
            transition: all 0.3s ease;
            background: rgba(0, 0, 0, 0.4);
        }
body.tema-cenario_4 .grupo-placar[style*="e74c3c"] {
            border-left: 3px solid #ff007f !important;
            border-right: none !important;
            border-top: none !important;
            border-bottom: none !important;
            box-shadow: inset 0 0 10px rgba(255, 0, 127, 0.2);
            color: #ffb3d9;
        }
body.tema-cenario_4 .grupo-placar[style*="3498db"] {
            border-left: 3px solid #00ffff !important;
            border-right: none !important;
            border-top: none !important;
            border-bottom: none !important;
            box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.2);
            color: #b3ffff;
        }
body.tema-cenario_4 .grupo-placar.vez-atual {
            animation: pulse-neon 1.5s infinite alternate;
        }
@keyframes pulse-neon {
            0% { box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.2), 0 0 5px rgba(0, 255, 255, 0.2); border-color: rgba(0,255,255,0.5); }
100% { box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.5), 0 0 15px rgba(0, 255, 255, 0.6); border-color: #00ffff; }
}
        
        
        #ambiente-jogo-preview {
            position: absolute;
            top: 48%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 400px;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
        }
body.tema-cenario_4 .casa-isometrica {
            width: 140px;
            height: 140px;
            background: linear-gradient(135deg, rgba(14, 25, 45, 0.9) 0%, rgba(2, 6, 23, 1) 100%);
            transform: rotateX(60deg) rotateZ(-45deg);
            box-shadow: 
                -4px 4px 0px rgba(0, 255, 255, 0.2), 
                -8px 8px 0px rgba(0, 0, 0, 0.8),
                -15px 15px 25px rgba(0, 255, 255, 0.1);
            border-radius: 4px;
            position: relative;
            border: 2px solid #00ffff;
            background-image: 
                linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
        }
body.tema-cenario_4 .casa-isometrica::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(0,255,255,0.4) 0%, transparent 60%);
            border: 2px dashed rgba(0,255,255,0.5);
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
        }
body.tema-cenario_4 .peao-erlenmeyer {
            position: absolute;
            bottom: 120px;
            width: 40px;
            height: 60px;
            z-index: 2;
            filter: drop-shadow(0px 15px 10px rgba(0,255,255,0.4));
            animation: flutuar-espaco 3s ease-in-out infinite;
        }
body.tema-cenario_4 .peao-erlenmeyer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 10px;
            width: 20px;
            height: 20px;
            background: #ffffff;
            border-radius: 50%;
            box-shadow: 0 0 15px #00ffff, 0 0 30px #00ffff;
        }
body.tema-cenario_4 .peao-erlenmeyer::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 45px;
            background: linear-gradient(to top, rgba(0, 255, 255, 0.8) 0%, transparent 100%);
            clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
        }
@keyframes flutuar-espaco {
            0%, 100% { 
                transform: translateY(0); 
                filter: drop-shadow(0px 15px 5px rgba(0,255,255,0.2));
            }
50% { 
                transform: translateY(-10px); 
                filter: drop-shadow(0px 25px 15px rgba(0,255,255,0.5));
            }
}

        
body.tema-cenario_4 #ui-container { 
            position: relative;
            align-self: center;
            text-align: center; 
            background: var(--glass-panel-bg);
            padding: 20px 40px; 
            border: var(--glass-border);
            border-radius: 10px; 
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.1), inset 0 0 40px rgba(0,0,0,0.8);
            width: 360px; 
            margin-bottom: 10px;
            z-index: 10;
            backdrop-filter: blur(8px);
        }
body.tema-cenario_4 #mensagem { 
            font-size: 22px; 
            font-weight: 700; 
            color: #ffffff; 
            margin-bottom: 20px; 
            font-family: 'Orbitron', sans-serif;
            text-shadow: 0 0 8px rgba(0, 255, 255, 0.8); 
            letter-spacing: 1px;
        }
body.tema-cenario_4 button.btn-principal { 
            background: linear-gradient(135deg, rgba(14, 25, 45, 0.8) 0%, rgba(2, 6, 23, 0.9) 100%);
            color: #00ffff; 
            border: 1px solid rgba(0, 255, 255, 0.5); 
            padding: 18px 45px; 
            font-size: 20px; 
            font-family: 'Orbitron', sans-serif;
            border-radius: 4px; 
            cursor: pointer; 
            font-weight: bold; 
            text-transform: uppercase; 
            letter-spacing: 2px;
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
            text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
            transition: all 0.2s ease; 
            backdrop-filter: blur(5px);
        }
body.tema-cenario_4 button.btn-principal:hover { 
            background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(2, 6, 23, 0.9) 100%);
            box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
            border-color: #00ffff;
            transform: translateY(-2px); 
        }
body.tema-cenario_4 button.btn-principal:active {
            transform: translateY(2px);
            box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.4);
        }
body.tema-cenario_4 .area-quiz-container {
            width: 100%;
            display: flex;
            justify-content: center;
            z-index: 5;
            margin-top: 20px;
        }
body.tema-cenario_4 #quiz-content { 
            position: relative;
            background: var(--glass-panel-bg);
            padding: 30px; 
            border: var(--glass-border);
            border-radius: 10px; 
            width: 100%; 
            max-width: 580px; 
            text-align: center; 
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.15), inset 0 0 30px rgba(0, 0, 0, 0.8); 
            z-index: 10;
            backdrop-filter: blur(10px);
            animation: panel-flicker 5s infinite alternate ease-in-out 0.5s;
        }
body.tema-cenario_4 #pergunta-texto { 
            font-size: 19px; 
            font-family: 'Orbitron', sans-serif;
            font-weight: 700;
            color: #ffffff; 
            margin-bottom: 22px; 
            text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
            line-height: 1.4;
            border-bottom: 1px solid rgba(0, 255, 255, 0.3);
            padding-bottom: 15px;
        }
body.tema-cenario_4 .btn-opcao::first-letter {
            color: #00ffff;
            background: transparent;
            padding: 0;
            border-radius: 0;
            border: none;
            box-shadow: none;
            font-family: 'Orbitron', sans-serif;
            font-weight: 900;
            margin-right: 8px;
            text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
        }
body.tema-cenario_4 .btn-opcao { 
            display: block; 
            width: 100%; 
            margin: 12px 0; 
            background: rgba(14, 25, 45, 0.6);
            text-align: left; 
            padding: 14px 22px; 
            font-size: 16px; 
            font-family: 'Share Tech Mono', monospace;
            border-radius: 4px; 
            border: 1px solid rgba(0, 255, 255, 0.3); 
            color: #00ffff; 
            cursor: pointer; 
            font-weight: 600; 
            box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
            text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
            transition: all 0.2s ease-out;
            transform: translateY(0);
            backdrop-filter: blur(4px);
        }
body.tema-cenario_4 .btn-opcao:hover { 
            background: rgba(0, 255, 255, 0.1); 
            transform: translateX(5px); 
            border-color: #00ffff;
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.4), inset 0 0 10px rgba(0, 255, 255, 0.2);
            color: #ffffff;
        }
body.tema-cenario_4 .btn-opcao:active {
            transform: translateX(2px) scale(0.98);
        }
    

body.tema-cenario_5 * { box-sizing: border-box; margin: 0; padding: 0; }
body.tema-cenario_5 { 
            background: transparent; 
            font-family: 'Marcellus', serif; 
            height: 100vh; 
            width: 100vw;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 20px;
            overflow: hidden;
            position: relative;
        }
body.tema-cenario_5 {
            --marble-bg: linear-gradient(135deg, #ffffff 0%, #f8f6f0 40%, #ffffff 60%, #eeeadd 100%);
            --gold-accent: #d4af37;
            --gold-dark: #b8860b;
            --text-dark: #2c3e50;
            --shadow-divine: 0 20px 40px rgba(0, 0, 0, 0.15), inset 0 0 30px rgba(255, 255, 255, 1);
        }
body.tema-cenario_5 #controles-topo { display: flex; gap: 12px; z-index: 20; }
body.tema-cenario_5 #controles-topo button { 
            background: linear-gradient(135deg, #ffffff 0%, #f4f0e6 100%);
            color: var(--text-dark); 
            border: 2px solid var(--gold-accent); 
            padding: 12px 20px; 
            font-size: 15px; 
            font-family: 'Cinzel', serif;
            border-radius: 4px; 
            cursor: pointer; 
            font-weight: 700; 
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), inset 0 0 5px rgba(255, 255, 255, 1);
            text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
            transition: all 0.3s ease; 
            text-transform: uppercase;
            letter-spacing: 1.5px;
            position: relative;
            overflow: hidden;
        }
body.tema-cenario_5 #controles-topo button::before {
            content: '';
            position: absolute;
            top: 3px; left: 3px; right: 3px; bottom: 3px;
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 2px;
            pointer-events: none;
        }
body.tema-cenario_5 #controles-topo button:hover { 
            background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
            transform: translateY(-2px); 
            box-shadow: 0 8px 15px rgba(212, 175, 55, 0.25), inset 0 0 8px rgba(255, 255, 255, 1);
            border-color: var(--gold-dark);
            color: var(--gold-dark);
        }
body.tema-cenario_5 #controles-topo button:active {
            transform: translateY(1px);
            box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
        }
body.tema-cenario_5 #painel-placar { 
            position: absolute; 
            top: 20px; 
            right: 20px; 
            background: var(--marble-bg); 
            padding: 20px; 
            border: 2px solid var(--gold-accent);
            border-radius: 8px; 
            box-shadow: var(--shadow-divine); 
            width: 270px; 
            z-index: 10;
        }
body.tema-cenario_5 #painel-placar::before {
            content: '';
            position: absolute;
            top: 5px; left: 5px; right: 5px; bottom: 5px;
            border: 1px solid rgba(212, 175, 55, 0.4);
            border-radius: 4px;
            pointer-events: none;
        }
body.tema-cenario_5 #painel-placar h3 {
            font-family: 'Cinzel', serif;
            font-weight: 700;
            color: var(--gold-dark) !important;
            letter-spacing: 2px;
            text-transform: uppercase;
            border-bottom: 2px solid rgba(212, 175, 55, 0.5);
            padding-bottom: 12px;
            margin-bottom: 15px !important;
            text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
            text-align: center;
            position: relative;
        }
body.tema-cenario_5 #painel-placar h3::after {
            content: '✦';
            position: absolute;
            bottom: -9px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--gold-accent);
            font-size: 14px;
            background: #ffffff;
            padding: 0 8px;
            border-radius: 50%;
        }
body.tema-cenario_5 .grupo-placar { 
            margin-bottom: 12px; 
            font-family: 'Marcellus', serif;
            font-weight: bold; 
            font-size: 16px; 
            padding: 12px; 
            border-radius: 4px; 
            color: var(--text-dark); 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            background: linear-gradient(to right, #ffffff, #f4f0e6);
            border: 1px solid #c9c3b8;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), inset 0 0 10px rgba(255, 255, 255, 1);
            transition: all 0.3s ease;
            position: relative;
        }
body.tema-cenario_5 .grupo-placar[style*="e74c3c"] {
            border-left: 5px solid #c0392b !important;
            color: #8e44ad; 
        }
body.tema-cenario_5 .grupo-placar[style*="3498db"] {
            border-left: 5px solid #2980b9 !important;
            color: #2980b9;
        }
body.tema-cenario_5 .grupo-placar.vez-atual {
            animation: pulse-divine 2.5s infinite alternate;
        }
@keyframes pulse-divine {
            0% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.3), inset 0 0 10px rgba(255, 255, 255, 1); border-color: #d4af37; transform: scale(1); }
100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.6), inset 0 0 15px rgba(255, 255, 255, 1); border-color: #f1c40f; transform: scale(1.02); }
}
        
        
        #ambiente-jogo-preview {
            position: absolute;
            top: 48%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 400px;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
        }
body.tema-cenario_5 .casa-isometrica {
            width: 140px;
            height: 140px;
            background: var(--marble-bg);
            transform: rotateX(60deg) rotateZ(-45deg);
            box-shadow: 
                -2px 2px 0px #e0dcd3, 
                -4px 4px 0px #d5d0c5,
                -6px 6px 0px #cac4b8,
                -15px 15px 25px rgba(0, 0, 0, 0.2);
            border-radius: 2px;
            position: relative;
            border: 2px solid var(--gold-accent);
        }
body.tema-cenario_5 .casa-isometrica::after {
            content: "";
            position: absolute;
            top: 10px; left: 10px; right: 10px; bottom: 10px;
            border: 2px solid rgba(212, 175, 55, 0.4);
            outline: 1px solid rgba(212, 175, 55, 0.4);
            outline-offset: -4px;
        }
body.tema-cenario_5 .peao-erlenmeyer {
            position: absolute;
            bottom: 120px;
            width: 30px;
            height: 70px;
            z-index: 2;
            filter: drop-shadow(0px 15px 10px rgba(0, 0, 0, 0.2));
            animation: flutuar-divino 4s ease-in-out infinite;
        }
body.tema-cenario_5 .peao-erlenmeyer::before {
            content: '';
            position: absolute;
            top: -12px;
            left: 5px;
            width: 20px;
            height: 20px;
            background: radial-gradient(circle, #fcf6ba, #d4af37);
            border-radius: 50%;
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
            z-index: 3;
        }
body.tema-cenario_5 .peao-erlenmeyer::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 70px;
            background: linear-gradient(to right, #e2dfd8 0%, #ffffff 50%, #d5d0c5 100%);
            border-radius: 2px;
            border: 1px solid #c9c3b8;
            box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
        }
@keyframes flutuar-divino {
            0%, 100% { transform: translateY(0); filter: drop-shadow(0px 15px 10px rgba(0, 0, 0, 0.2)); }
50% { transform: translateY(-8px); filter: drop-shadow(0px 25px 15px rgba(0, 0, 0, 0.15)); }
}

        
body.tema-cenario_5 #ui-container { 
            position: relative;
            align-self: center;
            text-align: center; 
            background: var(--marble-bg);
            padding: 25px 50px; 
            border: 2px solid var(--gold-accent);
            border-radius: 8px; 
            box-shadow: var(--shadow-divine);
            width: 380px; 
            margin-bottom: 20px;
            z-index: 10;
        }
body.tema-cenario_5 #ui-container::before {
            content: '';
            position: absolute;
            top: 6px; left: 6px; right: 6px; bottom: 6px;
            border: 1px solid rgba(212, 175, 55, 0.4);
            border-radius: 4px;
            pointer-events: none;
        }
body.tema-cenario_5 #mensagem { 
            font-size: 20px; 
            font-weight: 700; 
            color: var(--text-dark); 
            margin-bottom: 20px; 
            font-family: 'Cinzel', serif;
            text-shadow: 2px 2px 0px rgba(255, 255, 255, 1); 
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }
body.tema-cenario_5 button.btn-principal { 
            background: linear-gradient(135deg, #ffffff 0%, #f4f0e6 100%);
            color: var(--gold-dark); 
            border: 2px solid var(--gold-accent); 
            padding: 12px 36px; 
            font-size: 16px; 
            font-family: 'Cinzel', serif;
            border-radius: 4px; 
            cursor: pointer; 
            font-weight: 700; 
            text-transform: uppercase; 
            letter-spacing: 2px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 1);
            text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
            transition: all 0.3s ease; 
            position: relative;
            overflow: hidden;
        }
body.tema-cenario_5 button.btn-principal::before {
            content: '';
            position: absolute;
            top: 3px; left: 3px; right: 3px; bottom: 3px;
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 2px;
            pointer-events: none;
        }
body.tema-cenario_5 button.btn-principal::after {
            content: '';
            position: absolute;
            top: -50%; left: -50%;
            width: 200%; height: 200%;
            background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
            transform: rotate(30deg) translateY(-50%) translateX(-100%);
            transition: all 0.7s ease;
        }
body.tema-cenario_5 button.btn-principal:hover::after {
            transform: rotate(30deg) translateY(-50%) translateX(100%);
        }
body.tema-cenario_5 button.btn-principal:hover { 
            background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
            box-shadow: 0 12px 25px rgba(212, 175, 55, 0.3), inset 0 0 15px rgba(255, 255, 255, 1);
            border-color: #f1c40f;
            transform: translateY(-3px); 
            color: #8c6608;
        }
body.tema-cenario_5 button.btn-principal:active {
            transform: translateY(2px);
            box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.1);
        }
body.tema-cenario_5 .area-quiz-container {
            width: 100%;
            display: flex;
            justify-content: center;
            z-index: 5;
            margin-top: 10px;
        }
body.tema-cenario_5 #quiz-content { 
            position: relative;
            background: var(--marble-bg);
            padding: 40px; 
            border: 2px solid var(--gold-accent);
            border-radius: 12px; 
            width: 100%; 
            max-width: 650px; 
            text-align: center; 
            box-shadow: var(--shadow-divine); 
            z-index: 10;
        }
body.tema-cenario_5 #quiz-content::before {
            content: '';
            position: absolute;
            top: 8px; left: 8px; right: 8px; bottom: 8px;
            border: 1px solid rgba(212, 175, 55, 0.5);
            border-radius: 6px;
            pointer-events: none;
        }
body.tema-cenario_5 #quiz-content::after {
            content: '🏛️';
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 32px;
            background: #fcfbf8;
            border: 2px solid var(--gold-accent);
            border-radius: 50%;
            width: 50px; height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            color: #d4af37;
        }
body.tema-cenario_5 #pergunta-texto { 
            font-size: 22px; 
            font-family: 'Cinzel', serif;
            font-weight: 700;
            color: var(--text-dark); 
            margin-bottom: 30px; 
            text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
            line-height: 1.5;
            border-bottom: 2px solid rgba(212, 175, 55, 0.4);
            padding-bottom: 20px;
            position: relative;
        }
body.tema-cenario_5 #pergunta-texto::after {
            content: '❖';
            position: absolute;
            bottom: -11px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--gold-accent);
            font-size: 16px;
            background: #ffffff;
            padding: 0 10px;
            border-radius: 50%;
        }
body.tema-cenario_5 .btn-opcao { 
            display: block; 
            width: 100%; 
            margin: 16px 0; 
            background: linear-gradient(to right, #ffffff, #f9f7f1);
            text-align: left; 
            padding: 16px 25px; 
            font-size: 18px; 
            font-family: 'Marcellus', serif;
            border-radius: 4px; 
            border: 1px solid #dcd7ce; 
            border-left: 5px solid var(--gold-accent);
            color: var(--text-dark); 
            cursor: pointer; 
            font-weight: 600; 
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05), inset 0 0 10px rgba(255, 255, 255, 1);
            transition: all 0.3s ease;
            position: relative;
        }
body.tema-cenario_5 .btn-opcao::first-letter {
            color: var(--gold-dark);
            background: transparent;
            font-family: 'Cinzel', serif;
            font-weight: 700;
            font-size: 24px;
            margin-right: 12px;
            text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
        }
body.tema-cenario_5 .btn-opcao:hover { 
            background: linear-gradient(to right, #ffffff, #fffbf0); 
            transform: translateX(8px) translateY(-2px); 
            border-color: var(--gold-accent);
            box-shadow: 0 8px 15px rgba(212, 175, 55, 0.15), inset 0 0 15px rgba(255, 255, 255, 1);
            color: var(--gold-dark);
        }
body.tema-cenario_5 .btn-opcao:active {
            transform: translateX(3px) scale(0.99);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
    

body.tema-cenario_6 * { box-sizing: border-box; margin: 0; padding: 0; }
body.tema-cenario_6 { 
            background: radial-gradient(circle at 50% -10%, #063954 0%, #02182b 60%, #010a12 100%);
            font-family: 'Montserrat', sans-serif; 
            height: 100vh; 
            width: 100vw;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 20px;
            overflow: hidden;
            position: relative;
        }
body.tema-cenario_6::before {
            content: "";
            position: absolute;
            top: -50%; left: -50%; width: 200%; height: 200%;
            background: 
                radial-gradient(circle at 30% 30%, rgba(0, 210, 211, 0.05) 10%, transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(15, 122, 139, 0.08) 20%, transparent 50%),
                radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.03) 5%, transparent 30%);
            background-size: 150px 150px;
            animation: water-light 12s infinite alternate ease-in-out;
            pointer-events: none;
            z-index: 0;
            opacity: 0.8;
            mix-blend-mode: color-dodge;
        }
@keyframes water-light {
            0% { transform: translateY(0) rotate(0deg) scale(1); }
50% { transform: translateY(15px) rotate(1deg) scale(1.02); opacity: 0.5; }
100% { transform: translateY(0) rotate(0deg) scale(1); }
}

        
        #controles-topo { display: flex; gap: 12px; z-index: 20; position: relative; }
body.tema-cenario_6 #controles-topo button { 
            background: linear-gradient(135deg, rgba(27, 38, 59, 0.8) 0%, rgba(13, 27, 42, 0.9) 100%);
            color: #e2c77a; 
            border: 1px solid #8c6a31; 
            border-radius: 4px; 
            padding: 10px 20px; 
            font-size: 14px; 
            font-family: 'Cinzel', serif;
            cursor: pointer; 
            font-weight: 700; 
            box-shadow: 0 4px 8px rgba(0,0,0,0.5), inset 0 0 8px rgba(197, 160, 89, 0.15);
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
            transition: all 0.3s ease; 
            backdrop-filter: blur(5px);
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
        }
body.tema-cenario_6 #controles-topo button::before {
            content: "";
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
            pointer-events: none;
        }
body.tema-cenario_6 #controles-topo button:hover { 
            background: linear-gradient(135deg, rgba(35, 47, 62, 0.9) 0%, rgba(21, 34, 45, 1) 100%);
            transform: translateY(-2px); 
            box-shadow: 0 6px 12px rgba(0,0,0,0.6), inset 0 0 12px rgba(197, 160, 89, 0.3);
            border-color: #c5a059;
            color: #f3d790;
            text-shadow: 0 0 8px rgba(243, 215, 144, 0.4);
        }
body.tema-cenario_6 #controles-topo button:active {
            transform: translateY(1px);
            box-shadow: inset 0 2px 10px rgba(0,0,0,0.8);
        }
body.tema-cenario_6 {
            --stone-panel-bg: linear-gradient(135deg, rgba(29, 39, 51, 0.85) 0%, rgba(14, 22, 33, 0.95) 100%);
            --stone-border: 2px solid #8c6a31;
            --gold-glow: rgba(197, 160, 89, 0.4);
            --crystal-glow: rgba(0, 210, 211, 0.6);
        }
body.tema-cenario_6 #painel-placar { 
            position: absolute; 
            top: 20px; 
            right: 20px; 
            background: var(--stone-panel-bg);
            padding: 15px; 
            border: var(--stone-border);
            border-radius: 8px; 
            box-shadow: 
                0 10px 25px rgba(0, 0, 0, 0.7), 
                inset 0 0 20px rgba(0, 0, 0, 0.8),
                inset 0 0 8px rgba(197, 160, 89, 0.2); 
            width: 250px; 
            z-index: 10;
            backdrop-filter: blur(10px);
            border-image: linear-gradient(to bottom right, #c5a059, #634a21, #c5a059) 1;
            background-image: 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' opacity='0.03'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)'/%3E%3C/svg%3E"),
                var(--stone-panel-bg);
        }
body.tema-cenario_6 #painel-placar h3 {
            font-family: 'Cinzel Decorative', serif;
            font-weight: 700;
            color: #f3d790 !important;
            letter-spacing: 2px;
            text-transform: uppercase;
            border-bottom: 2px solid rgba(140, 106, 49, 0.6);
            padding-bottom: 8px;
            margin-bottom: 15px !important;
            text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 0 8px rgba(197, 160, 89, 0.4);
            text-align: center;
            position: relative;
        }
body.tema-cenario_6 #painel-placar h3::after {
            content: "";
            position: absolute;
            bottom: -3px; left: 50%; transform: translateX(-50%);
            width: 6px; height: 6px;
            background: #00d2d3;
            border-radius: 50%;
            box-shadow: 0 0 10px #00d2d3, 0 0 20px #00d2d3;
        }
body.tema-cenario_6 .grupo-placar { 
            margin-bottom: 12px; 
            font-family: 'Montserrat', sans-serif;
            font-weight: 600; 
            font-size: 14px; 
            padding: 12px 10px; 
            border-radius: 4px; 
            color: #e0e6ed; 
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.6), 0 2px 4px rgba(0,0,0,0.4);
            border: 1px solid #3a4b61;
            transition: all 0.4s ease;
            background: linear-gradient(to bottom, #233142, #16202c);
            position: relative;
            overflow: hidden;
        }
body.tema-cenario_6 .grupo-placar[style*="e74c3c"] {
            border-left: 3px solid #019a82 !important;
            border-right: 1px solid #16202c !important;
            border-top: 1px solid #16202c !important;
            border-bottom: 1px solid #0f1620 !important;
            color: #c9f5ed;
        }
body.tema-cenario_6 .grupo-placar[style*="e74c3c"]::before {
            content: ""; position: absolute; top:0; left:0; height:100%; width: 25px;
            background: linear-gradient(90deg, rgba(1, 154, 130, 0.25), transparent);
        }
body.tema-cenario_6 .grupo-placar[style*="3498db"] {
            border-left: 3px solid #00d2d3 !important;
            border-right: 1px solid #16202c !important;
            border-top: 1px solid #16202c !important;
            border-bottom: 1px solid #0f1620 !important;
            color: #d8fbfb;
            opacity: 0.85 !important;
        }
body.tema-cenario_6 .grupo-placar[style*="3498db"]::before {
            content: ""; position: absolute; top:0; left:0; height:100%; width: 25px;
            background: linear-gradient(90deg, rgba(0, 210, 211, 0.25), transparent);
        }
body.tema-cenario_6 .grupo-placar.vez-atual {
            animation: pulse-crystal 2.5s infinite alternate;
            border-color: #c5a059 !important;
        }
@keyframes pulse-crystal {
            0% { box-shadow: inset 0 2px 5px rgba(0,0,0,0.5), 0 0 5px rgba(0, 210, 211, 0.2); }
100% { box-shadow: inset 0 2px 5px rgba(0,0,0,0.5), 0 0 15px rgba(0, 210, 211, 0.5); }
}
        
        
        #ambiente-jogo-preview {
            position: absolute;
            top: 48%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 400px;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
        }
body.tema-cenario_6 .casa-isometrica {
            width: 140px;
            height: 140px;
            background: radial-gradient(circle at center, #233442 0%, #111a22 100%);
            transform: rotateX(60deg) rotateZ(-45deg);
            box-shadow: 
                -4px 4px 0px rgba(100, 75, 30, 0.6), 
                -8px 8px 0px rgba(5, 8, 12, 0.9),
                -15px 15px 30px rgba(0, 0, 0, 0.8),
                inset 0 0 25px rgba(0, 210, 211, 0.15);
            border-radius: 8px;
            position: relative;
            border: 2px solid #8c6a31;
            background-image: 
                repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(0,210,211,0.04) 15px, rgba(0,210,211,0.04) 17px),
                repeating-linear-gradient(-45deg, transparent, transparent 15px, rgba(197,160,89,0.04) 15px, rgba(197,160,89,0.04) 17px),
                radial-gradient(circle at center, #233442 0%, #111a22 100%);
            transition: all 0.5s ease;
        }
body.tema-cenario_6 .casa-isometrica::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(45deg);
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, #00d2d3 0%, #085360 100%);
            border: 2px solid #e2c77a;
            box-shadow: 0 0 25px rgba(0, 210, 211, 0.5), inset 0 0 15px rgba(255,255,255,0.4);
            border-radius: 6px;
            animation: pulse-crystal-floor 4s infinite alternate;
        }
@keyframes pulse-crystal-floor {
            0% { box-shadow: 0 0 15px rgba(0, 210, 211, 0.4), inset 0 0 10px rgba(255,255,255,0.3); }
100% { box-shadow: 0 0 30px rgba(0, 210, 211, 0.7), inset 0 0 20px rgba(255,255,255,0.6); }
}
        
        
        .peao-erlenmeyer {
            position: absolute;
            bottom: 120px;
            width: 40px;
            height: 75px;
            z-index: 2;
            filter: drop-shadow(0px 20px 15px rgba(0,0,0,0.7));
            animation: flutuar-agua-peao 5s ease-in-out infinite;
        }
body.tema-cenario_6 .peao-erlenmeyer::before {
            content: '';
            position: absolute;
            top: -12px;
            left: 10px;
            width: 20px;
            height: 20px;
            background: radial-gradient(circle at 35% 35%, #fff2c8, #c5a059, #634a21);
            border-radius: 50%;
            box-shadow: 0 0 12px rgba(197, 160, 89, 0.7), 0 4px 8px rgba(0,0,0,0.6);
            z-index: 3;
        }
body.tema-cenario_6 .peao-erlenmeyer::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 5px;
            width: 30px;
            height: 65px;
            background: linear-gradient(135deg, rgba(0, 210, 211, 0.85) 0%, rgba(1, 154, 130, 0.95) 100%);
            clip-path: polygon(50% 0%, 100% 100%, 80% 100%, 50% 90%, 20% 100%, 0% 100%);
            box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.6);
            border: 1px solid rgba(255,255,255,0.4);
            backdrop-filter: blur(4px);
        }
@keyframes flutuar-agua-peao {
            0%, 100% { 
                transform: translateY(0); 
                filter: drop-shadow(0px 20px 15px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 12px rgba(0, 210, 211, 0.4));
            }
50% { 
                transform: translateY(-15px); 
                filter: drop-shadow(0px 30px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 25px rgba(0, 210, 211, 0.7));
            }
}

        
body.tema-cenario_6 #ui-container { 
            position: relative;
            align-self: center;
            text-align: center; 
            background: var(--stone-panel-bg);
            padding: 25px 45px; 
            border-top: 3px solid #c5a059;
            border-bottom: 3px solid #634a21;
            border-left: 2px solid #8c6a31;
            border-right: 2px solid #8c6a31;
            border-radius: 12px; 
            box-shadow: 
                0 15px 35px rgba(0, 0, 0, 0.8), 
                inset 0 0 50px rgba(10, 15, 20, 0.95),
                0 -5px 20px rgba(0, 210, 211, 0.15);
            width: 380px; 
            margin-bottom: 10px;
            z-index: 10;
            backdrop-filter: blur(12px);
            background-image: 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' opacity='0.03'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)'/%3E%3C/svg%3E"),
                var(--stone-panel-bg);
        }
body.tema-cenario_6 #mensagem { 
            font-size: 24px; 
            font-weight: 700; 
            color: #f3d790; 
            margin-bottom: 25px; 
            font-family: 'Cinzel', serif;
            text-shadow: 0 2px 5px rgba(0,0,0,0.9), 0 0 12px rgba(197, 160, 89, 0.5); 
            letter-spacing: 1.5px;
        }
body.tema-cenario_6 button.btn-principal { 
            background: linear-gradient(to bottom, #2a384b 0%, #15222d 100%);
            color: #ffffff; 
            border: 2px solid #c5a059; 
            padding: 18px 50px; 
            font-size: 20px; 
            font-family: 'Cinzel Decorative', serif;
            border-radius: 8px; 
            cursor: pointer; 
            font-weight: 700; 
            text-transform: uppercase; 
            letter-spacing: 3px;
            box-shadow: 
                0 8px 15px rgba(0,0,0,0.7), 
                inset 0 1px 2px rgba(255,255,255,0.2),
                inset 0 -3px 8px rgba(0,0,0,0.6);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
            position: relative;
            overflow: hidden;
        }
body.tema-cenario_6 button.btn-principal::after {
            content: "";
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(circle at center, rgba(0, 210, 211, 0.2) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
body.tema-cenario_6 button.btn-principal::before {
            content: "";
            position: absolute;
            top: 0; left: -100%; width: 50%; height: 100%;
            background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
            transform: skewX(-25deg);
            transition: all 0.6s ease;
        }
body.tema-cenario_6 button.btn-principal:hover { 
            background: linear-gradient(to bottom, #34475e 0%, #1b2836 100%);
            box-shadow: 
                0 10px 20px rgba(0, 0, 0, 0.8), 
                0 0 20px rgba(0, 210, 211, 0.3),
                inset 0 1px 2px rgba(255,255,255,0.3);
            border-color: #f3d790;
            color: #d8fbfb;
            transform: translateY(-2px); 
        }
body.tema-cenario_6 button.btn-principal:hover::after {
            opacity: 1;
        }
body.tema-cenario_6 button.btn-principal:hover::before {
            left: 200%;
        }
body.tema-cenario_6 button.btn-principal:active {
            transform: translateY(2px);
            box-shadow: 
                0 2px 5px rgba(0,0,0,0.9),
                inset 0 4px 10px rgba(0, 0, 0, 0.7);
            background: linear-gradient(to bottom, #15222d 0%, #2a384b 100%);
            border-color: #8c6a31;
        }
body.tema-cenario_6 .area-quiz-container {
            width: 100%;
            display: flex;
            justify-content: center;
            z-index: 5;
            margin-top: 20px;
        }
body.tema-cenario_6 #quiz-content { 
            position: relative;
            background: var(--stone-panel-bg);
            padding: 40px; 
            border: 2px solid transparent; 
            border-radius: 12px; 
            width: 100%; 
            max-width: 620px; 
            text-align: center; 
            box-shadow: 
                0 20px 50px rgba(0, 0, 0, 0.8), 
                inset 0 0 40px rgba(10, 15, 20, 0.95),
                inset 0 0 15px rgba(197, 160, 89, 0.15); 
            z-index: 10;
            backdrop-filter: blur(15px);
            border-image: linear-gradient(to bottom right, #c5a059, #634a21, #c5a059, #634a21) 1;
            background-image: 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' opacity='0.03'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)'/%3E%3C/svg%3E"),
                var(--stone-panel-bg);
        }
body.tema-cenario_6 #quiz-content::before {
            content: "";
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%) rotate(45deg);
            width: 30px; height: 30px;
            background: linear-gradient(135deg, #00d2d3, #085360);
            border: 2px solid #c5a059;
            box-shadow: 0 0 15px rgba(0, 210, 211, 0.6), inset 0 0 8px rgba(255,255,255,0.5);
            border-radius: 4px;
        }
body.tema-cenario_6 #pergunta-texto { 
            font-size: 21px; 
            font-family: 'Cinzel', serif;
            font-weight: 700;
            color: #f3d790; 
            margin-bottom: 30px; 
            text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
            line-height: 1.5;
            border-bottom: 1px solid rgba(197, 160, 89, 0.3);
            padding-bottom: 25px;
            position: relative;
        }
body.tema-cenario_6 #pergunta-texto::after {
            content: "";
            position: absolute;
            bottom: -2px; left: 50%; transform: translateX(-50%);
            width: 80px; height: 3px;
            background: linear-gradient(90deg, transparent, #00d2d3, transparent);
            box-shadow: 0 0 12px #00d2d3;
        }
body.tema-cenario_6 .btn-opcao::first-letter {
            color: #c5a059;
            font-family: 'Cinzel Decorative', serif;
            font-size: 1.3em;
            font-weight: 900;
            margin-right: 15px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
            border-right: 1px solid rgba(197, 160, 89, 0.3);
            padding-right: 15px;
        }
body.tema-cenario_6 .btn-opcao { 
            display: block; 
            width: 100%; 
            margin: 16px 0; 
            background: linear-gradient(to right, rgba(29, 39, 51, 0.9), rgba(18, 27, 38, 0.9));
            text-align: left; 
            padding: 18px 25px; 
            font-size: 17px; 
            font-family: 'Montserrat', sans-serif;
            border-radius: 8px; 
            border: 1px solid #3a4b61; 
            border-left: 4px solid #8c6a31;
            color: #e0e6ed; 
            cursor: pointer; 
            font-weight: 600; 
            box-shadow: 
                0 4px 8px rgba(0,0,0,0.6), 
                inset 0 0 15px rgba(0,0,0,0.5);
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
body.tema-cenario_6 .btn-opcao::before {
            content: "";
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent 0%, rgba(0, 210, 211, 0.08) 50%, transparent 100%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }
body.tema-cenario_6 .btn-opcao:hover { 
            background: linear-gradient(to right, rgba(38, 52, 68, 1), rgba(24, 37, 51, 1)); 
            transform: translateX(6px); 
            border-color: #c5a059;
            border-left: 4px solid #00d2d3;
            box-shadow: 
                0 8px 15px rgba(0, 0, 0, 0.7), 
                inset 0 0 12px rgba(0, 210, 211, 0.2);
            color: #ffffff;
        }
body.tema-cenario_6 .btn-opcao:hover::before {
            transform: translateX(100%);
        }
body.tema-cenario_6 .btn-opcao:hover::first-letter {
            color: #00d2d3;
            border-right-color: rgba(0, 210, 211, 0.5);
            text-shadow: 0 0 10px rgba(0, 210, 211, 0.6);
        }
body.tema-cenario_6 .btn-opcao:active {
            transform: translateX(2px) scale(0.99);
            box-shadow: 0 2px 4px rgba(0,0,0,0.8);
            background: linear-gradient(to right, rgba(20, 28, 38, 1), rgba(12, 19, 27, 1)); 
        }
    