body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000005;
    color: white;
    cursor: none;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.05s ease-out;
    z-index: 9999;
}

#flash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    pointer-events: none;
    z-index: 9998;
}

.ui-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.title-font {
    font-family: 'Orbitron', sans-serif;
}

.choice-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.choice-button:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #a78bfa;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.login-form-container {
    position: relative; /* Needed for positioning the close button */
    background: rgba(10, 10, 20, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 380px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.close-button:hover {
    color: white;
    transform: rotate(90deg);
}

.password-container {
    position: relative;
}

.login-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    padding: 12px 0;
    width: 100%;
    color: white;
    transition: all 0.3s ease;
    font-size: 16px;
}

#password {
    padding-right: 40px;
}

.login-input:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 10px 15px -10px rgba(139, 92, 246, 0.3);
}

.password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.login-button {
    background: #7c3aed;
    border: 1px solid #7c3aed;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 1px;
}

.login-button:hover {
    background: #6d28d9;
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.7);
}

.hidden-initially {
    opacity: 0;
    pointer-events: none;
}
