html {
    position: relative;
    min-height: 100%;
}

#wrap {
    height: auto !important;
    /* width: 100%; */
    font-size: 13px !important;
    min-width: unset;
    /* ou remova essa linha */
    max-width: 1200px;
    margin: 0 auto;
}




/* 
.gif-background {
    position: fixed;
   
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/layout/Logo/lightintro.gif') no-repeat center center;
    background-size: cover;
  
    z-index: -1;

    pointer-events: none;

    opacity: 0.1;
} */






.npc-chat {
    width: 100%;
    min-width: 1010px;
    position: fixed;
    bottom: 0;
    left: 0;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin: 0 auto;
    z-index: 1000;
}

.npc-chat .container {
    background: url('../images/layout/footer.png');
    background-size: cover;
    height: 150px;
}

.npc-chat .container .text {
    text-align: left;
    padding-top: 50px;
    padding-left: 150px;
}

.npc-chat .npc {
    background: url('../images/npc/1.png');
    width: 150px;
    height: 150px;
    margin-bottom: -20px;
    margin-left: 100px;
}

.logo_1 {
    background: url('../images/layout/Logo/logo1.png') no-repeat center;

}

#footer-pokes {
    background: url('../images/layout/Pokes.png') no-repeat;
    background-size: 1010px;
    background-position: center;
    width: 80%;
    position: relative;
    height: 400px;
    font-size: 14px;
    bottom: -130px;
    color: #fff;
    margin: 0 auto;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    background-color: rgba(10, 25, 60, 0.7);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    height: 50px;
    border-bottom: solid 4px #f4f4f4;

}

.footer .logo-footer img {

    height: 100px;
    width: 100px;
    padding: 10px;
    margin-top: 10px;
}

.footer p {

    font-weight: bold;
    font-size: 10px;
    margin-top: 10px;

}

/*#footer {*/
/*    background: url('../images/layout/footer.png');*/
/*    background-size: 100% 100%;*/
/*    width: 100%;*/
/*    font-size: 14px;*/
/*    color: #fff;*/
/*    position: relative;*/
/*    min-width: 1010px;*/
/*    padding: 10px 0;*/
/*    margin-top: 50px;*/
/*}*/

/*#footer-container {*/
/*    margin: 0 auto;*/
/*    width: 70%;*/
/*    margin-top: 73px;*/
/*}*/

/*#footer-left {*/
/*    border-right: 1px #1760FA solid;*/
/*    width: 21%;*/
/*    text-align: center;*/
/*}*/

/*#footer-right {*/
/*    text-align: justify;*/
/*    width: 79%;*/
/*    padding-left: 10px;*/
/*}*/




#social_menu {
    position: fixed;
    right: 0;
    top: 27%;
    z-index: 100;
}

#social_menu ul {
    list-style-type: none;
    margin-left: -40px;
}

#social_menu ul li {
    color: #fff;
    margin-top: -6px;
    text-align: center;
}

#social_menu li:hover {
    transition: .3s;
    transform: scale(1.035);
}


.button-rounded {
    border: none;
    border-radius: 50px;
    padding: 25px 15%;
    background: linear-gradient(145deg, #6ac7ee, #276aa3);
    color: white;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.button-rounded:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.ripple:hover {
    transition: 1s;
    opacity: 1;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 5px;
    background: rgba(0, 116, 217, .3);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }

    20% {
        transform: scale(25, 25);
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

.ripple:not(:active)::after {
    animation: ripple 1s ease-out;
}

.button-rounded:focus {
    transform: scale(1.035);
}

#to_top:active {
    transform: scale(1.035);
}




.nav-container {
    display: flex;
    max-width: 1200px;



}





.back-status {
    
    background-color: #32537d81;
    border-radius: 15px;
    padding: 10px;
    /* width: 400px; */
    display: flex;   
    flex-direction: column;
    /* align-content: center; */
    /* justify-content: center; */
    /* align-items: flex-start; */
    /* margin-top: 100px;*/
    margin-top: var(--altura-div1, 0px);
    transition: margin-top 0.3s linear; /* transição suave de 0.5 segundos */
    
}

#silvers {
    background: url(../images/layout/silvers.png) no-repeat;
    display: flex;
    height: 45px;
    text-align: center;
    width: 142px;
    justify-content: space-between;
    align-items: center;
}

#silvers p {
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    margin: 0px 0px 0px 43px;
    width: 46%;
}

#golds {
    background: url(../images/layout/Gold.png) no-repeat;
    display: flex;
    height: 45px;
    text-align: center;
    width: 142px;
    justify-content: space-between;
    align-items: center;
}

#golds p {
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    margin: 0px 0px 0px 43px;
    width: 46%;
}

.bright:hover {
    filter: brightness(120%);
    cursor: pointer;
    transition: .8s;
}

.bright-low:hover {
    filter: brightness(105%);
    cursor: pointer;
    transition: .8s;
}

.user_hover {
    height: 180px;
    width: 200px;
}

.user_hover .material-icons {
    vertical-align: middle;
    margin-right: 5px;
}

.user_hover div {
    border-radius: 5px;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
    text-align: center;
}

.user_hover div:hover {
    background: rgba(255, 255, 255, .1);
    transition: .5s;
}

.user_hover a {
    width: 200px;
}


.flickity-prev-next-button.previous {
    background: url('../images/layout/left-nav.png');
    width: 33px;
    height: 105px;
}

.flickity-prev-next-button.next {
    background: url('../images/layout/right-nav.png');
    width: 33px;
    height: 100px;
}

.pokemon-title {
    background: url(../images/layout/poke_title.png);
    width: 453px;
    height: 42px;
    font-size: 17px;
    color: #fff;
    font-weight: bold;
    line-height: 42px;
        text-align: center;
}

.row {
    display: flex;
    flex-direction: row;
}

.col {
    flex: 1;
    /* ocupa espaço igual */
    padding: 10px;
    box-sizing: border-box;
}

.col-f {
    flex: 1;
}

.podium {
    background: url('../images/layout/podium.png') no-repeat;
    height: 80px;
    margin-top: 97px;
    width: 230px;
    display: grid;
    grid-template-columns: 80px 80px 80px;
}

.podium div {
    display: inline-block;
    position: relative;
}

.podium .primeiro {
    top: -86px;
    order: 2;
}

.podium .segundo {
    top: -72px;
    order: 1;
}

.podium .terceiro {
    top: -68px;
    left: -10px;
    order: 3;
}

.lupa {
    background: url('../images/icons/busc.png') no-repeat center;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    height: 22px;
    width: 22px;
    transition: .3s;
}

.lupa:hover {
    background: url('../images/icons/busc_hover.png') no-repeat center;
}

.elipse {
    background: #283549;
    border-radius: 50%;
    padding: 4px;
    margin-right: 12px
}

.orientation-bar {
    width: 100%;
    text-align: left;
}

.orientation-bar a {
    margin-left: 10px;
}

.orientation-bar a.selected button {
    background: #222d3e;
    opacity: 1;
}

.box-content .triangle {
    float: right;
    background: #1C3248;
    height: 87px;
    width: 68%;
    margin-right: -1px;
    margin-top: -83px;
    position: relative;
}

.box-content .triangle::before {
    content: "";
    position: absolute;
    display: block;
    background: url(../images/layout/triangle.png) no-repeat;
    left: -89px;
    width: 90px;
    bottom: 0px;
    height: 90px;
}

.badge-wip {
    background: #1C3248;
    color: #fff;
    border-radius: 2px;
    margin-left: 5px;
    padding: 8px 16px;
    font-weight: 600;
    display: inline-block;
    margin-top: 5px;
}

.items-carousel button {
    margin-top: -16px
}

.destaque {
    background: url('../images/layout/destaque.png') no-repeat;
    width: 170px;
    height: 172px;
    text-align: center;
}

.destaque .img {
    text-align: center;
    width: 135px
}

.destaque span {
    font-weight: 600
}

.pack {
    background: url('../images/layout/pack.png') no-repeat;
    width: 410px;
    height: 145px;
    text-align: center;
}

.event_ballon {
    position: fixed;
    left: 5px;
    top: 17%;
    z-index: 99999;
}

.event_ballon #e-icon {
    width: 40px;
    height: 45px;
    background: url('../images/layout/events/icon.png') no-repeat;
    display: inline-block;
    clear: both;
    top: 25px;
    position: relative;
    animation: pop 0.3s linear 1;
}

.event_ballon #e-icon-2 {
    width: 45px;
    height: 45px;
    background: url('../images/layout/events/icon-2.png') no-repeat;
    display: inline-block;
    clear: both;
    top: 25px;
    position: relative;
    animation: pop 0.3s linear 1;
}

.event_ballon #e-icon-3 {
    width: 45px;
    height: 45px;
    background: url('../images/layout/events/icon-3.png') no-repeat;
    display: inline-block;
    clear: both;
    top: 25px;
    position: relative;
    animation: pop 0.3s linear 1;
}

.event_ballon #e-ballon {
    width: 180px;
    height: 50px;
    background: url('../images/layout/events/ballon.png') no-repeat;
    background-size: 100% 100%;
    display: inline-block;
    clear: both;
}

.event_ballon #e-ballon .title {
    background: url(../images/layout/line-2.png) no-repeat;
    background-position: bottom;
    background-size: 70%;
    font-size: 13px;
    padding: 3px;
    margin: 0;
    font-weight: bold;
    color: #9eadcd;
    text-align: center;
    text-transform: uppercase
}

.event_ballon #e-ballon .text {
    font-size: 12px;
    padding: 3px;
    margin: 0;
    font-weight: bold;
    color: #9eadcd;
    text-align: center;
    text-transform: uppercase;
}

@keyframes pop {
    50% {
        transform: scale(1.2);
    }
}



#navbar2 {
    position: relative;
    width: 334px;

    float: initial;
    top: 17.84%;
    z-index: 10;
}

@media (max-width: 768px) {

    #navbar2 {
        margin-left: -22px;
        position: relative;
        width: 334px;

        float: initial;
        top: 13%;
        z-index: 10;


    }

}







.nav-buttons2 {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.hub2 {
    position: relative;
    top: auto;
    
    display: flex;
    align-items: center;
    margin-top: 3px;
    background: transparent;
    z-index: 1001;
}




.hub2 ul {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
}


.hub2 .hub-hud2 {
    display: table-row;
    list-style: none;
}

.hub2 .hub-hud-line2 {
    display: table-cell;
    vertical-align: middle;
}

@media (max-width: 768px) {

    .hub2 .hub-hud-line2 {
    
    padding-left: 6px;
}
    
}

.hub2 #events {
    background: url('../images/layout/eventos.png');
    border-radius: 5px;
    height: 45px;
    padding-left: 3px;
    width: 100%;
}

.hub2 #events img {
    width: 45px;
    margin-right: 3px;
    text-align: right;
    float: right;
    cursor: pointer;
}

.hub2 .add {
    float: right;
    width: 45px;
    height: 45px;
    background: url(../images/layout/plus.png) no-repeat center;
}

.hub2 .block {
    float: right;
    width: 45px;
    height: 45px;
    background: url(../images/layout/block.png) no-repeat;
}

/* eventos */
#navbar3 {
display: flex;
margin-top: 2px;
}

@media (max-width: 768px) {

    #navbar3 {
        margin-right: 0px;
        margin-top: 80px;

    }

}







.nav-buttons3 {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.hub3 {
    position: fixed;
    top: auto;
    height: 55px;
    display: flex;
    align-items: center;
    padding-right: 20px;
    background: transparent;
    z-index: 1001;
}

.hub3 ul {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
}


.hub3 .hub-hud3 {
    display: table-row;
    list-style: none;
}

.hub3 .hub-hud-line3 {
    display: table-cell;
    vertical-align: middle;
    padding-left: 20px;
}

.hub2 #events {
    background: url('../images/layout/eventos.png');
    border-radius: 5px;
    height: 45px;
    padding-left: 3px;
    width: 100%;
}

.hub2 #events img {
    width: 45px;
    margin-right: 3px;
    text-align: right;
    float: right;
    cursor: pointer;
}

.hub3 .add {
    float: right;
    width: 45px;
    height: 45px;
    background: url(../images/layout/plus.png) no-repeat center;
}

.hub3 .block {
    float: right;
    width: 45px;
    height: 45px;
    background: url(../images/layout/block.png) no-repeat;
}


.conteudo-home {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

/* .background-home {
    background-image: url(../images/home/region/kanto/1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; 
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 28px;
/* } 
.kanto{
    background-image: url(../images/home/ragion/kanto/1.png);

}
.johto{
    background-image: url(../images/home/ragion/johto/1.png);

}
.hoenn{
    background-image: url(../images/home/ragion/hoenn/1.png);

}
.sinnoh{
    background-image: url(../images/home/ragion/sinnoh/1.png);

}
.unova{
    background-image: url(../images/home/ragion/unova/1.png);

}
.kalos{
    background-image: url(../images/home/ragion/kalos/1.png);

}
.alola{
    background-image: url(../images/home/ragion/alola/1.png);

}
.galar{
    background-image: url(../images/home/ragion/galar/1.png);

} */

.type-trainer {
    position: absolute;
    height: 253px;
    width: 100%;
    /* margin-left: -288px; */
    z-index: -1;
    /* background-repeat: no-repeat; */
    /* background-size: contain; */
    right: -14vw;
    top: 0vw;
}


.karacter {
   background-repeat: no-repeat;
    background-size: contain;
    height: 276px;
    width: 220px;
    background-position: 30%;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .background-home {
        height: auto;
        background-size: cover;
        background-position: center;
        flex-direction: column;
    }


    .type-trainer {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 34%;
        height: 257px;
        margin: 0;
        z-index: -1;
    }


    .personagem {
        margin-top: 0;
        margin-left: 0;
    }

    

    .pokemons-area {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 3;
    }
}

/* --- CSS 100% COMPLETO, CORRIGIDO E SIMPLIFICADO --- */

/* 1. Background do container principal */
.box-contentcenter {
    background-image: url('../images/layout/bgpokecenter.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    border-radius: 10px;
}

.topalert p {
    text-align: center;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* 2. Grid Responsivo com Flexbox */
.poke-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Espaçamento entre os cards */
}

/* Esconde o checkbox original */
.poke-checkbox {
    display: none;
}

.poke-box-label {
    cursor: pointer;
    display: flex; /* Essencial para o flex-basis funcionar */
    transition: transform 0.2s ease;
}

.poke-box-label:hover {
    transform: translateY(-5px); /* Efeito de levantar ao passar o mouse */
}

/* 3. Estilo do card com o background bgnew.png */
.poke-box {
    background-image: url('/public/images/home/bgnew.png');
    background-size: cover;
    background-position: center;
    border: 2px solid #4a6a91;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 180px;
    transition: all 0.25s ease-in-out;
}

/* 4. Efeito de brilho verde na seleção */
.poke-checkbox:checked + .poke-box {
    border-color: #2ecc71;
    box-shadow: 0 0 15px 3px rgba(46, 204, 113, 0.7);
}
/* 5. Correção da qualidade da imagem do Pokémon */
.poke-img {
   
    image-rendering: pixelated; /* Mantém a nitidez do sprite */
    margin: 0 auto 10px auto;
}

.poke-title, .poke-hp-text {
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
}

.poke-title {
    font-size: 13px;
    margin-bottom: 10px;
}

.shiny-star {
    color: gold;
    text-shadow: 0 0 5px gold;
}

.poke-hp-text {
    font-size: 12px;
}

.poke-health-bar {
    width: 90%;
    margin: 5px auto 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    height: 10px;
    border: 1px solid #111;
}

.poke-health-fill {
    background-color: #2ecc71;
    height: 100%;
    border-radius: 3px;
}

/* Botão de Recuperar */
.btn-heal {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-heal:hover {
    background-color: #4aa3df;
}

/* --- GRID RESPONSIVO SIMPLIFICADO --- */

/* Padrão para Telas Grandes e Médias: 3 colunas */
.poke-box-label {
    flex-basis: calc(33.333% - 10px); /* 100% / 3 - parte do gap */
    max-width: 200px; /* Adiciona uma largura máxima para não esticar demais */
}

/* Telas Pequenas (Celular): 2 colunas */
@media (max-width: 767px) {
    .poke-box-label {
        flex-basis: calc(50% - 8px); /* 100% / 2 - parte do gap */
        max-width: none; /* Remove a largura máxima em telas pequenas */
    }
}


/* COMERCIANTES */

.quadro-comerciente{
display: flex;
justify-content: center;

}

.texto-botao{

display: flex
;
    flex-direction: column;
    align-items: flex-start;
    align-content: stretch;
    gap: 30px;
}

.interno-comerciantes{
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 0;
}

.trader-box {
  background: linear-gradient(45deg, #22242547, #6c787d99);
  border-radius: 20px;
  padding: 20px 30px;
  text-align: left;
  box-shadow: 8px 7px 14px #01010169;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px auto;
  max-width: 700px;
  gap: 30px;
}

.trader-img {
  width: 80px;
  image-rendering: pixelated;
}

.trader-info {
  flex: 1;
  color: #fff;
  font-size: 14px;
}

.trader-button {
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
  margin-top: 15px;
}

.trader-button:hover {
  background: #45a049;
}
.bg-traders {
  background-image: url('../images/layout/bgtraders.jpg'); /* Altere para sua imagem */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  border-radius: 15px;
  margin-top: 20px;
}

.trader-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.trader-card {
  width: 260px;
  background: linear-gradient(45deg, #22242547, #6c787d99);
  border-radius: 20px;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 8px 7px 14px #01010169;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s ease;
  color: #fff;
}

.trader-card img {
  width: auto;
  image-rendering: pixelated;
  margin-bottom: 15px;
}

.trader-card .trader-text {
  font-size: 13px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.trader-card .trader-button {
  background: rgb(85, 145, 214);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.trader-card .trader-button:hover {
  background: #45a049;
}

@media (max-width: 768px) {
  .trader-card {
    width: 100%;
    max-width: 300px;
  }
}
.trader-pokemon-boxes {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  gap: 10px;
      flex-wrap: wrap;
}

.trader-pokemon-container {
  text-align: center;
  font-size: 14px;
}

.trader-pokemon {
  
  image-rendering: pixelated;
}
