body {
    background-color: #50280c;
    font-family: Arial, sans-serif;
    font-size: 18px;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.container img {
    max-width: 500px;
    height: auto;
}

@media (max-width: 600px) {
    .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
    }

    .container img {
    max-width: 100%;
    height: auto;
    }

    section {
        min-height:100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .login-form {
        text-align: center;
        padding: 30px;
        border: radius 15px;
        background: #8b4513;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
        border-radius: 15px;
    }

    .login-form form {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .login-form input,
    .login-form button {
        padding: 10px;
        border-radius: 5px;
        font-size: 16px;
    }

    .lucky {
        display: block;
        margin: 0 auto;
    }
}

section {
    min-height:100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form {
    text-align: center;
    padding: 30px;
    border: radius 15px;
    background: #8b4513;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}

.login-form form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.login-form input {
    width: 93%;
    padding: 12px 12px;

    border: 1px solid #ddd;
    border-radius: 8px;

    font-size: 16px;
    background: #fff;

    outline: none;

    transition: 
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.login-form input:focus {
    border-color: #79411a;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}


.login-form button {
    width: 100%;
    padding: 12px 15px;

    border: none;
    border-radius: 8px;

    font-size: 16px;
    font-weight: 600;

    color: white;
    background: #4e280c;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.login-form button:hover {
    background: #79411a;

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.login-form button:active {
    transform: translateY(0);
    box-shadow: none;
}

.lucky {
    display: block;
    margin: 0 auto;
}

footer {
    text-align: center;
    color: white;
}

label {
    color: white;
}

@media (max-width: 390px) {
    .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
    }

    .container img {
    max-width: 100%;
    height: auto;
    }

    section {
        min-height:100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .login-form {
        text-align: center;
        padding: 30px;
        border: radius 15px;
        background: #8b4513;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
        border-radius: 15px;
    }

    .login-form form {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .login-form input,
    .login-form button {
        padding: 10px;
        border-radius: 5px;
        font-size: 16px;
    }

    .lucky {
        display: block;
        margin: 0 auto;
    }
}

.modal {
    position: fixed;
    inset: 0;

    display: none;

    justify-content: center;
    align-items: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.65);

    z-index: 1000;

    opacity: 0;

    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;

    width: 100%;
    max-width: 450px;

    padding: 35px 30px;

    background: white;

    border-radius: 18px;

    text-align: center;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);

    transform: scale(0.8);

    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content h2 {
    margin-top: 0;

    font-size: 28px;
}

.modal-content p {
    line-height: 1.6;

    color: #555;
}

.close-modal {
    position: absolute;

    top: 10px;
    right: 15px;

    border: none;

    background: transparent;

    font-size: 28px;

    color: #777;

    cursor: pointer;
}

.close-modal:hover {
    color: #222;
}

#continueButton {
    margin-top: 15px;

    padding: 12px 25px;

    border: none;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #4e280c,
        #4e280c
    );

    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.2s ease;
}

#continueButton:hover {
    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(252, 2, 2, 0.3);
}

#message {
    color: white;
}