body {
    visibility: hidden;
}

body.locked, body.unlocked {
    visibility: visible;
}

#safeguard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    transition: opacity 0.5s ease;
}

#safeguard-overlay.unlocked {
    opacity: 0;
    pointer-events: none;
}

#safeguard-input-container {
    text-align: center;
}

#safeguard-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    color: white;
    font-size: 24px;
    padding: 10px;
    outline: none;
    width: 300px;
    text-align: center;
    transition: border-color 0.3s;
}

#safeguard-input:focus {
    border-bottom-color: white;
}

#safeguard-message-box {
    position: fixed;
    left: 40px;
    top: 75%;
    transform: translateY(-50%);
    width: 350px;
    background: #0a0a0a;
    border: 1px solid #333;
    padding: 30px;
    font-size: 14px;
    line-height: 1.6;
    display: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

#safeguard-hello {
    font-size: 60px;
    margin-bottom: 20px;
    letter-spacing: 5px;
    display: none;
    animation: fadeIn 1.5s ease;
}

#safeguard-egg-box {
    position: fixed;
    bottom: 40px;
    right: 40px;
    color: #00ff00;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border: 1px solid #00ff00;
    display: none;
    animation: fadeIn 0.5s ease;
    z-index: 100001;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.visible {
    display: block !important;
}

body.locked {
    overflow: hidden;
}
