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

html {
    overflow-x: hidden;
}

img,
video,
svg {
    display: block;
    width: 100%;
    height: auto;
}

@font-face {
    font-family: Reem Kufi;
    src: url(tipos/ReemKufi-VariableFont_wght.ttf) format('truetype');
}

@font-face {
    font-family: Roboto;
    src: url(tipos/Roboto-VariableFont_wght.ttf) format('truetype');
}

body {
    margin: 0;
    min-height: 100vh;
    background-image: url('imagens/Atencao.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

#container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

/* ---- HEADER ---- */
header {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
    margin: 24px;
    padding-top: 36px;
}

.logo {
    width: 150px;
    height: auto;
    grid-column: 1 / span 2;
}

/* ---- NAVBAR ---- */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes spin {
    to {
        --angle: 360deg;
    }
}

@keyframes rodar-pokebola {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes swing {
    0% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(-5deg);
    }
}

.navbar {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 21px;
    width: 100%;
    height: 76px;
    font-family: Reem Kufi, sans-serif;
    grid-column: 4 / 13;
    background: transparent;
    border: none;
    z-index: 1;
}

.navbar::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    background: conic-gradient(from var(--angle), #FFCB05, #f1f1f1, #FFCB05);
    z-index: -2;
    animation: spin 10s linear infinite;
}

.navbar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 21px;
    background: url('imagens/navbackground.svg') center/cover no-repeat;
    z-index: -1;
}

.navbar a {
    color: #D62828;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
}

.navbar a:hover {
    color: #2A75BB;
}

/* ---- IMAGENS ---- */
#background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

#pombon {
    grid-column: 7 / 13;
    position: relative;
    top: 340px;
}

#placa {
    grid-column: 2 / span 5;
    grid-row: 3;
    position: relative;
    top: 200px;
    animation: swing 8s ease-in-out infinite;
    transform-origin: bottom center;
}

/* ---- MAIN ---- */
main {
    margin-top: 600px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
    margin-left: 24px;
    margin-right: 24px;
}

main section {
    grid-column: 1 / span 12;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
    margin: 24px 0;
}

main h2 {
    font-family: Reem Kufi, sans-serif;
    font-size: 46px;
    line-height: 58px;
    color: #D62828;
    grid-column: 1 / span 6;
}

main p {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #1E1E1E;
    grid-column: 1 / span 6;
    position: relative;
}

.fotos-container {
    position: relative;
    grid-column: 1 / span 8;
}

.fotos-container img {
    width: 100%;
    display: block;
}

.barras {
    position: absolute;
    bottom: -30px;
    left: -110px;
    right: 100px;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.barra {
    height: 55px;
    width: 0%;
}

.barra-azul {
    background: #2A75BB;
    border-radius: 0px 6px 6px 0px;
}

.barra-vermelha {
    background: #D62828;
    border-radius: 0px 6px 6px 0px;
}

@keyframes abrir-azul {
    from {
        width: 0%;
    }

    to {
        width: 80%;
    }
}

@keyframes abrir-vermelha {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

#rotom {
    grid-column: 4 / 13;
    position: relative;
    top: -500px;
    animation: flutuar 3s ease-in-out infinite;
    will-change: transform;
}

.sombra-rotom {
    grid-column: 4 / 13;
    position: relative;
    top: -400px;
    display: flex;
    justify-content: center;
}

.sombra-rotom::after {
    content: '';
    width: 500px;
    height: 50px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    animation: sombra 3s ease-in-out infinite;
}

@keyframes flutuar {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes sombra {
    0% {
        transform: scaleX(1);
        opacity: 0.4;
    }

    50% {
        transform: scaleX(0.6);
        opacity: 0.15;
    }

    100% {
        transform: scaleX(1);
        opacity: 0.4;
    }
}

.pokemon-section {
    grid-column: 1 / 13;
    position: relative;
    display: block;
    top: -150px;
}

.pokebola-deco {
    position: absolute;
    top: -300px;
    right: -300px;
    width: 650px;
    z-index: 0;
    animation: rodar-pokebola 20s linear infinite;
    pointer-events: none;
    will-change: transform;
}

.pokemon-titulo {
    font-family: Reem Kufi, sans-serif;
    font-size: 64px;
    color: #2A75BB;
    margin-bottom: 32px;
}

.pokemon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.pokemon-card {
    border-radius: 16px;
    overflow: hidden;
    padding-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.pokemon-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pokemon-card img {
    width: 100% !important;
    height: 350px !important;
    object-fit: contain !important;
    padding: 20px;
    transition: transform 0.1s ease;
}

.pokemon-info {
    padding: 12px 16px;
}

.pokemon-numero {
    font-family: Roboto, sans-serif;
    font-size: 12px;
    color: #555;
}

.pokemon-info h3 {
    font-family: Reem Kufi, sans-serif;
    font-size: 28px;
    color: #1E1E1E;
    margin: 4px 0 8px;
}

.tipo {
    display: inline-block;
    color: white;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 14px;
    border-radius: 6px;
}

.fraquezas {
    margin-top: 16px;
}

.fraquezas p {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.tipos-fraqueza {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tipos-fraqueza span {
    color: white;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 6px;
}

/* ---- SEPARADOR ---- */
.separador-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.separador-banda-img {
    width: 100%;
    height: auto;
    display: block;
}

.separador-pokebolas-img {
    position: absolute;
    width: 420px;
    height: auto;
    pointer-events: none;
    animation: pulsar 2s ease-in-out infinite;
}

@keyframes pulsar {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.08) rotate(3deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* ---- ATIVIDADES ---- */
.atividades-section {
    max-width: 1280px;
    width: 100%;
    margin: 150px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
    align-items: center;
    padding: 0 24px;
    position: relative;
}

.browt-deco {
    grid-column: 1 / span 5;
    width: 700px !important;
    height: auto !important;
    position: relative;
    z-index: 1;
}

.atividades-texto {
    grid-column: 6 / 13;
    position: relative;
    top: 40px;
}

.atividades-texto h2 {
    font-family: Reem Kufi, sans-serif;
    font-size: 36px;
    line-height: 48px;
    color: #2A75BB;
    margin-bottom: 16px;
}

.atividades-texto p {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #1E1E1E;
}

/* ---- GALERIA ---- */
.galeria-section {
    position: relative;
    overflow: hidden;
}

.paineis {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%;
}

.painel {
    width: 33.333%;
    padding: 40px;
    flex-shrink: 0;
    position: relative;
    min-height: 600px;
}

.painel-azul {
    background: #2A75BB;
}

.painel-verde {
    background: #4CAF50;
}

.painel-vermelho {
    background: #D62828;
}

.painel-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 80px;
}

.galeria-titulo {
    font-family: Reem Kufi, sans-serif;
    font-size: 64px;
    font-weight: bold;
    color: white;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}

.galeria-img:nth-child(1) {
    grid-column: 1 / 6;
}

.galeria-img:nth-child(2) {
    grid-column: 6 / 13;
}

.galeria-img:nth-child(3) {
    grid-column: 1 / 8;
}

.galeria-img:nth-child(4) {
    grid-column: 8 / 13;
}

.galeria-img:nth-child(5) {
    grid-column: 1 / 6;
}

.galeria-img:nth-child(6) {
    grid-column: 6 / 13;
}

.galeria-img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.galeria-img:hover {
    filter: brightness(1.15);
}

.painel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
    background: white;
    align-items: center;
}

.nav-btn {
    width: 40px;
    height: 12px;
    border-radius: 4px;
    border: 2px solid white;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-btn.ativo {
    opacity: 1;
    width: 60px;
}

/* ---- PASSES ---- */
.passes-section {
    max-width: 1280px;
    width: 100%;
    margin: 80px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
    padding: 0 24px;
    align-items: end;
    position: relative;
}

.passes-conteudo {
    grid-column: 1 / span 5;
    padding-bottom: 40px;
}

.passes-texto h2 {
    font-family: Reem Kufi, sans-serif;
    font-size: 32px;
    line-height: 42px;
    color: #D62828;
    margin-bottom: 16px;
}

.passes-texto p {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: #1E1E1E;
}

.passes-personagem {
    grid-column: 6 / 13;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bolha-wrapper {
    position: relative;
    width: 200px;
    align-self: flex-start;
    margin-left: 20px;
    margin-bottom: -20px;
    z-index: 2;
}

.bolha-svg {
    width: 100% !important;
    height: auto !important;
    grid-column: 1 / 6;
}

.leao-img {
    width: 100% !important;
    height: auto !important;
}