*
{
    margin: 0;
    padding: 0;
}

canvas {
  touch-action: none;
}

html,
body
{
    overflow: hidden;
}

.webgl
{
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}

/* Loading Overlay Styles */
#loading-overlay {
    position: fixed; /* Fixes it to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Semi-transparent black background */
    color: white;
    display: flex; /* Use flexbox for centering */
    flex-direction: column; /* Stack text and progress bar vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    z-index: 9999; /* Ensure it's on top of everything */
    opacity: 1; /* Start visible */
    transition: opacity 1s ease-out; /* Smooth transition when fading out */
}

#loading-overlay.hidden {
    opacity: 0;
    pointer-events: none; /* Make it unclickable after fading out */
}

#loading-text {
    font-family: Arial, sans-serif;
    font-size: 1.5em;
    margin-bottom: 20px;
}

#progress-bar-container {
    width: 80%; /* Width of the progress bar background */
    height: 10px; /* Height of the progress bar */
    background-color: #333;
    border-radius: 10px;
    overflow: hidden; /* Hide anything outside the rounded corners */
}

#progress-bar {
    height: 100%;
    width: 0%; /* Starts empty */
    background-color: #4200dd; /* Blue fill for the progress */
    border-radius: 10px;
    transition: width 0.1s linear; /* Smooth transition for progress updates */
}

/* --- Constant Small Overlay Styles --- */
#constant-overlay {
        position: fixed;
    top: 93%;
    left: 50%;
    transform: translateX(-50%);

    /* Glassy cyber panel */
    background: linear-gradient(
        135deg,
        rgba(0, 255, 255, 0.12),
        rgba(255, 0, 255, 0.08)
    );
    backdrop-filter: blur(6px);

    color: #9ffcff;
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    font-size: 0.8em;
    letter-spacing: 0.08em;
    /* text-transform: uppercase; */
    text-align: center;

    padding: 6px;

    border-radius: 12px;
    border-left: 2px solid rgba(0, 255, 255, 0.8);

    /* Neon glow */
    box-shadow:
        0 0 6px rgba(0, 255, 255, 0.6),
        0 0 14px rgba(0, 255, 255, 0.35),
        inset 0 0 10px rgba(0, 255, 255, 0.15);

    text-shadow:
        0 0 6px rgba(0, 255, 255, 0.8),
        0 0 12px rgba(0, 255, 255, 0.4);

    z-index: 10;
    pointer-events: none;
    text-align: center;
}


@media (max-width: 768px) {
    #constant-overlay {
        display: none;
    }
}

#constant-overlay-phone {
    position: fixed;
    top: 93%;
    left: 50%;
    transform: translateX(-50%);

    /* Glassy cyber panel */
    background: linear-gradient(
        135deg,
        rgba(0, 255, 255, 0.12),
        rgba(255, 0, 255, 0.08)
    );
    backdrop-filter: blur(6px);

    color: #9ffcff;
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    font-size: 0.7em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;

    padding: 6px;

    border-radius: 12px;
    border-left: 2px solid rgba(0, 255, 255, 0.8);

    /* Neon glow */
    box-shadow:
        0 0 6px rgba(0, 255, 255, 0.6),
        0 0 14px rgba(0, 255, 255, 0.35),
        inset 0 0 10px rgba(0, 255, 255, 0.15);

    text-shadow:
        0 0 6px rgba(0, 255, 255, 0.8),
        0 0 12px rgba(0, 255, 255, 0.4);

    z-index: 10;
    pointer-events: none;
    text-align: center;
    display: none; /* hidden by default */
}

@media (max-width: 768px) {
  #constant-overlay-phone {
    display: block;
  }
}

/* / */

#instructions-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(173, 216, 230, 0.5); /* Light blue with transparency */
    backdrop-filter: blur(8px); /* Frosted glass/ice effect */
    -webkit-backdrop-filter: blur(8px); /* For Safari support */
    color: #333; /* Darker text for readability on light background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9998; /* Below loading overlay, but above scene */
    opacity: 1; /* Start visible */
    transition: opacity 1s ease-out;
    font-family: 'Segoe UI', 'Arial', sans-serif; /* Modern, readable font */
}

#instructions-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

#instructions-content {
    background-color: rgba(255, 255, 255, 0.8); /* Slightly opaque white box for text */
    padding: 30px 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    text-align: center;
    max-width: 500px; /* Limit width for better readability */
    margin: 20px; /* Spacing from edges */
}

#instructions-content h1 {
    color: #0056b3; /* Darker blue for headings */
    margin-bottom: 25px;
    font-size: 2em;
}

#instructions-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
}

#instructions-content kbd {
    display: inline-block;
    padding: 3px 8px;
    font-family: monospace;
    font-size: 0.9em;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
    margin: 0 2px;
    color: #555;
}

#instructions-content h2 {
    color: #007bff;
    margin-top: 30px;
    font-size: 1.8em;
    animation: pulse 1.5s infinite alternate; /* Simple pulse animation */
}

/* Optional: Pulse animation for "Click to Enter" */
@keyframes pulse {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.05); opacity: 0.8; }
}

/*# sourceMappingURL=main.css.map*/