/* Countdown Timer - Neon Design CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', monospace;
    background: #000000;
    color: #00ffff;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* Teljes képernyős container */
.countdown-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: relative;
    background: radial-gradient(circle at center, #001122 0%, #000000 100%);
}

/* Háttér animáció */
.countdown-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(0, 255, 0, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes backgroundPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Főcím */
.countdown-header {
    text-align: center;
    margin-bottom: 2rem;
    z-index: 10;
}

.countdown-title {
    font-family: 'Share Tech Mono', 'Orbitron', monospace;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #00ffff;
    text-shadow: none;
    background: rgba(0, 20, 30, 0.8);
    padding: 1rem 2rem;
    border: 2px solid #00ffff;
    border-radius: 10px;
    box-shadow: 
        inset 0 0 20px rgba(0, 255, 255, 0.2),
        0 0 30px rgba(0, 255, 255, 0.3);
    position: relative;
    backdrop-filter: blur(5px);
    z-index: 1;
}

/* Szöveg előtérbe hozása */
.countdown-title span {
    position: relative;
    z-index: 2;
    display: inline-block;
}

/* Digitális scanline effektus a címhez */
.countdown-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    border-radius: 10px;
}

/* Digitális flicker animáció */
.countdown-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 255, 255, 0.03);
    animation: digitalFlicker 0.15s infinite alternate;
    pointer-events: none;
    border-radius: 10px;
}

@keyframes digitalFlicker {
    0% { opacity: 1; }
    100% { opacity: 0.95; }
}


/* Idő megjelenítés */
.countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    z-index: 10;
}

.time-display {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: clamp(2rem, 8vw, 4rem);
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.time-number {
    font-size: clamp(5rem, 18vw, 14rem);
    font-weight: 900;
    color: #00ffff;
    text-shadow: none;
}


.time-label {
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 400;
    color: #00ffff;
    text-shadow: none;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}

.time-separator {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    color: #00ffff;
    text-shadow: none;
    animation: separatorBlink 1s ease-in-out infinite;
}

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

/* Státusz megjelenítés */
.countdown-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    z-index: 10;
}

.status-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-bottom: 1rem;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-waiting {
    background: #ffaa00;
    box-shadow: 0 0 20px #ffaa00;
}

.status-running {
    background: #00ff00;
    box-shadow: 0 0 20px #00ff00;
}

.status-paused {
    background: #ffaa00;
    box-shadow: 0 0 20px #ffaa00;
}

.status-finished {
    background: #ff0000;
    box-shadow: 0 0 20px #ff0000;
    animation: statusFlash 0.5s ease-in-out infinite alternate;
}

.status-error {
    background: #ff0000;
    box-shadow: 0 0 20px #ff0000;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes statusFlash {
    0% { opacity: 1; }
    100% { opacity: 0.3; }
}

.status-text {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    color: #00ffff;
    text-shadow: none;
    text-align: center;
}

/* Footer */
.countdown-footer {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
}

.admin-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #00ffff;
    border-radius: 5px;
    color: #00ffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-shadow: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.admin-button:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 20px #00ffff;
    transform: translateY(-2px);
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 255, 255, 0.3);
    border-top: 3px solid #00ffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #00ffff;
    font-size: 1.2rem;
    text-shadow: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .countdown-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        padding: 0.8rem 1.5rem;
        letter-spacing: 0.2em;
    }
    
    .time-display {
        gap: 1rem;
    }
    
    .time-number {
        font-size: clamp(4rem, 15vw, 10rem);
    }
    
    .time-separator {
        font-size: clamp(2.5rem, 10vw, 6rem);
    }
    
    .time-label {
        font-size: clamp(0.9rem, 2vw, 1.3rem);
    }
}

@media (max-width: 480px) {
    .countdown-title {
        font-size: clamp(1.2rem, 5vw, 2rem);
        padding: 0.6rem 1rem;
        letter-spacing: 0.15em;
    }
    
    .time-display {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .time-number {
        font-size: clamp(3.5rem, 12vw, 8rem);
    }
    
    .time-separator {
        transform: rotate(90deg);
        font-size: clamp(2rem, 8vw, 4rem);
    }
    
    .time-label {
        font-size: clamp(0.8rem, 1.8vw, 1.1rem);
    }
}

/* Speciális effektusok - eltávolítva */
