/* === CONFIGURAÇÕES GERAIS E FONTES === */
:root {
    --azul-principal: #2D9CDB;
    --amarelo-destaque: #FEC601;
    --roxo-prime: #004aad;
    --rosa-rainbow: #7c45e8;
    --cinza-fundo: #f7f9fc;
    --texto-escuro: #333;
    --texto-claro: #555;
}

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    background-color: var(--cinza-fundo);
    color: var(--texto-escuro);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* === CABEÇALHO === */
header {
    background: #55B6E8;
    color: #fff;
    text-align: center;
    padding: 25px 20px;
    border-bottom: 5px solid var(--amarelo-destaque);
}

header h2 {
    font-size: 2.2em;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

header p {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.9;
}


/* === SEÇÃO DE JOGOS GRATUITOS === */
#jogos-gratuitos {
    padding-top: 25px;
    padding-bottom: 25px;
}

.vitrine-jogos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.jogo-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.jogo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.jogo-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.jogo-card h3 {
    margin: 15px 0 8px 0;
    font-size: 1.3em;
    font-weight: 700;
}

.jogo-card p {
    font-size: 0.9em;
    color: var(--texto-claro);
    padding: 0 15px;
    flex-grow: 1;
    margin-bottom: 15px;
}

.jogo-card button {
    background-color: var(--amarelo-destaque);
    color: var(--texto-escuro);
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1em;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.jogo-card button:hover {
    background-color: #ffd43b;
}

/* === CONTAINER DAS SEÇÕES PROMOCIONAIS LADO A LADO === */
.promo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.secao-promo {
    border-radius: 12px;
    color: #fff;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 200px;
    overflow: hidden;
}

.secao-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.secao-promo:hover::before {
    background-color: rgba(0, 0, 0, 0.75);
}

.promo-content {
    position: relative;
    z-index: 2;
}

.secao-promo:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.secao-promo h2 {
    font-size: 1.6em;
    font-weight: 900;
    margin-top: 0;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.secao-promo p {
    font-size: 1em;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin-bottom: 15px;
}

.secao-promo button {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9em;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-shadow: none;
}

.secao-promo button:hover {
    background-color: #fff;
}

.secao-promo.rainbow {
    background-image: url('fundo-site-colorido.png');
}

.secao-promo.rainbow button:hover {
    color: var(--rosa-rainbow);
}

.secao-promo.prime {
    background-image: url('fundo-clave-prime.png');
}

.secao-promo.prime button:hover {
    color: var(--roxo-prime);
}

/* === RODAPÉ PROFISSIONAL === */
footer {
    background-color: #55B6E8;
    color: #fff;
    padding-top: 25px;
    font-size: 0.9em;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-cta h3, .footer-links h4, .footer-social h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.footer-cta p {
    color: #f0f0f0;
    margin-bottom: 15px;
}

.cta-button {
    background-color: var(--amarelo-destaque);
    color: var(--texto-escuro);
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-social a {
    color: #fff;
    font-size: 1.6em;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.1);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 0;
    color: #f0f0f0;
}

/* === AJUSTES PARA TELAS MENORES (RESPONSIVIDADE) === */
@media (max-width: 768px) {
    .promo-container, .footer-container {
        grid-template-columns: 1fr;
    }
    header h2 { font-size: 1.8em; }
    .secao-promo h2 { font-size: 1.5em; }
}
