/* Estilo Global */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: url('Imagens/Imagem.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
}

.coin-display {
    position: fixed;
    top: 10%;
    right: 10px;
    background: #1a1625;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px #f09be3;
    font-weight: bold;
    z-index: 999;
}

header {
    background-color: #1a1625;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 30px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0;
    margin: 0;
}

nav a {
    color: #ff9de5; /* Rosa neon */
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffcaff; /* Rosa mais claro no hover */
}

.login-btn {
    background-color: #ff9de5;
    border: none;
    color: #1a1625;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background-color: #ffcaff;
}

/* Estilo para o modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 192, 203, 0.2); /* fundo rosado suave */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

/* Conteúdo do modal */
.modal-content {
    background: linear-gradient(135deg, #ffe4f7, #e0caff);
    padding: 30px;
    border-radius: 20px;
    width: 360px;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
    position: relative;
    text-align: center;
    border: 2px dashed #ffb6c1;
}

/* Botão de fechar (X) */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #c77dff;
}

.close:hover {
    color: #ff69b4;
    transform: scale(1.2);
}

/* Título do modal */
.modal-content h2 {
    margin-bottom: 20px;
    color: #d63384;
    font-size: 26px;
    font-weight: bold;
}

/* Campos do formulário */
.field {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border: 2px solid #f5c2e7;
    border-radius: 10px;
    padding: 8px 12px;
    background-color: #fff0fb;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.field:focus-within {
    border-color: #c77dff;
    box-shadow: 0 0 8px #e599f7;
}

.input-icon {
    margin-right: 10px;
    color: #d63384;
    font-size: 18px;
}

.input-field {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: #6f42c1;
}

/* Botão de login */
.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #ffb6c1, #cba6f7);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: linear-gradient(to right, #ffa6d1, #a586f7);
    transform: scale(1.03);
}

/* Link "Esqueci a senha" */
.btn-link {
    display: block;
    margin-top: 15px;
    color: #c77dff;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

.btn-link:hover {
    text-decoration: underline;
    color: #ff69b4;
}


/* Banner */
.banner {
    text-align: center;
    padding: 60px 20px;
}

.banner h1 {
    font-size: 48px;
    color: #ff9de5;
}

.banner p {
    font-size: 20px;
    color: #f5f5f5;
    margin-bottom: 30px;
}

.banner button {
    background-color: #ff9de5;
    border: none;
    color: #1a1625;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.banner button:hover {
    background-color: #ffcaff;
}

/* Games Section */
.games {
    padding: 10px 20px;
    text-align: center;
}

.games h2 {
    color: #ff9de5;
    font-size: 36px;
    margin-bottom: 10px;
}

.game-card {
    display: inline-block;
    background-color: #2b2640;
    margin: 20px;
    padding: 20px;
    border-radius: 20px;
    width: 200px;
    box-shadow: 0 0 10px #ff9de5;
}

.game-card img {
    width: 100%;
    border-radius: 15px;
}

.game-card h3 {
    color: #ffcaff;
    margin: 15px 0;
}

.game-card button {
    background-color: #ff9de5;
    border: none;
    padding: 10px 20px;
    color: #1a1625;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.game-card button:hover {
    background-color: #ffcaff;
}

/* Estilos do Modal de Login */
.modal {
    display: none; /* Esconde o modal por padrão */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Formulário de login */
.card {
    --main-col: #ff9de5;
    --bg-col: #2a2b38;
    --bg-field: #1f2029;

    width: 190px;
    padding: 1.9rem 1.2rem;
    text-align: center;
    background: var(--bg-col);
    border-radius: 10px;
    border: 1px solid var(--main-col);
    user-select: none;
}

.field {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.5rem;
    gap: 0.5rem;
    background-color: var(--bg-field);
    border-radius: 4px;
}

.input-icon {
    width: 1em;
    color: var(--main-col);
    fill: var(--main-col);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-field {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    color: var(--main-col);
    padding: 0.5em 1em 0.5em 0;
    caret-color: var(--main-col);
}

.title {
    margin-bottom: 1rem;
    font-size: 1.5em;
    font-weight: 500;
    color: var(--main-col);
    text-shadow: 1px 1px 20px var(--main-col);
    text-transform: uppercase;
}

.btn {
    margin: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8em;
    text-transform: uppercase;
    padding: 0.6em 1.2em;
    background-color: var(--main-col);
    color: var(--bg-col);
    box-shadow: 0 8px 24px 0 rgb(255 235 167 / 20%);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.btn-link {
    color: #f5f5f5;
    display: block;
    font-size: 0.75em;
    transition: color 0.3s ease-out;
}

.btn:hover {
    background-color: var(--bg-field);
    color: var(--main-col);
    box-shadow: 0 8px 24px 0 rgb(16 39 112 / 20%);
}

.btn-link:hover {
    color: var(--main-col);
    text-decoration: underline;
}