* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #050505;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}


/* ALERT */

.alert-banner {
    animation: alertFlash 1s infinite;
    background: #ffe600;
    color: black;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 10px;
    text-align: center;
}

@keyframes alertFlash {
    0%, 49% {
        background: #ffe600;
    }

    50%, 100% {
        background: #ff3b30;
    }
}


/* NAV */

nav {
    align-items: center;
    background: rgba(0, 0, 0, .95);
    border-bottom: 2px solid #58ff3b;
    display: flex;
    justify-content: space-between;
    padding: 18px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: #58ff3b;
    font-size: 1.5rem;
    font-weight: 900;
}

.nav-links {
    align-items: center;
    display: flex;
    gap: 18px;
}

.nav-links a {
    color: white;
    font-size: .8rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-links a:hover {
    color: #58ff3b;
}

.nav-links button {
    background: #ff3b30;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: bold;
    padding: 10px 18px;
}


/* HERO */

.hero {
    align-items: center;
    background-image: url("sunset.webp");
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    min-height: 95vh;
    padding: 80px 20px;
    position: relative;
    text-align: center;
}

.hero-overlay {
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.35),
            rgba(0,0,0,.8)
        );

    inset: 0;
    position: absolute;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.warning {
    background: rgba(0,0,0,.7);
    border: 1px solid #ffe600;
    color: #ffe600;
    display: inline-block;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 30px;
    padding: 10px 18px;
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 9rem);
    line-height: .85;
    text-shadow: 5px 5px 10px black;
}

.hero h1 span {
    color: #58ff3b;
    display: block;
    text-shadow:
        5px 5px 10px black,
        0 0 30px #58ff3b;
}

.tagline {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5;
    margin: 35px 0;
    text-shadow: 3px 3px 5px black;
}

.big-button {
    background: #58ff3b;
    border: none;
    box-shadow: 8px 8px #ffe600;
    color: black;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 900;
    padding: 20px 35px;
}

.big-button:hover {
    box-shadow: 3px 3px #ffe600;
    transform: translate(5px, 5px);
}

.tiny-text {
    font-size: .7rem;
    margin-top: 30px;
    opacity: .7;
}


/* GENERAL */

.section {
    border-top: 1px solid #333;
    padding: 100px 8%;
}

.section-code {
    color: #ffe600 !important;
    font-family: monospace;
    font-size: .8rem !important;
    letter-spacing: 3px;
}

.section h2 {
    color: #58ff3b;
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 15px 0 25px;
}

.section > p,
.analysis-header p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 750px;
}


/* SPECIMEN */

.specimen-layout {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
    margin-top: 50px;
}

.specimen-image {
    border: 2px solid #58ff3b;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    width: 100%;
}

.stats {
    background: #58ff3b;
    display: grid;
    gap: 2px;
    grid-template-columns: 1fr 1fr;
}

.stats div {
    background: #090909;
    padding: 30px;
}

.stats span {
    color: #999;
    display: block;
    font-size: .7rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.stats strong {
    font-size: clamp(1rem, 2vw, 1.6rem);
}


/* LIVE CAM */

.live-section {
    background: #0c0c0c;
}

.camera {
    border: 2px solid #444;
    margin-top: 40px;
    max-width: 900px;
    overflow: hidden;
    position: relative;
}

.camera-image {
    display: block;
    filter: grayscale(40%) contrast(120%);
    width: 100%;
}

.live-indicator {
    background: #ff3b30;
    font-weight: bold;
    left: 15px;
    padding: 8px 12px;
    position: absolute;
    top: 15px;
}

.camera-crosshair {
    color: rgba(88,255,59,.7);
    font-family: monospace;
    font-size: 8rem;
    left: 50%;
    position: absolute;
    top: 45%;
    transform: translate(-50%, -50%);
}

#liveMessage {
    background: black;
    color: #58ff3b;
    font-family: monospace;
    padding: 15px;
}


/* ASS ANALYSIS */

.ass-analysis {
    background: #020602;
    font-family: "Courier New", monospace;
}

.classified {
    color: #ff3b30 !important;
    font-size: .8rem !important;
    font-weight: bold;
    letter-spacing: 4px;
}

.analysis-layout {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
    margin-top: 50px;
}

.scanner-image {
    border: 2px solid #58ff3b;
    overflow: hidden;
    position: relative;
}

.scanner-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.scanner-image span {
    background: black;
    bottom: 15px;
    color: #58ff3b;
    left: 15px;
    padding: 8px;
    position: absolute;
}

.target {
    color: #58ff3b;
    font-size: 7rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.scan-line {
    animation: scan 2s linear infinite;
    background: #58ff3b;
    box-shadow: 0 0 15px #58ff3b;
    height: 3px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

@keyframes scan {
    from {
        top: 0;
    }

    to {
        top: 100%;
    }
}

.analysis-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr 1fr;
}

.analysis-card {
    background: black;
    border: 1px solid #58ff3b;
    padding: 25px;
}

.analysis-card span {
    color: #999;
    display: block;
    font-size: .7rem;
}

.analysis-card strong {
    color: #58ff3b;
    display: block;
    font-size: clamp(1.7rem, 4vw, 3rem);
    margin: 15px 0;
}

.meter {
    background: #151515;
    height: 18px;
}

.meter-fill {
    background:
        repeating-linear-gradient(
            45deg,
            #58ff3b,
            #58ff3b 10px,
            #248c18 10px,
            #248c18 20px
        );

    height: 100%;
}

.density { width: 97%; }
.radius { width: 91%; }
.clap { width: 87%; }
.thicc { width: 99%; }


/* TERMINAL */

.analysis-terminal {
    background: black;
    border: 2px solid #58ff3b;
    color: #58ff3b;
    line-height: 1.8;
    margin-top: 40px;
    max-width: 900px;
}

.terminal-top {
    background: #58ff3b;
    color: black;
    font-weight: bold;
    padding: 8px 12px;
}

#analysisOutput {
    min-height: 180px;
    padding: 25px;
}

#scanButton {
    background: black;
    border: 3px solid #58ff3b;
    color: #58ff3b;
    cursor: pointer;
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 30px;
    padding: 20px 30px;
}

#scanButton:hover {
    background: #58ff3b;
    color: black;
}

#scanResult {
    color: #ffe600;
    font-family: Impact, sans-serif;
    font-size: clamp(2rem, 6vw, 5rem);
    margin-top: 30px;
}


/* INCIDENT */

.incident-section {
    align-items: stretch;
    background: #151000;
    border-bottom: 4px solid #ffe600;
    border-top: 4px solid #ffe600;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.incident-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.incident-text {
    align-self: center;
    padding: 70px;
}

.incident-text h2 {
    color: #ffe600;
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 15px 0;
}

.incident-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.incident-text strong {
    color: #ff3b30;
}


/* FACTS */

.fact-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
}

.fact {
    border: 1px solid #444;
    padding: 30px;
}

.fact:hover {
    border-color: #58ff3b;
    transform: rotate(-1deg);
}

.fact h3 {
    color: #ffe600;
    margin-bottom: 20px;
}


/* REVIEWS */

.reviews {
    background: #101010;
}

blockquote {
    border-left: 5px solid #58ff3b;
    font-family: Georgia, serif;
    font-size: 1.5rem;
    margin: 30px 0;
    max-width: 800px;
    padding: 25px;
}

blockquote span {
    display: block;
    font-family: Arial, sans-serif;
    font-size: .8rem;
    margin-top: 15px;
    opacity: .6;
}


/* VISITOR COUNTER */

.visitor-section {
    background: #000080;
    border-bottom: 8px ridge silver;
    border-top: 8px ridge silver;
    color: yellow;
    font-family: "Comic Sans MS", cursive;
    padding: 50px 20px;
    text-align: center;
}

#visitorCounter {
    background: black;
    border: 6px inset silver;
    color: red;
    display: inline-block;
    font-family: "Courier New", monospace;
    font-size: clamp(2rem, 7vw, 5rem);
    font-weight: bold;
    letter-spacing: 10px;
    margin: 20px;
    padding: 10px 20px;
}

.visitor-subtitle {
    color: cyan;
}


/* CHAOS */

.chaos-section {
    background: #ffe600;
    color: black;
    padding: 100px 20px;
    text-align: center;
}

.chaos-section h2 {
    font-size: clamp(2rem, 6vw, 5rem);
    margin: 15px 0 30px;
}

#chaosButton {
    background: red;
    border: 8px outset #ddd;
    color: white;
    cursor: pointer;
    font-family: "Comic Sans MS", cursive;
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: bold;
    padding: 25px 40px;
}


/* FOOTER */

footer {
    background: black;
    color: #777;
    padding: 50px;
    text-align: center;
}


/* DVD ZILLA */

#dvdZilla {
    align-items: center;
    color: #58ff3b;
    display: flex;
    flex-direction: column;
    font-family: Impact, sans-serif;
    left: 50px;
    pointer-events: none;
    position: fixed;
    top: 150px;
    z-index: 5000;
}

.zilla-placeholder {
    filter: drop-shadow(0 0 8px #58ff3b);
    font-size: 70px;
}

#dvdZilla span {
    letter-spacing: 4px;
}


/* EXTREME EVENT */

#extremeEvent {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 999999;
}

#extremeEvent.active {
    display: block;
}

#extremeEvent img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.extreme-overlay {
    align-items: center;
    background: rgba(255,0,0,.35);
    color: white;
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: center;
    position: absolute;
    text-align: center;
    text-shadow: 5px 5px black;
}

.extreme-overlay p {
    font-family: Impact, sans-serif;
    font-size: clamp(3rem, 9vw, 9rem);
}

.extreme-overlay strong {
    background: black;
    color: yellow;
    font-size: clamp(1rem, 4vw, 3rem);
    padding: 15px;
}

/* DONATION */

.donation-section {
    background: #050505;
    border-top: 4px solid #58ff3b;
    border-bottom: 4px solid #58ff3b;
    padding: 100px 20px;
    text-align: center;
}

.donation-section > p:first-child {
    color: #ff3b30;
    font-weight: bold;
    letter-spacing: 4px;
}

.donation-section h2 {
    color: #58ff3b;
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin: 15px 0 25px;
}

.donation-section > p {
    line-height: 1.7;
    margin: 0 auto 35px;
    max-width: 650px;
}

.donate-button {
    background: #58ff3b;
    border: 4px solid #ffe600;
    box-shadow: 8px 8px #ff3b30;
    color: black;
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 900;
    padding: 22px 35px;
    text-decoration: none;
}

.donate-button:hover {
    box-shadow: 3px 3px #ff3b30;
    transform: translate(5px, 5px);
}

.donation-warning {
    font-size: .7rem;
    margin-top: 30px !important;
    opacity: .6;
}

/* CHAOS MODE */

body.chaos {
    animation: chaosBackground .3s infinite;
    font-family: "Comic Sans MS", cursive;
}

body.chaos h1,
body.chaos h2 {
    animation: wobble .15s infinite alternate;
}

@keyframes wobble {
    from {
        transform: rotate(-2deg);
    }

    to {
        transform: rotate(2deg) scale(1.05);
    }
}

@keyframes chaosBackground {
    0% { background: magenta; }
    25% { background: cyan; }
    50% { background: yellow; }
    75% { background: lime; }
    100% { background: red; }
}

.chaos-object {
    font-family: Impact, "Comic Sans MS", sans-serif;
    font-weight: bold;
    pointer-events: none;
    position: fixed;
    text-shadow: 3px 3px black;
    z-index: 99999;
}

.chaos-image {
    border: 8px outset #ddd;
    max-height: 300px;
    max-width: 300px;
    pointer-events: none;
    position: fixed;
    z-index: 99998;
}

.screen-shake {
    animation: screenShake .08s infinite;
}

@keyframes screenShake {
    0% { transform: translate(0); }
    25% { transform: translate(5px, -5px); }
    50% { transform: translate(-5px, 5px); }
    75% { transform: translate(5px, 5px); }
    100% { transform: translate(-5px, -5px); }
}


/* MOBILE */

@media (max-width: 800px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .specimen-layout,
    .analysis-layout,
    .incident-section {
        grid-template-columns: 1fr;
    }

    .stats,
    .analysis-grid,
    .fact-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 25px;
    }

    .incident-text {
        padding: 50px 25px;
    }

    .zilla-placeholder {
        font-size: 45px;
    }

}