body {
    background-color: #0f172a;
    color: #e2e8f0;
    font-family: 'Rajdhani', sans-serif;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 20%);
}

.cyber-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.neon-border {
    position: relative;
    transition: box-shadow 0.3s ease;
}

.neon-border::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    box-shadow: 0 0 10px #3b82f6;
}

.cyber-input {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid #334155;
    color: #38bdf8;
    transition: all 0.3s ease;
}

.cyber-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Timer Card Styling */
.timer-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid #334155;
    border-left: 3px solid #3b82f6;
    transition: all 0.3s ease;
}

.timer-card:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateX(2px);
}

.timer-card.finished {
    border-color: #ef4444;
    border-left-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
    animation: flash-border 2s infinite;
}

@keyframes flash-border {
    0%, 100% { border-color: #ef4444; }
    50% { border-color: rgba(239, 68, 68, 0.3); }
}

/* Glitch effect on hover for title */
.glitch-hover:hover {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
    color: #38bdf8;
}

@keyframes glitch {
    0% { transform: translate(0) }
    20% { transform: translate(-2px, 2px) }
    40% { transform: translate(-2px, -2px) }
    60% { transform: translate(2px, 2px) }
    80% { transform: translate(2px, -2px) }
    100% { transform: translate(0) }
}
