:root {
    --bg: #050505;
    --text: #ffffff;
    --accent: #4f7bfd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

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

.ui-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 2rem 4rem;
    display: flex;
    justify-content: flex-start;
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo svg {
    width: 24px; height: 24px;
    color: var(--accent);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.title {
    font-size: 5.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #b3c5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8));
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 0.1s;
}

.subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.launch-label {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 3rem;
    background: rgba(79,123,253,0.1);
    border: 1px solid rgba(79,123,253,0.3);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 0.3s;
    transition: all 0.3s ease;
}

.launch-label:hover {
    background: rgba(79,123,253,0.2);
    box-shadow: 0 0 20px rgba(79,123,253,0.4);
    transform: translateY(-2px);
}

.countdown {
    display: flex;
    gap: 2rem;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 0.4s;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.countdown:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 30px rgba(79, 123, 253, 0.15);
    border-color: rgba(255,255,255,0.15);
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    transition: transform 0.3s ease;
}

.time-box:hover {
    transform: scale(1.05);
}

.val {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(255,255,255,0.1));
}

.lbl {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    .header { padding: 1.5rem; justify-content: center; }
    .main-content { padding: 0 1.5rem; }
    .title { font-size: 3.5rem; }
    .countdown { gap: 1.5rem; padding: 1.5rem 2rem; }
    .val { font-size: 2.5rem; }
    .time-box { min-width: 60px; }
}

@media (max-width: 480px) {
    .header { padding: 1rem; }
    .title { font-size: 2.5rem; }
    .subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
    .launch-label { margin-bottom: 2rem; font-size: 0.8rem; }
    .countdown { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2.5rem;
        padding: 1.5rem;
    }
    .val { font-size: 2.2rem; }
    .time-box { min-width: auto; }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
