/* Ripple effect animation */
@keyframes ripple {
    0% {
        box-shadow: 0 0 10px 0 white, 0 0 20px white;
    }

    50% {
        box-shadow: 0 0 20px 0 white, 0 0 30px white;
    }

    100% {
        box-shadow: 0 0 10px 0 white, 0 0 20px white;
    }
}



/* Add the slideIn animation */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Ensure the background image covers the entire screen */
body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: hidden; /* Prevents scrolling to keep the background fixed */
    background-color: #000; /* Set your background color */
    position: relative;
}

#bgImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2; /* Behind containerbg */
    pointer-events: none;
}




.containerbg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    text-align: center;
}


.sgVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    transform-origin: center center; /* Center the video's transformation origin */
}

.you-realm-text {
    position: fixed;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 2.5vh; /* 20px ~ 2.5% of viewport height */
    text-align: center;
    font-family: "Neon Club Music", sans-serif;
    font-weight: bold;
    font-size: 3.3vw; /* 48px ~ 3.3% of viewport width (responsive to screen size) */
    color: #FF48B0;
    text-transform: uppercase;
    letter-spacing: 0.15em; /* 2px ~ 0.15em for font scaling */
    text-shadow: 0 0 1vw rgba(255, 255, 255, 0.7); /* 10px ~ 1vw */
    line-height: 1;
    z-index: 101;
    animation: slideIn 1.5s ease forwards;
}




.you-realm-text3 {
    position: fixed;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 10vh; /* replaced fixed 80px with viewport height percent */
    text-align: center;
    font-family: "Neon Club Music", sans-serif;
    font-weight: bold;
    font-size: calc(12px * var(--scale-factor));
    color: rgba(255, 255, 255, 1);
    text-transform: uppercase;
    letter-spacing: 0.2em; /* consistent with relative scaling */
    text-shadow: 0 0 0.5vw rgba(255,255,255,0.7); /* responsive shadow */
    line-height: 1;
    z-index: 101;
    animation: slideIn 1.5s ease forwards;
}


.circle {
    display: inline-block; /* Let content define size */
    padding: 2vh 4vw; /* Optional: breathing room */
    background-color: rgba(255, 110, 199, 0.5);
    border-radius: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 3s infinite;
    z-index: 98;
    text-align: center;
}



.container {
    text-align: center;
    position: absolute; /* Change to absolute for centering */
    Width: 100%;
    Height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center horizontally and vertically */
    z-index: 0;
    
}

h1 {
    font-size: 32px;
    margin-top: 20px; /* Adjust spacing */
    color: #fff; /* Set your text color */
}

/*form and button logic*/

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* Container for username and PIN to be side by side */
.input-group {
    display: flex;
    justify-content: space-between; /* Space between inputs */
    width: 80%; /* Make sure the group takes up the full width */
    gap: 10px; /* Add space between the inputs */
}

/* Adjust width of username and PIN fields */
#username, #Pin {
    width: 45%; /* Ensure the username and PIN fields are side by side */
    padding: 8px;
}

input[type="text"],
input[type="password"],
button[type="submit"]{
    width: 200px;
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 10px; /* Rounded corners */
}

button[type="submit"] {
    width: 200px;
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 10px; /* Rounded corners */
    background-color: #FF48B0; /* Change the button color */
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px; /* Adjust the margin-top as needed */
}
.dropdown-container {
    margin-top: 10px; /* Add space above the dropdown */
    display: flex;
    align-items: center; /* Align label and dropdown */
    gap: 10px; /* Space between label and dropdown */
    z-index: 2;
}

.dropdown-container label {
    color: white;
    font-weight: bold;
}

.dropdown-container select {
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 10px;
    width: 100px;
}

/* Style for the create account button */
#create-account-btn {
    width: 200px;
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 10px; /* Rounded corners */
    background-color: #FF48B0; /* Change the button color */
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px; /* Higher z-index for the button */
    z-index: 101; /* Ensure it is above other content */
}

#enter-private-key-link{
    width: 200px;
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 10px; /* Rounded corners */
    background-color: #FF48B0; /* Change the button color */
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px /* Higher z-index for the button */
}

/* Style for clickable text link */
.clickable-text {
    color: #FF48B0; /* Solid pink color */
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    padding: 5px;
    margin-top: 200px; /* Spacing from the button above */
}


.link-divider {
    width: 100%; /* Set width */
    text-align: center; /* Center the contents */
    margin-top: 10px; /* Spacing from the element above */
    z-index: 101; /* Ensure it is above other content */
}

#error-messag {
    width: 200px;
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 10px; /* Rounded corners */
    background-color: #FF48B0; /* Change the button color */
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px /* Higher z-index for the button */
}


/* Pop-up background styling */
/* Pop-up background styling */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center horizontally and vertically */
}



/* Pop-up content styling */
.popup-content {
    background-color: rgba(255, 20, 147, 0.6);
    padding: 2vh 3vw;
    border: 1px solid #888;
    border-radius: 15px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center horizontally and vertically */
}

/* The Close Button */
.close-btn {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: 5px; /* Adjust this value to move the button left or right */
    margin-top: -3px; /* Adjust this value to move the button up or down */
    cursor: pointer; /* Change cursor to pointer on hover */
}

    .close-btn:hover,
    .close-btn:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
/* private key forums _______________________________*/
#private-key-form input[type="text"],
#private-key-form input[type="password"],
#recover-account-submit {
    width: 200px;
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 10px; /* Rounded corners */
    margin-top: 10px;
}

#recover-account-submit {
    background-color: #FF48B0; /* Neon pink color */
    color: white;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
}




/* Create Account Form styling ____________________________________ */
#create-account-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
}

#create-account-form input[type="text"],
#create-account-form input[type="password"],
#create-account-submit {
    width: min(80vw, 300px); /* Scale on small screens, max out at 300px */
    padding: 1vh 1vw;
    border: 2px solid #ccc;
    border-radius: 10px;
    margin-top: 1vh;
    font-size: 1em;
    box-sizing: border-box;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
    justify-content: center;
    width: 100%;
}

.input-group input {
    flex: 1 1 40%;
    min-width: 120px;
    font-size: 1em;
}

#create-account-submit {
    background-color: #FF48B0;
    color: white;
    font-weight: bold;
    cursor: pointer;
    padding: 1vh 2vw;
}




/* Style modifications for Private Key Pop-up */
#private-key-popup {
    /* Existing styles... */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for exact centering */
}

/* Pop-up content styling */
.popup-content {
    /* Existing styles... */
    position: relative; /* To position the close button correctly */
}

/* Close button adjustment */
.close-btn2 {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: 5px; /* Adjust this value to move the button left or right */
    margin-top: -3px; /* Adjust this value to move the button up or down */
    cursor: pointer; /* Change cursor to pointer on hover */
}

/* private key forums _______________________________*/
#private-key-form input[type="text"],
#private-key-form input[type="password"],
#recover-account-submit {
    width: 200px;
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 10px; /* Rounded corners */
    margin-top: 10px;
}


#private-key-input {
    width: 75%;
    height: 75px;
}

#recover-account-submit {
    background-color: #FF48B0; /* Neon pink color */
    color: white;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
}


/*Note! The private key display popup is redunant dont get confused! Here is a divider*/
/* General Popup Styling */
.popup2 {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */


    justify-content: center;
    align-items: center;
}


/* Popup Content Styling */
.popup-content2 {
    background-color: #fff;
    padding: 2vh 3vw;
    border: 1px solid #888;
    border-radius: 10px;
    box-sizing: border-box;

    display: inline-block;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
}


/* Close Button Styling */
.close-btn3 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: -3px; /* Adjust this value to move the button left or right */
    margin-top: -13px; /* Adjust this value to move the button up or down */
    cursor: pointer; /* Change cursor to pointer on hover */
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Input Field Styling */
.popup input[type="text"],
.popup input[type="password"] {
    width: 90%;                 /* Responsive width inside container */
    padding: 1.2vh 2vw;         /* Scales with screen size */
    margin: 1vh 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 0.5em;
    font-size: 1rem;            /* Responsive text sizing */
}


/* Button Styling */
.popup button {
    background-color: #4CAF50;
    color: white;
    padding: 1.5vh 2vw;         /* Responsive padding */
    margin: 1vh 0;
    border: none;
    cursor: pointer;
    width: 95%;
    border-radius: 0.5em;
    font-size: 1rem;
}


    .popup button:hover {
        opacity: 0.8;
    }

/* Warning Message Styling */
#warning-message2 {
    color: red;
    font-weight: bold;
}

#username-display2,
#private-key-words {
    color: black;
    cursor: pointer;
    width: min(90vw, 300px); /* Responsive width with max cap */
    height: auto;
    max-height: 40vh; /* Prevent overly tall containers */
    box-sizing: border-box;
    padding: 1vh 1vw;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-y: auto;
    border: 1px solid #ccc;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    text-align: justify;
}


/* Add more styles as needed */
/* Cookie Banner Styling */
/* Cookie Banner Styling */
#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    padding: 15px;
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
}

    #cookie-banner p {
        margin: 0;
        padding-right: 10px;
    }

    #cookie-banner button {
        background: #ff00ff; /* Neon pink */
        color: #fff;
        margin: 0 5px;
        padding: 10px 15px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        #cookie-banner button:hover {
            background: #ff66ff; /* Lighter neon pink */
        }

    #cookie-banner a {
        color: #ff66ff; /* Lighter neon pink */
        text-decoration: underline;
    }

/* Cookie Policy Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Sits on top of the cookie banner */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

.modal-content {
    background-color: #000;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    color: #fff;
    max-height: 70vh; /* Maximum height of modal */
    overflow-y: auto; /* Enable vertical scrolling */
}

    .modal-content h1, .modal-content h2 {
        color: #ff00ff;
    }

    .modal-content a {
        color: #ff00ff;
        text-decoration: underline;
    }

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #fff;
        text-decoration: none;
        cursor: pointer;
    }














/* Global Scoped Namespace */
.bl-namespace {
    height: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #000;
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 200;
}

/* Footer Styling */
.bl-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    z-index: 200;
}

.bl-footer .footer-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.bl-footer .footer-info {
    font-size: 12px;
    margin-top: 10px;
    opacity: 0.8;
}

.bl-footer a {
    color: #4da6ff;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

.bl-footer a:hover {
    text-decoration: underline;
}

#announcement {
    display: none;
    background-color: #f04ec7; /* Solid color instead of transparent */
    color: white;
    padding: 10px;
    border-bottom: 1px solid #f04ec7;
    font-weight: bold;
    text-align: center;
    z-index: 2000;
    width: 100%; /* Ensure it spans full width */
    position: fixed; /* Consider fixed positioning */
    top: 0; /* Position at top */
  }