/* ALARDE CYBERPUNK / NEON AESTHETICS */

:root {
    /* Cores Globais Neons */
    --neon-blue: #00f3ff;
    --neon-red: #ff003c;
    --dark-red: #8a0022;
    --dark-bg: #050814;
    --dark-card: #0c1226;
    
    /* Efeitos glow (LED) */
    --led-glow-blue: 0 0 10px rgba(0, 243, 255, 0.4), 0 0 20px rgba(0, 243, 255, 0.2), inset 0 0 15px rgba(0, 243, 255, 0.1);
    --led-glow-red: 0 0 10px rgba(255, 0, 60, 0.4), 0 0 20px rgba(255, 0, 60, 0.2), inset 0 0 15px rgba(255, 0, 60, 0.1);
    --text-glow-blue: 0 0 8px rgba(0, 243, 255, 0.6);
    --text-glow-red: 0 0 8px rgba(255, 0, 60, 0.6);

    /* Textos Base */
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #050814 0%, #001a4d 60%, var(--neon-blue) 150%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

/* CAIXAS E BALÕES COM LED (Classes Auxiliares) */
.led-box-blue {
    background: var(--dark-card);
    border: 1px solid var(--neon-blue);
    box-shadow: var(--led-glow-blue);
    border-radius: 12px;
}

.led-box-red {
    background: var(--dark-card);
    border: 1px solid var(--neon-red);
    box-shadow: var(--led-glow-red);
    border-radius: 12px;
}

.neon-text-blue {
    color: var(--neon-blue);
    text-shadow: var(--text-glow-blue);
}

.neon-text-red {
    color: var(--neon-red);
    text-shadow: var(--text-glow-red);
}

/* Base de Links e Headers para Reúso */
a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: #fff;
    text-shadow: var(--text-glow-blue);
}

/* Cabeçalho padrão (Usado em várias páginas) */
header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 8, 20, 0.95);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.05);
    z-index: 100;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    text-shadow: var(--text-glow-blue);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-red) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

/* Botões Padronizados Globais */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--neon-blue);
    box-shadow: var(--led-glow-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 25px var(--neon-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--neon-red);
    box-shadow: var(--led-glow-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: var(--neon-red);
    color: #fff;
    box-shadow: 0 0 25px var(--neon-red);
    transform: translateY(-2px);
}

/* Container de textos padrão (Ex: Termos, Abuso etc.) */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.feedback-card {
    background: var(--dark-card);
    border: 1px solid var(--neon-red);
    border-left: 4px solid var(--neon-red) !important;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--led-glow-red);
}

.feedback-card h3 {
    margin-top: 0;
    color: var(--neon-red);
    font-size: 22px;
    text-shadow: var(--text-glow-red);
}

/* Styles from index.html */

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

        body {
            color: #e2e8f0;
            line-height: 1.7;
            font-size: 16px;
        }

        header {
            position: absolute;
            width: 100%;
            padding: 20px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 99999;
        }

        .logo {
            color: var(--neon-red);
            font-size: 26px;
            font-weight: 900;
            text-decoration: none;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropbtn {
            background-color: rgba(45, 55, 72, 0.6);
            color: #e2e8f0;
            padding: 10px 20px;
            font-size: 14px;
            font-weight: 600;
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .dropbtn:hover {
            background-color: rgba(45, 55, 72, 0.9);
            border-color: rgba(148, 163, 184, 0.5);
        }

        .dropdown-content {
            display: none;
            position: absolute;
            right: 0;
            background-color: rgba(26, 31, 53, 0.98);
            min-width: 160px;
            box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.6);
            z-index: 101;
            border-radius: 8px;
            border: 1px solid #2d3748;
            overflow: hidden;
            margin-top: 8px;
        }

        .dropdown-content a {
            color: #a0aec0;
            padding: 12px 18px;
            text-decoration: none;
            display: block;
            font-size: 14px;
            font-weight: 500;
            transition: background-color 0.2s, color 0.2s;
            text-align: left;
        }

        .dropdown-content a:hover {
            background-color: #2d3748;
            color: #c4b5fd;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

        .banner-alarde {
            background-color: transparent;
            width: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        @media (min-width: 768px) {
            .banner-alarde {
                /* reserved for future adjustments */
            }
        }

        .area-topo {
            position: relative;
            z-index: 99999;
        }

        .area-botoes {
            position: relative;
            padding: 20px 30px 40px;
            z-index: 10;
        }

        .cta-group {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
        }

        .cta-group {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 16px 32px;
            border-radius: 12px;
            font-weight: bold;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            gap: 12px;
            text-decoration: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--neon-red), #6d28d9);
            color: white;
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
        }

        .btn-secondary {
            background-color: rgba(45, 55, 72, 0.6);
            color: #e2e8f0;
            border: 1px solid rgba(148, 163, 184, 0.2);
        }

        .btn-secondary:hover {
            background-color: rgba(45, 55, 72, 0.9);
            border-color: rgba(148, 163, 184, 0.5);
            transform: translateY(-2px);
        }

        .container {
            max-width: 900px;
            margin: -50px auto 40px;
            background-color: rgba(26, 31, 53, 0.75);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 50px 60px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
            border: 1px solid rgba(0, 243, 255, 0.2);
            position: relative;
            z-index: 10;
        }

        .section-title {
            color: var(--neon-red);
            font-size: 15px;
            font-weight: 900;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 30px;
            border-bottom: 2px solid rgba(45, 55, 72, 0.5);
            padding-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .section-title::before {
            content: '';
            display: block;
            width: 8px;
            height: 8px;
            background-color: var(--neon-red);
            border-radius: 50%;
            box-shadow: 0 0 10px var(--neon-red);
        }

        .announcements-tab {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 60px;
        }

        .announcement-card {
            background-color: rgba(30, 41, 59, 0.4);
            border-left: 4px solid var(--neon-red);
            border-radius: 12px;
            padding: 24px;
            transition: transform 0.2s ease, background-color 0.2s ease;
        }

        .announcement-card:hover {
            transform: translateX(5px);
            background-color: rgba(30, 41, 59, 0.7);
        }

        .announcement-date {
            font-size: 13px;
            color: var(--neon-red);
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 8px;
            letter-spacing: 1px;
        }

        .announcement-card h4 {
            color: #f1f5f9;
            font-size: 18px;
            margin-bottom: 8px;
        }

        .announcement-card p {
            color: #94a3b8;
            margin-bottom: 0;
            font-size: 15px;
        }

        /* Estrutura Play Store Feedback */
        .feedback-card {
            background: linear-gradient(to bottom right, #1e293b, #0f172a);
            border-radius: 16px;
            padding: 40px;
            border: 1px solid #334155;
            position: relative;
            overflow: hidden;
            box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
        }

        .play-store-badge {
            position: absolute;
            top: 25px;
            right: 25px;
            background: rgba(255, 255, 255, 0.05);
            color: #cbd5e1;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            letter-spacing: 0.5px;
        }

        .play-store-badge svg {
            width: 14px;
            height: 14px;
            fill: currentColor;
        }

        .feedback-card h3 {
            color: #ffffff;
            font-size: 24px;
            margin-bottom: 12px;
            font-weight: 800;
        }

        .feedback-card > p {
            color: #94a3b8;
            margin-bottom: 24px;
            font-size: 16px;
        }

        .star-rating {
            display: flex;
            gap: 8px;
            margin-bottom: 24px;
            color: #475569;
            font-size: 28px;
        }

        .star-rating span {
            cursor: pointer;
            transition: color 0.2s;
        }

        .star-rating span:hover,
        .star-rating .active {
            color: #fbbf24;
            text-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
        }

        .feedback-card textarea {
            width: 100%;
            background-color: rgba(15, 23, 42, 0.7);
            border: 1px solid #475569;
            color: #f1f5f9;
            border-radius: 12px;
            padding: 16px;
            min-height: 120px;
            margin-bottom: 24px;
            resize: vertical;
            font-size: 15px;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .feedback-card textarea:focus {
            outline: none;
            border-color: var(--neon-red);
            box-shadow: 0 0 0 3px rgba(255, 0, 60, 0.3);
            background-color: rgba(15, 23, 42, 0.9);
        }

        .btn-block {
            width: 100%;
            padding: 16px;
        }

        /* Footer */
        .main-footer {
            background-color: #0c101a;
            border-top: 1px solid #1e293b;
            padding: 80px 40px 20px;
            margin-top: 40px;
        }

        .footer-grid {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 60px;
        }

        .footer-brand h2 {
            color: var(--neon-red);
            font-size: 24px;
            font-weight: 900;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            margin-bottom: 16px;
        }

        .footer-brand p {
            color: #64748b;
            font-size: 14px;
            line-height: 1.6;
        }

        .footer-col h5 {
            color: #f1f5f9;
            font-size: 16px;
            margin-bottom: 24px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 14px;
        }

        .footer-col ul li a {
            color: #94a3b8;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.2s;
        }

        .footer-col ul li a:hover {
            color: #c4b5fd;
        }

        .footer-bottom {
            max-width: 1100px;
            margin: 0 auto;
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #1e293b;
            color: #475569;
            font-size: 13px;
        }

        @media (max-width: 900px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            header {
                padding: 15px 20px;
                flex-direction: row;
                justify-content: space-between;
            }

            }
            .container {
                margin: -30px 20px 40px;
                padding: 30px 25px;
            }
            .cta-group {
                flex-direction: column;
                align-items: center;
            }
            .btn {
                width: 100%;
                max-width: 300px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }

        .evidence-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.85);
            z-index: 10500;
            cursor: pointer;
            backdrop-filter: blur(4px);
        }
        
        .evidence.expanded {
            position: fixed !important;
            top: 50% !important;
            left: 50% !important;
            transform: translate(-50%, -50%) scale(2.5) !important;
            z-index: 11000 !important;
            box-shadow: 0 0 100px rgba(0,0,0,1) !important;
            cursor: pointer;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        /* --- ESTILOS DO MURAL DE DETETIVE --- */
        #detective-board {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            border-radius: 12px;
            height: 600px;
            background-color: #a06b42;
            background-image: 
                radial-gradient(#80502a 15%, transparent 16%),
                radial-gradient(#80502a 15%, transparent 16%);
            background-size: 20px 20px;
            background-position: 0 0, 10px 10px;
            box-shadow: inset 0 0 100px rgba(0,0,0,0.9);
            overflow: hidden;
            margin-bottom: 40px;
            border-top: 2px solid #2d3748;
            border-bottom: 2px solid #2d3748;
        }

        #string-layer {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            pointer-events: none;
            z-index: 1;
        }
        
        .red-thread {
            stroke: #cc0000;
            stroke-width: 3;
            stroke-dasharray: 6 3;
            filter: drop-shadow(2px 4px 4px rgba(0,0,0,0.5));
        }

        .evidence {
            position: absolute;
            z-index: 2;
            cursor: grab;
            user-select: none;
            touch-action: none;
            box-shadow: 4px 6px 15px rgba(0,0,0,0.5);
            transition: transform 0.1s;
        }

        .evidence:active {
            cursor: grabbing;
            transform: scale(1.05) !important;
            box-shadow: 8px 12px 25px rgba(0,0,0,0.6);
        }

        .polaroid {
            background-color: #fdfdfd;
            padding: 12px 12px 40px 12px;
            width: 180px;
            background-image: linear-gradient(to bottom right, #ffffff, #f0ead6);
        }

        .polaroid img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            border: 1px solid #ddd;
            pointer-events: none;
            filter: sepia(30%) contrast(1.1);
        }

        .polaroid p {
            font-family: 'Permanent Marker', cursive, sans-serif;
            text-align: center; font-size: 14px;
            margin: 15px 0 0 0; color: #222;
        }

        .post-it {
            background-color: #ffeb3b;
            padding: 15px 20px;
            width: 160px;
            font-family: 'Caveat', cursive, sans-serif;
            font-size: 20px; color: #111;
            line-height: 1.1; text-align: center;
            background-image: linear-gradient(to bottom right, #ffeb3b, #f3d400);
        }

        .pin {
            position: absolute;
            top: 5px; left: 50%;
            transform: translateX(-50%);
            width: 16px; height: 16px;
            border-radius: 50%;
            box-shadow: 2px 4px 5px rgba(0,0,0,0.6);
            z-index: 5;
        }
        .pin::after {
            content: ''; position: absolute;
            top: 3px; left: 4px; width: 4px; height: 4px;
            background: rgba(255,255,255,0.7); border-radius: 50%;
        }
        .pin-red { background: radial-gradient(circle at 30% 30%, #ff4d4d, #800000); }
        .pin-blue { background: radial-gradient(circle at 30% 30%, #4da6ff, #000080); }
        .pin-black { background: radial-gradient(circle at 30% 30%, #666, #000); }

        .tape {
            position: absolute;
            top: -10px; left: 50%;
            transform: translateX(-50%) rotate(-4deg);
            width: 80px; height: 25px;
            background-color: rgba(255, 255, 255, 0.4);
            border: 1px dashed rgba(0,0,0,0.1);
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        /* --- ESTILOS DO QUIZ INTERATIVO --- */
        #interactive-quiz {
            background: linear-gradient(145deg, #161b2e 0%, #0f1322 100%);
            border: 1px solid rgba(255, 0, 60, 0.3);
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            text-align: center;
        }

        .quiz-title {
            font-size: 28px;
            font-weight: 800;
            color: #c4b5fd;
            margin-bottom: 10px;
        }

        .quiz-subtitle {
            color: #94a3b8;
            font-size: 16px;
            margin-bottom: 30px;
        }
        .quiz-question-container {
            display: block;
        }

        .quiz-question {
            font-size: 22px;
            color: #ffffff;
            margin-bottom: 24px;
            font-weight: 600;
            min-height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quiz-options {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-bottom: 30px;
        }

        @media(min-width: 768px) {
            .quiz-options {
                grid-template-columns: 1fr 1fr;
            }
        }

        .quiz-option {
            background-color: #1e293b;
            color: #cbd5e1;
            border: 1px solid #334155;
            padding: 16px 20px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 16px;
            font-weight: 500;
            text-align: left;
        }

        .quiz-option:hover:not(:disabled) {
            background-color: #2d3748;
            border-color: var(--neon-red);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 0, 60, 0.3);
        }
        
        .quiz-option.selected {
            background-color: var(--neon-red);
            color: #ffffff;
            border-color: var(--neon-red);
            box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
        }

        .quiz-option:disabled {
            cursor: not-allowed;
            opacity: 0.7;
        }

        .quiz-insight {
            display: none;
            background: rgba(139, 92, 246, 0.1);
            border-left: 4px solid #a855f7;
            padding: 20px;
            margin-top: 20px;
            border-radius: 4px;
            text-align: left;
            animation: fadeIn 0.5s ease forwards;
        }

        .quiz-insight h4 {
            color: #c4b5fd;
            margin-top: 0;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .quiz-insight p {
            color: #e2e8f0;
            margin: 0;
            font-size: 15px;
            line-height: 1.6;
        }

        .quiz-controls {
            margin-top: 30px;
            display: none;
        }

        .quiz-progress {
            margin-bottom: 20px;
            height: 6px;
            background: #1e293b;
            border-radius: 3px;
            overflow: hidden;
            width: 100%;
        }

        .quiz-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--neon-red) 0%, #c4b5fd 100%);
            width: 0%;
            transition: width 0.3s ease;
        }

        #quiz-start-btn, #quiz-next-btn {
            background-color: var(--neon-red);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: bold;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        #quiz-start-btn:hover, #quiz-next-btn:hover {
            background-color: #7c3aed;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
    
/* Administrador e Forms */
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; color: var(--neon-blue); font-weight: bold; }
input[type=text], input[type=email], input[type=password], textarea { width: 100%; padding: 10px; border-radius: 6px; border: 1px solid var(--neon-blue); background: rgba(5, 8, 20, 0.8); color: #fff; font-size: 14px; box-shadow: inset 0 0 5px rgba(0,243,255,0.1); }
.quiz-item { background: var(--dark-card); padding: 15px; border-radius: 8px; margin-bottom: 20px; border-left: 4px solid var(--neon-red); box-shadow: var(--led-glow-red); }
.quiz-item h3 { font-size: 16px; color: #fff; margin-bottom: 10px; }
.admin-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid rgba(0, 243, 255, 0.3); padding-bottom: 15px; }

        #close-evidence-btn {
            display: none;
            position: fixed;
            top: 20px;
            right: 20px;
            width: 44px;
            height: 44px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            font-size: 30px;
            line-height: 44px;
            text-align: center;
            border-radius: 50%;
            border: 2px solid white;
            z-index: 12000;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5);
            transition: all 0.2s ease-in-out;
            padding: 0;
            font-family: Arial, sans-serif;
            font-weight: bold;
        }

        #close-evidence-btn:hover {
            background: rgba(255, 0, 0, 0.8);
            transform: scale(1.1);
        }
