/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Red Hat Display", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #000;
    padding-top: 60px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll suave (movido do HTML para o CSS) */
html {
    scroll-behavior: smooth;
}

/* --- HEADER --- */
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;
}

header h1 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.header-logo {
    height: 32px;
    margin-right: 1px;
    margin-top: 0;
}

header nav a {
    text-decoration: none;
    color: #000;
    margin: 20px;
    font-weight: bold;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    position: relative; 
    padding-bottom: 5px;
}

/* Efeito de sublinhado com degradê */
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%;
}

/* --- Estilos das seções --- */
.hero-section {
    text-align: center;
    padding: 100px 0;
    background: #f8f8f8;
    position: relative;
    animation: softGlow 5s ease-in-out infinite alternate;
}

@keyframes softGlow {
    0% { 
        box-shadow: 
            inset 0 0 100px rgba(0, 123, 255, 0.295),
            inset 0 0 50px rgba(255, 153, 0, 0.596);
    }
    100% { 
        box-shadow: 
            inset 0 0 150px rgba(0, 123, 255, 0.315),
            inset 0 0 80px rgba(255, 153, 0, 0.281);
    }
}

.hero-section h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-section h2 span.gradient-text {
    background: linear-gradient(135deg, #22B4C9, #FEC93E, #F38B1E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.hero-section p {
    font-size: 1.2rem;
    color: #000;
}

/* --- Estilos para as seções genéricas --- */
.games-section {
    padding: 60px 0;
    text-align: center;
    background-color: #f8f8f8;
}

.games-section h3 {
    font-size: 25px;
    margin-bottom: 60px;
    color: #000;
}

.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f5fa 100%);
    padding: 40px 0;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0, 123, 255, 0.03);
    text-align: center; 
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.closing-message {
    font-style: italic;
    color: #555;
    border-left: 3px solid #007bff;
    padding-left: 15px;
    margin-top: 30px;
}

h3 {
    font-size: 25px;
    margin-bottom: 40px;
    color: #000;
}

/* --- ESTILOS DA ÁREA CLICÁVEL DO JOGO (AGORA DENTRO DA SEÇÃO GAMES) --- */
.game-feature-section {
    padding: 0; /* REMOVIDO: era 40px 0 5px 0 - agora o padding é controlado pela .games-section */
    text-align: center;
    background-color: transparent; /* REMOVIDO: era #f8f8f8 - agora herda da .games-section */
}

/* Container da Imagem Principal e Ícone */
.feature-visual-central {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 30px; 
}

/* Imagem Principal */
.feature-mockup-central {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Efeito do Botão Play */
.play-overlay {
    position: absolute;
    top: 45%; 
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    padding: 10px 20px;
    cursor: pointer;
    line-height: 1;
    transition: background 0.3s;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Estilo para o ícone do jogo (sobreposto) */
.game-icon-wrapper {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.game-icon {
    width: 60px;
    height: 60px;
    display: block;
    border-radius: 12px;
}

/* Estilo para a área de Texto e Botão */
.feature-content-central {
    max-width: 650px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
}

/* Efeito APENAS no título - linear gradient só no hover do título */
.clickable-game-area {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* Efeito no título com transição suave */
.game-title-with-effect {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    cursor: pointer;
    font-size: 17px;
    color: #000;
    margin-bottom: 10px;
    font-family: "Red Hat Display", sans-serif;
    transition: color 0.3s;
}

/* Linear gradient abaixo do título */
.game-title-with-effect: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;
}

/* Quando a ÁREA INTEIRA tem hover, mostra o linear gradient no título */
.clickable-game-area:hover .game-title-with-effect:after {
    width: 100%;
}

.clickable-game-area:hover .game-title-with-effect {
    color: #0056b3;
}

/* Garantir que o botão da Play Store seja clicável normalmente */
.btn-store-central {
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.feature-content-central p {
    font-family: "Red Hat Display", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 30px;
}

/* Botão da Play Store (badge) */
.btn-store-central img.store-badge {
    height: 60px;
    width: auto;
    transition: transform 0.2s ease;
}

.btn-store-central img.store-badge:hover {
    transform: scale(1.05);
}

/* --- Estilos dos Botões de Contato/Jogo --- */
.btn-game,
.btn-contact {
    display: inline-block;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-game {
    background-color: #28a745;
}

.btn-game:hover {
    background-color: #218838;
}

.btn-contact {
    background-color: #007bff;
    padding: 15px 30px;
    font-size: 1rem;
}

.btn-contact:hover {
    background-color: #0056b3;
}

/* --- NOVOS ESTILOS PARA A SEÇÃO DE CONTATOS --- */

.contact-section {
    padding: 60px 0;
    text-align: center;
    background-color: #e0e8ef;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 30px 0;
    text-align: left;
}

.contact-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #000;
    position: relative;
    display: inline-block;
}

.contact-item h4:after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    margin: auto;
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #007bff, #ff9800);
    transition: width .3s ease;
}

.contact-item:hover h4:after {
    width: 100%;
}

.contact-item p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- FOOTER IGUAL AO JOGO DA VELHA --- */
footer {
    background-color: #343434;
    color: #9b9b9b;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

/* 1. Estrutura para colutar o copyright e os links */
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    color: #f8f8f8;
    font-size: 12px;
    gap: 15px;
}

@media (min-width: 769px) {
    footer .container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* 2. Copyright fica na esquerda */
footer .container p:first-child {
    margin-bottom: 0;
}

/* 3. Container para centralizar os links */
footer .links-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex: 1;
    margin-right: 150px;
}

/* 4. Estilo dos links de navegação */
footer a {
    color: #f8f8f8;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

/* 5. Efeito Sublinhado ao Hover (com degradê) */
footer 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;
}

footer a:hover:after {
    width: 100%;
}

/* --- Media Queries (Responsividade) --- */
@media (max-width: 768px) {
    .feature-visual-central {
        max-width: 90%;
    }
    
    .hero-section h2 {
        font-size: 2.5rem;
    }

    /* Ajustes no header para mobile */
    header .container {
        flex-direction: column;
        gap: 10px;
    }

    header nav a {
        margin: 10px;
        font-size: 12px;
    }

    /* Ajustes no footer para mobile */
    footer .links-container {
        margin-right: 0;
        gap: 20px;
    }
    
    /* Responsividade para contatos */
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .contact-item {
        text-align: center;
    }
}

/* Ajustes adicionais para telas muito pequenas */
@media (max-width: 480px) {
    .hero-section h2 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .games-section,
    .about-section,
    .contact-section {
        padding: 40px 0;
    }

    h3 {
        font-size: 2rem;
    }

    .play-overlay {
        font-size: 2rem;
        height: 50px;
        width: 50px;
    }
}