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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Audiowide', cursive, sans-serif;
    background: linear-gradient(180deg, #000d40 0%, #001a80 50%, #002a99 100%); /* Darker electric blue gradient */
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Optional: Add subtle scanline effect overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    opacity: 0.3;
    z-index: 1;
}

/* Main Container - Flexbox Centering */
.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 10;
    overflow: hidden;
}
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Title Wrapper */
.title-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main Title Styling */
.main-title {
    font-size: clamp(2.5rem, 12vw, 12rem);
    font-weight: bold;
    font-style: italic;
    color: #FF10F0; /* Neon pink fuchsia */
    text-align: center;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.1em;
    padding: 0 1rem;
    max-width: 100%;
    width: 100%;
    margin: 0;
    
    /* White glow effect - multiple layered shadows for 80s neon */
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 30px #fff,
        0 0 40px #FF10F0,
        0 0 55px #FF10F0,
        0 0 70px #FF10F0,
        0 0 100px #FF10F0,
        0 0 150px #FF10F0,
        2px 2px 4px rgba(0, 0, 0, 0.5);
    
    /* Prevent text selection */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* Individual word styling for drop animation */
.main-title .word {
    display: inline-block;
    opacity: 1;
    will-change: transform;
    margin: 0 0.15em;
}

/* Secondary Message Styling */
.secondary-wrapper {
    position: relative;
    z-index: 9;
}

.secondary-message {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    gap: 0.5em;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0; /* Hidden initially */
    padding: 0 1rem;
    max-width: 100%;
    
    /* Subtle glow for secondary text */
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.5);
    
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.secondary-message .word {
    opacity: 0;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        gap: 1.5rem;
    }
    
    .main-title {
        padding: 0 1rem;
        font-size: clamp(2rem, 10vw, 8rem);
    }
    
    .secondary-message {
        padding: 0 1rem;
        font-size: clamp(0.8rem, 2.5vw, 1.5rem);
    }
}

/* Extra small screens - phones in portrait */
@media (max-width: 480px) and (orientation: portrait) {
    .main-title {
        font-size: clamp(1.5rem, 9vw, 6rem);
        letter-spacing: 0.02em;
        gap: 0.05em;
    }
    
    .secondary-message {
        font-size: clamp(0.7rem, 2vw, 1.2rem);
        letter-spacing: 0.05em;
        gap: 0.3em;
    }
    
    .container {
        gap: 1rem;
    }
}

/* Accessibility - Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
