/* ==========================================
   VEXA PLAY - ESTILO GERAL
========================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;

    font-family: Arial, sans-serif;

    color: white;

    background:
        linear-gradient(
            rgba(16, 0, 24, 0.35),
            rgba(16, 0, 24, 0.35)
        ),
        url("vexa/images/home-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* ==========================================
   TELA DE LOGIN
========================================== */

.login-container {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 30px 20px;
}


/* ==========================================
   LOGO DA TELA DE LOGIN
========================================== */

.logo {
    width: 200px !important;
    height: 130px !important;

    max-width: 200px !important;
    max-height: 130px !important;

    object-fit: contain;

    display: block;

    margin: 0 auto 30px auto;
}


/* CAIXA LOGIN */

.login-box {
    width: 100%;
    max-width: 420px;

    padding: 30px;

    border-radius: 24px;

    background: rgba(10, 5, 18, 0.92);

    border: 1px solid rgba(180, 100, 255, 0.25);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55);
}


/* CAMPOS */

.login-box input {
    width: 100%;

    height: 58px;

    margin-bottom: 15px;

    padding: 0 18px;

    border-radius: 14px;

    border: 1px solid #51336b;

    outline: none;

    background: #20172a;

    color: white;

    font-size: 17px;
}

.login-box input::placeholder {
    color: #999;
}


/* BOTÃO */

.login-box button {
    width: 100%;

    height: 60px;

    margin-top: 5px;

    border: none;

    border-radius: 15px;

    background: linear-gradient(
        90deg,
        #741cff,
        #a32cff
    );

    color: white;

    font-size: 20px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

.login-box button:hover {
    transform: scale(1.02);
}


/* MENSAGEM */

.mensagem {
    margin-top: 22px;

    text-align: center;

    color: #bdbdbd;

    font-size: 14px;

    line-height: 1.6;
}


/* ==========================================
   HOME PLAY+
========================================== */

.topbar {
    width: 100%;

    min-height: 110px;

    display: flex;

    align-items: center;

    padding: 15px 35px;

    gap: 35px;

    background: rgba(8, 3, 15, 0.92);

    border-bottom: 1px solid rgba(180, 100, 255, 0.18);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.35);

    position: sticky;

    top: 0;

    z-index: 100;
}


/* LOGO HOME */

.home-logo {
    width: 150px;

    max-height: 75px;

    object-fit: contain;

    flex-shrink: 0;
}


/* ==========================================
   MENU
========================================== */

.topbar nav {
    display: flex;

    align-items: center;

    gap: 10px;

    flex: 1;
}

.menu {
    border: none;

    border-radius: 10px;

    padding: 12px 18px;

    background: rgba(255, 255, 255, 0.07);

    color: #ddd;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    transition: all 0.2s;
}

.menu:hover {
    background: rgba(150, 50, 255, 0.25);

    color: white;

    transform: translateY(-1px);
}

.menu.ativo {
    background: linear-gradient(
        90deg,
        #741cff,
        #a32cff
    );

    color: white;

    box-shadow:
        0 5px 18px rgba(120, 30, 255, 0.35);
}


/* ==========================================
   PESQUISA
========================================== */

.pesquisa {
    width: 45px;

    height: 45px;

    border: 1px solid rgba(180, 100, 255, 0.3);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    color: white;

    font-size: 18px;

    cursor: pointer;

    transition: 0.2s;
}

.pesquisa:hover {
    background: rgba(150, 50, 255, 0.25);

    transform: scale(1.05);
}


/* ==========================================
   CONTEÚDO PRINCIPAL
========================================== */

main {
    width: 100%;

    padding-bottom: 50px;
}


/* ==========================================
   DESTAQUE
========================================== */

.destaque {
    min-height: 300px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 55px 60px;

    background:
        linear-gradient(
            90deg,
            rgba(20, 5, 35, 0.95),
            rgba(60, 10, 90, 0.35),
            rgba(20, 5, 35, 0)
        );
}

.destaque h1 {
    font-size: 42px;

    margin-bottom: 15px;

    font-weight: 700;
}

.destaque p {
    color: #c9bfd2;

    font-size: 18px;
}


/* ==========================================
   CATEGORIAS
========================================== */

.categoria {
    padding: 25px 45px;
}

.categoria h2 {
    margin-bottom: 20px;

    font-size: 23px;

    color: white;
}


/* ==========================================
   CARDS
========================================== */

.cards {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;
}

.card {
    width: 190px;

    min-height: 145px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 12px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(70, 25, 100, 0.8),
            rgba(25, 10, 35, 0.95)
        );

    border: 1px solid rgba(180, 100, 255, 0.2);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.3);

    cursor: pointer;

    transition:
        transform 0.2s,
        border 0.2s,
        box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-6px);

    border-color: rgba(180, 100, 255, 0.55);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.45);
}


/* ÍCONE DO CARD */

.card-imagem {
    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background: rgba(120, 40, 200, 0.2);

    font-size: 35px;
}

.card span {
    color: #eee;

    font-size: 15px;

    font-weight: bold;
}


/* ==========================================
   RODAPÉ
========================================== */

footer {
    width: 100%;

    padding: 25px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    color: #8f829a;

    font-size: 13px;

    border-top: 1px solid rgba(180, 100, 255, 0.12);
}


/* ==========================================
   RESPONSIVO
========================================== */

@media (max-width: 800px) {

    .topbar {
        padding: 12px 18px;

        gap: 15px;

        flex-wrap: wrap;
    }

    .home-logo {
        width: 120px;
    }

    .topbar nav {
        order: 3;

        width: 100%;

        overflow-x: auto;

        padding-bottom: 5px;
    }

    .menu {
        white-space: nowrap;

        padding: 10px 13px;

        font-size: 12px;
    }

    .destaque {
        min-height: 230px;

        padding: 40px 25px;
    }

    .destaque h1 {
        font-size: 30px;
    }

    .categoria {
        padding: 20px;
    }

    .card {
        width: calc(50% - 10px);

        min-height: 130px;
    }
}


/* ==========================================
   CELULAR
========================================== */

@media (max-width: 600px) {

    .login-container {
        padding: 20px;
    }

    .logo {
        width: 190px;

        margin-bottom: 25px;
    }

    .login-box {
        padding: 22px;
    }

    .card {
        width: calc(50% - 10px);
    }
}