/* Estilo de Destaque de Aluno (v11.9.3) */
.aluno-highlight {
    border-color: #facc15 !important;
    background-color: rgba(250, 204, 21, 0.4) !important;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
    transform: scale(1.05);
    z-index: 50;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    margin: 0;
    padding: 0;
    overflow-x: clip;
    width: 100%;
}

html {
    overflow-x: clip;
}

.font-display {
    font-family: 'Outfit', sans-serif;
}

.glass {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(250, 204, 21, 0.05);
}

.yellow-glow {
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.05);
}

.yellow-glow-strong {
    box-shadow: 0 0 50px rgba(250, 204, 21, 0.15);
}


.active-tab {
    border-bottom: 3px solid #facc15;
    color: #facc15 !important;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #facc15;
    border-radius: 10px;
}

.btn-chapando {
    background: #facc15;
    color: #000;
    font-weight: 800;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-chapando:hover:not(:disabled) {
    background: #eab308;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.btn-chapando:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ATARI CRT & GAME STYLES */
.qg-world {
    background: #000;
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 4px solid #facc15;
    box-shadow: 0 0 40px rgba(250, 204, 21, 0.2);
    cursor: crosshair;
}

.crt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    z-index: 50;
    opacity: 0.6;
    animation: flicker 0.1s infinite;
}

@keyframes flicker {
    0% {
        opacity: 0.55;
    }

    50% {
        opacity: 0.60;
    }

    100% {
        opacity: 0.55;
    }
}

.atari-canvas {
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

.speech-bubble {
    position: absolute;
    background: #facc15;
    color: #000;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    border-radius: 4px;
    pointer-events: none;
    z-index: 60;
    white-space: nowrap;
    box-shadow: 4px 4px 0 #000;
    display: none;
}

/* BOTÃO PREMIUM POST */
.btn-premium-post {
    background: #facc15 !important;
    color: #000 !important;
    font-weight: 900 !important;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none !important;
    box-shadow: 0 5px 15px rgba(250, 204, 21, 0.3) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-premium-post:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.5) !important;
    background: #fff !important;
}

#successToast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(200px);
    background: #facc15;
    color: #000;
    padding: 12px 20px;
    width: 90%;
    max-width: 360px;
    border-radius: 15px;
    font-weight: 900;
    z-index: 9999;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    pointer-events: none;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

#successToast.show {
    transform: translateX(-50%) translateY(0);
}

/* PORTAL DE LOGIN */
#login-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#login-content {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
}

.login-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(250, 204, 21, 0.2);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.login-input:focus {
    border-color: #facc15;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}

.hidden-login {
    display: none;
}

/* --- ANIMATIONS & STUDIO EFFECTS (v17.5) --- */
.animate-scan {
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 0%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.studio-glow {
    box-shadow: 0 0 50px rgba(250, 204, 21, 0.1);
}

/* --- CORREÇÃO DARK MODE SELECTS (v25.5) --- */
select {
    color-scheme: dark;
}

select option {
    background: #000 !important;
    color: #fff !important;
    padding: 10px;
}
