/* Sudoku Zen Classic - BQ Studio 
    Estilo unificado e profissional
*/

/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Red Hat Display", sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
    color: #000;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER (Padrão BQ Studio) --- */
header {
    background-color: #ffffff;
    padding: 12px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.header-logo {
    height: 32px;
    margin-right: 5px;
}

header nav a {
    color: #000;
    text-decoration: none;
    margin-left: 25px;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    padding-bottom: 5px;
}

header nav a:after {
    position: absolute;
    left: 0; right: 0; bottom: 0; margin: auto;
    content: ""; display: block; width: 0; height: 2px;
    background: linear-gradient(to right, #007bff, #ff9800);
    transition: width .3s ease;
}

header nav a:hover:after {
    width: 100%;
}

/* --- HERO (Banner Principal) --- */
.game-hero {
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 100px auto 20px;
    max-width: 1100px;
    width: calc(100% - 40px);
    overflow: hidden;
    position: relative;
}

.hero-content-centralized {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 80px 40px;
    min-height: 500px;
    position: relative;
}

.hero-content-centralized::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/sudoku/banner_sudoku.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-left-content {
    max-width: 50%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 18px;
}

.text-group-center h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.hero-tagline {
    font-size: 18px;
    color: #333;
    line-height: 1.5;
}

/* --- BOTÕES E ELEMENTOS "EM BREVE" --- */
.download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-store img {
    height: 60px; /* Mesma altura usada no Jogo da Velha */
    transition: transform 0.2s ease;
}

.btn-store:hover img {
    transform: scale(1.05);
}

.btn-soon {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    background: #ececec;
    border: 2px dashed #d0d0d0;
    cursor: default;
}

/* --- SEÇÕES DE CONTEÚDO --- */
h3 {
    font-size: 2.5rem;
    margin: 40px 0;
    position: relative;
    font-weight: 700;
}

h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #ff9800);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    border-radius: 2px;
}

.game-description {
    padding: 60px 20px;
    text-align: center;
}

.intro-paragraph {
    font-size: 17px;
    margin-bottom: 25px;
}

/* --- GALERIA DE SCREENSHOTS --- */
.game-media {
    padding: 20px 0;
}

.media-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.media-gallery img {
    width: 260px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.media-gallery img:hover {
    transform: translateY(-5px);
}

/* --- CARACTERÍSTICAS (Grid 2x2) --- */
.game-features {
    padding: 60px 20px;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Força as duas colunas */
    gap: 25px;
    max-width: 950px;
    margin: 60px auto 0;
}

.features-list li {
    text-align: left;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 5px solid transparent;
    border-image: linear-gradient(to bottom, #007bff, #ff9800) 1;
}

.features-list h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* --- CTA FINAL (Centralizado) --- */
.final-cta {
    padding: 60px 20px;
}

.cta-text {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
    font-weight: 500;
}

.final-cta .download-buttons {
    display: flex;
    justify-content: center; /* Alinha o botão no meio horizontalmente */
    margin-left: 0; /* Remove qualquer margem negativa herdada do Hero */
}

.final-cta .btn-store img {
    height: 65px; /* Tamanho padronizado para a chamada final */
}

/* --- MAIS JOGOS --- */
.more-games {
    padding: 60px 20px;
}

.more-games-grid {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.more-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    transition: transform 0.2s;
}

.more-game-card img {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.more-game-card:hover {
    transform: scale(1.08);
}

.game-description, .game-features, .more-games, .final-cta {
    padding: 30px 20px; 
    background-color: #f8f8f8;
}

.game-description h3, 
.game-features h3,
.more-games h3 {
    margin-top: 20px;    /* Estava 50px ou 40px, reduzi para 20px */
    margin-bottom: 30px; /* Espaço para a linha degradê e o início do próximo texto */
}

.game-media {
    padding: 10px 0; /* Reduz quase todo o respiro lateral/vertical desta faixa */
}

.media-gallery {
    gap: 15px; /* Diminui o espaço entre as imagens das screenshots */
}

.final-cta {
    padding-top: 10px;    /* Diminui o espaço acima da frase de convite */
    padding-bottom: 40px; /* Mantém um respiro antes da seção "Mais Jogos" */
}

.cta-text {
    margin-bottom: 15px; /* Aproxima o texto do botão da Play Store */
}

.more-games h3 {
    margin-bottom: 25px;
}

.more-games-grid {
    margin-top: 10px; /* Reduz a distância entre o título/frase e os ícones */
}

/* --- FOOTER --- */
footer {
    background-color: #343434;
    color: #f8f8f8;
    padding: 40px 0;
    font-size: 12px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .links-container a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    text-transform: uppercase;
    font-weight: bold;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .hero-content-centralized {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-left-content {
        max-width: 100%;
        align-items: center;
    }

    .features-list {
        grid-template-columns: 1fr; /* Coluna única no celular */
    }

    .download-buttons {
        justify-content: center;
    }

    footer .container {
        flex-direction: column;
        gap: 20px;
    }
}