* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, 'Segoe UI', 'Arial', sans-serif;
}

body {
    background: #0a0a0a;
    color: #f0f0f0;
}

/* AGE GATE */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.age-card {
    background: #1e1e2f;
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    border: 1px solid #ff3366;
}

.age-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 12px 24px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
}

#confirmAge {
    background: #ff3366;
    color: white;
}

#denyAge {
    background: #333;
    color: white;
}

/* HEADER */
header {
    background: #111;
    padding: 1rem 2rem;
    border-bottom: 2px solid #ff3366;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo h1 {
    color: #ff3366;
    font-size: 2rem;
}

nav ul {
    display: flex;
    gap: 1.2rem;
    list-style: none;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

nav a:hover {
    color: #ff3366;
}

/* HERO */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(145deg, #1a1a2a, #0f0f1a);
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.2rem;
}

.cta-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    background: #ff3366;
    padding: 12px 28px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.btn:hover {
    background: #ff6699;
    transform: translateY(-2px);
}

/* BARRA DE PESQUISA */
.search-bar {
    max-width: 500px;
    margin: 1rem auto;
    padding: 0 1rem;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 40px;
    border: 1px solid #ff3366;
    background: #1a1a2a;
    color: white;
    font-size: 1rem;
}

.search-bar input:focus {
    outline: none;
    border-color: #ff6699;
}

/* GAME GRID */
.game-grid {
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-grid h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-left: 4px solid #ff3366;
    padding-left: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 1.5rem;
}

/* CARD DO JOGO */
.game-card {
    background: #1a1a2a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #2a2a3a;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: #ff3366;
    box-shadow: 0 10px 25px rgba(255,51,102,0.2);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.game-card h4 {
    padding: 1rem 1rem 0.3rem;
    font-size: 1.1rem;
    color: #fff;
}

.game-version {
    padding: 0 1rem;
    color: #ff6699;
    font-size: 0.8rem;
    font-weight: bold;
}

.game-card p {
    padding: 0.3rem 1rem;
    color: #aaa;
    font-size: 0.85rem;
}

.game-tag {
    display: inline-block;
    background: #ff3366;
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 4px;
    margin: 0.5rem 1rem;
    font-weight: bold;
}

.play-btn {
    display: block;
    background: linear-gradient(90deg, #ff3366, #ff6b6b);
    color: white;
    text-align: center;
    padding: 10px;
    margin: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.play-btn:hover {
    transform: scale(1.02);
}

/* PAGINAÇÃO */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
}

.page-btn {
    background: #1e1e2e;
    border: 1px solid #ff3366;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.page-btn:hover {
    background: #ff3366;
}

.page-btn.active {
    background: #ff3366;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid #222;
    color: #888;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
}
/* Animações extras */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.game-card {
    animation: fadeIn 0.4s ease forwards;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a2a;
}

::-webkit-scrollbar-thumb {
    background: #ff3366;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6699;
}

/* Melhorias nos botões de página */
.page-btn {
    transition: all 0.2s;
}

.page-btn:hover {
    transform: translateY(-2px);
}

/* Mensagem de nenhum resultado */
.no-results {
    text-align: center;
    padding: 2rem;
    color: #888;
    grid-column: 1 / -1;
}
/* ========== PÁGINA DE DETALHES DO JOGO ========== */
.game-details-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.game-details {
    background: #1a1a2a;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #2a2a3a;
}

.game-details-header {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.game-details-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-details-header .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 2rem;
}

.game-details-header h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.game-details-header .game-version-badge {
    display: inline-block;
    background: #ff3366;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.game-info-section {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Info cards */
.info-card {
    background: #111;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #2a2a3a;
}

.info-card h3 {
    color: #ff3366;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-left: 3px solid #ff3366;
    padding-left: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #222;
}

.info-label {
    font-weight: bold;
    color: #888;
}

.info-value {
    color: white;
}

/* Descrição */
.description {
    grid-column: span 2;
    background: #111;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #2a2a3a;
}

.description h3 {
    color: #ff3366;
    margin-bottom: 1rem;
}

.description p {
    line-height: 1.6;
    color: #ccc;
}

/* Botões de download */
.download-buttons {
    grid-column: span 2;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.download-btn {
    background: linear-gradient(90deg, #ff3366, #ff6b6b);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,51,102,0.3);
}

.download-btn.pc {
    background: linear-gradient(90deg, #2196F3, #21CBF3);
}

.download-btn.apk {
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
}

/* Screenshots */
.screenshots {
    grid-column: span 2;
    margin-top: 1rem;
}

.screenshots h3 {
    color: #ff3366;
    margin-bottom: 1rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.screenshots-grid img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.screenshots-grid img:hover {
    transform: scale(1.05);
}

/* Voltar */
.back-button {
    display: inline-block;
    margin-bottom: 1rem;
    color: #ff3366;
    text-decoration: none;
    font-weight: bold;
}

.back-button:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .game-info-section {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .description,
    .download-buttons,
    .screenshots {
        grid-column: span 1;
    }
    
    .game-details-header h1 {
        font-size: 1.5rem;
    }
    
    .download-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}
/* PÁGINA SOBRE */
.sobre-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.sobre-container h1 {
    color: #ff3366;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.sobre-card {
    background: #1a1a2a;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #2a2a3a;
}

.sobre-card h2 {
    color: #ff3366;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.sobre-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
/* GÊNEROS / TAGS */
.generos-section {
    margin-top: 1.5rem;
}

.generos-title {
    color: #ff3366;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: bold;
}

.generos-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.genero-tag {
    background: #2a2a3a;
    color: #ff6699;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: 0.2s;
    border: 1px solid #ff3366;
}

.genero-tag:hover {
    background: #ff3366;
    color: white;
    transform: scale(1.05);
}
/* Link do desenvolvedor */
.developer-link {
    color: #ff6699;
    text-decoration: none;
    transition: 0.2s;
    font-weight: bold;
}

.developer-link:hover {
    color: #ff3366;
    text-decoration: underline;
}