/* Reset e Variáveis */
:root {
    --blue-dark: #1E3A8A;
    --blue-medium: #2563EB;
    --blue-light: #3B82F6;
    --blue-vibrant: #1E40AF;
    --blue-header: #1E3A8A;
    --blue-nav: #2563EB;
    --blue-bg-light: #EFF6FF;
    --white: #FFFFFF;
    --gray-light: #F3F4F6;
    --gray-text: #6B7280;
    --green: #10B981;
    --orange: #F59E0B;
    --shadow: rgba(30, 64, 175, 0.1);
    --shadow-hover: rgba(30, 64, 175, 0.2);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--blue-header) 0%, var(--blue-medium) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text h1 {
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0;
}

.logo-text p {
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
    opacity: 0.95;
}

.nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.lang-selector {
    display: flex;
    align-items: center;
}

.lang-select {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: var(--white);
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.lang-select:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lang-select option {
    background: var(--blue-medium);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--blue-bg-light) 0%, var(--white) 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--blue-vibrant);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--gray-text);
    font-weight: 400;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--blue-vibrant);
    margin-bottom: 15px;
}

.section-description {
    font-size: 20px;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--white);
    border: 2px solid var(--blue-bg-light);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
    border-color: var(--blue-medium);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-medium) 0%, var(--blue-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--blue-vibrant);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.7;
}

/* Banners de Anúncios */
.ad-banner-container {
    padding: 30px 0;
    background: var(--white);
    border-top: 1px solid var(--blue-bg-light);
    border-bottom: 1px solid var(--blue-bg-light);
    margin: 0;
}

.ad-banner-container .container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.ad-banner-container .adsbygoogle {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.ad-banner-footer {
    background: var(--gray-light);
    margin-bottom: 0;
}

/* Jogos Section */
.jogos-section {
    background: linear-gradient(135deg, var(--blue-bg-light) 0%, var(--white) 100%);
    padding: 80px 0;
}

.jogos-intro {
    text-align: center;
    margin-bottom: 40px;
}

.jogos-intro .hero-title {
    margin-bottom: 12px;
}

.jogos-intro .hero-subtitle {
    font-size: 20px;
    color: var(--gray-text);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
}

.jogos-section-header {
    margin-bottom: 45px;
}

.jogos-showcase {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.jogos-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.jogo-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.jogo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-medium) 0%, var(--blue-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.jogo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.2);
}

.jogo-card:hover::before {
    transform: scaleX(1);
}

.jogo-card:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.4);
    outline-offset: 6px;
}

.jogo-card:focus-visible::before {
    transform: scaleX(1);
}

.jogo-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--blue-medium) 0%, var(--blue-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.jogo-card:hover .jogo-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.jogo-icon-wrapper svg {
    width: 50px;
    height: 50px;
}

.jogo-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue-dark);
    margin: 0;
}

.jogo-tagline {
    font-size: 15px;
    color: var(--gray-medium);
    margin: 0;
    line-height: 1.6;
}

.jogo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue-medium) 0%, var(--blue-light) 100%);
    color: var(--white);
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    margin-top: 10px;
}

.jogo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, var(--blue-vibrant) 0%, var(--blue-medium) 100%);
}

.jogo-placeholder {
    background: linear-gradient(135deg, var(--blue-medium) 0%, var(--blue-light) 100%);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.jogo-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.8;
}

.jogo-placeholder p {
    font-size: 18px;
    font-weight: 600;
}

.jogo-coming-soon .jogo-placeholder {
    opacity: 0.8;
}

.jogo-ads {
    padding: 20px;
    background: transparent;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

/* Estilos para anúncios do Google AdSense */
.jogo-ads .adsbygoogle {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.ad-placeholder {
    background: var(--white);
    border: 2px dashed var(--blue-medium);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: var(--blue-medium);
    font-weight: 600;
    font-size: 14px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jogos-info {
    background: linear-gradient(135deg, var(--blue-bg-light) 0%, rgba(255, 255, 255, 0.8) 100%);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.1);
    text-align: center;
}

.jogos-info-content h3 {
    color: var(--blue-dark);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.jogos-info-content p {
    color: var(--gray-medium);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.jogos-info-content p:last-child {
    margin-bottom: 0;
}

.jogos-impacto {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 64, 175, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--blue-medium);
}

.jogos-impacto p {
    font-size: 17px;
    font-weight: 500;
    color: var(--blue-dark);
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

/* Contato Section */
.contato-section {
    background: var(--white);
    text-align: center;
}

.contato-content {
    max-width: 900px;
    margin: 0 auto;
}

.contato-info h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--blue-vibrant);
    margin-bottom: 15px;
}

.contato-info p {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 40px;
}

/* WhatsApp Buttons */
.whatsapp-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.whatsapp-btn-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.whatsapp-btn-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.whatsapp-btn-number {
    font-size: 16px;
    color: var(--white);
    opacity: 0.95;
    font-weight: 500;
}

.whatsapp-financeiro {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-suporte {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--blue-header) 0%, var(--blue-medium) 100%);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin: 8px 0;
    opacity: 0.9;
}

.footer-credit {
    font-size: 14px;
    opacity: 0.8;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        justify-content: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-description {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .jogos-row {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        gap: 25px;
    }

    .jogo-card {
        padding: 30px 20px;
    }

    .jogo-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .jogo-icon-wrapper svg {
        width: 40px;
        height: 40px;
    }

    .jogo-name {
        font-size: 20px;
    }

    .jogo-btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .jogos-info {
        padding: 30px 20px;
    }

    .jogos-info-content h3 {
        font-size: 24px;
    }

    .ad-banner-container {
        padding: 20px 0;
    }

    .ad-banner-container .container {
        min-height: 80px;
    }
}

@media (max-width: 560px) {
    .jogos-row {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 22px;
    }

    .logo-text p {
        font-size: 9px;
    }

    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }

    .jogos-section {
        padding: 60px 0;
    }

    .jogos-intro .hero-title {
        font-size: 36px;
    }

    .jogos-intro .hero-subtitle {
        font-size: 18px;
    }

    section {
        padding: 50px 0;
    }

    .jogos-section {
        padding: 60px 0;
    }

    .whatsapp-buttons {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .whatsapp-btn {
        padding: 18px 20px;
    }

    .whatsapp-btn svg {
        width: 40px;
        height: 40px;
    }

    .whatsapp-btn-title {
        font-size: 16px;
    }

    .whatsapp-btn-number {
        font-size: 14px;
    }

    .jogos-row {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 360px) {
    .jogos-row {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.jogo-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.5s;
}
