body, html {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Ensure no scrollbars are present */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000; /* Black background to fill safe areas on iOS */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; /* Global font */
}

#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Cover entire viewport */
    background-color: #000000; /* In case video fails to load */
    object-position: 58% 50%; /* Shift focal point slightly right to center figure */
    z-index: 0;    /* Video layer - behind content but visible */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    pointer-events: none; /* Prevent tap from targeting video element */
}

/* Hide iOS Safari inline big play overlay */
#bgVideo::-webkit-media-controls { display: none !important; }
#bgVideo::-webkit-media-controls-enclosure { overflow: hidden !important; }
#bgVideo::-webkit-media-controls-start-playback-button { display: none !important; }

/* Mobile optimizations - adjust focus for smaller screens */
@media only screen and (max-width: 768px) {
    #bgVideo {
        object-position: 50% 40%; /* Show lightning/silhouette on mobile */
        min-height: 100vh; /* Ensure full coverage */
    }
}

/* Remove positional hacks to prevent white edges on some viewports */
@media only screen and (max-width: 1024px) {
    #bgVideo { top: 0; }
}

@media only screen and (min-width: 1280px) {
    #bgVideo { top: 0; }
}

/* Removed obsolete #blackRectangle overlay to prevent center bar */

/* Improve centering of the main content */
.container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px; /* Reduced padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full height */
    width: 100%;
    box-sizing: border-box;
}

/* Center the profile section with the SHREE text */
.profile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

/* Style the SHREE text */
.intro-text {
    margin: 0;
    color: #FFF;
    font-weight: bold;
    font-size: 36px; /* Increased size */
    letter-spacing: 3px; /* Add some letter spacing */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Optional: add glow effect */
    position: relative;
    top: 20px; /* Move text down by 20px */
}

/* Adjust the originalContent to be centered in the viewport */
#originalContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.circle-img {
    border-radius: 50%; /* Creates the circular image */
    width: 150px; /* Adjust as needed */
    height: 150px; /* Adjust as needed */
}

a:hover {
    transform: scale(1.1); /* Makes the link grow */
    transition: transform 0.3s ease;
}

/* This targets all anchor tags within the 'action-btn' class */
.action-btn a {
    display: block; /* Stack menu items */
    margin: 10px 0; /* Vertical spacing */
    padding: 6px 0; /* Minimal padding so it feels like text */
    text-decoration: none;
    color: #000000; /* Black text by default */
    background-color: transparent; /* No background */
    border: none; /* Remove button look */
    text-align: center; /* Center text */
    transform: scale(1); /* Cancel global hover scaling */
    font-weight: 900; /* Super bold */
    font-size: 48px; /* Way bigger menu text on desktop */
    line-height: 1.2;
}

.social-links a {
    margin: 0 15px; /* Space between icons */
    color: #000000 !important; /* Black icon color by default */
    font-size: 35px; /* Icon size: can be adjusted */
    line-height: 1;
    text-decoration: none;
    left: 3px;
    transition: color 0.3s ease; /* Smooth color transition */
}

.social-links a i {
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transitions */
    color: #000000 !important; /* Force black by default */
}

.social-links a:hover {
    color: #FFFFFF !important; /* White on hover */
}

.social-links a:hover i {
    transform: scale(1.1); /* Enlarges the icons */
    color: #FFFFFF !important; /* White on hover */
}

.social-links a:hover .social-svg {
    transform: scale(1.1); /* or whatever value you're using for other icons */
    transition: transform 0.3s ease;
}

.social-links a:hover .social-svg .st0 {
    fill: #FFFFFF !important; /* White on hover - override inline style */
}

/* CSS Media Query for Galaxy Fold in Folded State */
@media only screen and (max-width: 336px){
    .social-links a[href*="twitter.com"] {
        display: none; /* Hide the Twitter link */
    }
}

@media only screen and (max-width: 266px){
    .social-links a[href*="instagram.com"] {
        display: none; /* Hide the Twitter link */
    }
}

@media only screen and (max-width: 202px){
    .social-links a[href*="spotify.com"] {
        display: none; /* Hide the Twitter link */
    }
}

.action-btn a:hover {
    background-color: transparent; /* Keep text-only look */
    color: #FFFFFF; /* Turn text white on hover */
    border: none;
    transform: scale(1); /* No scale on hover */
}

.spotify-icon {
    vertical-align: middle; 
    display: inline-block;
}

.spotify-icon-link i {
    font-size: 33.5px; /* This sets the icon's height and width */
    
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    position: relative;
    top: -5px;
    left: -2px;
}

.social-svg {
    position: relative;
    top: 3px;
    transition: transform 0.3s ease;
}

.social-svg .st0 {
    fill: #000000 !important; /* Black by default */
    transition: fill 0.3s ease;
}

.menu-image {
    max-width: 340px;  /* Maximum width */
    max-height: 340px; /* Maximum height */
    margin-bottom: 20px; 
    display: block;     /* To center the image */
    margin-left: auto;
    margin-right: auto;
}

.menu-header {
    color: #FFF; /* Adjust color as needed */
    margin-bottom: 15px; /* Space between the header and the buttons */
    /* Add any other desired styling */
}

.menu-footer {
    color: #FFF; /* Adjust color as needed */
    margin-top: 15px; /* Space between the buttons and the footer */
    /* Add any other desired styling */
}

.content {
    /* Example: Add a background color to your content to enhance readability */
    background-color: transparent; /* Black background with 50% opacity */
    border-radius: 5px; /* Optional */
    padding: 15px;
    color: #fff; /* White text */
}

/* Modal styles */
.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 25px;
    cursor: pointer;
    color: #000000;
    background-color: transparent;
    border: none;
}

.modal {
    display: none !important; /* Added !important to override any JavaScript */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(0, 0, 0);
    color: #fff;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.modal h4 {
    margin-top: 0;
}

.modal form label input[type="checkbox"] {
    margin-right: 5px; /* Space between checkbox and its label */
}

.modal form input[type="submit"] {
    display: block;
    max-width: 200px; /* Set a max width for the submit button */
    width: 100%; 
    margin: 20px auto 0; /* Top margin added, auto centers the button */
    margin-top: 10px;
    background-color: #000000;
    border-color: #FFF;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

.modal form input[type="submit"]:hover {
    background-color: #ffffff;
    color: black;
}

/* Modal form styles */
.modal form {
    display: flex;
    flex-direction: column;
    align-items: center; /* This will center the elements */
}

.modal form input,
.modal form select,
.modal form p {
    width: 100%; /* Makes sure they take the full width of the form */
    margin-bottom: 10px; /* Adds space between each field */
    box-sizing: border-box; /* Makes sure padding doesn't increase width */
}

.modal form label {
    display: flex; 
    align-items: center; 
}

/* Responsive design elements go here. You can use media queries to adjust the layout for different screen sizes. */
@media only screen and (max-width: 600px) {
    .circle-img {
        width: 100px;
        height: 100px;
    }
    /* Other styling adjustments for smaller screens */
}

/* Mobile adjustments */
@media only screen and (max-width: 768px) {
    .container {
        padding: 15px;
        justify-content: flex-start; /* Start from the top on mobile */
        padding-top: 25vh; /* Push content down from the top */
    }
    
    .profile {
        margin-bottom: 20px; /* Smaller margin on mobile */
    }
    
    .intro-text {
        font-size: 30px; /* Slightly smaller text on mobile */
    }
    
    .social-links {
        margin-top: 20px; /* Add space above social links */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-links a {
        margin: 0 10px 10px;
    }
    
    /* Remove fixed height from original content */
    #originalContent {
        height: auto;
    }

    /* Make menu text still big but readable on phones */
    .action-btn a {
        font-size: 32px;
    }
}
