/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/

/*  ----------------------------------------------------------------------------
    TACTICAL COMMAND CENTER STYLES
    These styles support the [tactical_command_center] shortcode.
*/

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=JetBrains+Mono:wght@400;700&display=swap');

/* Base Overrides for the Tactical Page */
body.tactical-mode {
    background-color: #050505 !important;
    color: #E5E5E5;
    cursor: none !important; /* Hide default cursor */
    overflow-x: hidden;
    margin: 0;
}

/* Custom Cursor */
#tactical-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

/* Static CRT Lines */
.crt-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.2)
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 40;
}

/* Moving Scanline */
@keyframes scanlineMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.scanline-moving {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    animation: scanlineMove 8s linear infinite;
    pointer-events: none;
    z-index: 41;
}

/* Grid Animation */
@keyframes gridPan {
    0% { background-position: 0px 0px; }
    100% { background-position: 40px 40px; }
}

.tactical-grid-bg {
    animation: gridPan 30s linear infinite;
}

/* Blinking Text Utility */
.blink-text {
    animation: blinkAnimation 2s infinite;
}

@keyframes blinkAnimation {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Panel Slide Transitions */
.tactical-panel {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1), opacity 0.3s ease;
}

.tactical-panel.hidden-panel {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.tactical-panel.visible-panel {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Scrollbar Customization */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #050505;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #333;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #C2410C;
}

/* Redacted Text Effect */
.redacted-text {
    color: transparent;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    transition: all 1.5s ease-out;
    user-select: none;
}

.group:hover .redacted-text {
    text-shadow: none;
    color: inherit;
    opacity: 1;
    transition: all 0.1s ease-in;
}

/* Hide WP Admin Bar on this specific page design if desired */
/* 
body.tactical-mode #wpadminbar { display: none; } 
body.tactical-mode html { margin-top: 0 !important; }
*/