:root {
    --bg-color: #f3f3f3;
    --card-bg: #ffffff;
    --card-border: #e0e0e0;
    --primary: #e3350d; /* Vermelho Pokébola */
    --primary-light: #ff4a22;
    --primary-glow: rgba(227, 53, 13, 0.15);
    --accent: #ffcb05; /* Amarelo Pikachu */
    --accent-blue: #30a7d7; /* Azul Pokémon */
    --accent-orange: #f07f19; /* Laranja Charizard */
    --text-color: #313131; /* Grafite Escuro */
    --text-muted: #616161; /* Cinza Suave */
    --success: #4dad5b; /* Verde Pokémon */
    --navbar-bg: #313131; /* Cabeçalho Escuro Oficial */
    --navbar-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* Scrollbar Customizada Estilo Pokémon */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f3f3f3;
}
::-webkit-scrollbar-thumb {
    background: var(--navbar-bg);
    border-radius: 5px;
    border: 2px solid #f3f3f3;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: var(--navbar-height);
}

/* Marca d'água de Pokébola no fundo (Estilo Pokémon Oficial) */
.pokeball-watermark {
    position: fixed;
    width: 600px;
    height: 600px;
    border: 30px solid rgba(0, 0, 0, 0.015);
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
}

.pokeball-watermark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.015);
    transform: translateY(-50%);
}

.pokeball-watermark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: var(--bg-color);
    border: 30px solid rgba(0, 0, 0, 0.015);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.bg-watermark-1 {
    top: -5%;
    left: -10%;
    transform: rotate(25deg);
}

.bg-watermark-2 {
    bottom: -10%;
    right: -10%;
    transform: rotate(-35deg);
}

/* Barra de Navegação Superior (Navbar Oficial Pokémon.com) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: var(--navbar-bg);
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    height: 70px;
}

.navbar-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    transition: transform 0.25s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #f2f2f2;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease;
    position: relative;
    padding: 10px 0;
    letter-spacing: 0.8px;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-nav-download {
    background: var(--accent-orange);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 0 #b3590c;
    transition: all 0.2s ease;
    text-transform: uppercase;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-nav-download:hover {
    transform: translateY(-2px);
    background: #ff9130;
    box-shadow: 0 6px 0 #b3590c;
}

.btn-nav-download:active {
    transform: translateY(2px);
    box-shadow: 0 0px 0 #b3590c;
}

/* Hamburger Menu (Botão Premium Gamer) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 13px 11px;
    cursor: pointer;
    z-index: 1100;
    transition: all 0.25s ease;
}

.hamburger-menu:hover, .hamburger-menu.open {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.hamburger-menu .bar {
    width: 100%;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animação do Hamburger para X */
.hamburger-menu.open .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Menu Mobile Lateral */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--navbar-bg);
    border-left: 4px solid var(--primary);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-menu {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    color: #f2f2f2;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.25s ease;
}

.mobile-link:hover {
    color: var(--accent);
}

.btn-mobile-download {
    background: var(--accent-orange);
    color: #ffffff !important;
    text-align: center;
    border-radius: 10px;
    padding: 14px !important;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 900;
    margin-top: 16px;
    box-shadow: 0 4px 0 #b3590c;
    border-bottom: none !important;
}

/* Wrapper Geral do Conteúdo */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--navbar-height));
    padding-top: 20px;
    padding-bottom: 60px;
}

/* Card Principal no estilo Deck Pokémon Oficial */
.download-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-top: 6px solid var(--primary); /* Vermelho no topo */
    border-radius: 20px;
    padding: 56px 40px;
    width: 100%;
    max-width: 620px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.showcase-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pokébola Gigante Estilizada atrás do Mascote */
.showcase-container::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--primary) 50%, #ffffff 50%);
    border: 8px solid #313131;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: rotate-pokeball 25s linear infinite;
}

@keyframes rotate-pokeball {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.showcase-container::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 10px;
    background: #313131;
    top: calc(50% - 5px);
    left: 0;
    z-index: 1;
}

.podium-glow {
    position: absolute;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 8px solid #313131;
    border-radius: 50%;
    top: calc(50% - 22px);
    left: calc(50% - 22px);
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.showcase-icon {
    width: 110px;
    height: 110px;
    object-fit: contain;
    animation: float-action 3s infinite alternate ease-in-out;
    z-index: 3;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.3));
}

@keyframes float-action {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* Títulos Oficiais Pokémon */
h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: var(--text-color);
}

h1 span {
    color: var(--primary);
}

.description {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 480px;
}

/* Botão Jogar Online (Verde Premium) com tremor de atenção */
.btn-play {
    background-color: #4dad5b;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 0 #2d7a3a, 0 10px 25px rgba(77, 173, 91, 0.3);
    transition: all 0.2s ease;
    text-transform: uppercase;
    border: 2px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
    animation: btnPlayShake 0.6s ease-in-out infinite;
}

.btn-play:hover {
    transform: translateY(-3px);
    background-color: #5fcf6f;
    box-shadow: 0 9px 0 #2d7a3a, 0 15px 30px rgba(77, 173, 91, 0.45);
    animation: none;
}

.btn-play:active {
    transform: translateY(3px);
    box-shadow: 0 0px 0 #2d7a3a, 0 4px 10px rgba(77, 173, 91, 0.1);
}

@keyframes btnPlayShake {
    0%, 100% { transform: translateX(0); }
    15%      { transform: translateX(-2px) rotate(-0.8deg); }
    30%      { transform: translateX(2px) rotate(0.8deg); }
    45%      { transform: translateX(-1px) rotate(-0.4deg); }
    60%      { transform: translateX(1px) rotate(0.4deg); }
    75%      { transform: translateX(-0.5px); }
    90%      { transform: translateX(0.5px); }
}

/* Link Jogar no Navbar */
.nav-link-play {
    color: #4dad5b !important;
}

.nav-link-play::after {
    background: #4dad5b !important;
}

/* Link Jogar no Mobile */
.mobile-play {
    color: #4dad5b !important;
}

/* Botão Premium Pokébola Vermelha (Estilo Gamer Limpo) */
.btn-download {
    background-color: var(--primary);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 0 #a82305, 0 10px 25px rgba(227, 53, 13, 0.2);
    transition: all 0.2s ease;
    text-transform: uppercase;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-download:hover {
    transform: translateY(-3px);
    background-color: var(--primary-light);
    box-shadow: 0 9px 0 #a82305, 0 15px 30px rgba(227, 53, 13, 0.35);
}

.btn-download:active {
    transform: translateY(3px);
    box-shadow: 0 0px 0 #a82305, 0 4px 10px rgba(227, 53, 13, 0.1);
}

.meta-info {
    font-family: monospace;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.dot-sep {
    width: 5px;
    height: 5px;
    background-color: var(--card-border);
    border-radius: 50%;
}

/* Configurações de Título de Seção */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--text-color);
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    font-size: 15px;
    margin-bottom: 56px;
}

/* Recursos Section (Grid Gamer Oficial) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.feature-card:nth-child(1) { border-top: 4px solid var(--primary); }
.feature-card:nth-child(2) { border-top: 4px solid var(--accent); }
.feature-card:nth-child(3) { border-top: 4px solid var(--success); }

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.25s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

.f-purple {
    background: rgba(227, 53, 13, 0.08);
    color: var(--primary);
    border: 2px solid rgba(227, 53, 13, 0.15);
}

.f-gold {
    background: rgba(255, 203, 5, 0.12);
    color: #d1a500;
    border: 2px solid rgba(255, 203, 5, 0.25);
}

.f-green {
    background: rgba(77, 173, 91, 0.1);
    color: var(--success);
    border: 2px solid rgba(77, 173, 91, 0.2);
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Como Instalar Section (Timeline Pokébola) */
.timeline-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 24px;
}

/* Linha conectora */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 3px;
    height: calc(100% - 30px);
    background: #e0e0e0;
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
    padding-left: 36px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Marcador em Formato de Mini Pokébola */
.timeline-number {
    position: absolute;
    left: -14px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--primary) 50%, #ffffff 50%);
    border: 3px solid #313131;
    color: #ffffff;
    font-family: monospace;
    font-weight: 900;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Customização dos textos dos números das Pokébolas */
.timeline-number::after {
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.timeline-item:hover .timeline-number {
    transform: scale(1.15) rotate(45deg);
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--accent-blue);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.015);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(2) .timeline-content { border-left-color: var(--accent); }
.timeline-item:nth-child(3) .timeline-content { border-left-color: var(--success); }

.timeline-item:hover .timeline-content {
    border-color: #d0d0d0;
    transform: translateX(4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.timeline-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-color);
}

.timeline-content p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Rodapé Oficial (Fundo Escuro) */
footer {
    border-top: 4px solid var(--primary);
    padding: 50px 24px;
    background: var(--navbar-bg);
    color: #ffffff;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    font-size: 12.5px;
    color: #cccccc;
    line-height: 1.6;
}

.footer-sub {
    margin-top: 10px;
    font-size: 11px !important;
    color: #888888 !important;
}

/* Responsividade */
@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
    }

    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .section {
        padding: 50px 0;
    }

    .hero-section {
        min-height: auto;
        padding-top: 30px;
    }

    .download-card {
        padding: 40px 24px;
        border-radius: 16px;
    }

    h1 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-container {
        padding-left: 15px;
    }
}

/* Logo Premium na Hero Section */
.hero-logo-title {
    margin-bottom: 24px;
    width: 100%;
    max-width: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: logo-pulse 4s ease-in-out infinite alternate;
}

.hero-logo:hover {
    transform: scale(1.06) translateY(-4px);
    filter: drop-shadow(0 15px 30px rgba(227, 53, 13, 0.4));
    animation-play-state: paused; /* Pausa a pulsação para priorizar a interação de hover */
}

@keyframes logo-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
    }
    100% {
        transform: scale(1.025);
        filter: drop-shadow(0 12px 24px rgba(227, 53, 13, 0.25)); /* Sutil glow vermelho oficial */
    }
}




