* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #143d2b, #050b08 65%);
    color: #f4f4f4;
    display: flex;
    justify-content: center;
    padding: 24px;
}

.container {
    width: 100%;
    max-width: 980px;
    background: rgba(5, 15, 10, .94);
    border: 1px solid #2ee88a;
    border-radius: 18px;
    box-shadow: 0 0 30px rgba(46, 232, 138, .25);
    overflow: hidden;
    position: relative;
}

header {
    padding: 28px;
    background: linear-gradient(135deg, #083b25, #0b1710);
    border-bottom: 1px solid #2ee88a;
    position: relative;
}

.logo {
    max-width: 180px;
    margin-bottom: 16px;
    display: block;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(46, 232, 138, .12);
    color: #2ee88a;
    font-size: 13px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 34px;
    margin-bottom: 10px;
    color: #fff;
}

h2 {
    color: #2ee88a;
    margin-bottom: 14px;
    font-size: 24px;
}

h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 19px;
}

p {
    line-height: 1.6;
    color: #e8eee9;
    margin-bottom: 14px;
}

ul {
    margin-left: 22px;
    margin-bottom: 16px;
    color: #e8eee9;
    line-height: 1.6;
}

label {
    display: block;
    margin-top: 14px;
    color: #fff;
    font-weight: bold;
}

main {
    padding: 28px;
    position: relative;
}

#securityTag {
    position: absolute;
    top: 28px;
    right: 28px;
    background: rgba(46, 232, 138, 0.12);
    border: 1px solid rgba(46, 232, 138, 0.35);
    color: #9ff7c6;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    z-index: 5;
    box-shadow: 0 0 12px rgba(46, 232, 138, 0.12);
}

.top-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 14px;
    padding-right: 0;
    margin-top: 10px;
}

.nav-button {
    padding: 7px 11px;
    font-size: 12px;
    border-radius: 999px;
    background: transparent;
    color: #2ee88a;
    border: 1px solid rgba(46, 232, 138, .65);
}

.nav-button:hover {
    background: rgba(46, 232, 138, .10);
}

.progress-area {
    margin-bottom: 24px;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #c9d8cf;
    margin-bottom: 8px;
}

.progress-bar {
    height: 10px;
    background: #17241d;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #285b40;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2ee88a, #b6ffcf);
    transition: width .4s ease;
}

.screen {
    display: none;
    animation: fadeIn .4s ease;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(46, 232, 138, .28);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.evidence-box {
    background: #0d1711;
    border: 1px dashed #2ee88a;
    border-radius: 14px;
    padding: 18px;
    margin: 18px 0;
}

.real-evidence-photo {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(46, 232, 138, .35);
    box-shadow: 0 18px 32px rgba(0, 0, 0, .36);
    background: #111;
}

.photo-fallback {
    display: none;
    margin-top: 12px;
    background: rgba(46, 232, 138, .10);
    border: 1px solid rgba(46, 232, 138, .35);
    border-radius: 12px;
    padding: 14px;
}

.small-note {
    color: #b5c8bc;
    font-size: 13px;
    margin-top: 8px;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #397052;
    background: #07110b;
    color: #fff;
    font-size: 16px;
    margin: 8px 0 14px;
    outline: none;
}

textarea {
    resize: vertical;
    line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2ee88a;
    box-shadow: 0 0 0 3px rgba(46, 232, 138, .16);
}

button {
    border-radius: 10px;
    padding: 13px 20px;
    background: #2ee88a;
    color: #061009;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    transition: transform .2s ease, filter .2s ease;
    border: none;
}

button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.feedback {
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    display: none;
}

.feedback.success {
    display: block;
    background: rgba(46, 232, 138, .12);
    border: 1px solid #2ee88a;
    color: #d9ffe8;
}

.feedback.error {
    display: block;
    background: rgba(255, 85, 85, .12);
    border: 1px solid #ff7777;
    color: #ffd8d8;
}

.evidence-validation {
    margin: 18px 0;
    padding: 18px;
    border-radius: 14px;
    background: rgba(46, 232, 138, .07);
    border: 1px solid rgba(46, 232, 138, .22);
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    color: #e8eee9;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-item:hover {
    background: rgba(46, 232, 138, .10);
}

.checkbox-item input {
    width: auto;
    margin: 2px 0 0;
    accent-color: #2ee88a;
}

.crime-scene {
    min-height: 390px;
    background: radial-gradient(circle at 48% 45%, rgba(255, 255, 255, .08), transparent 25%), linear-gradient(145deg, #2c2a22 0%, #181a14 42%, #080d09 100%);
    border: 1px solid #3c7556;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 70px rgba(0, 0, 0, .58);
}

.crime-scene::before {
    content: "EVIDÊNCIA 01 / PISTAS ORGANIZADAS";
    position: absolute;
    top: 14px;
    left: 18px;
    color: rgba(255, 255, 255, .32);
    font-size: 10px;
    letter-spacing: 2px;
    z-index: 4;
}

.crime-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
    opacity: .28;
}

.monitor {
    position: absolute;
    left: 50%;
    top: 54px;
    transform: translateX(-50%);
    width: clamp(270px, 48vw, 390px);
    height: 195px;
    background: linear-gradient(180deg, #07110b, #101d14);
    border: 8px solid #26352b;
    border-radius: 14px;
    box-shadow: 0 20px 32px rgba(0, 0, 0, .42);
    padding: 14px;
    z-index: 2;
}

.monitor::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 94px;
    height: 50px;
    background: linear-gradient(180deg, #26352b, #111912);
    clip-path: polygon(35% 0, 65% 0, 82% 100%, 18% 100%);
    z-index: -1;
}

.monitor-top {
    color: #2ee88a;
    font-family: Consolas, monospace;
    font-size: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(46, 232, 138, .28);
    padding-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.login-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(46, 232, 138, .28);
    border-radius: 10px;
    padding: 13px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: hidden;
}

.login-card span,
.login-card small {
    color: #adc7b5;
    font-size: 12px;
    line-height: 1.2;
}

.login-card strong {
    color: #fff;
    font-size: clamp(20px, 3vw, 25px);
    letter-spacing: 1px;
    line-height: 1.1;
    word-break: break-word;
}

.desk-item {
    position: absolute;
    border-radius: 12px;
    padding: 11px;
    box-shadow: 0 12px 22px rgba(0, 0, 0, .30);
    z-index: 3;
    overflow: hidden;
}

.badge {
    width: 138px;
    min-height: 100px;
    left: 58px;
    bottom: 48px;
    background: #f2f4ec;
    color: #102016;
    transform: rotate(-7deg);
    border-top: 12px solid #2ee88a;
    cursor: pointer;
}

.badge span,
.badge small {
    display: block;
    color: #2a3a30;
    font-size: 10px;
    line-height: 1.2;
}

.badge strong {
    display: block;
    margin: 7px 0 4px;
    color: #061009;
    font-size: 23px;
    letter-spacing: 1px;
    line-height: 1;
}

.sticky-note {
    width: 144px;
    min-height: 128px;
    right: 72px;
    bottom: 58px;
    background: linear-gradient(145deg, #efffae, #cce875);
    color: #17220b;
    transform: rotate(6deg);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    border: none;
    text-align: left;
}

.sticky-note:hover,
.sticky-note:focus,
.badge:hover {
    box-shadow: 0 18px 28px rgba(0, 0, 0, .4);
    outline: 2px solid #2ee88a;
}

.click-hint {
    font-size: 10px;
    opacity: .6;
}

.sticky-note strong,
.sticky-note span {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.15;
}

.big-year {
    font-size: 30px !important;
    font-weight: bold;
    margin-top: 8px;
    letter-spacing: 1px;
}

.notebook {
    width: 200px;
    min-height: 104px;
    left: 224px;
    bottom: 28px;
    background: linear-gradient(135deg, #e5e7dd, #c7cec0);
    color: #0d140f;
    transform: rotate(2deg);
    border-left: 10px solid #4b6b58;
}

.notebook strong,
.notebook span {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.15;
}

.coffee {
    right: 28px;
    top: 78px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: radial-gradient(circle, #4a2818 0 34%, #f4f0dd 35% 56%, #243329 57%);
    color: transparent;
    z-index: 2;
}

.phone {
    left: 30px;
    top: 88px;
    width: 86px;
    height: 142px;
    background: #060806;
    border: 5px solid #202820;
    color: #2ee88a;
    font-family: Consolas, monospace;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.code-box {
    background: #050805;
    border: 1px solid #365f48;
    border-radius: 12px;
    padding: 18px;
    color: #2ee88a;
    font-family: Consolas, monospace;
    font-size: 20px;
    letter-spacing: 2px;
    margin: 16px 0;
    word-break: break-word;
}

.email-card {
    background: #f4f7f5;
    color: #111;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 28px rgba(0, 0, 0, .32);
    border: 1px solid rgba(255, 255, 255, .25);
}

.email-header {
    background: #dfe7e2;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #18241d;
    font-weight: bold;
    border-bottom: 1px solid #c5d0ca;
}

.email-body {
    padding: 18px;
    color: #1d2b23;
}

.email-body p {
    color: #1d2b23;
    margin-bottom: 12px;
}

.fake-link {
    color: #0645ad !important;
    text-decoration: underline;
    font-weight: bold;
    word-break: break-word;
}

.log-image-container {
    position: relative;
    cursor: pointer;
}

.log-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ee88a;
    font-weight: bold;
    font-size: 18px;
    border-radius: 14px;
    transition: opacity .4s ease;
    overflow: hidden;
}

.log-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(46, 232, 138, .06), rgba(46, 232, 138, .06) 1px, transparent 1px, transparent 5px);
    animation: scanLines 1.2s linear infinite;
}

.log-overlay span {
    position: relative;
    z-index: 2;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(46, 232, 138, .8);
}

.log-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.access-granted {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    color: #2ee88a;
    font-family: Consolas, monospace;
    font-size: clamp(28px, 5vw, 52px);
    font-weight: bold;
    letter-spacing: 4px;
    text-shadow: 0 0 16px rgba(46, 232, 138, .95);
    border-radius: 14px;
    z-index: 5;
    animation: accessPulse 1.15s ease forwards;
}

.access-granted.active {
    display: flex;
}

@keyframes scanLines {
    from {
        transform: translateY(-12px);
    }

    to {
        transform: translateY(12px);
    }
}

@keyframes accessPulse {
    0% {
        opacity: 0;
        transform: scale(.92);
        filter: blur(2px);
    }

    20% {
        opacity: 1;
        transform: scale(1.04);
        filter: blur(0);
    }

    70% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.06);
    }
}

.suspects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 18px 0;
}

.suspect {
    background: #0d1711;
    border: 1px solid #315a43;
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
}

.suspect:hover {
    border-color: #2ee88a;
    background: rgba(46, 232, 138, .08);
}

.suspect h3 {
    color: #fff;
    margin-bottom: 8px;
}

.suspect.selected {
    border: 2px solid #2ee88a;
}

.final-screen {
    text-align: center;
    padding: 34px 20px;
}

.final-code {
    display: inline-block;
    margin: 18px 0;
    padding: 14px 24px;
    border-radius: 12px;
    background: rgba(46, 232, 138, .14);
    border: 1px solid #2ee88a;
    color: #2ee88a;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 2px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    width: 100%;
    max-width: 460px;
    background: #07110b;
    border: 1px solid #2ee88a;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(46, 232, 138, .25);
    padding: 22px;
}

.modal-box h3 {
    color: #2ee88a;
    margin-bottom: 10px;
}

.modal-box p {
    color: #e8eee9;
    margin-bottom: 18px;
}

@media (max-width: 720px) {
    body {
        padding: 12px;
    }

    h1 {
        font-size: 27px;
    }

    main,
    header {
        padding: 20px;
    }

    #securityTag {
        position: static;
        display: inline-block;
        margin-bottom: 12px;
    }

    .top-nav {
        justify-content: space-between;
        padding-right: 0;
    }

    .suspects {
        grid-template-columns: 1fr;
    }

    .crime-scene {
        min-height: 620px;
    }

    .monitor {
        width: calc(100% - 44px);
        top: 48px;
    }

    .phone {
        left: 24px;
        top: 290px;
    }

    .coffee {
        right: 30px;
        top: 298px;
    }

    .badge {
        left: 28px;
        bottom: 150px;
    }

    .sticky-note {
        right: 26px;
        bottom: 145px;
    }

    .notebook {
        left: 50%;
        transform: translateX(-50%) rotate(1deg);
        bottom: 26px;
        width: min(230px, calc(100% - 48px));
    }
}