:root {
    --bg-color: #050505;
    --text-main: #e0e0e0;
    --accent: #ff2a2a;
    --accent-dim: rgba(255, 42, 42, 0.2);
    --border: #333;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Lightweight CRT Scanline Effect */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.4;
}

/* Typography & Glitch */
.glitch-text {
    color: var(--text-main);
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.glitch-text::before, .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #00ffff;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(15px, 9999px, 80px, 0); }
    20% { clip: rect(40px, 9999px, 10px, 0); }
    40% { clip: rect(90px, 9999px, 30px, 0); }
    60% { clip: rect(10px, 9999px, 90px, 0); }
    80% { clip: rect(60px, 9999px, 20px, 0); }
    100% { clip: rect(30px, 9999px, 50px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(10px, 9999px, 40px, 0); }
    40% { clip: rect(30px, 9999px, 80px, 0); }
    60% { clip: rect(80px, 9999px, 20px, 0); }
    80% { clip: rect(20px, 9999px, 90px, 0); }
    100% { clip: rect(90px, 9999px, 10px, 0); }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid var(--accent);
    background: rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
}

.pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 42, 42, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 42, 42, 0); }
}

.session-id {
    color: var(--accent);
    font-weight: bold;
    letter-spacing: 1px;
}

.download-link {
    color: #888;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    border-bottom: 1px dashed #888;
    transition: color 0.3s;
}

.download-link:hover {
    color: var(--text-main);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero {
    margin-bottom: 60px;
}

.hero-top {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 25px;
    align-items: stretch;
}

.hero-top .crt-terminal {
    flex: 3;
    min-width: 0;
}

.hero-top .managers-grid {
    flex: 2;
    min-width: 0;
}

/* CRT Terminal */
.crt-terminal {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(191,95,255,0.1), 0 4px 30px rgba(0,0,0,0.8), inset 0 0 60px rgba(0,0,0,0.3);
    border: 3px solid #222;
    background: #000;
    position: relative;
}

.crt-header {
    background: #1a1a1a;
    padding: 6px 12px;
    font-family: 'PressStart', 'Courier New', monospace;
    font-size: 0.6rem;
    color: #777;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.crt-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.crt-dot-r { background: #ff5f56; }
.crt-dot-y { background: #ffbd2e; }
.crt-dot-g { background: #bf5fff; }

.crt-screen {
    background: #0a0a0a;
    padding: 15px;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    font-family: 'PressStart', 'Courier New', monospace;
    font-size: 0.65rem;
    color: #bf5fff;
    line-height: 2;
    text-shadow: 0 0 4px rgba(191,95,255,0.6), 0 0 10px rgba(191,95,255,0.25);
}

.crt-scanlines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.15) 2px,
        rgba(0,0,0,0.15) 4px
    );
    pointer-events: none;
    z-index: 2;
}

.crt-screen::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

.crt-line {
    position: relative;
    z-index: 3;
    white-space: pre-wrap;
    word-break: break-all;
}

.crt-line.crt-output {
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(255,255,255,0.5), 0 0 15px rgba(255,255,255,0.15);
}

.crt-cursor {
    display: inline-block;
    width: 0.6em;
    height: 1.1em;
    background: #bf5fff;
    vertical-align: text-bottom;
    animation: crt-blink 0.7s infinite;
    box-shadow: 0 0 5px rgba(191,95,255,0.8);
}

@keyframes crt-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.crt-ok {
    color: #fff !important;
    text-shadow: 0 0 6px rgba(255,255,255,0.5), 0 0 15px rgba(255,255,255,0.15) !important;
}

.crt-search-item {
    color: #ff0 !important;
    font-weight: normal !important;
    text-shadow: 0 0 4px rgba(255,255,0,0.4) !important;
}

.crt-spin {
    color: #bf5fff;
}

.description {
    font-size: 1.1rem;
    color: #ccc;
    text-align: justify;
    line-height: 1.8;
}

/* Ransom Note Style Words */
[class^="rn-"] {
    display: inline-block;
    padding: 2px 6px;
    margin: 0 2px;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.rn-1 { background-color: #fff; transform: rotate(-2deg); font-family: 'Arial', sans-serif; }
.rn-2 { background-color: var(--accent); color: #fff; transform: rotate(3deg); font-family: 'Courier New', monospace; font-size: 1.2rem; }
.rn-3 { background-color: #ffff00; transform: rotate(-4deg); font-family: 'Times New Roman', serif; }
.rn-4 { background-color: #ff00ff; transform: rotate(1deg); font-family: 'Impact', serif; font-size: 1.3rem; }
.rn-5 { background-color: var(--accent); color: #000; transform: rotate(-3deg); font-family: 'Verdana', sans-serif; }
.rn-6 { background-color: #00ffff; transform: rotate(4deg); font-family: 'Georgia', serif; }
.rn-7 { background-color: #fff; transform: rotate(2deg); font-family: 'Trebuchet MS', sans-serif; text-decoration: line-through; }
.rn-8 { background-color: var(--accent); color: #fff; transform: rotate(-5deg); font-family: 'Courier New', monospace; font-size: 1.25rem; }
.rn-9 { background-color: #ff0000; color: #fff; transform: rotate(3deg); font-family: 'Arial Black', sans-serif; border: 1px dashed #fff; }

/* Managers Grid */
.managers-grid {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.manager-card {
    border: 1px solid var(--accent);
    background: rgba(255, 42, 42, 0.05);
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

.role-tag {
    color: var(--accent);
    font-size: 0.8rem;
    vertical-align: middle;
    margin-left: 5px;
    text-shadow: 0 0 5px var(--accent);
}

.manager-photo {
    height: 120px;
    background: repeating-linear-gradient(
      45deg,
      #111,
      #111 10px,
      #222 10px,
      #222 20px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: bold;
    letter-spacing: 3px;
    border: 1px solid var(--border);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.manager-photo.photo-ceo, .manager-photo.photo-cto {
    filter: grayscale(100%) contrast(1.2);
}

.hacked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.8) 0px,
        rgba(255, 0, 0, 0.4) 2px,
        rgba(0, 0, 0, 0.9) 4px
    ),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 1  0 0 0 0 0  0 0 0 0 0  0 0 0 7 -2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: bold;
    text-shadow: 4px 4px rgba(255, 0, 0, 1), -4px -4px rgba(0, 0, 0, 1);
    letter-spacing: 5px;
    opacity: 0;
    animation: hack-cycle 10s infinite, static-move 0.1s infinite steps(5);
    mix-blend-mode: normal;
}

.hacked-overlay.hacked {
    /* Сдвигаем цикл на 5 секунд (половину от 10s), чтобы они работали в противофазе */
    animation-delay: -5s, 0s;
}

@keyframes static-move {
    0% { background-position: 0 0, 0 0; }
    20% { background-position: 0 5px, 20px 40px; }
    40% { background-position: 0 10px, -30px 10px; }
    60% { background-position: 0 15px, 50px -50px; }
    80% { background-position: 0 20px, -10px 30px; }
    100% { background-position: 0 25px, 0 0; }
}

.hacked-overlay::before, .hacked-overlay::after {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.hacked-overlay::before {
    left: 4px;
    text-shadow: -4px 0 rgba(255, 0, 0, 0.9), 2px 2px rgba(255, 255, 255, 0.5);
    clip: rect(24px, 550px, 90px, 0);
    animation: hack-glitch-1 0.15s infinite linear alternate-reverse;
}

.hacked-overlay::after {
    left: -4px;
    text-shadow: 4px 0 rgba(20, 20, 20, 0.9), -2px -2px rgba(0, 255, 255, 0.5);
    clip: rect(85px, 550px, 140px, 0);
    animation: hack-glitch-2 0.2s infinite linear alternate-reverse;
}

@keyframes hack-glitch-1 {
    0% { clip: rect(10px, 9999px, 30px, 0); transform: translateX(-5px) skewX(5deg); }
    10% { clip: rect(40px, 9999px, 50px, 0); transform: translateX(5px) skewX(-5deg); }
    20% { clip: rect(80px, 9999px, 120px, 0); transform: translateX(-10px) skewX(10deg); }
    30% { clip: rect(5px, 9999px, 20px, 0); transform: translateX(10px) skewX(-10deg); }
    40% { clip: rect(90px, 9999px, 110px, 0); transform: translateX(-8px) skewX(8deg); }
    50% { clip: rect(30px, 9999px, 70px, 0); transform: translateX(8px) skewX(-8deg); }
    60% { clip: rect(110px, 9999px, 140px, 0); transform: translateX(-12px) skewX(12deg); }
    70% { clip: rect(50px, 9999px, 90px, 0); transform: translateX(12px) skewX(-12deg); }
    80% { clip: rect(20px, 9999px, 60px, 0); transform: translateX(-6px) skewX(6deg); }
    90% { clip: rect(70px, 9999px, 100px, 0); transform: translateX(6px) skewX(-6deg); }
    100% { clip: rect(15px, 9999px, 45px, 0); transform: translateX(-4px) skewX(4deg); }
}

@keyframes hack-glitch-2 {
    0% { clip: rect(60px, 9999px, 100px, 0); transform: translateX(5px) skewX(-5deg); }
    10% { clip: rect(10px, 9999px, 40px, 0); transform: translateX(-5px) skewX(5deg); }
    20% { clip: rect(30px, 9999px, 80px, 0); transform: translateX(10px) skewX(-10deg); }
    30% { clip: rect(80px, 9999px, 20px, 0); transform: translateX(-10px) skewX(10deg); }
    40% { clip: rect(20px, 9999px, 90px, 0); transform: translateX(8px) skewX(-8deg); }
    50% { clip: rect(90px, 9999px, 10px, 0); transform: translateX(-8px) skewX(8deg); }
    60% { clip: rect(40px, 9999px, 110px, 0); transform: translateX(12px) skewX(-12deg); }
    70% { clip: rect(120px, 9999px, 60px, 0); transform: translateX(-12px) skewX(12deg); }
    80% { clip: rect(50px, 9999px, 30px, 0); transform: translateX(6px) skewX(-6deg); }
    90% { clip: rect(110px, 9999px, 50px, 0); transform: translateX(-6px) skewX(6deg); }
    100% { clip: rect(70px, 9999px, 130px, 0); transform: translateX(4px) skewX(-4deg); }
}

@keyframes hack-cycle {
    0%, 45% {
        opacity: 0;
        transform: scale(1.1);
    }
    48% {
        opacity: 0.8;
        transform: scale(1);
    }
    50%, 95% {
        opacity: 1;
        transform: scale(1);
    }
    98% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
    }
}

.blame-text {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.4;
    border-left: 2px solid var(--accent);
    padding-left: 10px;
}

.mini-profile {
    font-size: 0.8rem;
    color: #888;
    background: rgba(0,0,0,0.5);
    padding: 8px;
    border: 1px solid #333;
}

.mini-profile div {
    margin-bottom: 3px;
}

.mini-profile strong {
    color: var(--text-main);
}

.manager-photo::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.manager-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.manager-info span {
    color: var(--accent);
    font-size: 0.8rem;
}

/* Leaks Section */
.leaks-section h2 {
    color: var(--accent);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.leak-card {
    border-left: 3px solid var(--accent);
    padding: 15px 20px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.2s, background 0.2s;
}

.leak-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.leak-featured {
    border-left: 3px solid var(--accent);
    border: 1px solid var(--accent);
    background: rgba(255, 42, 42, 0.03);
    padding: 25px;
}

.leak-featured:hover {
    transform: none;
}

.leak-codename {
    color: var(--accent);
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255,42,42,0.5);
    font-size: 0.95rem;
}

.leak-description {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.leak-description strong {
    color: #fff;
}

.leak-address {
    color: var(--accent);
    font-style: italic;
    font-weight: bold;
}

.leak-files-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.leak-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.4);
    padding: 8px;
    transition: all 0.3s;
    overflow: hidden;
}

.leak-thumb:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255,42,42,0.3);
    transform: scale(1.03);
}

.leak-thumb img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    filter: grayscale(30%);
    margin-bottom: 6px;
    background: #111;
}

.leak-thumb:hover img {
    filter: grayscale(0%);
}

.thumb-label {
    color: #999;
    font-size: 0.7rem;
    text-align: center;
    word-break: break-all;
    line-height: 1.3;
}

.leak-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #888;
    font-size: 0.9rem;
}

.leak-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.dl-link {
    display: inline-block;
    color: var(--text-main);
    text-decoration: none;
    margin-right: 15px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.dl-link:hover {
    background: var(--text-main);
    color: var(--bg-color);
}

/* Audio Samples — compact hacker style */
.audio-samples {
    margin-top: 18px;
    padding: 12px;
    border: 1px solid #2a2a2a;
    background: #050505;
}

.samples-header {
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.blink {
    animation: blink-rec 1s steps(1) infinite;
}

@keyframes blink-rec {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.audio-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.atrack {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
}

.atrack-id {
    color: #444;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.atrack audio {
    width: 100%;
    height: 30px;
    filter: sepia(30%) hue-rotate(-20deg) saturate(2);
}

/* Mega CTA — retro CGA hacker style */
@font-face {
    font-family: 'PressStart';
    src: url('https://fonts.gstatic.com/s/pressstart2p/v15/e3t4euO8T-267oIAQAu6jDQyK3nVivM.woff2') format('woff2');
    font-display: swap;
}

.mega-cta {
    margin-top: 25px;
    text-align: center;
}

.mega-btn {
    display: inline-block;
    padding: 28px 55px;
    background: #0a0000;
    border: 2px solid var(--accent);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.3s;
    box-shadow: 0 0 10px rgba(255,42,42,0.2);
}

.mega-btn::before,
.mega-btn::after {
    display: none;
}

.mega-btn:hover {
    border-color: #0ff;
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(255,42,42,0.5), 0 0 80px rgba(0,255,255,0.2);
}

.mega-btn:hover .mega-glitch { color: #fff; }
.mega-btn:hover .mega-sub { color: #ccc; }

.mega-glitch {
    display: block;
    font-family: 'PressStart', 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    text-shadow: 1px 0 rgba(0,255,255,0.3), -1px 0 rgba(255,0,255,0.3);
}

.mega-glitch::before,
.mega-glitch::after {
    display: none;
}

@keyframes hard-glitch {
    0% { transform: translate(0); text-shadow: 2px 0 #0ff, -2px 0 #f0f; }
    10% { transform: translate(-3px, 1px); text-shadow: 3px 0 #0ff, -1px 0 #f0f; }
    20% { transform: translate(2px, -1px); text-shadow: -2px 0 #0ff, 3px 0 #f0f; }
    30% { transform: translate(0); text-shadow: 1px 0 #0ff, -1px 0 #f0f; }
    40% { transform: translate(4px, 0); text-shadow: -3px 0 #0ff, 2px 0 #f0f; }
    50% { transform: translate(-2px, 1px); text-shadow: 2px 0 #0ff, -2px 0 #f0f; }
    60% { transform: translate(0); text-shadow: 0 0 #0ff, 0 0 #f0f; }
    70% { transform: translate(3px, -1px); text-shadow: -4px 0 #0ff, 3px 0 #f0f; }
    80% { transform: translate(-1px, 0); text-shadow: 2px 0 #0ff, -3px 0 #f0f; }
    90% { transform: translate(0, 1px); text-shadow: -1px 0 #0ff, 1px 0 #f0f; }
    100% { transform: translate(0); text-shadow: 2px 0 #0ff, -2px 0 #f0f; }
}

@keyframes glitch-cyan {
    0% { transform: translate(0); }
    15% { transform: translate(-5px, -2px); }
    30% { transform: translate(4px, 1px); }
    45% { transform: translate(-2px, -1px); }
    60% { transform: translate(5px, 2px); }
    75% { transform: translate(-3px, 0); }
    90% { transform: translate(2px, -1px); }
    100% { transform: translate(0); }
}

@keyframes glitch-magenta {
    0% { transform: translate(0); }
    12% { transform: translate(4px, 1px); }
    25% { transform: translate(-3px, -2px); }
    37% { transform: translate(5px, 0); }
    50% { transform: translate(-4px, 2px); }
    62% { transform: translate(2px, -1px); }
    75% { transform: translate(-5px, 1px); }
    87% { transform: translate(3px, -2px); }
    100% { transform: translate(0); }
}

@keyframes cga-gradient {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 0% 50%; }
    100% { background-position: 0% 50%; }
}

.mega-sub {
    display: block;
    font-family: 'PressStart', 'Courier New', monospace;
    color: #0f0;
    font-size: 0.55rem;
    margin-top: 12px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0,255,0,0.5);
}

@keyframes flicker-sub {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes mega-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255,42,42,0.3), 0 0 20px rgba(0,255,255,0.1); }
    50% { box-shadow: 0 0 30px rgba(255,42,42,0.5), 0 0 60px rgba(0,255,255,0.15), 0 0 80px rgba(255,0,255,0.1); }
}

@keyframes mega-sweep {
    0% { left: -100%; }
    100% { left: 150%; }
}

/* Phase 2 Card */
.phase2-card {
    border: 1px solid #661111;
    background: linear-gradient(135deg, rgba(60,0,0,0.3) 0%, rgba(0,0,0,0.9) 50%, rgba(60,0,0,0.3) 100%);
    position: relative;
    overflow: hidden;
}

.phase2-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(120,0,0,0.03) 3px,
        rgba(120,0,0,0.03) 6px
    );
    pointer-events: none;
    z-index: 0;
}

.phase2-card > * {
    position: relative;
    z-index: 1;
}

.phase2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 15px;
}

.phase2-half {
    padding: 22px;
    border: 2px solid #5a0a0a;
    background: rgba(40,0,0,0.4);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.3s;
}

.phase2-half:first-child {
    border-right: 1px solid #5a0a0a;
}

.phase2-half:last-child {
    border-left: 1px solid #5a0a0a;
}

.phase2-half::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 30px rgba(120,0,0,0.15);
    pointer-events: none;
}

.phase2-half:hover {
    border-color: #8a1a1a;
}

.phase2-inactive-tag {
    display: inline-block;
    font-family: 'PressStart', 'Courier New', monospace;
    font-size: 0.6rem;
    color: #777;
    letter-spacing: 3px;
    border: 1px solid #444;
    padding: 4px 10px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.phase2-subtitle {
    font-family: 'PressStart', 'Courier New', monospace;
    color: #eecccc;
    font-size: 1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255,42,42,0.4), 0 0 30px rgba(255,0,0,0.15);
    line-height: 1.6;
}

.phase2-desc {
    font-family: 'Courier New', monospace;
    color: #bb9999;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.phase2-targets {
    list-style: none;
    margin-bottom: 22px;
}

.phase2-targets li {
    padding: 12px 14px;
    border-left: 3px solid #8a1a1a;
    margin-bottom: 8px;
    background: rgba(80,0,0,0.2);
    font-family: 'PressStart', 'Courier New', monospace;
    font-size: 0.7rem;
    line-height: 1.8;
    letter-spacing: 1px;
    transition: background 0.2s, border-color 0.2s;
}

.phase2-targets li:hover {
    background: rgba(120,0,0,0.3);
    border-color: var(--accent);
}

.phase2-targets a {
    color: #ddc0c0;
    text-decoration: none;
    font-weight: bold;
}

.phase2-targets a:hover {
    color: #fff;
}

.phase2-contact {
    color: #887777;
    font-size: 0.8rem;
}

/* Serious Countdown Timer */
.phase2-timer-wrap {
    margin-top: auto;
    text-align: center;
    padding: 18px 12px;
    border: 2px solid #8a1a1a;
    background: linear-gradient(180deg, rgba(60,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%);
    box-shadow: inset 0 0 20px rgba(120,0,0,0.2), 0 0 15px rgba(120,0,0,0.15);
}

.phase2-timer-label {
    color: #cc3333;
    font-size: 0.6rem;
    letter-spacing: 4px;
    margin-bottom: 12px;
    font-family: 'PressStart', 'Courier New', monospace;
    text-transform: uppercase;
    animation: label-flicker 3s ease-in-out infinite;
}

@keyframes label-flicker {
    0%, 90%, 100% { opacity: 1; }
    92% { opacity: 0.3; }
    94% { opacity: 0.9; }
    96% { opacity: 0.4; }
}

.phase2-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.cd-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cd-digits {
    font-family: 'PressStart', 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff1a1a;
    background: rgba(0,0,0,0.7);
    border: 1px solid #5a0a0a;
    padding: 8px 12px;
    min-width: 60px;
    text-align: center;
    text-shadow: 0 0 12px rgba(255,20,20,0.9), 0 0 30px rgba(255,20,20,0.5), 0 0 60px rgba(255,0,0,0.3);
    animation: digit-glow 1.5s ease-in-out infinite;
    position: relative;
}

.cd-digits::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(255,50,50,0.08) 0%, transparent 40%, transparent 60%, rgba(255,50,50,0.05) 100%);
    pointer-events: none;
}

@keyframes digit-glow {
    0%, 100% { text-shadow: 0 0 12px rgba(255,20,20,0.9), 0 0 30px rgba(255,20,20,0.5); box-shadow: inset 0 0 8px rgba(120,0,0,0.3); }
    50% { text-shadow: 0 0 20px rgba(255,20,20,1), 0 0 50px rgba(255,20,20,0.7), 0 0 80px rgba(255,0,0,0.4); box-shadow: inset 0 0 15px rgba(120,0,0,0.5); }
}

.cd-label {
    font-family: 'PressStart', 'Courier New', monospace;
    font-size: 0.4rem;
    color: #663333;
    margin-top: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cd-sep {
    font-family: 'PressStart', 'Courier New', monospace;
    font-size: 1.8rem;
    color: #8a1a1a;
    padding-bottom: 18px;
    animation: sep-blink 1s steps(1) infinite;
}

@keyframes sep-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.2; }
}

/* Right card — emails */
.phase2-emails {
    margin-bottom: 18px;
}

.phase2-email-addr {
    font-family: 'PressStart', 'Courier New', monospace;
    color: #cc9999;
    font-size: 0.65rem;
    padding: 10px 14px;
    border-left: 3px solid #5a0a0a;
    margin-bottom: 6px;
    background: rgba(60,0,0,0.2);
    letter-spacing: 1px;
    line-height: 1.6;
    transition: border-color 0.2s, color 0.2s;
}

.phase2-email-addr:hover {
    border-color: var(--accent);
    color: #fff;
}

.phase2-status-wrap {
    margin-top: auto;
    text-align: center;
    padding: 18px;
}

/* Insane Progress Bar */
.phase2-progress {
    width: 100%;
    position: relative;
}

.phase2-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
}

.phase2-progress-label {
    font-family: 'PressStart', 'Courier New', monospace;
    font-size: 0.5rem;
    color: #cc6600;
    letter-spacing: 2px;
    animation: label-flicker 3s ease-in-out infinite;
}

.phase2-progress-pct {
    font-family: 'PressStart', 'Courier New', monospace;
    font-size: 2rem;
    font-weight: bold;
    color: #ff4400;
    position: relative;
    text-shadow: 0 0 15px rgba(255,68,0,0.9), 0 0 40px rgba(255,68,0,0.5), 0 0 80px rgba(255,0,0,0.3);
    animation: pct-glitch 4s infinite;
}

.phase2-progress-pct::before,
.phase2-progress-pct::after {
    content: '78%';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.phase2-progress-pct::before {
    color: #0ff;
    animation: pct-shift-cyan 3s infinite;
    clip-path: inset(0 0 55% 0);
}

.phase2-progress-pct::after {
    color: #f0f;
    animation: pct-shift-mag 2.5s infinite;
    clip-path: inset(50% 0 0 0);
}

@keyframes pct-glitch {
    0%, 92%, 100% { transform: none; }
    93% { transform: translate(-3px, 1px) skewX(2deg); }
    94% { transform: translate(2px, -1px) skewX(-1deg); }
    95% { transform: translate(-1px, 2px); }
    96% { transform: none; }
}

@keyframes pct-shift-cyan {
    0%, 90%, 100% { transform: none; opacity: 0; }
    91% { transform: translate(-4px, -1px); opacity: 0.7; }
    93% { transform: translate(3px, 1px); opacity: 0.5; }
    95% { transform: none; opacity: 0; }
}

@keyframes pct-shift-mag {
    0%, 88%, 100% { transform: none; opacity: 0; }
    89% { transform: translate(3px, 2px); opacity: 0.6; }
    91% { transform: translate(-2px, -1px); opacity: 0.4; }
    93% { transform: none; opacity: 0; }
}

.phase2-progress-track {
    width: 100%;
    height: 36px;
    background: #000;
    border: 1px solid #441100;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255,60,0,0.15), inset 0 0 30px rgba(0,0,0,0.8);
}

.phase2-progress-fill {
    height: 100%;
    width: 90%;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            #1a0500 0%,
            #4a1000 20%,
            #882200 40%,
            #cc3300 55%,
            #ff4400 70%,
            #ff6600 78%,
            #ffaa00 85%,
            #ff4400 100%
        );
    background-size: 200% 100%;
    animation: plasma-shift 3s ease-in-out infinite;
}

@keyframes plasma-shift {
    0% { background-position: 0% 50%; filter: brightness(1) saturate(1); }
    25% { filter: brightness(1.2) saturate(1.3); }
    50% { background-position: 50% 50%; filter: brightness(0.9) saturate(1.1); }
    75% { filter: brightness(1.3) saturate(1.2); }
    100% { background-position: 0% 50%; filter: brightness(1) saturate(1); }
}

/* Horizontal scan beam */
.phase2-progress-glow {
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), rgba(255,200,100,0.25), rgba(255,255,255,0.15), transparent);
    animation: scan-beam 2s cubic-bezier(0.4,0,0.2,1) infinite;
    z-index: 4;
    pointer-events: none;
}

@keyframes scan-beam {
    0% { left: -30%; }
    100% { left: 110%; }
}

/* Vertical scanlines */
.phase2-progress-stripes {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,0.2) 3px,
        rgba(0,0,0,0.2) 4px
    );
    z-index: 2;
    pointer-events: none;
}

/* Bright edge with particles */
.phase2-progress-fill::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -3px;
    width: 6px;
    height: calc(100% + 8px);
    background: #fff;
    box-shadow:
        0 0 8px #ff4400,
        0 0 20px #ff4400,
        0 0 40px rgba(255,68,0,0.7),
        0 0 80px rgba(255,68,0,0.4),
        -5px 0 15px rgba(255,68,0,0.5),
        -10px 0 30px rgba(255,68,0,0.3);
    z-index: 5;
    animation: edge-flare 1.5s ease-in-out infinite;
}

@keyframes edge-flare {
    0%, 100% {
        height: calc(100% + 8px);
        box-shadow: 0 0 8px #ff4400, 0 0 20px #ff4400, 0 0 40px rgba(255,68,0,0.7);
    }
    50% {
        height: calc(100% + 16px);
        top: -8px;
        box-shadow: 0 0 15px #ffaa00, 0 0 35px #ff4400, 0 0 60px rgba(255,68,0,0.9), 0 0 100px rgba(255,68,0,0.4);
    }
}

/* Noise texture overlay */
.phase2-progress-track::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Bottom reflection glow */
.phase2-progress-track::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 78%;
    height: 8px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,68,0,0.2) 50%, rgba(255,100,0,0.4) 100%);
    filter: blur(6px);
    z-index: 0;
    animation: reflection-pulse 2s ease-in-out infinite;
}

@keyframes reflection-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Tablet */
@media (max-width: 1024px) {
    .phase2-half {
        padding: 18px;
    }
    .phase2-subtitle {
        font-size: 0.85rem;
    }
    .cd-digits {
        font-size: 1.4rem;
        min-width: 50px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .phase2-card {
        padding: 15px;
    }
    .phase2-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .phase2-half {
        padding: 16px;
        border: 2px solid #5a0a0a;
    }
    .phase2-half:first-child {
        border-right: 2px solid #5a0a0a;
    }
    .phase2-half:last-child {
        border-left: 2px solid #5a0a0a;
        border-top: 2px solid #5a0a0a;
    }
    .phase2-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
        line-height: 1.8;
    }
    .phase2-desc {
        font-size: 0.85rem;
    }
    .phase2-targets li {
        font-size: 0.55rem;
        padding: 10px 10px;
        line-height: 2;
    }
    .phase2-contact {
        font-size: 0.5rem;
    }
    .phase2-email-addr {
        font-size: 0.5rem;
        padding: 8px 10px;
        word-break: break-all;
    }
    .cd-digits {
        font-size: 1.2rem;
        min-width: 42px;
        padding: 6px 8px;
    }
    .cd-sep {
        font-size: 1.2rem;
        padding-bottom: 14px;
    }
    .cd-label {
        font-size: 0.3rem;
    }
    .phase2-timer-label {
        font-size: 0.5rem;
        letter-spacing: 2px;
    }
    .phase2-progress-pct {
        font-size: 1.4rem;
    }
    .phase2-progress-label {
        font-size: 0.4rem;
    }
    .phase2-progress-track {
        height: 28px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .phase2-card {
        padding: 10px;
    }
    .phase2-half {
        padding: 12px;
    }
    .phase2-subtitle {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    .phase2-desc {
        font-size: 0.8rem;
    }
    .phase2-targets li {
        font-size: 0.5rem;
        padding: 8px;
    }
    .phase2-email-addr {
        font-size: 0.45rem;
        padding: 7px 8px;
    }
    .phase2-countdown {
        gap: 4px;
    }
    .cd-digits {
        font-size: 1rem;
        min-width: 36px;
        padding: 5px 6px;
    }
    .cd-sep {
        font-size: 1rem;
        padding-bottom: 12px;
    }
    .cd-label {
        font-size: 0.25rem;
    }
    .phase2-timer-wrap {
        padding: 12px 8px;
    }
    .phase2-progress-pct {
        font-size: 1.1rem;
    }
    .phase2-progress-label {
        font-size: 0.35rem;
        letter-spacing: 1px;
    }
    .phase2-progress-track {
        height: 22px;
    }
    .phase2-inactive-tag {
        font-size: 0.45rem;
    }
}

/* Disclaimer */
.disclaimer {
    margin-top: 60px;
    padding: 30px;
    border: 1px dashed #666;
    background: #0a0a0a;
}

.disclaimer p {
    margin-bottom: 15px;
    color: #aaa;
}

.disclaimer p strong {
    color: var(--accent);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
    background: #000;
}

.session-id-large {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 10px;
    font-weight: bold;
    word-break: break-all;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.popup-overlay.hidden {
    display: none;
}

.popup-content {
    background: #0a0a0a;
    border: 2px solid var(--accent);
    padding: 40px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 0 30px var(--accent-dim);
}

.popup-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.highlight {
    color: var(--accent);
    font-weight: bold;
}

.tor-link {
    background: #111;
    padding: 15px;
    border: 1px solid var(--border);
    font-family: monospace;
    color: #fff;
    margin-bottom: 20px;
    word-break: break-all;
}

.cyber-btn {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 10px 30px;
    font-family: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}

.cyber-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 15px var(--accent);
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-top {
        flex-direction: column;
    }
    .hero-top .crt-terminal,
    .hero-top .managers-grid {
        flex: none;
        width: 100%;
    }
    .leak-files-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .glitch-text {
        font-size: 1.6rem;
    }

    header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 15px;
    }

    .header-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .header-right > span {
        font-size: 0.6rem;
        word-break: break-all;
    }

    .session-id {
        font-size: 0.55rem;
    }

    .download-link {
        display: block;
        margin: 5px 0 0 0;
    }

    main {
        padding: 20px 10px;
    }

    .hero {
        margin-bottom: 30px;
    }

    .hero-top {
        flex-direction: column;
    }

    .hero-top .crt-terminal,
    .hero-top .managers-grid {
        flex: none;
        width: 100%;
    }

    .managers-grid {
        flex-direction: column;
    }

    .manager-card {
        width: 100%;
    }

    .manager-photo {
        height: 160px;
    }

    .description {
        font-size: 0.9rem;
        text-align: left;
    }

    .leak-card {
        padding: 12px;
    }

    .leak-featured {
        padding: 15px;
    }

    .leak-title {
        font-size: 1.1rem;
    }

    .leak-header {
        flex-direction: column;
        gap: 5px;
    }

    .leak-files-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .audio-row {
        grid-template-columns: 1fr;
    }

    .mega-btn {
        padding: 18px 20px;
        width: 100%;
    }

    .mega-glitch {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .mega-sub {
        font-size: 0.4rem;
    }

    .crt-screen {
        font-size: 0.5rem;
        padding: 10px;
        min-height: 120px;
    }

    .disclaimer {
        padding: 15px;
    }

    .disclaimer p {
        font-size: 0.85rem;
    }

    footer {
        padding: 20px 10px;
    }

    .session-id-large {
        font-size: 0.7rem;
    }

    .popup-content {
        margin: 10px;
        padding: 20px;
        max-width: 95vw;
    }

    .popup-content h2 {
        font-size: 1.3rem;
    }

    .popup-content p {
        font-size: 0.9rem;
    }

    .tor-link {
        font-size: 0.65rem;
        padding: 10px;
    }

    .hacked-overlay {
        font-size: 1.8rem;
    }

    [class^="rn-"] {
        font-size: 0.85rem;
        padding: 1px 4px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .glitch-text {
        font-size: 1.2rem;
    }

    .leak-files-grid {
        grid-template-columns: 1fr 1fr;
    }

    .leak-thumb img {
        max-height: 120px;
    }

    .mega-glitch {
        font-size: 0.65rem;
    }

    .mega-sub {
        font-size: 0.35rem;
    }

    .crt-screen {
        font-size: 0.45rem;
        line-height: 1.8;
    }

    .session-id-large {
        font-size: 0.55rem;
    }

    .manager-photo {
        height: 140px;
    }

    .hacked-overlay {
        font-size: 1.4rem;
    }
}
