/*styles.css*/

/* Base Styling */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

/* Background Video */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Snowstorm Layer */
.snow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1; /* Ensure snow is above video */
}

.snowflake {
    position: absolute;
    top: -10px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
    }
}

/* Main Content */
main {
    text-align: center;
    animation: fadeIn 2s ease-out, zoomIn 3s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite alternate;
}

/* Heading Animations */
h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    text-shadow: 0 0 15px #ffc107, 0 0 25px #ff8008, 0 0 50px #ff6f00;
    margin: 0;
    animation: neonGlow 4s infinite alternate, floatText 6s ease-in-out infinite;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ffd700;
    animation: neonGlow 5s infinite alternate, floatText 8s ease-in-out infinite;
}

/* Button Enhancements */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(90deg, #ff7b00, #ffca00);
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: buttonPulse 2s infinite alternate, buttonShake 5s ease-in-out infinite;
}

.btn:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 8px 30px rgba(255, 200, 0, 1);
}

/* Enhanced Watermark */
.watermark {
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    animation: badgePulse 3s infinite alternate, badgeScale 5s ease-in-out infinite;
}

.watermark img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Keyframes for Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes neonGlow {
    0% {
        text-shadow: 0 0 10px #ffc107, 0 0 20px #ff8008, 0 0 30px #ff6f00;
    }
    100% {
        text-shadow: 0 0 20px #ffae00, 0 0 40px #ffb300, 0 0 50px #ff9f00;
    }
}

@keyframes floatText {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 122, 0, 0.8);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(255, 150, 0, 1);
    }
}

@keyframes buttonShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
}

@keyframes badgePulse {
    0%, 100% {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }
    50% {
        background: rgba(255, 255, 255, 0.4);
        color: #ffb800;
    }
}

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

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

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