@font-face {
    font-family: 'Kanisah';
    src: url('Kanisah-oODV.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier Prime', monospace;
    background: #f8f9ff;
    color: #1a1a2e;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 12% 34%, rgba(30, 144, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 67% 78%, rgba(30, 144, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 89% 12%, rgba(30, 144, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 23% 89%, rgba(30, 144, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 45% 56%, rgba(30, 144, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 73px 73px, 91px 91px, 67px 67px, 123px 123px;
    z-index: -1;
    animation: paranoid-drift 20s infinite linear;
}

.investigation-board {
    min-height: 100vh;
    position: relative;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(30, 144, 255, 0.02) 36px,
            rgba(30, 144, 255, 0.02) 38px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 35px,
            rgba(30, 144, 255, 0.02) 36px,
            rgba(30, 144, 255, 0.02) 38px
        );
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 249, 255, 0.98);
    backdrop-filter: blur(5px);
    padding: 1rem 2rem;
    border-bottom: 3px solid #1e90ff;
    box-shadow:
        0 2px 8px rgba(30, 144, 255, 0.3),
        inset 0 -1px 0 rgba(30, 144, 255, 0.1);
    transform: rotate(-0.2deg);
    animation: header-twitch 3s infinite;
}

.logo-container {
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.logo-container::after {
    content: '← THEY KNOW';
    position: absolute;
    right: -100px;
    top: 20px;
    font-size: 0.7rem;
    color: #1e90ff;
    transform: rotate(12deg);
    font-weight: bold;
}

.main-logo {
    height: 60px;
    filter:
        drop-shadow(0 0 8px rgba(30, 144, 255, 0.6))
        drop-shadow(2px 2px 0px rgba(30, 144, 255, 0.2));
    animation: logo-paranoia 4s infinite;
}

.tagline {
    text-align: center;
    font-family: 'Kanisah', serif;
    font-weight: bold;
    letter-spacing: 4px;
    font-size: 1.3rem;
    color: #1e90ff;
    text-shadow: 0 0 5px rgba(30, 144, 255, 0.5);
    position: relative;
    animation: text-jitter 0.1s infinite;
    margin-bottom: 1rem;
}

.tagline::after {
    content: '(WAKE UP)';
    position: absolute;
    right: -80px;
    top: -5px;
    font-size: 0.6rem;
    color: #ff4444;
    transform: rotate(-8deg);
    animation: urgent-blink 1s infinite;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.nav-btn {
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    border: 2px solid #1e90ff;
    padding: 0.5rem 1rem;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0px rgba(30, 144, 255, 0.3);
    font-family: 'Courier Prime', monospace;
    position: relative;
    animation: btn-micro-twitch 0.5s infinite;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0px rgba(30, 144, 255, 0.5);
    animation: btn-panic 0.1s infinite;
}

.nav-btn.buy-token {
    background: linear-gradient(145deg, #ff4444, #ff6666);
    border-color: #ff2222;
    color: white;
    box-shadow: 3px 3px 0px rgba(255, 34, 34, 0.3);
}

.nav-btn.buy-token:hover {
    box-shadow: 5px 5px 0px rgba(255, 34, 34, 0.5);
}

@keyframes btn-micro-twitch {
    0%, 95% { transform: translateX(0); }
    2% { transform: translateX(0.3px); }
    4% { transform: translateX(-0.2px); }
    6% { transform: translateX(0); }
}

@keyframes btn-panic {
    0%, 50% { transform: translateY(-2px); }
    25% { transform: translateY(-3px) translateX(0.5px); }
    75% { transform: translateY(-1px) translateX(-0.3px); }
}

/* Main Investigation Area */
.investigation-area {
    padding-top: 180px;
    min-height: 100vh;
    position: relative;
    overflow: visible;
}

/* Copy CA Button */
.copy-ca-section {
    text-align: center;
    margin: 3rem 0 2rem 0;
    position: relative;
}

.ca-address {
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    border: 2px solid #1e90ff;
    padding: 0.8rem 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    color: #1a1a2e;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0px rgba(30, 144, 255, 0.3);
    transform: rotate(1deg);
    animation: ca-address-twitch 0.8s infinite;
    word-break: break-all;
}

@keyframes ca-address-twitch {
    0%, 94% { transform: rotate(1deg); }
    3% { transform: rotate(1.2deg) translateX(0.3px); }
    6% { transform: rotate(0.8deg) translateX(-0.2px); }
}

.copy-ca-btn {
    background: linear-gradient(145deg, #ff4444, #ff6666);
    border: 3px solid #ff2222;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Courier Prime', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 6px 6px 0px rgba(255, 34, 34, 0.4);
    animation: ca-btn-twitch 0.5s infinite;
    transform: rotate(-1deg);
}

.copy-ca-btn:hover {
    transform: rotate(1deg) scale(1.05);
    box-shadow: 8px 8px 0px rgba(255, 34, 34, 0.6);
    animation: ca-btn-panic 0.1s infinite;
}

.copy-ca-btn:active {
    transform: rotate(0deg) scale(0.95);
    box-shadow: 3px 3px 0px rgba(255, 34, 34, 0.6);
}

@keyframes ca-btn-twitch {
    0%, 96% { transform: rotate(-1deg); }
    2% { transform: rotate(-0.8deg) translateX(0.5px); }
    4% { transform: rotate(-1.2deg) translateX(-0.3px); }
}

@keyframes ca-btn-panic {
    0%, 50% { transform: rotate(1deg) scale(1.05); }
    25% { transform: rotate(1.2deg) scale(1.06) translateX(0.5px); }
    75% { transform: rotate(0.8deg) scale(1.04) translateX(-0.3px); }
}

.investigation-area::before {
    content: 'CONNECT THE DOTS CONNECT THE DOTS CONNECT THE DOTS';
    position: fixed;
    top: 200px;
    left: -500px;
    right: -500px;
    font-size: 0.8rem;
    color: rgba(30, 144, 255, 0.1);
    transform: rotate(-3deg);
    z-index: -1;
    animation: scroll-paranoia 15s infinite linear;
    white-space: nowrap;
    letter-spacing: 8px;
}

.board-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 30px,
            rgba(30, 144, 255, 0.05) 31px,
            rgba(30, 144, 255, 0.05) 32px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 30px,
            rgba(30, 144, 255, 0.05) 31px,
            rgba(30, 144, 255, 0.05) 32px
        );
    z-index: -2;
}

#connection-canvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

/* Evidence Folders */
.evidence-section {
    padding: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.evidence-section::before {
    content: 'URGENT URGENT URGENT';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 0.7rem;
    color: #ff4444;
    transform: rotate(8deg);
    animation: urgent-pulse 0.5s infinite;
}

.section-title {
    color: #1e90ff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: left;
    letter-spacing: 3px;
    text-shadow: 0 0 8px rgba(30, 144, 255, 0.4);
    border-bottom: 3px solid #1e90ff;
    padding-bottom: 0.5rem;
    font-weight: 900;
    transform: rotate(-0.5deg);
    position: relative;
    animation: title-shake 0.2s infinite;
}

.section-title::after {
    content: '← START HERE';
    position: absolute;
    right: -120px;
    top: 10px;
    font-size: 0.8rem;
    color: #ff4444;
    transform: rotate(15deg);
    animation: arrow-point 1s infinite;
}

.folder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: none;
    margin: 0;
    transform: rotate(0.3deg);
}

.evidence-folder {
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    border: 3px solid #1e90ff;
    border-radius: 0;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.1s ease;
    position: relative;
    overflow: visible;
    box-shadow:
        4px 4px 0px rgba(30, 144, 255, 0.3),
        8px 8px 0px rgba(30, 144, 255, 0.1);
    transform: rotate(var(--folder-rotation, 0deg));
    animation: folder-twitch 0.3s infinite;
}

.evidence-folder:nth-child(1) { --folder-rotation: -2deg; }
.evidence-folder:nth-child(2) { --folder-rotation: 1.5deg; }
.evidence-folder:nth-child(3) { --folder-rotation: -0.8deg; }
.evidence-folder:nth-child(4) { --folder-rotation: 2.3deg; }
.evidence-folder:nth-child(5) { --folder-rotation: -1.2deg; }
.evidence-folder:nth-child(6) { --folder-rotation: 0.9deg; }
.evidence-folder:nth-child(7) { --folder-rotation: -2.1deg; }
.evidence-folder:nth-child(8) { --folder-rotation: 1.7deg; }

.evidence-folder::before {
    content: 'FILE #' attr(data-file-num);
    position: absolute;
    top: -15px;
    left: 10px;
    background: #ff4444;
    color: white;
    padding: 2px 8px;
    font-size: 0.6rem;
    font-weight: bold;
    transform: rotate(-3deg);
    z-index: 10;
}

.evidence-folder::after {
    content: '← URGENT!';
    position: absolute;
    top: -20px;
    right: -30px;
    font-size: 0.6rem;
    color: #ff4444;
    transform: rotate(12deg);
    font-weight: bold;
    animation: urgent-blink 1s infinite;
}

.evidence-folder:hover {
    transform: translateY(-3px) rotate(var(--folder-rotation, 0deg)) scale(1.02);
    box-shadow:
        6px 6px 0px rgba(30, 144, 255, 0.4),
        12px 12px 0px rgba(30, 144, 255, 0.2);
    animation: folder-panic 0.1s infinite;
}

.folder-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1e90ff;
    animation: icon-glitch 0.5s infinite;
}

.folder-label {
    font-weight: 900;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: underline;
    text-decoration-color: #1e90ff;
    line-height: 1.2;
}

.classification {
    background: #1e90ff;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 0.3rem;
    box-shadow: 2px 2px 0px rgba(30, 144, 255, 0.5);
    transform: rotate(-1deg);
    border: 2px solid #1a1a2e;
    animation: classification-pulse 2s infinite;
}

.evidence-folder[data-theory="birds"] .classification { background: #ff4444; }
.evidence-folder[data-theory="finland"] .classification { background: #00aa44; }
.evidence-folder[data-theory="denver"] .classification { background: #ff8800; }
.evidence-folder[data-theory="australia"] .classification { background: #8844ff; }
.evidence-folder[data-theory="moon"] .classification { background: #444444; }

/* Photos Section */
.photos-section {
    position: relative;
    margin: 1rem 0;
    overflow: visible;
    background: rgba(30, 144, 255, 0.02);
    border: 1px dashed rgba(30, 144, 255, 0.2);
    padding: 1.5rem;
}

.photos-section::before {
    content: 'EVIDENCE EVIDENCE EVIDENCE';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    font-size: 0.8rem;
    color: #1e90ff;
    letter-spacing: 4px;
    font-weight: bold;
    opacity: 0.6;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.pinned-photo {
    background: white;
    padding: 4px;
    border-radius: 0;
    box-shadow:
        2px 2px 0px rgba(30, 144, 255, 0.4),
        4px 4px 0px rgba(30, 144, 255, 0.2);
    transition: all 0.2s ease;
    border: 1px solid #1e90ff;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.pinned-photo:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow:
        3px 3px 0px rgba(30, 144, 255, 0.5),
        6px 6px 0px rgba(30, 144, 255, 0.3);
}

/* Square Photo Size */
.pinned-photo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Remove all individual photo positioning - now handled by CSS Grid */

/* Evidence Labels - Clean Grid Layout */
.pinned-photo::after {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4444;
    color: white;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.photo-1::after { content: 'FEMA'; }
.photo-2::after { content: 'AGENDA21'; background: #000; }
.photo-3::after { content: 'DNA'; }
.photo-4::after { content: 'ARCTIC'; }
.photo-5::after { content: 'RITUAL'; }
.photo-6::after { content: 'PSYOP'; background: #1e90ff; }
.photo-7::after { content: 'CONTROL'; }
.photo-8::after { content: 'EPSTEIN'; background: #000; }
.photo-9::after { content: 'BIRDS'; background: #1e90ff; }
.photo-10::after { content: 'DIGITAL'; background: #000; }
.photo-11::after { content: 'CONSPIRACY'; }
.photo-12::after { content: 'CONSPIRACY2'; background: #1e90ff; }
.photo-13::after { content: 'CONSPIRACY3'; }
.photo-14::after { content: 'TROLL'; background: #000; }
.photo-15::after { content: 'TROLL2'; background: #1e90ff; }
.photo-16::after { content: 'MINDCTRL'; }
.photo-17::after { content: 'CLASSIFIED'; background: #000; }
.photo-18::after { content: 'RITUAL2'; }
.photo-19::after { content: 'NEURAL'; background: #1e90ff; }
.photo-20::after { content: 'VACCINE'; background: #000; }
.photo-21::after { content: 'MATRIX'; }
.photo-22::after { content: 'DECODE'; background: #1e90ff; }
.photo-23::after { content: 'QUANTUM'; background: #000; }
.photo-24::after { content: 'PORTAL'; }



.photo-pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #ff4757;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.photo-note {
    background: #fff200;
    color: #333;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 10px;
    transform: rotate(-1deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.video-section {
    padding: 2rem;
    margin: 3rem 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-placeholder {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 2px solid #444;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-placeholder:hover {
    transform: translateY(-3px);
    border-color: #ff6b6b;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.2);
}

.video-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.video-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.video-duration {
    color: #ff6b6b;
    font-size: 0.9rem;
    background: rgba(255, 107, 107, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
}

/* Video Modal */
.video-modal {
    display: block;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 80%;
    max-width: 800px;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    border: 3px solid #1e90ff;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.5);
}

.video-close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: -40px;
    right: 0;
    cursor: pointer;
}

.video-close:hover {
    color: #1e90ff;
}

/* Download Button */
.download-btn {
    background: linear-gradient(145deg, #ff4444, #ff6666);
    border: 2px solid #ff2222;
    color: white;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier Prime', monospace;
    width: 100%;
    box-shadow: 3px 3px 0px rgba(255, 34, 34, 0.3);
    animation: download-twitch 0.6s infinite;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0px rgba(255, 34, 34, 0.5);
    animation: download-panic 0.1s infinite;
}

@keyframes download-twitch {
    0%, 94% { transform: translateX(0); }
    2% { transform: translateX(0.3px); }
    4% { transform: translateX(-0.2px); }
}

@keyframes download-panic {
    0%, 50% { transform: translateY(-2px); }
    25% { transform: translateY(-3px) translateX(0.5px); }
    75% { transform: translateY(-1px) translateX(-0.3px); }
}

/* Video Preview Styling */
.video-preview {
    position: relative;
    cursor: pointer;
}

.video-preview video {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 2px solid #1e90ff;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.play-overlay .play-icon {
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Video Evidence Grid - Like Photo Gallery */
.video-evidence-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-evidence-item {
    position: relative;
    background: white;
    padding: 4px;
    border-radius: 0;
    box-shadow:
        2px 2px 0px rgba(30, 144, 255, 0.4),
        4px 4px 0px rgba(30, 144, 255, 0.2);
    transition: all 0.2s ease;
    border: 1px solid #1e90ff;
    cursor: pointer;
}

.video-evidence-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow:
        3px 3px 0px rgba(30, 144, 255, 0.5),
        6px 6px 0px rgba(30, 144, 255, 0.3);
}

.video-evidence-item video {
    width: 180px;
    height: 180px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.video-overlay {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    pointer-events: none;
}

.video-evidence-item:hover .video-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.video-overlay .play-icon {
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.video-pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #ff4757;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Video Evidence Labels */
.video-evidence-item::after {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4444;
    color: white;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-1::after { content: 'LEAK01'; }
.video-2::after { content: 'CLASSIFIED'; background: #000; }
.video-3::after { content: 'BREACH'; }
.video-4::after { content: 'RITUAL'; }
.video-5::after { content: 'DECODE'; background: #1e90ff; }
.video-6::after { content: 'MATRIX'; background: #000; }
.video-7::after { content: 'PSYOP'; }
.video-8::after { content: 'MINDCTRL'; background: #1e90ff; }
.video-9::after { content: 'AGENDA'; background: #000; }
.video-10::after { content: 'NEURAL'; }
.video-11::after { content: 'QUANTUM'; background: #1e90ff; }
.video-12::after { content: 'PORTAL'; background: #000; }
.video-13::after { content: 'BLACKOUT'; }
.video-14::after { content: 'GLITCH'; background: #1e90ff; }
.video-15::after { content: 'PROJECT'; background: #000; }
.video-16::after { content: 'EVIDENCE'; }
.video-17::after { content: 'COVERUP'; background: #1e90ff; }
.video-18::after { content: 'TRUTH'; background: #000; }
.video-20::after { content: 'DEEPSTATE'; background: #ff4444; }
.video-21::after { content: 'SHADOW'; background: #1e90ff; }
.video-22::after { content: 'PUPPET'; background: #000; }
.video-23::after { content: 'AGENDA'; background: #ff4444; }
.video-24::after { content: 'CONTROL'; background: #1e90ff; }
.video-25::after { content: 'MINDHACK'; background: #000; }
.video-26::after { content: 'BREACH'; background: #ff4444; }
.video-27::after { content: 'EXPOSE'; background: #1e90ff; }
.video-28::after { content: 'ENDGAME'; background: #000; }

/* Investigation Nodes */
.investigation-nodes {
    position: relative;
    height: 400px;
    margin: 3rem 0;
}

.node {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.node-dot {
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
    animation: pulse 2s infinite;
}

.node-label {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.node:hover .node-label {
    opacity: 1;
}

.node:hover .node-dot {
    transform: scale(1.3);
    box-shadow: 0 0 30px rgba(255, 107, 107, 1);
}

/* Node Positions */
.node-1 { top: 50px; left: 20%; }
.node-2 { top: 150px; left: 40%; }
.node-3 { top: 80px; right: 30%; }
.node-4 { bottom: 80px; left: 30%; }
.node-5 { bottom: 50px; right: 25%; }
.node-6 { top: 200px; left: 60%; }


/* Meme Library Styles */
.meme-library {
    padding: 3rem 2rem;
    margin: 4rem 0;
    position: relative;
}

.meme-library::before {
    content: 'VIRAL WARFARE';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 0.7rem;
    color: #ff4444;
    transform: rotate(12deg);
    animation: viral-pulse 1s infinite;
}

.subsection-title {
    color: #1e90ff;
    font-size: 1.2rem;
    margin: 2rem 0 1rem 0;
    text-align: left;
    letter-spacing: 2px;
    font-weight: bold;
    transform: rotate(-0.3deg);
    position: relative;
}

.subsection-title::after {
    content: '→';
    color: #ff4444;
    margin-left: 10px;
    animation: arrow-blink 0.8s infinite;
}

.meme-photo-grid, .meme-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.meme-item {
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    border: 2px solid #1e90ff;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px rgba(30, 144, 255, 0.3);
    transform: rotate(var(--meme-rotation, 0deg));
    animation: meme-twitch 0.4s infinite;
    position: relative;
}

.meme-item:nth-child(odd) { --meme-rotation: -1deg; }
.meme-item:nth-child(even) { --meme-rotation: 0.8deg; }
.meme-item:nth-child(3n) { --meme-rotation: -0.5deg; }

.meme-item:hover {
    transform: translateY(-3px) rotate(var(--meme-rotation, 0deg)) scale(1.02);
    box-shadow: 6px 6px 0px rgba(30, 144, 255, 0.5);
    animation: meme-panic 0.1s infinite;
}

.meme-preview {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    animation: icon-bounce 2s infinite;
}

.video-preview {
    background: rgba(30, 144, 255, 0.1);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    position: relative;
    border: 2px dashed #1e90ff;
}

.play-icon {
    font-size: 3rem;
    color: #1e90ff;
    animation: play-pulse 1.5s infinite;
}

.video-duration {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    font-size: 0.7rem;
    border-radius: 2px;
}

.meme-title {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #1a1a2e;
    text-transform: uppercase;
    line-height: 1.2;
}

.meme-tags {
    font-size: 0.7rem;
    color: #1e90ff;
    font-weight: bold;
    opacity: 0.8;
}

@keyframes viral-pulse {
    0%, 100% { opacity: 0.6; transform: rotate(12deg) scale(1); }
    50% { opacity: 1; transform: rotate(15deg) scale(1.1); }
}

@keyframes arrow-blink {
    0%, 60% { opacity: 1; }
    30% { opacity: 0.3; }
}

@keyframes meme-twitch {
    0%, 97% { transform: rotate(var(--meme-rotation, 0deg)); }
    1% { transform: rotate(calc(var(--meme-rotation, 0deg) + 0.2deg)); }
    3% { transform: rotate(calc(var(--meme-rotation, 0deg) - 0.1deg)); }
}

@keyframes meme-panic {
    0%, 50% { transform: translateY(-3px) rotate(var(--meme-rotation, 0deg)) scale(1.02); }
    25% { transform: translateY(-4px) rotate(var(--meme-rotation, 0deg)) scale(1.03); }
    75% { transform: translateY(-2px) rotate(var(--meme-rotation, 0deg)) scale(1.01); }
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes play-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 4rem;
}

.disclaimer {
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Manic Animations */
@keyframes paranoid-drift {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(2px) translateY(-1px); }
    50% { transform: translateX(-1px) translateY(2px); }
    75% { transform: translateX(1px) translateY(1px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes header-twitch {
    0%, 98% { transform: rotate(-0.2deg); }
    1% { transform: rotate(0.1deg); }
    2% { transform: rotate(-0.3deg); }
}

@keyframes logo-paranoia {
    0%, 95% { filter: drop-shadow(0 0 8px rgba(30, 144, 255, 0.6)) drop-shadow(2px 2px 0px rgba(30, 144, 255, 0.2)); }
    96% { filter: drop-shadow(0 0 12px rgba(30, 144, 255, 0.8)) drop-shadow(3px 3px 0px rgba(30, 144, 255, 0.4)); }
    98% { filter: drop-shadow(0 0 15px rgba(30, 144, 255, 1)) drop-shadow(4px 4px 0px rgba(30, 144, 255, 0.6)); }
    100% { filter: drop-shadow(0 0 8px rgba(30, 144, 255, 0.6)) drop-shadow(2px 2px 0px rgba(30, 144, 255, 0.2)); }
}

@keyframes text-jitter {
    0%, 90% { transform: translateX(0); }
    91% { transform: translateX(0.5px); }
    92% { transform: translateX(-0.5px); }
    94% { transform: translateX(0.3px); }
    96% { transform: translateX(-0.3px); }
    100% { transform: translateX(0); }
}

@keyframes urgent-blink {
    0%, 50% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

@keyframes scroll-paranoia {
    0% { transform: translateX(0) rotate(-3deg); }
    100% { transform: translateX(-100px) rotate(-3deg); }
}

@keyframes urgent-pulse {
    0%, 100% { transform: rotate(8deg) scale(1); opacity: 0.8; }
    50% { transform: rotate(10deg) scale(1.1); opacity: 1; }
}

@keyframes title-shake {
    0%, 98% { transform: rotate(-0.5deg); }
    1% { transform: rotate(-0.3deg); }
    2% { transform: rotate(-0.7deg); }
}

@keyframes arrow-point {
    0%, 50% { transform: rotate(15deg) translateX(0); }
    25% { transform: rotate(12deg) translateX(2px); }
    75% { transform: rotate(18deg) translateX(-1px); }
}

@keyframes folder-twitch {
    0%, 95% { transform: rotate(var(--folder-rotation, 0deg)); }
    96% { transform: rotate(calc(var(--folder-rotation, 0deg) + 0.5deg)); }
    98% { transform: rotate(calc(var(--folder-rotation, 0deg) - 0.3deg)); }
    100% { transform: rotate(var(--folder-rotation, 0deg)); }
}

@keyframes folder-panic {
    0%, 50% { transform: translateY(-3px) rotate(var(--folder-rotation, 0deg)) scale(1.02); }
    25% { transform: translateY(-4px) rotate(var(--folder-rotation, 0deg)) scale(1.03); }
    75% { transform: translateY(-2px) rotate(var(--folder-rotation, 0deg)) scale(1.01); }
}

@keyframes icon-glitch {
    0%, 90% { color: #1e90ff; }
    91% { color: #ff4444; }
    93% { color: #1e90ff; }
    94% { color: #ff4444; }
    96% { color: #1e90ff; }
}

@keyframes classification-pulse {
    0%, 100% { box-shadow: 2px 2px 0px rgba(30, 144, 255, 0.5); }
    50% { box-shadow: 3px 3px 0px rgba(30, 144, 255, 0.7); }
}

@keyframes photo-drift {
    0% { transform: rotate(-3deg) translateX(0) translateY(0); }
    33% { transform: rotate(-2.5deg) translateX(1px) translateY(-0.5px); }
    66% { transform: rotate(-3.5deg) translateX(-0.5px) translateY(1px); }
    100% { transform: rotate(-3deg) translateX(0) translateY(0); }
}

@keyframes photo-panic {
    0%, 50% { transform: rotate(1deg) scale(1.1); }
    25% { transform: rotate(0.5deg) scale(1.12); }
    75% { transform: rotate(1.5deg) scale(1.08); }
}

/* Paranoid Background Elements */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><text y="50" font-size="8" fill="rgba(30,144,255,0.02)" transform="rotate(45 50 50)">THEY KNOW THEY KNOW THEY KNOW</text></svg>');
    background-size: 200px 200px;
    animation: paranoid-text-scroll 30s linear infinite;
    z-index: -1;
    pointer-events: none;
}

.investigation-board::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(255, 68, 68, 0.02) 2px, transparent 2px),
        radial-gradient(circle at 85% 75%, rgba(255, 68, 68, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 45% 85%, rgba(255, 68, 68, 0.02) 1px, transparent 1px);
    background-size: 80px 80px, 120px 120px, 60px 60px;
    animation: paranoid-dots 15s linear infinite;
    z-index: -1;
}

/* Static Noise Overlay */
.investigation-board::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="2" viewBox="0 0 2 2"><rect width="1" height="1" fill="rgba(255,255,255,0.01)"/></svg>');
    background-size: 2px 2px;
    animation: static-noise 0.2s infinite;
    z-index: -1;
    pointer-events: none;
}

/* Conspiracy String Overlays */
.evidence-section::after {
    content: 'WAKE UP WAKE UP WAKE UP';
    position: absolute;
    bottom: -40px;
    right: 0;
    font-size: 0.6rem;
    color: rgba(255, 68, 68, 0.3);
    transform: rotate(8deg);
    letter-spacing: 2px;
    animation: wake-up-pulse 2s infinite;
}

.photos-section::after {
    content: 'THE EVIDENCE IS RIGHT THERE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    font-size: 0.7rem;
    color: rgba(30, 144, 255, 0.2);
    letter-spacing: 3px;
    z-index: -1;
    animation: evidence-flicker 1s infinite;
}

/* CRT Screen Effects */
@keyframes static-noise {
    0% { opacity: 0.5; }
    10% { opacity: 0.3; }
    20% { opacity: 0.6; }
    30% { opacity: 0.2; }
    40% { opacity: 0.7; }
    50% { opacity: 0.4; }
    60% { opacity: 0.8; }
    70% { opacity: 0.3; }
    80% { opacity: 0.5; }
    90% { opacity: 0.6; }
    100% { opacity: 0.4; }
}

@keyframes paranoid-text-scroll {
    0% { transform: translateX(0) translateY(0) rotate(45deg); }
    100% { transform: translateX(-200px) translateY(-200px) rotate(45deg); }
}

@keyframes paranoid-dots {
    0% { transform: translateX(0) translateY(0); }
    33% { transform: translateX(10px) translateY(-5px); }
    66% { transform: translateX(-5px) translateY(8px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes wake-up-pulse {
    0%, 100% { opacity: 0.3; transform: rotate(8deg) scale(1); }
    50% { opacity: 0.8; transform: rotate(10deg) scale(1.05); }
}

@keyframes evidence-flicker {
    0%, 90% { opacity: 0.2; }
    5% { opacity: 0.4; }
    10% { opacity: 0.1; }
    15% { opacity: 0.3; }
}

/* Random Paranoid Text Elements */
.folder-grid::before {
    content: 'CONNECT THE DOTS';
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 0.7rem;
    color: rgba(255, 68, 68, 0.4);
    transform: rotate(-5deg);
    animation: dots-blink 0.8s infinite;
    z-index: -1;
}

.folder-grid::after {
    content: 'QUESTION EVERYTHING';
    position: absolute;
    bottom: -30px;
    right: 30px;
    font-size: 0.6rem;
    color: rgba(30, 144, 255, 0.4);
    transform: rotate(12deg);
    animation: question-pulse 1.5s infinite;
    z-index: -1;
}

@keyframes dots-blink {
    0%, 70% { opacity: 0.4; }
    35% { opacity: 0.8; }
}

@keyframes question-pulse {
    0%, 100% { opacity: 0.4; transform: rotate(12deg) scale(1); }
    50% { opacity: 0.7; transform: rotate(10deg) scale(1.02); }
}

/* Extra Folder Twitching */
.evidence-folder:nth-child(odd) {
    animation: folder-twitch 0.3s infinite, paranoid-micro-shake 0.1s infinite;
}

.evidence-folder:nth-child(even) {
    animation: folder-twitch 0.4s infinite, paranoid-micro-shake 0.15s infinite;
}

@keyframes paranoid-micro-shake {
    0%, 90% { transform: rotate(var(--folder-rotation, 0deg)); }
    2% { transform: rotate(calc(var(--folder-rotation, 0deg) + 0.1deg)) translateX(0.2px); }
    4% { transform: rotate(calc(var(--folder-rotation, 0deg) - 0.1deg)) translateX(-0.1px); }
    6% { transform: rotate(var(--folder-rotation, 0deg)) translateX(0); }
}

/* Hidden Messages */
.header::before {
    content: 'THEY\'RE LISTENING';
    position: absolute;
    top: -20px;
    right: 100px;
    font-size: 0.5rem;
    color: rgba(255, 68, 68, 0.3);
    transform: rotate(-15deg);
    animation: listening-fade 3s infinite;
}

@keyframes listening-fade {
    0%, 80% { opacity: 0; }
    10%, 70% { opacity: 0.3; }
    40% { opacity: 0.6; }
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    /* Header Mobile */
    .header {
        padding: 1rem;
        text-align: center;
    }

    .nav-buttons {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        margin: 0.2rem;
    }

    .main-logo {
        height: 50px;
    }

    .tagline {
        font-size: 1.1rem;
        letter-spacing: 2px;
        margin-bottom: 0.8rem;
    }

    .tagline::after {
        right: -60px;
        font-size: 0.5rem;
    }

    /* Investigation Area Mobile */
    .investigation-area {
        padding-top: 160px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Evidence Section Mobile */
    .evidence-section {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.4rem;
        letter-spacing: 2px;
        text-align: center;
    }

    .section-title::after {
        display: none; /* Hide arrow on mobile */
    }

    .folder-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .evidence-folder {
        padding: 0.8rem;
    }

    .folder-label {
        font-size: 0.8rem;
        line-height: 1.1;
    }

    .folder-icon {
        font-size: 1.6rem;
    }

    .classification {
        font-size: 0.6rem;
        padding: 0.1rem 0.4rem;
    }

    /* Photos Section Mobile */
    .photos-section {
        padding: 1rem;
    }

    .photos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: none;
        padding: 0 0.5rem;
    }

    .pinned-photo img {
        width: 100px;
        height: 100px;
    }

    .pinned-photo::after {
        font-size: 0.6rem;
        padding: 2px 6px;
        bottom: -18px;
    }

    /* Video Evidence Gallery Mobile */
    .video-evidence-section {
        padding: 1rem;
    }

    .video-evidence-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 0.5rem;
        max-width: none;
    }

    .video-evidence-item video {
        width: 100px;
        height: 100px;
    }

    .video-evidence-item::after {
        font-size: 0.6rem;
        padding: 2px 6px;
        bottom: -18px;
    }

    .video-pin {
        width: 12px;
        height: 12px;
    }

    .video-overlay .play-icon {
        font-size: 1.5rem;
    }

    /* CA Address Mobile */
    .copy-ca-section {
        padding: 0 1rem;
        margin: 2rem 0 1.5rem 0;
    }

    .ca-address {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        max-width: calc(100vw - 2rem);
        box-sizing: border-box;
        word-break: break-all;
        overflow-wrap: break-word;
        white-space: normal;
        display: block;
        margin: 0 auto 1rem auto;
    }

    .copy-ca-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        letter-spacing: 1px;
        max-width: calc(100vw - 2rem);
        box-sizing: border-box;
        display: block;
        margin: 0 auto;
    }

    /* Meme Library Mobile */
    .meme-library {
        padding: 2rem 1rem;
    }

    .subsection-title {
        font-size: 1rem;
        text-align: center;
        letter-spacing: 1px;
    }

    .meme-photo-grid, .meme-video-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .meme-item {
        padding: 0.8rem;
    }

    .meme-title {
        font-size: 0.8rem;
    }

    .meme-tags {
        font-size: 0.65rem;
    }

    /* Investigation Nodes Mobile */
    .investigation-nodes {
        height: 250px;
        padding: 0 1rem;
    }

    .node-label {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .node-dot {
        width: 16px;
        height: 16px;
    }

    /* Footer Mobile */
    .footer {
        padding: 1.5rem 1rem;
    }

    .disclaimer {
        font-size: 0.75rem;
    }

    /* Reduce paranoid effects on mobile for better performance */
    body::after,
    .investigation-board::before,
    .investigation-board::after {
        opacity: 0.3;
        animation-duration: 40s; /* Slower animations */
    }

    /* Reduce animations on mobile */
    .evidence-folder,
    .pinned-photo,
    .video-evidence-item,
    .meme-item {
        animation-duration: 1s; /* Slower, less intensive */
    }

    /* Hide some decorative elements on mobile */
    .logo-container::after,
    .evidence-section::before,
    .folder-grid::before,
    .folder-grid::after,
    .evidence-section::after,
    .photos-section::after,
    .meme-library::before,
    .header::before {
        display: none;
    }

    /* Hide urgent arrows and decorative text */
    .evidence-folder::after {
        display: none;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .folder-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.2rem;
    }

    .photos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .video-evidence-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .pinned-photo img,
    .video-evidence-item video {
        width: 140px;
        height: 140px;
    }

    .nav-buttons {
        gap: 0.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* Large Screen Optimizations */
@media (min-width: 1200px) {
    .photos-grid {
        grid-template-columns: repeat(6, 1fr);
        max-width: 1400px;
    }

    .video-evidence-grid {
        grid-template-columns: repeat(6, 1fr);
        max-width: 1400px;
    }

    .folder-grid {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Classified Document Styling */
.classified-header {
    background: rgba(255, 68, 68, 0.1);
    border: 2px solid #ff4444;
    padding: 0.8rem;
    margin-bottom: 1rem;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.classified-header::before {
    content: 'CLASSIFIED';
    position: absolute;
    top: -8px;
    right: 10px;
    background: #ff4444;
    color: white;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    transform: rotate(-2deg);
}

.classified-header p {
    margin: 0.2rem 0;
    color: #1a1a2e;
}

.classified-footer {
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid #1e90ff;
    padding: 0.5rem;
    margin-top: 1rem;
    font-family: 'Courier Prime', monospace;
    font-size: 0.7rem;
    text-align: center;
    color: #666;
    border-radius: 0;
}

.classified-footer small {
    opacity: 0.8;
}