/* =========================================================================
   PHASE 68: CYBER-TACTICAL UPGRADES
   ========================================================================= */

/* 1. Bento Box Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: 1fr; }
}

/* 2. Gamified Technical Text (Classified Intel UX) */
.cyber-badge {
    display: inline-block;
    background: rgba(0, 255, 170, 0.1);
    color: #00ffaa;
    border: 1px solid rgba(0, 255, 170, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-right: 8px;
    text-transform: uppercase;
}

.intel-block {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.btn-decrypt {
    background: transparent;
    border: 1px dashed var(--accent-gold);
    color: var(--accent-gold);
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 100%;
    text-align: left;
}
.btn-decrypt:hover {
    background: rgba(255, 204, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.intel-content {
    transition: all 0.5s ease;
    overflow: hidden;
    opacity: 1;
    max-height: 1000px;
    filter: blur(0px);
}
.intel-content.redacted {
    filter: blur(4px);
    opacity: 0.4;
    max-height: 80px;
    user-select: none;
    pointer-events: none;
}

/* 3. Hero 3D Parallax & Animated Streams */
.live-scanner-panel {
    transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.scanner-quadrant {
    position: relative;
    overflow: hidden;
}
.scanner-quadrant::before {
    content: "";
    position: absolute;
    top: -100%; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,255,170,0.05), transparent);
    animation: scanline 4s infinite linear;
    pointer-events: none;
    z-index: 0;
}
.scanner-quadrant > * {
    position: relative;
    z-index: 1;
}

@keyframes scanline {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Staggered Initialization */
.scanner-quadrant.booting-up {
    opacity: 0;
    transform: translateY(10px);
    animation: bootUp 0.5s forwards ease-out;
}
@keyframes bootUp {
    to { opacity: 1; transform: translateY(0); }
}

/* 4. Cyber-Slice Buttons */
.button.cyber-slice {
    position: relative;
    overflow: hidden;
}
.button.cyber-slice::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 20%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
}
.button.cyber-slice:hover::after {
    left: 120%;
}

/* 5. Ambient Visuals (Veracity Gap Wave) */
.veracity-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.05;
    background: 
        radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 60%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
    z-index: -1;
    animation: pulseBg 8s infinite alternate;
}
@keyframes pulseBg {
    0% { opacity: 0.03; }
    100% { opacity: 0.08; }
}
