/* ========== WELCOME SCREEN STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-image: radial-gradient(
        ellipse at top,
        transparent 0%,
        #000
      ),
      radial-gradient(
        ellipse at bottom,
        #000,
        rgba(145, 233, 255, 0.2)
      ),
      repeating-linear-gradient(
        220deg,
        rgb(0, 0, 0) 0px,
        rgb(0, 0, 0) 19px,
        transparent 19px,
        transparent 22px
      ),
      repeating-linear-gradient(
        189deg,
        rgb(0, 0, 0) 0px,
        rgb(0, 0, 0) 19px,
        transparent 19px,
        transparent 22px
      ),
      repeating-linear-gradient(
        148deg,
        rgb(0, 0, 0) 0px,
        rgb(0, 0, 0) 19px,
        transparent 19px,
        transparent 22px
      ),
      linear-gradient(90deg, rgb(0, 255, 250), rgb(240, 240, 240));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.welcome-screen.hide {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

/* ========== WAVE BACKGROUND ========== */
.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: waveFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.wave-1 {
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 250, 0.05) 0%, transparent 70%);
}

.wave-2 {
    top: -30%;
    right: -30%;
    width: 150%;
    height: 150%;
    animation-delay: 5s;
    background: radial-gradient(circle, rgba(145, 233, 255, 0.03) 0%, transparent 70%);
}

.wave-3 {
    bottom: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    animation-delay: 10s;
    background: radial-gradient(circle, rgba(0, 255, 250, 0.03) 0%, transparent 70%);
}

@keyframes waveFloat {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.6;
    }
}

/* ========== LIGHT PARTICLES ========== */
.light-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgb(0, 255, 250);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 255, 250, 0.8);
    animation: lightParticleFloat 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.particle-1 { top: 10%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 30%; right: 15%; animation-delay: 2s; }
.particle-3 { bottom: 40%; left: 30%; animation-delay: 4s; }
.particle-4 { top: 50%; right: 20%; animation-delay: 6s; }
.particle-5 { bottom: 20%; right: 30%; animation-delay: 8s; }
.particle-6 { top: 60%; left: 15%; animation-delay: 10s; }

@keyframes lightParticleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-50px) translateX(20px) scale(1.3);
        opacity: 1;
    }
}

/* ========== WELCOME CONTENT ========== */
.welcome-content {
    text-align: center;
    color: white;
    padding: 60px 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 40px;
    backdrop-filter: blur(30px) saturate(180%);
    border: 2px solid rgba(0, 255, 250, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 
                0 0 100px rgba(0, 255, 250, 0.1) inset;
    animation: contentFadeIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 700px;
    position: relative;
    z-index: 2;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.welcome-heart {
    font-size: 80px;
    margin-bottom: 20px;
    animation: heartBeat 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 255, 250, 0.8));
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

.welcome-main-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 3px;
    color: rgba(0, 255, 250, 0.9);
}

.welcome-title {
    font-size: 55px;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: 8px;
    text-shadow: 0 0 20px rgba(0, 255, 250, 0.8),
                0 0 40px rgba(0, 255, 250, 0.6);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 255, 250, 0.8),
                    0 0 40px rgba(0, 255, 250, 0.6);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 255, 250, 1),
                    0 0 60px rgba(0, 255, 250, 1),
                    0 0 80px rgba(0, 255, 250, 0.8);
    }
}

.welcome-subtitle {
    font-size: 26px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 4px;
}

.button-container {
    margin-bottom: 40px;
}

.welcome-button {
    background: linear-gradient(135deg, rgba(0, 255, 250, 0.2), rgba(0, 255, 250, 0.05));
    color: white;
    border: 3px solid rgba(0, 255, 250, 0.5);
    padding: 20px 50px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(0, 255, 250, 0.2) inset;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.welcome-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(0, 255, 250, 0.4) inset;
    border-color: rgba(0, 255, 250, 0.8);
    background: linear-gradient(135deg, rgba(0, 255, 250, 0.3), rgba(0, 255, 250, 0.1));
}

.countdown-container {
    margin-bottom: 30px;
}

.welcome-timer {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

#countdown {
    font-weight: 900;
    font-size: 24px;
    color: #00fffa;
    text-shadow: 0 0 15px rgba(0, 255, 250, 0.8);
    animation: numberPulse 1s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.countdown-progress {
    width: 300px;
    height: 8px;
    background: rgba(0, 255, 250, 0.2);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

.countdown-bar {
    height: 100%;
    background: linear-gradient(90deg, #00fffa, #a7ffee);
    border-radius: 10px;
    transition: width 0.05s linear;
    box-shadow: 0 0 15px rgba(0, 255, 250, 0.6);
}

.welcome-message {
    font-size: 18px;
    line-height: 1.8;
    font-style: italic;
    opacity: 0.95;
}

.welcome-message p {
    margin: 5px 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .welcome-content {
        padding: 40px 30px;
        max-width: 90%;
    }
    .welcome-heart {
        font-size: 60px;
    }
    .welcome-title {
        font-size: 40px;
    }
    .welcome-subtitle {
        font-size: 20px;
    }
    .welcome-button {
        font-size: 18px;
        padding: 15px 35px;
    }
}

@media (max-width: 480px) {
    .welcome-content {
        padding: 30px 20px;
    }
    .welcome-heart {
        font-size: 50px;
    }
    .welcome-title {
        font-size: 32px;
        letter-spacing: 4px;
    }
    .welcome-subtitle {
        font-size: 16px;
        letter-spacing: 2px;
    }
    .welcome-button {
        font-size: 16px;
        padding: 12px 25px;
    }
    .countdown-progress {
        width: 200px;
    }
}