@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Share+Tech+Mono&display=swap');

body {
    font-family: 'Share Tech Mono', monospace;
    background-color: #080808;
    position: relative;
}

/* CRT Scanline Effect */
.crt-overlay {
    background: 
        linear-gradient(
            rgba(18, 16, 16, 0.1) 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%;
    pointer-events: none;
    z-index: 100;
}

/* Panel Styles */
.panel {
    background-color: rgba(10, 10, 10, 0.7);
    border-radius: 4px;
    position: relative;
}

.glow-border {
    border: 1px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1),
                inset 0 0 10px rgba(0, 255, 0, 0.1);
}

.glow-border-bottom {
    box-shadow: 0 4px 6px -1px rgba(0, 255, 0, 0.1);
}

.glow-border-top {
    box-shadow: 0 -4px 6px -1px rgba(0, 255, 0, 0.1);
}

/* Control Buttons */
.control-btn {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.control-btn:hover {
    box-shadow: 0 0 15px currentColor;
    transform: translateY(-1px);
}

.control-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.control-btn:hover::after {
    opacity: 1;
    animation: shine 1.5s infinite;
}

/* Graph Visualization */
.graph-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
}

.graph-line {
    width: 10%;
    background: linear-gradient(to top, #00ff00, #00ff88);
    border-radius: 2px 2px 0 0;
    animation: pulse 2s infinite alternate;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

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

.blink {
    animation: blink 1.5s infinite;
}

.blink-slow {
    animation: blink 3s infinite;
}

@keyframes shine {
    0% { left: -50%; top: -50%; }
    100% { left: 150%; top: 150%; }
}

/* Terminal Text */
.terminal-text {
    line-height: 1.5;
}

.terminal-text p {
    margin-bottom: 0.25rem;
}