/* style_patch.css - Hyper-Modern Cyber-Admin v1.7 */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@300;500;700&display=swap');

:root {
    --cyber-green: #39ff14;
    --cyber-blue: #00f3ff;
    --cyber-magenta: #ff00ff;
    --neon-glow: 0 0 8px var(--cyber-green), 0 0 15px rgba(57, 255, 20, 0.3);
    --glass-bg: rgba(0, 8, 5, 0.95);
    --border-tech: rgba(57, 255, 20, 0.4);
}

/* 1. Global HUD Polish */
body {
    background-color: #000;
    font-family: 'Rajdhani', sans-serif;
    color: #e0e0e0;
}

h2, h3, .status-blink, .label, #uptime-clock {
    font-family: 'Orbitron', sans-serif;
    text-shadow: var(--neon-glow);
    letter-spacing: 2px;
}

/* 2. CRT Scanline & Noise Effect */
body::before {
    content: ' ';
    display: block;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    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));
    z-index: 5000;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    opacity: 0.15;
}

/* 3. Tech-Heavy Content Boxes */
.content-box {
    background: var(--glass-bg) !important;
    border: 1px solid var(--border-tech) !important;
    border-top: 4px solid var(--cyber-green) !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 1) !important;
    position: relative;
    backdrop-filter: blur(10px);
}

/* Corner Accents */
.content-box::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 20px; height: 20px;
    background: linear-gradient(135deg, transparent 50%, var(--cyber-green) 50%);
}

/* 4. Pulse Animation for Status */
.dot {
    animation: tech-pulse 2s infinite alternate;
}

@keyframes tech-pulse {
    0% { transform: scale(1); filter: brightness(1); }
    100% { transform: scale(1.2); filter: brightness(1.5) drop-shadow(0 0 10px var(--cyber-green)); }
}

/* 5. High-Tech Progress Bars */
.progress-bar {
    background: #111 !important;
    border: 1px solid var(--border-tech) !important;
    height: 15px !important;
}

.progress-bar .fill {
    background: linear-gradient(90deg, #0f0, #39ff14) !important;
    box-shadow: 0 0 10px var(--cyber-green);
}

/* 6. Version Badge Overlay */
body::after {
    content: '[ ACCESS_GRANTED :: NODE_PVE_102 :: v1.7 ]';
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--cyber-green);
    background: rgba(0, 20, 10, 0.8);
    padding: 4px 10px;
    border: 1px solid var(--border-tech);
    z-index: 4000;
}

/* 7. Hover Interactions */
.terminal-button:hover {
    box-shadow: 0 0 15px var(--cyber-green), inset 0 0 10px rgba(255,255,255,0.2) !important;
    text-shadow: 0 0 5px #fff;
}

/* News Box Special */
.news-box {
    max-height: 200px;
    overflow-y: auto;
}

.news-item {
    margin-bottom: 10px;
    padding-left: 15px;
    border-left: 2px solid var(--cyber-blue);
    transition: 0.3s;
}

.news-item:hover {
    background: rgba(0, 243, 255, 0.1);
    padding-left: 20px;
}

.news-date {
    color: var(--cyber-blue);
    font-size: 0.7rem;
    font-weight: bold;
    display: block;
}

/* Cyber News Ticker */
.news-item {
    padding: 8px;
    margin-bottom: 5px;
    background: rgba(0, 243, 255, 0.05);
    border-left: 3px solid var(--cyber-blue);
    font-family: 'Rajdhani', sans-serif;
    animation: fadeIn 0.5s ease-out both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}
