* {
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
}

body,
html {
    height: 100%;
    width: 100%;
}

/* --- Fundo e pétalas --- */
body.habbo-bg {
    background: linear-gradient(to top, rgb(190, 90, 160) 20%, rgb(200, 80, 190) 50%, rgb(230, 130, 230) 80%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

body.habbo-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('../img/index/fundo-HQKEHtfH.png') no-repeat;
    background-position: 110% -20%;
    background-size: 75%;
    opacity: .25;
    pointer-events: none;
}

.petal {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #f4c7d8;
    border-radius: 50%;
    animation: fall 5s infinite ease-in;
    opacity: 0;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.petal:nth-child(1) {
    left: 10%;
    animation-duration: 6s;
    animation-delay: 0s;
}

.petal:nth-child(2) {
    left: 30%;
    animation-duration: 5s;
    animation-delay: 1s;
}

.petal:nth-child(3) {
    left: 50%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.petal:nth-child(4) {
    left: 70%;
    animation-duration: 4s;
    animation-delay: 0.5s;
}

.petal:nth-child(5) {
    left: 90%;
    animation-duration: 6s;
    animation-delay: 1.5s;
}

/* --- Container --- */
.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    width: 90%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
}

.left-side {
    width: 65%;
    padding-right: 20px;
}

.left-side h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.left-side p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #eee;
}

.right-side {
    width: 35%;
    padding-left: 20px;
}

.right-side iframe {
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* --- Login Staff --- */
.maintenance-wrapper {
    text-align: center;
    margin-top: 20px;
}

.btn-login-staff {
    padding: 12px 25px;
    background-color: #a85bb5;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-login-staff:hover {
    background-color: #d06ec9;
    transform: translateY(-2px);
}

.staff-login {
    display: none;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    text-align: center;
}

.staff-login input {
    margin: 5px 0;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 200px;
}

.staff-login button {
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #5b3ca5;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.staff-login button:hover {
    background-color: #7d57c1;
}

.error-msg {
    color: #ff6b6b;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .left-side,
    .right-side {
        width: 90%;
        padding: 10px;
    }
}

.top-right-login {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    /* acima de tudo */
    text-align: right;
}

.top-right-login .btn-login-staff {
    padding: 10px 20px;
    background-color: #a85bb5;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.top-right-login .btn-login-staff:hover {
    background-color: #d06ec9;
}

.top-right-login .staff-login {
    display: none;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 8px;
    min-width: 220px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.top-right-login .staff-login input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.top-right-login .staff-login button {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    background-color: #5b3ca5;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.top-right-login .staff-login button:hover {
    background-color: #7d57c1;
}

.top-right-login .error-msg {
    color: red;
    margin-bottom: 5px;
}