* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url(images/bg-img.jpg) no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #000;
    font-family: Arial, sans-serif;
}

section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1.5s ease-in-out;
}

h1 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: #000;
    animation: slideDown 0.8s ease-in-out;
}

label {
    display: block;
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: normal;
}

input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

input[type="email"], input[type="password"] {
    background: rgba(255, 255, 255, 0.8);
}

button {
    width: 70%;
    padding: 0.8rem;
    font-size: 1.2rem;
    font-weight: normal;
    color: #fff;
    background: linear-gradient(to right, #c16e42d0, #82554c);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

button:hover {
    background: linear-gradient(to right, #82554c, #a45023d0);
    transform: translateY(-10px);
}

a {
    color: #000;
    text-decoration: underline;
    cursor: pointer;
}

a:hover {
    color: #cce7ff;
}

p {
    color: #000;
    padding-top: 1rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 1.8rem;
        width: 80%;
        max-width: 500px;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }

    button {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 1.5rem;
        width: 90%;
        max-width: 400px;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    label {
        font-size: 0.9rem;
    }

    input {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    button {
        width: 80%;
        font-size: 1rem;
        padding: 0.7rem;
    }

    p {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    section {
        padding: 1.2rem;
        width: 90%;
        max-width: 350px;
    }

    h1 {
        font-size: 1.6rem;
    }

    button {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
}
