:root {
    --bg-color: #050505;
    --accent-color: #00f2fe;
    --accent-secondary: #4facfe;
    --text-color: #ffffff;
    --text-muted: #8b9bb4;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg-color);
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#bgCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    max-width: 600px;
}

.content-box {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Loader Animation */
.loader {
    width: 80px;
    height: 80px;
    margin: 0 auto 40px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.outer {
    width: 100%;
    height: 100%;
    border-top-color: var(--accent-color);
    border-bottom-color: var(--accent-secondary);
    animation: spin 3s linear infinite;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.inner {
    width: 70%;
    height: 70%;
    border-left-color: var(--accent-color);
    border-right-color: var(--accent-secondary);
    animation: spin 2s linear reverse infinite;
}

.icon-wrench {
    color: var(--text-color);
    width: 32px;
    height: 32px;
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes pulse {
    0% { opacity: 0.7; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.7; transform: scale(0.95); }
}

/* Typography */
h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    font-weight: 700;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    font-variant-numeric: tabular-nums;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-block span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.time-block label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 5px;
    letter-spacing: 1px;
}

.separator {
    font-size: 2rem;
    color: var(--glass-border);
    margin-bottom: 20px;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.progress-bar {
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    box-shadow: 0 0 10px var(--accent-color);
    border-radius: 2px;
    position: relative;
    animation: progress 2s infinite linear;
}

@keyframes progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.status-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blink {
    color: var(--accent-color);
    animation: blink 1.5s infinite;
}

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

/* Responsiveness */
@media (max-width: 480px) {
    .content-box {
        padding: 40px 24px;
    }
    
    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .time-block span {
        font-size: 2rem;
    }
}
