/* Live Monitor Styles */
.live-monitor-section {
    padding: 6rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.monitor-frame {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.monitor-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    animation: scanline 2s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.stat-value {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    font-family: monospace;
}

.stat-bar-bg {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 1rem;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: var(--accent-primary);
    width: 0%;
    transition: width 0.5s ease;
}

/* Specific colors */
.color-cpu {
    background: #f43f5e;
}

.color-ram {
    background: #3b82f6;
}

.color-gpu {
    background: #10b981;
}

.live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}
