/* Custom styles for Time Counter Express */

.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.neon-button {
    @apply px-6 py-3 rounded-lg font-semibold text-white transition-all duration-300 transform hover:scale-105 active:scale-95;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.neon-button:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
}

.glow-cyan {
    text-shadow: 0 0 20px #00f5ff, 0 0 40px #00f5ff, 0 0 60px #00f5ff;
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.glow-yellow {
    text-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700, 0 0 60px #ffd700;
    animation: pulse-glow 1s ease-in-out infinite alternate;
}

.glow-orange {
    text-shadow: 0 0 20px #ff8c00, 0 0 40px #ff8c00, 0 0 60px #ff8c00;
    animation: pulse-glow 0.5s ease-in-out infinite alternate;
}

.glow-red {
    text-shadow: 0 0 20px #ff0000, 0 0 40px #ff0000, 0 0 60px #ff0000;
    animation: pulse-glow 0.2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from {
        text-shadow: 0 0 20px currentColor, 0 0 40px currentColor, 0 0 60px currentColor;
    }
    to {
        text-shadow: 0 0 30px currentColor, 0 0 60px currentColor, 0 0 90px currentColor;
    }
}

.slider::-webkit-slider-thumb {
    appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00f5ff, #a855f7);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.8);
}

.slider::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00f5ff, #a855f7);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.8);
}

/* Retro scanline effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(
        transparent 50%, 
        rgba(0, 255, 255, 0.03) 50%
    );
    background-size: 100% 4px;
    z-index: 1000;
    animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* Loading animation */
@keyframes loading-dots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    80%, 100% { opacity: 0; }
}

.loading-dot:nth-child(1) { animation-delay: 0s; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

/* Responsive font sizes */
@media (max-width: 768px) {
    .text-8xl { font-size: 4rem; }
    .text-9xl { font-size: 5rem; }
}

@media (max-width: 480px) {
    .text-8xl { font-size: 3rem; }
    .text-9xl { font-size: 3.5rem; }
}