/*
Author: @thesanjok
*/

:root {
    --primary: #00b832;
    --secondary: #009926;
    --accent: #00d936;
    --success: #00b832;
    --warning: #cccc00;
    --danger: #cc0033;
    --bg-dark: #080808;
    --bg-darker: #000000;
    --bg-card: rgba(5, 15, 5, 0.95);
    --bg-card-hover: rgba(10, 20, 10, 0.98);
    --text-primary: #00b832;
    --text-secondary: #00992a;
    --text-muted: #006619;
    --glow-soft: 0 0 8px rgba(0, 184, 50, 0.2);
    --glow-medium: 0 0 15px rgba(0, 184, 50, 0.3);
    --glow-strong: 0 0 20px rgba(0, 184, 50, 0.4);
    --border-radius: 0px;
    --transition: all 0.3s ease;
    
    /* Red neuron colors */
    --neuron-red: #ff0033;
    --neuron-bright-red: #ff3366;
    --neuron-dark-red: #cc0000;
}

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

body {
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ========== SCANLINE OVERLAY ========== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9998;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

/* ========== DIGITAL RAIN BACKGROUND ========== */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(transparent 50%, rgba(0, 184, 50, 0.03) 50%),
        linear-gradient(90deg, transparent 50%, rgba(0, 184, 50, 0.03) 50%);
    background-size: 3px 3px, 3px 3px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    animation: digitalRain 20s linear infinite;
}

@keyframes digitalRain {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 0 100px, 100px 0; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 0, 51, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 51, 102, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 0, 51, 0.08) 0%, transparent 60%);
}

/* Dense RED neural network nodes - Layer 1 */
.particle-canvas::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--neuron-red) 2.5px, transparent 2.5px),
        radial-gradient(circle, var(--neuron-bright-red) 2px, transparent 2px),
        radial-gradient(circle, var(--neuron-red) 2.2px, transparent 2.2px),
        radial-gradient(circle, var(--neuron-bright-red) 1.8px, transparent 1.8px),
        radial-gradient(circle, var(--neuron-dark-red) 2px, transparent 2px),
        radial-gradient(circle, var(--neuron-red) 2.5px, transparent 2.5px),
        radial-gradient(circle, var(--neuron-bright-red) 1.8px, transparent 1.8px),
        radial-gradient(circle, var(--neuron-red) 2.2px, transparent 2.2px);
    background-size: 
        150px 150px,
        200px 200px,
        180px 180px,
        220px 220px,
        160px 160px,
        190px 190px,
        210px 210px,
        170px 170px;
    background-position: 
        0 0,
        50px 50px,
        100px 20px,
        30px 80px,
        120px 120px,
        80px 40px,
        40px 100px,
        140px 60px;
    animation: neuralPulse 20s ease-in-out infinite;
    filter: drop-shadow(0 0 4px var(--neuron-red)) drop-shadow(0 0 8px var(--neuron-bright-red));
}

/* Dense RED neural network nodes - Layer 2 (more particles) */
.particle-canvas::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255, 0, 51, 0.9) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 51, 102, 0.85) 1.8px, transparent 1.8px),
        radial-gradient(circle, rgba(255, 0, 51, 0.95) 2.2px, transparent 2.2px),
        radial-gradient(circle, rgba(255, 51, 102, 0.8) 1.9px, transparent 1.9px),
        radial-gradient(circle, rgba(204, 0, 0, 0.9) 2.1px, transparent 2.1px),
        radial-gradient(circle, rgba(255, 0, 51, 0.85) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 51, 102, 0.8) 1.8px, transparent 1.8px),
        radial-gradient(circle, rgba(255, 0, 51, 0.9) 2.3px, transparent 2.3px),
        radial-gradient(circle, rgba(204, 0, 0, 0.85) 1.7px, transparent 1.7px),
        radial-gradient(circle, rgba(255, 51, 102, 0.95) 2px, transparent 2px);
    background-size: 
        130px 130px,
        165px 165px,
        145px 145px,
        185px 185px,
        155px 155px,
        175px 175px,
        195px 195px,
        135px 135px,
        205px 205px,
        125px 125px;
    background-position: 
        20px 30px,
        90px 70px,
        130px 10px,
        60px 110px,
        150px 140px,
        40px 90px,
        110px 50px,
        70px 130px,
        160px 20px,
        10px 100px;
    animation: neuralPulseSecondary 18s ease-in-out infinite;
    filter: drop-shadow(0 0 3px var(--neuron-red)) drop-shadow(0 0 6px var(--neuron-bright-red));
}

@keyframes neuralPulse {
    0%, 100% { 
        background-position: 
            0 0,
            50px 50px,
            100px 20px,
            30px 80px,
            120px 120px,
            80px 40px,
            40px 100px,
            140px 60px;
        opacity: 1;
        transform: scale(1);
    }
    25% { 
        background-position: 
            30px 40px,
            80px 90px,
            130px 50px,
            60px 110px,
            150px 150px,
            110px 70px,
            70px 130px,
            170px 90px;
        opacity: 0.85;
        transform: scale(1.05);
    }
    50% { 
        background-position: 
            60px 80px,
            110px 130px,
            160px 80px,
            90px 140px,
            180px 180px,
            140px 100px,
            100px 160px,
            200px 120px;
        opacity: 1;
        transform: scale(1);
    }
    75% { 
        background-position: 
            30px 40px,
            80px 90px,
            130px 50px,
            60px 110px,
            150px 150px,
            110px 70px,
            70px 130px,
            170px 90px;
        opacity: 0.92;
        transform: scale(1.03);
    }
}

@keyframes neuralPulseSecondary {
    0%, 100% { 
        background-position: 
            20px 30px,
            90px 70px,
            130px 10px,
            60px 110px,
            150px 140px,
            40px 90px,
            110px 50px,
            70px 130px,
            160px 20px,
            10px 100px;
        opacity: 1;
    }
    33% { 
        background-position: 
            50px 60px,
            120px 100px,
            160px 40px,
            90px 140px,
            180px 170px,
            70px 120px,
            140px 80px,
            100px 160px,
            190px 50px,
            40px 130px;
        opacity: 0.8;
    }
    66% { 
        background-position: 
            80px 90px,
            150px 130px,
            190px 70px,
            120px 170px,
            210px 200px,
            100px 150px,
            170px 110px,
            130px 190px,
            220px 80px,
            70px 160px;
        opacity: 0.95;
    }
}

/* ========== MOUSE INTERACTIVE PARTICLES ========== */
.particle-canvas {
    transition: transform 0.15s ease-out;
}

/* This creates a parallax effect on mouse move (add via JS) */
@keyframes particleMouseFollow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(var(--mouse-x, 0), var(--mouse-y, 0)); }
}

/* Add connection lines between particles - RED THEMED */
.particle-canvas {
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 150px,
            rgba(255, 0, 51, 0.06) 150px,
            rgba(255, 0, 51, 0.06) 151px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 150px,
            rgba(255, 51, 102, 0.05) 150px,
            rgba(255, 51, 102, 0.05) 151px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 200px,
            rgba(255, 0, 51, 0.04) 200px,
            rgba(255, 0, 51, 0.04) 201px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 200px,
            rgba(255, 0, 51, 0.04) 200px,
            rgba(255, 0, 51, 0.04) 201px
        );
    animation: neuralConnections 25s linear infinite;
}

@keyframes neuralConnections {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 200px 200px, -200px 200px, 300px 0, 0 300px; }
}

/* ========== ELECTROMAGNETIC PULSE EFFECT ========== */
@keyframes electromagneticPulse {
    0% {
        box-shadow: 
            0 0 0 0 rgba(0, 184, 50, 0.7),
            0 0 0 0 rgba(0, 184, 50, 0.5),
            0 0 0 0 rgba(0, 184, 50, 0.3);
    }
    50% {
        box-shadow: 
            0 0 20px 10px rgba(0, 184, 50, 0),
            0 0 40px 20px rgba(0, 184, 50, 0),
            0 0 60px 30px rgba(0, 184, 50, 0);
    }
    100% {
        box-shadow: 
            0 0 0 0 rgba(0, 184, 50, 0),
            0 0 0 0 rgba(0, 184, 50, 0),
            0 0 0 0 rgba(0, 184, 50, 0);
    }
}

/* ========== Loading Screen ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
    overflow: hidden;
}

/* Digital rain effect for loading screen */
.loading-screen::before {
    content: '01010101 10101010 11001100 00110011';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    color: rgba(0, 184, 50, 0.1);
    font-size: 12px;
    line-height: 1.5;
    word-wrap: break-word;
    animation: matrixRain 3s linear infinite;
    pointer-events: none;
}

@keyframes matrixRain {
    0% { transform: translateY(0); }
    100% { transform: translateY(50%); }
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.terminal-loader {
    text-align: center;
    position: relative;
    z-index: 1;
}

.loader-text {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 20px;
    animation: glitchPulse 2s ease-in-out infinite;
    font-family: 'Courier New', monospace;
    position: relative;
}

/* Enhanced glitch effect */
@keyframes glitchPulse {
    0%, 100% { 
        opacity: 1;
        transform: translate(0);
    }
    10% {
        opacity: 0.8;
        transform: translate(-2px, 1px);
    }
    20% {
        opacity: 1;
        transform: translate(2px, -1px);
    }
    30% {
        opacity: 0.9;
        transform: translate(0);
    }
    50% { 
        opacity: 0.7;
        text-shadow: 2px 0 var(--accent), -2px 0 var(--danger);
    }
    51% {
        opacity: 1;
        text-shadow: none;
    }
}

.prompt {
    color: var(--accent);
    font-weight: bold;
    animation: blinkCursor 1s step-end infinite;
}

@keyframes blinkCursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.loader-bar {
    width: 400px;
    height: 4px;
    background: rgba(0, 184, 50, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary);
    box-shadow: 
        inset 0 0 10px rgba(0, 184, 50, 0.2),
        0 0 10px rgba(0, 184, 50, 0.3);
}

.loader-bar::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary),
        var(--accent),
        var(--primary),
        transparent
    );
    animation: loading 1.5s infinite;
    box-shadow: 0 0 20px var(--primary);
}

@keyframes loading {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* ========== Header ========== */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 2px solid var(--primary);
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 15px rgba(0, 184, 50, 0.2),
        0 5px 30px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

/* Animated header border */
.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent),
        transparent
    );
    animation: headerScan 3s linear infinite;
}

@keyframes headerScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 36px;
    animation: rotateWithPulse 3s linear infinite;
    filter: drop-shadow(0 0 8px var(--primary));
}

@keyframes rotateWithPulse {
    0% { 
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 8px var(--primary));
    }
    25% { 
        transform: rotate(90deg) scale(1.1);
        filter: drop-shadow(0 0 15px var(--accent));
    }
    50% { 
        transform: rotate(180deg) scale(1);
        filter: drop-shadow(0 0 8px var(--primary));
    }
    75% { 
        transform: rotate(270deg) scale(1.1);
        filter: drop-shadow(0 0 15px var(--accent));
    }
    100% { 
        transform: rotate(360deg) scale(1);
        filter: drop-shadow(0 0 8px var(--primary));
    }
}

.logo h1 {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 
        0 0 8px rgba(0, 184, 50, 0.4),
        0 0 15px rgba(0, 184, 50, 0.2);
    animation: textGlowPulse 3s ease-in-out infinite;
    position: relative;
}

@keyframes textGlowPulse {
    0%, 100% {
        text-shadow: 
            0 0 8px rgba(0, 184, 50, 0.4),
            0 0 15px rgba(0, 184, 50, 0.2);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(0, 184, 50, 0.6),
            0 0 25px rgba(0, 184, 50, 0.3),
            0 0 35px rgba(0, 184, 50, 0.1);
    }
}

.version-badge {
    background: var(--primary);
    color: var(--bg-darker);
    padding: 4px 12px;
    border-radius: 0;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--primary);
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 184, 50, 0.5);
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 184, 50, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 184, 50, 0.8);
        transform: scale(1.05);
    }
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-engine-toggle {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    overflow: hidden;
    position: relative;
}

.search-engine-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(0, 184, 50, 0.1);
    transition: width 0.3s ease;
}

.engine-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 18px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.engine-btn:hover {
    background: rgba(0, 184, 50, 0.1);
    color: var(--primary);
    text-shadow: 0 0 8px rgba(0, 184, 50, 0.6);
}

.engine-btn.active {
    background: var(--primary);
    color: var(--bg-darker);
    font-weight: bold;
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(0, 184, 50, 0.6);
    animation: activeButtonPulse 2s ease-in-out infinite;
}

@keyframes activeButtonPulse {
    0%, 100% {
        box-shadow: 
            inset 0 0 10px rgba(0, 0, 0, 0.5),
            0 0 15px rgba(0, 184, 50, 0.6);
    }
    50% {
        box-shadow: 
            inset 0 0 15px rgba(0, 0, 0, 0.7),
            0 0 25px rgba(0, 184, 50, 0.8);
    }
}

.icon-btn {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 20px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 184, 50, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.icon-btn:hover::before {
    width: 200%;
    height: 200%;
}

.icon-btn:hover {
    background: rgba(0, 184, 50, 0.2);
    border-color: var(--accent);
    box-shadow: 
        var(--glow-soft),
        inset 0 0 20px rgba(0, 184, 50, 0.1);
    transform: scale(1.05);
    animation: electromagneticPulse 1.5s ease-out;
}

/* ========== Search Box ========== */
.search-box {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: var(--bg-darker);
    border: 2px solid var(--primary);
    padding: 25px;
    z-index: 999;
    box-shadow: 
        0 0 30px rgba(0, 184, 50, 0.3),
        inset 0 0 50px rgba(0, 184, 50, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Animated border effect */
.search-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary), 
        var(--accent), 
        var(--primary), 
        var(--accent)
    );
    background-size: 400% 400%;
    z-index: -1;
    animation: borderFlow 8s ease infinite;
}

@keyframes borderFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.search-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-darker);
    z-index: -1;
}

.search-box.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-30px);
}

.search-container {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.search-container input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    transition: var(--transition);
    position: relative;
}

.search-container input:focus {
    outline: none;
    box-shadow: 
        var(--glow-soft),
        inset 0 0 20px rgba(0, 184, 50, 0.05);
    background: rgba(0, 184, 50, 0.05);
    border-color: var(--accent);
    animation: inputFocusGlow 1.5s ease-in-out infinite;
}

@keyframes inputFocusGlow {
    0%, 100% {
        box-shadow: 
            0 0 8px rgba(0, 184, 50, 0.2),
            inset 0 0 20px rgba(0, 184, 50, 0.05);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(0, 184, 50, 0.4),
            inset 0 0 30px rgba(0, 184, 50, 0.1);
    }
}

.search-container input::placeholder {
    color: var(--text-muted);
    animation: placeholderFlicker 3s ease-in-out infinite;
}

@keyframes placeholderFlicker {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.close-btn {
    background: var(--danger);
    border: 1px solid var(--danger);
    color: white;
    width: 45px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: var(--transition);
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
}

.close-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease;
}

.close-btn:hover::before {
    width: 200%;
    height: 200%;
}

.close-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 15px var(--danger);
}

.search-results {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

.search-result-item {
    background: var(--bg-card);
    border-left: 2px solid transparent;
    padding: 12px 15px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(0, 184, 50, 0.15);
    position: relative;
    overflow: hidden;
}

.search-result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 184, 50, 0.2),
        transparent
    );
    transition: width 0.3s ease;
}

.search-result-item:hover::before {
    width: 100%;
}

.search-result-item:hover {
    border-left-color: var(--primary);
    background: rgba(0, 184, 50, 0.1);
    transform: translateX(5px);
    box-shadow: var(--glow-soft);
}

.search-result-category {
    color: var(--accent);
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: categoryFlicker 4s ease-in-out infinite;
}

@keyframes categoryFlicker {
    0%, 100% { opacity: 1; }
    45%, 55% { opacity: 0.7; }
}

.search-result-dork {
    color: var(--text-secondary);
    font-size: 13px;
}

.no-results {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
    font-size: 14px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    z-index: 1;
    padding: 50px 0 40px;
}

.mission-statement {
    text-align: center;
    margin-bottom: 50px;
}

.terminal-title {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 
        0 0 15px rgba(0, 184, 50, 0.4),
        0 0 30px rgba(0, 184, 50, 0.2);
    text-transform: uppercase;
    animation: titleGlitch 5s ease-in-out infinite;
    position: relative;
}

@keyframes titleGlitch {
    0%, 90%, 100% {
        transform: translate(0);
        text-shadow: 
            0 0 15px rgba(0, 184, 50, 0.4),
            0 0 30px rgba(0, 184, 50, 0.2);
    }
    92% {
        transform: translate(-2px, 2px);
        text-shadow: 
            2px 0 var(--accent),
            -2px 0 var(--danger),
            0 0 15px rgba(0, 184, 50, 0.4);
    }
    94% {
        transform: translate(2px, -2px);
        text-shadow: 
            -2px 0 var(--accent),
            2px 0 var(--danger),
            0 0 15px rgba(0, 184, 50, 0.4);
    }
    96% {
        transform: translate(0);
        text-shadow: 
            0 0 15px rgba(0, 184, 50, 0.4),
            0 0 30px rgba(0, 184, 50, 0.2);
    }
}

.tagline {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 2px;
    animation: fadeInOut 4s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Circuit board pattern */
.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 184, 50, 0.05) 50%, transparent 70%),
        repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(0, 184, 50, 0.03) 10px, rgba(0, 184, 50, 0.03) 11px),
        repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(0, 184, 50, 0.03) 10px, rgba(0, 184, 50, 0.03) 11px);
    transform: rotate(45deg);
    transition: var(--transition);
    animation: circuitFlow 10s linear infinite;
}

@keyframes circuitFlow {
    0% { transform: rotate(45deg) translate(0, 0); }
    100% { transform: rotate(45deg) translate(50px, 50px); }
}

.stat-card:hover::before {
    animation: scan 2s infinite, circuitFlow 10s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.stat-card:hover {
    border-color: var(--accent);
    box-shadow: 
        var(--glow-medium),
        inset 0 0 30px rgba(0, 184, 50, 0.1);
    transform: translateY(-5px);
    animation: electromagneticPulse 1.5s ease-out;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 8px var(--primary));
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-value {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 
        0 0 12px rgba(0, 184, 50, 0.4),
        0 0 24px rgba(0, 184, 50, 0.2);
    position: relative;
    z-index: 1;
    animation: counterGlow 2s ease-in-out infinite;
}

@keyframes counterGlow {
    0%, 100% {
        text-shadow: 
            0 0 12px rgba(0, 184, 50, 0.4),
            0 0 24px rgba(0, 184, 50, 0.2);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(0, 184, 50, 0.6),
            0 0 35px rgba(0, 184, 50, 0.3),
            0 0 50px rgba(0, 184, 50, 0.1);
    }
}

.stat-label {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.domain-input-section {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    padding: 35px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 
        var(--glow-soft),
        inset 0 0 50px rgba(0, 184, 50, 0.05);
    position: relative;
    overflow: hidden;
}

/* Hexagon grid pattern */
.domain-input-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(0, 184, 50, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: hexGridMove 20s linear infinite;
}

@keyframes hexGridMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.section-title {
    font-size: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--primary);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.title-icon {
    font-size: 24px;
    animation: iconPulseRotate 2s ease-in-out infinite;
}

@keyframes iconPulseRotate {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 5px var(--primary));
    }
    50% { 
        transform: rotate(180deg) scale(1.2);
        filter: drop-shadow(0 0 15px var(--accent));
    }
}

.total-count {
    color: var(--accent);
    font-size: 14px;
    margin-left: auto;
    animation: countPulse 2s ease-in-out infinite;
}

@keyframes countPulse {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 0 5px rgba(0, 217, 54, 0.5);
    }
    50% { 
        transform: scale(1.1);
        text-shadow: 0 0 15px rgba(0, 217, 54, 0.8);
    }
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.input-prefix {
    color: var(--accent);
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    animation: prefixBlink 3s ease-in-out infinite;
}

@keyframes prefixBlink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.5; }
}

.input-group input {
    flex: 1;
    background: var(--bg-darker);
    border: 1px solid var(--primary);
    color: var(--text-primary);
    padding: 14px 18px;
    font-size: 15px;
    font-family: 'Courier New', monospace;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    box-shadow: 
        var(--glow-soft),
        inset 0 0 20px rgba(0, 184, 50, 0.05);
    background: rgba(0, 184, 50, 0.05);
    border-color: var(--accent);
    animation: inputFocusGlow 1.5s ease-in-out infinite;
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.primary-btn {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--bg-darker);
    padding: 14px 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
}

.primary-btn:hover::before {
    width: 300%;
    height: 300%;
}

.primary-btn:hover {
    box-shadow: 
        var(--glow-medium),
        0 5px 20px rgba(0, 184, 50, 0.4);
    transform: translateY(-2px);
    background: var(--accent);
    border-color: var(--accent);
    animation: electromagneticPulse 1.5s ease-out;
}

.primary-btn:active {
    transform: translateY(0);
    animation: none;
}

.domain-status {
    min-height: 24px;
    font-size: 14px;
    text-align: center;
    color: var(--success);
    font-weight: bold;
    position: relative;
    z-index: 1;
}

/* ========== OSINT & Quick Tools ========== */
.osint-tools-section,
.quick-tools-section {
    position: relative;
    z-index: 1;
    padding: 50px 0;
}

.osint-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.quick-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.osint-tool-card,
.quick-action-card {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Data stream effect */
.osint-tool-card::before,
.quick-action-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent,
        rgba(0, 184, 50, 0.1),
        transparent
    );
    transition: top 0.6s ease;
}

.osint-tool-card:hover::before,
.quick-action-card:hover::before {
    top: 100%;
}

.osint-tool-card::after,
.quick-action-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--accent);
}

.osint-tool-card:hover::after,
.quick-action-card:hover::after {
    width: 100%;
}

.osint-tool-card:hover,
.quick-action-card:hover {
    border-color: var(--accent);
    box-shadow: 
        var(--glow-soft),
        inset 0 0 30px rgba(0, 184, 50, 0.05);
    transform: translateY(-3px);
    background: rgba(0, 184, 50, 0.05);
}

.osint-tool-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.osint-tool-icon,
.quick-action-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 6px var(--primary));
    animation: iconBreathe 3s ease-in-out infinite;
}

@keyframes iconBreathe {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 6px var(--primary));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 12px var(--accent));
    }
}

.osint-tool-name,
.quick-action-label {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.osint-tool-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
}

/* ========== Categories ========== */
.categories-section {
    position: relative;
    z-index: 1;
    padding: 50px 0 80px;
}

.categories-grid {
    display: grid;
    gap: 15px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

/* Neural network lines */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 95%, rgba(0, 184, 50, 0.05) 95%),
        linear-gradient(0deg, transparent 95%, rgba(0, 184, 50, 0.05) 95%);
    background-size: 30px 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.category-card:hover::before {
    opacity: 1;
    animation: neuralGrid 10s linear infinite;
}

@keyframes neuralGrid {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 30px 0, 0 30px; }
}

.category-card:hover {
    border-color: var(--accent);
    box-shadow: 
        var(--glow-soft),
        inset 0 0 50px rgba(0, 184, 50, 0.05);
}

.category-card.highlight-pulse {
    animation: highlightPulse 2s;
}

@keyframes highlightPulse {
    0%, 100% { 
        box-shadow: none;
        transform: scale(1);
    }
    50% { 
        box-shadow: 
            0 0 25px rgba(0, 184, 50, 0.6),
            inset 0 0 50px rgba(0, 184, 50, 0.2);
        transform: scale(1.02);
    }
}

.category-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    position: relative;
}

.category-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary),
        var(--accent),
        var(--primary)
    );
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--primary);
}

.category-header:hover::before {
    width: 100%;
}

.category-header:hover {
    background: rgba(0, 184, 50, 0.05);
    border-bottom-color: var(--primary);
}

.category-title {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-icon {
    color: var(--accent);
    font-size: 14px;
    transition: transform 0.3s;
    filter: drop-shadow(0 0 5px var(--accent));
}

.category-count {
    background: var(--primary);
    color: var(--bg-darker);
    padding: 5px 14px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 184, 50, 0.5);
    animation: countBadgePulse 2s ease-in-out infinite;
}

@keyframes countBadgePulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 184, 50, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 184, 50, 0.8);
    }
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-content.active {
    max-height: 5000px;
}

.dorks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Matrix effect overlay */
.dorks-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 184, 50, 0.03) 2px, rgba(0, 184, 50, 0.03) 4px);
    pointer-events: none;
    animation: matrixScroll 3s linear infinite;
}

@keyframes matrixScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 20px; }
}

.dork-btn {
    background: rgba(5, 15, 5, 0.8);
    border: 1px solid rgba(0, 184, 50, 0.3);
    color: var(--text-secondary);
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}

.dork-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(0, 184, 50, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.dork-btn:hover::before {
    left: 100%;
}

.dork-btn:hover {
    background: rgba(0, 184, 50, 0.15);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateX(5px);
    box-shadow: 
        var(--glow-soft),
        inset 0 0 20px rgba(0, 184, 50, 0.1);
}

/* ========== Footer ========== */
.main-footer {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.98);
    border-top: 2px solid var(--primary);
    padding: 30px 0;
    box-shadow: 
        0 -5px 15px rgba(0, 184, 50, 0.15),
        inset 0 0 30px rgba(0, 184, 50, 0.05);
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent),
        transparent
    );
    animation: footerScan 4s linear infinite;
}

@keyframes footerScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content p {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    letter-spacing: 1px;
}

.footer-disclaimer {
    color: var(--warning);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: warningBlink 2s ease-in-out infinite;
}

@keyframes warningBlink {
    0%, 100% { 
        opacity: 1;
        text-shadow: 0 0 5px rgba(204, 204, 0, 0.5);
    }
    50% { 
        opacity: 0.7;
        text-shadow: 0 0 15px rgba(204, 204, 0, 0.8);
    }
}

.footer-content a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
}

.footer-content a:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 184, 50, 0.4);
    color: var(--accent);
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border: 1px solid rgba(0, 184, 50, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    box-shadow: 
        inset 0 0 8px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(0, 184, 50, 0.5);
    animation: scrollbarGlow 3s ease-in-out infinite;
}

@keyframes scrollbarGlow {
    0%, 100% {
        box-shadow: 
            inset 0 0 8px rgba(0, 0, 0, 0.5),
            0 0 10px rgba(0, 184, 50, 0.5);
    }
    50% {
        box-shadow: 
            inset 0 0 8px rgba(0, 0, 0, 0.5),
            0 0 15px rgba(0, 184, 50, 0.8);
    }
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ========== REFINED RUN ALL BUTTON ========== */
.category-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.run-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: 1px solid var(--accent);
    color: var(--bg-darker);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 2px 10px rgba(0, 184, 50, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.run-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.run-all-btn:hover::before {
    left: 100%;
}

.run-all-btn:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 15px rgba(0, 255, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--accent) 0%, #00ff00 100%);
    border-color: #00ff00;
}

.run-all-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 1px 5px rgba(0, 184, 50, 0.4),
        inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.run-all-icon {
    font-size: 12px;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
    }
    50% { 
        transform: scale(1.15);
        filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.7));
    }
}

.run-all-text {
    font-size: 10px;
    font-weight: 800;
}

/* ========== PROGRESS NOTIFICATION ========== */
.progress-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 380px;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 0;
    padding: 25px;
    box-shadow: 
        0 10px 50px rgba(0, 184, 50, 0.5),
        inset 0 0 30px rgba(0, 184, 50, 0.1);
    z-index: 10000;
    animation: slideInRight 0.4s ease;
    transition: opacity 0.5s ease;
    position: relative;
    overflow: hidden;
}

/* Animated border for notification */
.progress-notification::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary), 
        var(--accent), 
        var(--primary), 
        var(--accent)
    );
    background-size: 400% 400%;
    z-index: -1;
    animation: borderFlow 5s ease infinite;
}

.progress-notification::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-card);
    z-index: -1;
}

@keyframes slideInRight {
    from {
        transform: translateX(500px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 12px;
}

.progress-icon {
    font-size: 28px;
    animation: rotate-fast 1.5s linear infinite;
    filter: drop-shadow(0 0 8px var(--accent));
}

@keyframes rotate-fast {
    from { 
        transform: rotate(0deg);
        filter: drop-shadow(0 0 8px var(--accent));
    }
    50% {
        filter: drop-shadow(0 0 15px var(--primary));
    }
    to { 
        transform: rotate(360deg);
        filter: drop-shadow(0 0 8px var(--accent));
    }
}

.progress-title {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: titleFlicker 5s ease-in-out infinite;
}

@keyframes titleFlicker {
    0%, 100% { opacity: 1; }
    97%, 99% { opacity: 0.8; }
}

.progress-close {
    background: none;
    border: 1px solid var(--text-muted);
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.progress-close:hover {
    border-color: var(--danger);
    color: var(--danger);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 15px var(--danger);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.progress-category {
    color: var(--text-primary);
    font-weight: 600;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-count {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
    animation: countUpdate 0.5s ease-in-out;
}

@keyframes countUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.progress-bar-container {
    width: 100%;
    height: 10px;
    background: rgba(0, 184, 50, 0.1);
    border: 1px solid var(--primary);
    overflow: hidden;
    position: relative;
}

.progress-bar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(0, 184, 50, 0.05) 10px,
        rgba(0, 184, 50, 0.05) 20px
    );
    animation: progressBg 1s linear infinite;
}

@keyframes progressBg {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        var(--accent), 
        #00ff00,
        var(--accent)
    );
    background-size: 200% 100%;
    transition: width 0.4s ease;
    box-shadow: 
        0 0 10px rgba(0, 255, 0, 0.6),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    animation: progressShine 2s linear infinite;
}

@keyframes progressShine {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    body::before {
        background-size: 2px 2px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        gap: 10px;
    }

    .terminal-title {
        font-size: 24px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .input-group {
        flex-direction: column;
    }

    .input-prefix {
        display: none;
    }

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

    .osint-tools-grid,
    .quick-tools-grid {
        grid-template-columns: 1fr;
    }

    .search-box {
        width: 95%;
        padding: 20px;
    }

    .loader-bar {
        width: 280px;
    }
    
    .run-all-text {
        display: inline;
    }
    
    .run-all-btn {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .run-all-icon {
        font-size: 11px;
    }
    
    .progress-notification {
        width: calc(100% - 40px);
        right: 20px;
        top: 80px;
    }
    
    .category-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 18px;
    }

    .terminal-title {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .stat-value {
        font-size: 36px;
    }
    
    .progress-notification {
        padding: 20px;
    }
    
    .progress-title {
        font-size: 14px;
    }
    
    .run-all-text {
        font-size: 9px;
    }
}
