* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* Declaração da fonte customizada Don José */
@font-face {
    font-family: 'DonJose-Black';
    src: url('../fonts/DonJose-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

html, body {
    width: 100vw;
    height: 100vh;
    background-color: #FFFFFF;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

/* Container da tela */
.login-screen {
    position: relative;
    width: 100vw;
    height: 1024px;
    background-color: rgba(255, 255, 255, 0.92);
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../img/cor_branco.png');
    background-blend-mode: normal;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* BANNER LATERAL AMARELO */
.banner-section {
    position: absolute;
    width: 601px;
    height: 100%;
    left: 0 !important;
    top: 0;
    background-color: rgba(253, 215, 34, 0.9);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    box-shadow: 11px 11px 27px rgba(0, 0, 0, 0.17);
    z-index: 1;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/cor_yellow.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.banner-section > * {
    position: relative;
    z-index: 1;
}

/* LOGO GAME STATION (GS - Marca PNG Horizontal) */
.logo-gs {
    position: absolute;
    width: 383px;
    height: 203px;
    left: 42px;
    top: 23px;
    z-index: 2;
}

/* MASCOTE DE BRAÇOS CRUZADOS */
.mascote-img {
    position: absolute;
    width: 1023.046px;
    height: 1246.471px;
    opacity: 1;
    top: 49px;
    left: -375px;

    transform: rotate(25.64deg);
    
    /* Melhora a suavização e nitidez do elemento esticado/rotacionado */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    
    filter: drop-shadow(0px 14px 28px rgba(0, 0, 0, 0.25));
    z-index: 5;
    pointer-events: none;
}

/* --- CHAPÉU DE FESTA DO MASCOTE --- */
.chapeu-img {
    position: absolute;
    width: 478px; /* Tamanho proporcional à cabeça do mascote */
    height: 315px;
    
    /* Posição travada na cabeça do personagem */
    left: 144px;
    top: 79px;
    
    /* Acompanha a inclinação do mascote */
    transform: rotate(32.69deg);
    
    /* Sombra suave idêntica às camadas do Figma */
    filter: drop-shadow(2px 6px 12px rgba(0, 0, 0, 0.3));
    z-index: 6; /* Fica acima do mascote (z-index: 5) */
    pointer-events: none;
}

/* --- ÁREA DO FORMULÁRIO DE LOGIN (Lado Direito) --- */
.form-section {
    position: absolute;
    left: 920px;
    top: 199px;
    width: 664.11px;
    height: 640px;
    z-index: 10;
}

/* Retângulo Laranja no Fundo (Rectangle 11) */
.card-orange {
    position: absolute;
    width: 567px;
    height: 480px;
    left: 48px;
    top: 0px;
    background: #FF9500;
    box-shadow: 2px 3px 12px rgba(0, 0, 0, 0.43);
    border-radius: 27px;
}

/* Card Azul Frontal (Rectangle 10) */
.card-blue {
    position: absolute;
    width: 664px;
    height: 411px;
    left: 1px;
    top: 32px;
    background: linear-gradient(340.11deg, #0039A1 4.76%, #0095FF 43.47%, #0039A1 82.63%);
    box-shadow: 2px 3px 12px rgba(0, 0, 0, 0.43);
    border-radius: 25px;
    padding: 35px 45px;
}
/* Títulos */
.title {
    /* font-family: 'Poppins', sans-serif; */
     /* font-family: 'Don José', 'Poppins', sans-serif; */
     font-family: 'DonJose-Black', sans-serif;
    font-weight: 900;
    font-size: 51px;
    line-height: 100%;
    color: #FFFFFF;
    text-align: center;
    margin-top: 10px;
}

.subtitle {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 100%;
    color: #FFFFFF;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 25px;
}

.highlight-yellow {
    color: #FDD722;
}

/* Bloco Branco dos Inputs */
.form-card-white {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 30px 25px 20px 25px;
}


.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    color: #333333;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}


.input-group input {
    width: 100%;
    height: 48px;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
}

.input-group input::placeholder {
    color: #CBD5E1;
}

/* Ações do Formulário (Link e Botão Lado a Lado) */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.link-voltar {
    color: #0088FF;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    

}

.btn-recuperar {
   width: 319px;
    height: 49px;
    background-color: #2CD152;
    color: #FFFFFF;
    font-size: 21px;
    font-weight: 900;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0px 4px 10px rgba(44, 209, 82, 0.3);
}

.alert-error {
    background-color: #ff3333;
    color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

/* ==========================================================================
   RESPONSIVIDADE (REGRAS ADICIONAIS SEM ALTERAR O CÓDIGO BASE)
   ========================================================================== */

/* 1. Laptops Grandes e Displays Médios (de 1440px até 1680px) */
@media (max-width: 1680px) and (min-width: 1281px) {
    .login-screen {
        height: 100vh;
    }

    .form-section {
        left: calc(100vw - 680px); /* Empurra o form para não estourar a tela */
        top: 50%;
        transform: translateY(-50%) scale(0.9);
        transform-origin: right center;
    }

    .banner-section {
        width: 38vw;
    }

    .mascote-img {
        width: 62vw;
        height: auto;
        left: -24vw;
    }

    .chapeu-img {
        width: 30vw;
        height: auto;
        left: 8vw;
    }
}

/* 2. Notebooks e Tablets Grandes como MacBook Air, Surface Duo Dobrado (de 1025px até 1280px) */
@media (max-width: 1280px) and (min-width: 1025px) {
    .login-screen {
        height: 100vh;
    }

    .banner-section {
        width: 35vw;
    }

    .logo-gs {
        width: 300px;
        height: auto;
        left: 15px;
        top: 0px;
    }

    .mascote-img {
        width: 65vw;
        height: auto;
        left: -28vw;
        top: 17px;
    }

    .chapeu-img {
        width: 32vw;
        height: auto;
        left: 6vw;
        top: 42px;
    }

    .form-section {
        left: auto;
        right: 20px;
        top: 50%;
        transform: translateY(-50%) scale(0.75);
        transform-origin: right center;
    }
}

/* 3. Tablets/Foldables em orientação paisagem (Ex: Surface Duo aberto 1114x705) */
@media (max-width: 1150px) and (min-width: 901px) {
    .login-screen {
        height: 100vh;
    }

    .banner-section {
        width: 32vw;
    }

    .logo-gs {
        width: 240px;
        height: auto;
        left: 10px;
        top: 10px;
    }

    .mascote-img {
        width: 60vw;
        height: auto;
        left: -26vw;
        top: 7px;
    }

    .chapeu-img {
        width: 28vw;
        height: auto;
        left: 6vw;
        top: 39px;
    }

    .form-section {
        left: auto;
        right: 10px;
        top: 50%;
        transform: translateY(-50%) scale(0.65);
        transform-origin: right center;
    }

    
}


/* ==========================================================================
   REGRAS ESPECÍFICAS PARA TELAS MOBILE (320px ATÉ 375px DE LARGURA)
   ========================================================================== */

/* 1. Tela Pequena: 320px x 568px (Ex: iPhone SE 1ª Geração) */
@media (max-width: 325px) and (max-height: 570px) {
    html, body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .login-screen {
        width: 100%;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 25px;
    }

    .mascote-img, .chapeu-img {
        display: none !important;
    }

    .banner-section {
        position: relative;
        width: 100% !important;
        height: 100px;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    }

    .logo-gs {
        position: absolute;
        width: 170px;
        height: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .form-section {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        width: 92%;
        max-width: 300px;
        height: auto;
        margin-top: 20px;
    }

    .card-orange {
        position: absolute;
        width: 304px;
        height: 369px;
        left: 50%;
        top: -6px;
        transform: translateX(-50%);
        padding: 0;
        z-index: 1;
        border-radius: 20px;
    }

    .card-blue {
        position: relative;
        width: 100%;
        height: auto;
        left: 0;
        top: 0;
        padding: 18px 15px;
        z-index: 2;
        border-radius: 20px;
    }

    .title {
        font-size: 26px;
    }

    .subtitle {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .form-card-white {
        padding: 15px 12px;
    }

    .input-group label {
        font-size: 13px;
    }

    .input-group input {
        height: 40px;
        font-size: 13px;
    }

    .btn-recuperar {
        width: 100%;
        height: 42px;
        font-size: 16px;
    }

    .link-voltar {
        font-size: 14px;
    }
}

/* 2. Resoluções Android Comuns: 360px (Alturas: 780px, 800px, 804px e 880px) */
@media (min-width: 326px) and (max-width: 365px) {
    html, body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .login-screen {
        width: 100%;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 35px;
    }

    .mascote-img, .chapeu-img {
        display: none !important;
    }

    .banner-section {
        position: relative;
        width: 100% !important;
        height: 130px;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    }

    .logo-gs {
        position: absolute;
        width: 210px;
        height: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .form-section {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        width: 92%;
        max-width: 335px;
        height: auto;
        margin-top: 25px;
    }

    /* Card Laranja Fica no Topo Atrás do Card Azul */
    .card-orange {
        position: absolute;
        width: 340px;
        height: 393px;
        left: 50%;
        top: -5px;
        transform: translateX(-50%);
        padding: 0;
        z-index: 1;
        border-radius: 22px;
    }

    .card-blue {
        position: relative;
        width: 100%;
        height: auto;
        left: 0;
        top: 0;
        padding: 22px 18px;
        z-index: 2;
        border-radius: 22px;
    }

    .title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .btn-recuperar {
        width: 100%;
        height: 46px;
        font-size: 18px;
    }
}

/* 3. Resolução iPhone: 375px x 812px (e dispositivos com 375px a 430px) */
@media (min-width: 366px) and (max-width: 430px) {
    html, body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .login-screen {
        width: 100%;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 40px;
    }

    .mascote-img, .chapeu-img {
        display: none !important;
    }

    .banner-section {
        position: relative;
        width: 100% !important;
        height: 140px;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    }

    .logo-gs {
        position: absolute;
        width: 230px;
        height: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .form-section {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        width: 90%;
        max-width: 350px;
        height: auto;
        margin-top: 30px;
    }

    .card-orange {
        position: absolute;
        width: 359px;
        height: 405px;
        left: 50%;
        top: -5px;
        transform: translateX(-50%);
        padding: 0;
        z-index: 1;
        border-radius: 24px;
    }

    .card-blue {
        position: relative;
        width: 100%;
        height: auto;
        left: 0;
        top: 0;
        padding: 25px 20px;
        z-index: 2;
        border-radius: 24px;
    }

    .title {
        font-size: 34px;
    }

    .subtitle {
        font-size: 18px;
    }

    .btn-recuperar {
        width: 100%;
        height: 48px;
        font-size: 19px;
    }
}

/* 4. Tablets Retrato Gerais (Entre 431px e 900px) */
@media (min-width: 431px) and (max-width: 900px) {
    html, body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .login-screen {
        width: 100%;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-bottom: 40px;
    }

    .mascote-img, .chapeu-img {
        display: none !important;
    }

    .banner-section {
        position: relative;
        width: 100% !important;
        height: 150px;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    }

    .logo-gs {
        position: absolute;
        width: 240px;
        height: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .form-section {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        width: 90%;
        max-width: 450px;
        height: auto;
        margin-top: 30px;
    }

    .card-orange {
        position: absolute;
        width: 392px;
        height: 429px;
        left: 50%;
        top: -15px;
        transform: translateX(-50%);
        padding: 0;
        z-index: 1;
    }

    .card-blue {
        position: relative;
        width: 100%;
        height: auto;
        left: 0;
        top: 0;
        padding: 25px 20px;
        z-index: 2;
    }

    .title {
        font-size: 38px;
    }

    .subtitle {
        font-size: 20px;
    }
}


/* 5. Ajustes para Celulares Pequenos (Abaixo de 480px) */
@media (max-width: 480px) {
    .banner-section {
        height: 120px;
    }

    .logo-gs {
        width: 190px;
    }

    .form-section {
        width: 92%;
        margin-top: 15px;
    }

    .title {
        font-size: 30px;
    }

    .subtitle {
        font-size: 16px;
    }

    .form-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn-recuperar {
        order: 1;
        width: 200px;
        height: 46px;
        font-size: 14px;
    }

    .link-voltar {
        order: 2;
        font-size: 16px;
    }

}




