@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Courier+Prime:wght@400;700&display=swap');

:root {
    --bg-color: #050505;
    --text-color: #b0b0b0;
    --accent-color: #8a0000;
    /* Kan kırmızısı */
    --gov-stamp: #ff0000;
    --font-header: 'Special Elite', cursive;
    --font-body: 'Courier Prime', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glitch Effect Utility */
.glitch {
    position: relative;
    color: var(--text-color);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    border-bottom: 2px solid #222;
    background: #0a0a0a;
}

.logo {
    font-family: var(--font-header);
    font-size: 1.5rem;
    color: var(--text-color);
    letter-spacing: 2px;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    margin-left: 5px;
    box-shadow: 0 0 10px red;
    animation: blink 2s infinite;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

/* Main Content */
.container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
    position: relative;
}

/* Report Header */
.report-header {
    border: 1px solid #333;
    padding: 2rem;
    margin-bottom: 3rem;
    background: #080808;
    position: relative;
}

.stamp {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--gov-stamp);
    border: 3px solid var(--gov-stamp);
    padding: 10px;
    font-family: var(--font-header);
    font-size: 1.2rem;
    transform: rotate(-15deg);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 3px;
    mask-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=');
    /* Simple mask placeholder */
}

.meta-data {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #333;
    padding-bottom: 1rem;
}

.meta-data span {
    display: block;
    margin-bottom: 0.3rem;
}

/* Article */
h1 {
    font-family: var(--font-header);
    font-size: 2.5rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.report-text {
    font-size: 1.1rem;
    text-align: justify;
}

.report-text p {
    margin-bottom: 1.5rem;
}

.redacted {
    background: #000;
    color: #000;
    padding: 0 5px;
    cursor: default;
    user-select: none;
}

.highlight {
    color: var(--accent-color);
    font-weight: bold;
}

/* Evidence Images */
.evidence-grid {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.evidence-item {
    flex: 1;
    height: 150px;
    background: #111;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.evidence-item::after {
    content: 'KANIT A-' attr(data-id);
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: #555;
    font-size: 0.7rem;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 5rem;
    padding: 2rem;
    color: #333;
    font-size: 0.8rem;
    border-top: 1px solid #111;
}

/* BANNED OVERLAY */
#banned-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    color: red;
    display: none;
    /* JS will toggle */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    text-align: center;
    font-family: var(--font-header);
}

#banned-overlay h2 {
    font-size: 4rem;
    border: 5px solid red;
    padding: 2rem;
    margin-bottom: 2rem;
    background: repeating-linear-gradient(45deg, black, black 10px, #200 10px, #200 20px);
}

#banned-overlay p {
    font-size: 1.5rem;
    max-width: 600px;
    line-height: 1.5;
}

.close-btn {
    margin-top: 3rem;
    background: transparent;
    border: 1px solid red;
    color: red;
    padding: 10px 30px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.close-btn:hover {
    background: red;
    color: black;
}

/* Keyframes */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 30px, 0);
        transform: translate(2px, 0);
    }

    20% {
        clip: rect(80px, 9999px, 100px, 0);
        transform: translate(-2px, 0);
    }

    100% {
        clip: rect(40px, 9999px, 60px, 0);
        transform: translate(0, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(60px, 9999px, 80px, 0);
        transform: translate(-1px, 0);
    }

    20% {
        clip: rect(20px, 9999px, 5px, 0);
        transform: translate(1px, 0);
    }

    100% {
        clip: rect(90px, 9999px, 110px, 0);
        transform: translate(0, 0);
    }
}

/* RESPONSIVE DESIGN (Mobile) */
@media (max-width: 768px) {

    /* Navbar Adjustment */
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        font-size: 0.9rem;
    }

    /* Container */
    .container {
        margin: 2rem auto;
        padding: 0 1rem;
    }

    /* Report Header */
    .report-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    /* Move stamp to top relative flow so it doesn't cover text */
    .stamp {
        position: static;
        display: block;
        width: fit-content;
        margin: 0 auto 1rem auto;
        transform: rotate(-5deg);
        font-size: 1rem;
        text-align: center;
    }

    .meta-data {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 1.8rem;
        /* Smaller header */
        text-align: center;
    }

    /* Evidence Grid Stacking */
    .evidence-grid {
        flex-direction: column;
    }

    .evidence-item {
        width: 100%;
        height: 120px;
    }

    /* Banned Overlay Scaling */
    #banned-overlay h2 {
        font-size: 2rem;
        /* Much smaller on mobile */
        border-width: 3px;
        width: 90%;
    }

    #banned-overlay p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .close-btn {
        margin-top: 2rem;
        padding: 10px 20px;
    }

    /* Text Justification */
    .report-text {
        text-align: left;
        /* Justify can look weird on narrow screens with monospace */
    }
}