body {
    margin: 0;
    padding: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a, #000);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.form-container {
    width: 360px;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    padding: 20px 30px;
}

.form-container h1 {
    text-align: center;
    color: #ffdd57;
    font-size: 26px;
    margin-bottom: 20px;
}

.form-container label {
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    color: #ffdd57;
}

.form-container input {
    width: 95%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
    background: #333;
    color: #fff;
    font-size: 14px;
}

.form-container input:focus {
    outline: none;
    box-shadow: 0 0 5px #ffdd57;
}

.form-container button {
    width: 100%;
    padding: 12px;
    background: #ffdd57;
    border: none;
    border-radius: 5px;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.form-container button:hover {
    background: #ffc107;
}

.form-container .redirect {
    text-align: center;
    margin-top: 15px;
}

.form-container .redirect a {
    color: #ffdd57;
    text-decoration: none;
    font-size: 14px;
}

.form-container .redirect a:hover {
    color: #ffc107;
}

.form-container .error {
    color: #f44336;
    text-align: center;
    font-size: 14px;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: -1;
    transition: opacity 5s ease;
}

.background-image.show {
    opacity: 1;
}

@keyframes crack-and-fall {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(0.8) translateY(500px);
        opacity: 0;
    }
}

body * {
    animation: none;
    transform-origin: center;
    will-change: transform, opacity;
}

body.falling * {
    animation: crack-and-fall 5s ease forwards;
}
