:root {
    --primary-color: #ffd700;
    --secondary-color: #8e44ad;
    --bg-color: #050b18;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --font-alt: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cosmic Background */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    overflow: hidden;
}

#stars, #stars2, #stars3 {
    position: absolute;
    top: 0;
}

/* Star animations (Simplified version for performance) */
#stars {
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 1744px 122px #FFF, 134px 1321px #FFF, 50px 700px #FFF, 1000px 500px #FFF, 200px 100px #FFF, 1500px 800px #FFF;
    animation: animStar 50s linear infinite;
}

#stars2 {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 500px 200px #FFF, 1200px 400px #FFF, 800px 1000px #FFF, 100px 1500px #FFF, 1800px 300px #FFF;
    animation: animStar 100s linear infinite;
}

#stars3 {
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 400px 400px #FFF, 1000px 1200px #FFF, 1600px 100px #FFF, 200px 800px #FFF;
    animation: animStar 150s linear infinite;
}

@keyframes animStar {
    from { transform: translateY(0px); }
    to { transform: translateY(-2000px); }
}

.maintenance-container {
    width: 90%;
    max-width: 1000px;
    text-align: center;
    padding: 40px 20px;
    z-index: 1;
}

/* Rotating Banner */
.banner-wrapper {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.rotating-banner {
    width: 250px;
    height: auto;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    animation: rotateBanner 20s linear infinite;
}

@keyframes rotateBanner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Content Area */
h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 5px;
    color: var(--primary-color);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: fadeIn 1.5s ease-out;
}

/* Glitch Effect */
.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: #0ff;
    z-index: -1;
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.glitch-text::after {
    color: #f0f;
    z-index: -2;
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
}

@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); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    font-weight: 300;
    animation: fadeIn 2s ease-out;
}

/* Countdown Clock */
.countdown-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: fadeIn 2.5s ease-out;
}

.clock-title {
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.digital-clock {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.time-block {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.time-block span:first-child {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
}

.time-block .label {
    font-size: 0.75rem;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.time-divider {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: fadeIn 3s ease-out;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.info-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* responsive */
@media (max-width: 600px) {
    .digital-clock {
        gap: 10px;
    }
    .time-block {
        min-width: 60px;
    }
    .time-divider {
        font-size: 2rem;
    }
    .maintenance-container {
        padding: 20px 10px;
    }
}
