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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent scrolling */
    background-color: #000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Background Layers */
.bg-desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('webwallpaper.jpg');
    background-size: cover;
    background-position: center center; 
    background-repeat: no-repeat;
    z-index: 1;
    display: none;
}

.bg-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the entire viewport */
    z-index: 1;
    display: none;
}

/* Content Container */
.content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through content container to background if needed */
}

/* Social Links Common */
.social-links {
    position: absolute;
    display: flex;
    gap: 15px;
    pointer-events: auto; /* Re-enable clicks for the links */
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: #fff;
    color: #000;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    transform: scale(1.1);
    background-color: #f0f0f0;
}

/* 
   Media Queries to handle Desktop vs Mobile layouts
   Assuming mobile is anything under 768px wide
*/

/* --- MOBILE LAYOUT --- */
@media (max-width: 768px) {
    .bg-mobile {
        display: block;
    }
    
    .bg-desktop {
        display: none;
    }

    .social-links {
        flex-direction: column;
        top: 20px;
        right: 20px;
    }
}

/* --- DESKTOP LAYOUT --- */
@media (min-width: 769px) {
    .bg-desktop {
        display: block;
    }
    
    .bg-mobile {
        display: none;
    }

    .social-links {
        flex-direction: row;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        gap: 20px;
    }
}
