/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(120deg, #f4f4f4 70%, #eaffd0 100%);
    color: #222;
}

.suggestions {
    position: absolute;
    background: #fff;
    color: #222;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    width: 250px;
    z-index: 10;
    display: none;
}
.suggestions div {
    padding: 8px;
    cursor: pointer;
}
.suggestions div:hover {
    background: #eaffd0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 40px 10px 40px;
    background: #1a1a1a;
    color: #fff;
    border-bottom: 4px solid #aaff00;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

header .logo h1 {
    font-size: 30px;
    letter-spacing: 2px;
}

header .logo img {
    height: 60px;
    width: auto;
    display: block;
}

header .search-bar {
    display: flex;
    gap: 8px;
}

header .search-bar input {
    padding: 12px;
    border: 2px solid #aaff00;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 16px;
}

header button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background-color: #aaff00;
    color: #222;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

header .search-bar button:hover {
    background-color: #7ee500;
}


/* Navigation Styles */
nav {
    background: #292929;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

nav ul {
    display: flex;
    list-style: none;
    padding: 14px 0;
    justify-content: center;
    gap: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 17px;
    padding: 6px 14px;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
}

nav ul li a.active,
nav ul li a:hover {
    background: #aaff00;
    color: #222;
}


/* Banner Styles */
.banner {
    text-align: center;
    padding: 60px 20px 40px 20px;
    background: linear-gradient(90deg, #aaff00 80%, #eaffd0 100%);
    color: #222;
    border-radius: 0 0 30px 30px;
    margin-bottom: 30px;
}

.banner h2 {
    font-size: 38px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.banner p {
    font-size: 20px;
    margin-bottom: 10px;
}

.banner button {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    background-color: #fff;
    color: #222;
    font-weight: bold;
    cursor: pointer;
    font-size: 17px;
    margin-top: 10px;
    transition: background 0.2s;
}

.banner button:hover {
    background-color: #eaffd0;
}


/* Games List Styles */
.games-list {
    padding: 30px 10px 40px 10px;
    text-align: center;
}

.games-list h1 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #4e8d00;
    letter-spacing: 1px;
}

.games-list .game {
    display: inline-block;
    width: 320px;
    margin: 24px 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    vertical-align: top;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #eaffd0;
}

.games-list .game:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 32px rgba(122,255,0,0.10);
    border-color: #aaff00;
}

.games-list .game img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #eaffd0;
}

.games-list .game h3 {
    font-size: 22px;
    margin: 14px 0 6px 0;
    color: #222;
}

.games-list .game p {
    font-size: 19px;
    margin: 8px 0 16px 0;
}

.old-price {
    color: #bbb;
    text-decoration: line-through;
    margin-right: 10px;
    font-size: 16px;
}

.promo-price {
    color: #7ee500;
    font-weight: bold;
    font-size: 22px;
}

.games-list .game button {
    padding: 12px 28px;
    border: none;
    border-radius: 0 0 18px 18px;
    background-color: #aaff00;
    color: #222;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    transition: background 0.2s;
}

.games-list .game button:hover {
    background-color: #7ee500;
    color: #fff;
}


/* --- Cards de jogos dinâmicos --- */
#lista-jogos {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 30px;
}

#lista-jogos .card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    width: 320px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #eaffd0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#lista-jogos .card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 32px rgba(122,255,0,0.10);
    border-color: #aaff00;
}

#lista-jogos .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #eaffd0;
}

#lista-jogos .info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#lista-jogos .title {
    font-size: 22px;
    margin-bottom: 8px;
    color: #222;
    font-weight: bold;
}

#lista-jogos .desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

/* --- Detalhes do jogo --- */
#detalhes {
    background: #fff;
    color: #222;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
    padding: 32px 24px;
    max-width: 800px;
    margin: 40px auto;
    display: none;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

#detalhes img {
    max-width: 320px;
    border-radius: 10px;
    margin-bottom: 16px;
}

#detalhes .media {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

#detalhes .media img {
    max-width: 120px;
    border-radius: 6px;
    box-shadow: 0 2px 8px #0002;
}

#detalhes .media video {
    border-radius: 6px;
    background: #000;
}

#detalhes button#voltar {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #aaff00;
    color: #222;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

#detalhes button#voltar:hover {
    background: #7ee500;
}

/* Footer Styles */
footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 32px 10px 18px 10px;
    margin-top: 40px;
    border-top: 4px solid #aaff00;
}

footer .social-links {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

footer .social-links a {
    color: #aaff00;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    transition: color 0.2s;
}

footer .social-links a:hover {
    color: #7ee500;
    text-decoration: underline;
}

.download-link-block {
    display: inline-block;
    background: #eaffd0;
    border-radius: 12px;
    padding: 12px 18px;
    margin: 8px 10px 8px 0;
    box-shadow: 0 2px 8px rgba(122,255,0,0.07);
    font-size: 16px;
    color: #222;
    transition: background 0.2s, box-shadow 0.2s;
    min-width: 180px;
    text-align: center;
}
.download-link-block a {
    color: #4e8d00;
    text-decoration: none;
    font-weight: bold;
}
.download-link-block a:hover {
    text-decoration: underline;
}

/* Ajuste para a barra de pesquisa */
.filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.filtros label {
    font-size: 16px;
    font-weight: bold;
    color: #222;
}

.filtros select,
.filtros input {
    padding: 10px;
    border: 2px solid #aaff00;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.filtros select:hover,
.filtros input:hover {
    border-color: #7ee500;
}

.filtros button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background-color: #aaff00;
    color: #222;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.filtros button:hover {
    background-color: #7ee500;
}

/* Ajuste para os botões de navegação de página */
.filtros #anterior,
.filtros #proximo {
    font-size: 16px;
    font-weight: bold;
}

.filtros #pagina-atual {
    font-size: 16px;
    font-weight: bold;
    color: #222;
}

/* Ajuste para o botão de download */
.comprar-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background-color: #aaff00;
    color: #222;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.comprar-btn:hover {
    background-color: #7ee500;
    color: #fff;
}