* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Arial", sans-serif;
    overflow-x: hidden;
    height: 100vh;
    position: relative;
}

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

/* Overlay for better text readability */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Main content container */
.container {
    position: relative;
    z-index: 1;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

/* Header styling */
.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.6s both,
        sparkle 4s ease-in-out 2s infinite;
    position: relative;
}

.hero-description::before,
.hero-description::after {
    content: "✨";
    position: absolute;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.hero-description::before {
    top: -10px;
    left: -20px;
    animation-delay: 2.5s;
}

.hero-description::after {
    bottom: -10px;
    right: -20px;
    animation-delay: 3.2s;
}

/* Button styling */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.9s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #764ba2 0%, #667eea 100%);
}

/* Features section */
.features {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.feature {
    text-align: center;
    max-width: 150px;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 0.9rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sparkle {

    0%,
    100% {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8),
            0 0 5px rgba(255, 255, 255, 0.3);
    }

    25% {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8),
            0 0 10px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.3);
    }

    50% {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8),
            0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(255, 255, 255, 0.4);
    }

    75% {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8),
            0 0 10px rgba(173, 216, 230, 0.6), 0 0 20px rgba(173, 216, 230, 0.3);
    }
}

@keyframes sparkleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }

    25% {
        opacity: 0.6;
        transform: translateY(-5px) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.2);
    }

    75% {
        opacity: 0.4;
        transform: translateY(-5px) scale(0.9);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 20px;
    }

    .features {
        flex-direction: column;
        gap: 20px;
        bottom: 60px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Auto-hide cursor for immersive experience */
body.immersive {
    cursor: none;
}

.container:hover~body {
    cursor: default;
}