/* Global Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

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

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

/* Centered Content */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* Main Title */
#main-text {
    font-size: 3rem;
    font-weight: 500;
    transition: opacity 0.5s ease-in-out;
}

/* Changing Text */
#animated-text {
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Mouse Glow Effect */
body {
    cursor: none; /* Hide default cursor */
}

.mouse-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 70%);
    filter: blur(40px); /* Soft glow */
    transition: transform 0.05s ease-out;
    z-index: 1;
}

/* Hide mouse glow effect for mobile */
@media (max-width: 768px) {
    .mouse-glow {
        display: none;
    }
}

/* Social Media Icons */
.social-icons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
    opacity: 0.7;
}

.social-icons img:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    #main-text { font-size: 2rem; }
    #animated-text { font-size: 1.5rem; }
    .social-icons { gap: 15px; }
    .social-icons img { width: 35px; height: 35px; }
}

/* Fix for iPhone Safari */
video {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
