/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f0f0f; /* Deep dark background */
    color: #ffffff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Container Styling */
.content-wrapper {
    text-align: center;
    opacity: 0; /* Hidden initially for JS fade-in */
    transform: translateY(20px); /* Pushed down slightly */
    transition: opacity 1.5s ease, transform 1.5s ease;
}

/* Visible state (added by JS) */
.content-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Main Text Styling */
.main-text {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    
    /* attention-grabbing gradient text */
    background: linear-gradient(90deg, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-text {
    color: #666;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Dots Animation */
.dot {
    opacity: 0;
    animation: loadingFade 1.5s infinite;
    display: inline-block;
    margin-left: 2px;
    color: #ffffff; /* Keep dots white (not gradient) */
    -webkit-text-fill-color: #ffffff; 
}

/* Stagger the animation delays for the wave effect */
.dot:nth-child(1) {
    animation-delay: 0s;
}
.dot:nth-child(2) {
    animation-delay: 0.2s;
}
.dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Keyframes for smooth fading */
@keyframes loadingFade {
    0% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-5px); } /* Slight lift */
    100% { opacity: 0; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-text {
        font-size: 3rem;
    }
    .sub-text {
        font-size: 1rem;
    }
}