* {
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}

header {
    background-image: url('/img/fondo-hallowen.webp');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    height: 450px;
}

.container {
    max-width: 1140px !important;
}

header > nav {
    font-size: 14px;
}

a.active {
    color: #fbac01 !important;
    filter: unset;
}

.nav-link {
    /* filter: grayscale(100%); */
}

.nav-link:hover {
    filter: unset;
}

.logo-sm {
    max-width: 200px;
}

.btn-sm-custom {
    background-image: url('/img/custom-btn-sm.webp');
    color: white;
    font-size: 14px !important;
    padding: 8px 26px;
}

.btn-lg-custom {
    background-image: url('/img/custom-btn-lg.webp');
    color: white;
    font-size: 14px !important;
    padding: 17px 35px;
}

.header-picture {
    background-image: url('/img/header-picture.webp');
    background-position: center 70px;
    background-repeat: no-repeat;
    height: inherit;
}

.header-picture > div {
    height: inherit;
    padding-top: 100px;
}

.header-widget {
    width: 240px;
    height: 120px;
    background-color: white;
    box-shadow: 0px 20px 50px 9px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.online-players-widget {
    background-image: url('/img/widget-icon.webp');
    width: 75px;
    height: 75px;
}

.class-0 {
    background-image: url('/img/class-icon/home-widget/0.webp');
}

.class-1 {
    background-image: url('/img/class-icon/home-widget/1.webp');
}

.class-2 {
    background-image: url('/img/class-icon/home-widget/2.webp');
}

.class-3 {
    background-image: url('/img/class-icon/home-widget/3.webp');
}

.class-4 {
    background-image: url('/img/class-icon/home-widget/4.webp');
}

.class-5 {
    background-image: url('/img/class-icon/home-widget/5.webp');
}

.class-6 {
    background-image: url('/img/class-icon/home-widget/6.webp');
}

.class-7 {
    background-image: url('/img/class-icon/home-widget/7.webp');
}

.widget-text-p-count {
    color: #ff7b00;
    font-size: 14px;
    position: relative;
}

.widget-text-p-count::after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #ff7b00;
    position: absolute;
    bottom: 0;
    left: 0;
}

.header-widget > span:nth-child(1) {
    color: #393837;
}

.header-widget > span:nth-child(3) {
    font-size: 12px;
}

.home-box {
    width: 550px;
    font-size: 14px;
    padding-left: 25px;
    padding-right: 25px;
}

.home-box > h1 {
    font-size: 24px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.home-box > h1::before {
    content: '';
    background-image: url('/img/decorator-1.webp');
    width: 13px;
    height: 13px;
    position: absolute;
    left: -40px;
    top: 8px;
}

.home-box > h1::after {
    content: '';
    background-image: url('/img/decorator-1.webp');
    width: 13px;
    height: 13px;
    position: absolute;
    right: -40px;
    top: 8px;
}

.register-tip {
    margin-top: 5px;
    background-color: #a90f0f;
    color: white;
    font-size: 14px;
    padding-top: 6px;
    padding-bottom: 6px;
    position: relative;
}

.register-tip::after {
    content: '';
    background-color: #a90f0f ;
    width: 15px;
    height: 15px;
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: rotateY(0deg) rotate(45deg);
    z-index: -1;
}

.tooltip-inner {
    max-width: 400px;
    /* If max-width does not work, try using width instead */
    /* width: 400px;  */
    text-align: start;
}

.home-btn-download > img {
    transition: all 0.6s;
}

.home-btn-download > img:hover {
    transform: scale(1.1);
}

.home-box > span:nth-child(4) {
    font-size: 11px;
    color: #fb4601;
    position: relative;
}

.home-social > span {
    color: #fb4601;

}

.home-box > span:nth-child(4)::before {
    content: '';
    background-image: url('/img/decorator-2.webp');
    width: 14px;
    height: 14px;
    position: absolute;
    left: -20px;
    top: 2px;
}

.fixed-top.scrolled {
    transition: background-color 200ms linear;
}

.scrolled {
    background-color: rgba(255, 255, 255, 0.934);
}

.home-social {
    background-image: url('/img/bg-social.webp');
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 80px;
    height: 290px;
    margin-bottom: 50px;
}

.social-btn {
    color: white;
    background-color: #fb4601;
    border-radius: 10px;
    padding: 7px 15px;
    font-size: 35px;
}

.swiper {
    width: 100%;
}

/* .news-swiper {
    height: 345px;
} */

.news-swiper-slide {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all 0.6s;
}

.news-swiper-slide:hover {
    transform: scale(1.04);
}

.news-swiper-slide > div {
    height: inherit;
    background: rgb(0,0,0);
    background: -moz-linear-gradient(0deg, rgba(0,0,0,1) 20%, rgba(255,0,0,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(0,0,0,1) 20%, rgba(255,0,0,0) 100%);
    background: linear-gradient(0deg, rgba(0,0,0,1) 20%, rgba(255,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#ff0000",GradientType=1); 
    transition: background-color 0.3s ease-in-out; /* adicionado para criar uma transição suave */
}

.news-swiper-slide > div:hover {
    background: rgb(241,202,0);
    background: -moz-linear-gradient(0deg, rgba(241,202,0,1) 25%, rgba(255,0,0,0) 25%);
    background: -webkit-linear-gradient(0deg, rgba(241,202,0,1) 25%, rgba(255,0,0,0) 25%);
    background: linear-gradient(0deg, rgba(241,202,0,1) 25%, rgba(255,0,0,0) 25%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f1ca00",endColorstr="#ff0000",GradientType=1); 
}

.news-swiper-slide > div:hover a,
.news-swiper-slide > div:hover a:nth-child(2){
    color: black;
}

.news-swiper-slide > div > a {
    text-decoration: none;
    color: white;
}

.news-swiper-slide > div > a:nth-child(2) {
    font-size: 12px;
    color: #8f8d8d;
}

.news-swiper-slide > div > a > h1 {
    font-size: 14px;
}

.all-news-btn {
    background-image: url('/img/news-bg-btn.webp');
}

.all-news-btn > a {
    text-decoration: none;
    color: #8f8d8d;
}

.ranking-container {
    max-width: 550px;
    padding: 20px;
    /* outline: 1px dotted black; */
}

.page-title {
    font-size: 24px;
    color: #fb4601;
    position: relative;
    background-image: url('/img/decorator-3.webp');
    background-repeat: no-repeat;
    padding-left: 30px;
    background-position: 0px 2px;
}

/* .page-title::before {
    content: '';
    background-image: url('/img/decorator-3.webp');
    width: 26px;
    height: 26px;
    position: absolute;
    left: -30px;
} */

.ranking-info {
    border-bottom: 1px solid #b8b8b8;
}

.ranking-info > span {
    font-size: 11px;
}

.ranking-info > i {
    color: #fb4601;
}

.ranking-content-header {
    padding: 15px 25px;
    font-size: 11px;
    font-weight: bold;
    color: #b7b7b7;
    max-width: 400px;
}

.ranking-content > ul {
    list-style: none;
    padding: 10px 0px;
    width: 400px;
    box-shadow: 0px 20px 50px 9px rgba(0, 0, 0, 0.235);
    border-radius: 20px;
}

.ranking-content > ul > li {
    font-size: 12px;
    /* font-weight: bold; */
    color: #747171;
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 21px;
    padding-bottom: 20px;
}
 
.ranking-content > ul > li:nth-child(1) {
    border-bottom: 2px solid rgba(0, 0, 0, 0.235);
}
 
.ranking-content > ul > li:nth-child(2) {
    border-bottom: 2px solid rgba(0, 0, 0, 0.235);
}
 
.ranking-content > ul > li:nth-child(3) {
    border-bottom: 2px solid rgba(0, 0, 0, 0.235);
}
 
.ranking-content > ul > li:nth-child(4) {
    border-bottom: 2px solid rgba(0, 0, 0, 0.235);
}

.ranking-nav {
    background-color: #e6e9ee;
    height: 160px;
    width: 60px;
    margin-bottom: 50px;
    margin-left: 25px;
    border-radius: 50px;
}

.btn-metin {
    border-style: none;
    width: 45px;
    height: 45px;
    background-image: url('/img/icon/rank-metin.webp');
}

.btn-pvp {
    border-style: none;
    width: 45px;
    height: 45px;
    background-image: url('/img/icon/rank-pvp.webp');
}

.btn-boss {
    border-style: none;
    width: 45px;
    height: 45px;
    background-image: url('/img/icon/rank-boss.webp');
}

.btn-boss:checked {
    border: unset !important;
    box-shadow: unset !important;
}

.btn-metin.active {
    background-image: url('/img/icon/rank-metin-selected.webp');
    border: unset;
}

.btn-pvp.active {
    background-image: url('/img/icon/rank-pvp-selected.webp');
    border: unset;
}

.btn-boss.active {
    background-image: url('/img/icon/rank-boss-selected.webp');
    border: unset;
}

.item-card {
    max-width: 206px;
    position: relative;
}

.item-promo {
    background-image: url('/img/shop/promo.webp');
    width: 67px;
    height: 63px;
    position: absolute;
    left: 0;
}

.item-card-bg {
    background-image: url('/img/shop/item-card-bg.webp');
    width: 206px;
    height: 273px;
}

.item-bg {
    background-image: url('/img/shop/item-bg.webp');
    width: 172px;
    height: 172px;
    margin-top: -30px;
}

.item-detail {
    padding-top: 10px;
}

.item-detail > span > a {
    font-size: 11px;
    text-decoration: none;
    display: block;
    color: #21282f;
}

.item-detail > span:nth-child(2) {
    font-size: 14px;
    color: #d69c39;
    font-weight: bold;
    padding-top: 5px;
    display: block;
}

.btn-buy {
    background-image: url('/img/shop/btn-buy.webp');
    width: 84px;
    height: 28px;
    font-size: 11px;
    color: #fad798;
    text-decoration: none;
    line-height: 28px;
    margin-top: -15px;
}

footer {
    background-color: #00447d;
    background-image: url('/img/clouds-deco.webp');
    background-position: center;
    background-repeat: no-repeat;
}

.footer-desc {
    font-size: 11px;
    padding: 15px;
}

.footer-links > ul {
    list-style: none;
}

.footer-links > ul > li > a {
    text-decoration: none;
    font-size: 11px;
    color: white;
}

.coded-by {
    font-size: 11px;
}

.widget-text > ul {
    font-size: 11px;
    list-style: none;
}

.colored-toast.swal2-icon-success {
    background-color: #448c1a !important;
  }
  
  .colored-toast.swal2-icon-error {
    background-color: #ab1919 !important;
  }
  
  .colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
  }
  
  .colored-toast.swal2-icon-info {
    background-color: #3fc3ee !important;
  }
  
  .colored-toast.swal2-icon-question {
    background-color: #87adbd !important;
  }
  
  .colored-toast .swal2-title {
    color: white;
  }
  
  .colored-toast .swal2-close {
    color: white;
  }
  
  .colored-toast .swal2-html-container {
    color: white;
  }

  
.my-acc-buy-coins-header {
    width: 100%;
    min-height: 30px;
    border-radius: 15px;
    background-image: url('/img/bg.webp');
    background-position: center 20%;
    background-repeat: no-repeat;
    background-size: cover;
}

.my-acc-buy-coins-header h1 {
    font-size: 38px;
    color: white;
    text-shadow: 1px 2px 2px black;
}

.my-referral {
    border: 1px solid #fb4601;
    min-height: 200px;
    margin-top: 100px;
    position: relative;
}

.custom-separator {
    height: 100px;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.132);
}

.my-referral > img {
    position: absolute;
    width: 357px;
    height: 274px;
    left: 0;
    bottom: -1px;
}

.my-referral h2 {
    font-size: 24px;
}

.my-referral span {
    font-size: 14px;
}

.my-referral > div > div > p {
    border: 1px solid #fb4601;
    padding: 10px;
    font-size: 14px;
    display: inline-block;
}

.my-account-btn {
    outline: 1px solid #fb4601;
    padding: 15px;
    outline-offset: 0px;
    transition: all 0.5s;
    text-decoration: none;
    font-size: 14px;
    width: 190px;
    height: 50px;
    text-align: center;
    cursor: pointer;
}

.my-account-btn:hover {
    color: white !important;
    background-color: #fb4601;
    outline-offset: 5px;
}

.btn-shop-animated {
    animation: bounce_513 1s infinite;
}

@keyframes bounce_513 {
    0%,
      100% {
      transform: translateY(-25%);
      animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
  
    50% {
      transform: translateY(0);
      animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
  }

.card {
    width: 195px;
    height: 285px;
    background: #1b1b1b;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.2s ease-in-out;
}
  
.card-icon {
    height: 30%;
    position: absolute;
    transition: 0.2s ease-in-out;
    z-index: 1;
}
  
.textBox {
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: 0.2s ease-in-out;
    z-index: 2;
}
  
.textBox > .text {
    font-weight: bold;
}
  
.textBox > .head {
    font-size: 20px;
}
  
  .textBox > .price {
    font-size: 17px;
  }
  
  .textBox > span {
    font-size: 12px;
    color: lightgrey;
  }
  
  .card:hover > .textBox {
    opacity: 1;
  }
  
  .card:hover > .card-icon {
    height: 65%;
    filter: blur(7px);
    animation: anim 3s infinite;
  }
  
  @keyframes anim {
    0% {
      transform: translateY(0);
    }
  
    50% {
      transform: translateY(-20px);
    }
  
    100% {
      transform: translateY(0);
    }
  }
  
  .card:hover {
    transform: scale(1.04) rotate(-1deg);
  }
  

  .payment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    background-color: rgba(0, 0, 0, 1);
    padding: 0.625rem 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    outline: 0;
    transition: all  .2s ease;
    text-decoration: none;
  }
  
  .payment-btn:hover {
    background-color: transparent;
    color: rgba(0, 0, 0, 1);
  }
  
  .icon {
    height: 1.5rem;
    width: 1.5rem;
  }
  
  .texts {
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
  }
  
  .text-1 {
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
  }
  
  .text-2 {
    font-weight: 600;
  }

  .btn-buy-item {
    width: 130px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(15, 15, 15);
    border: none;
    color: white;
    font-weight: 600;
    gap: 8px;
    cursor: pointer;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.103);
    position: relative;
    overflow: hidden;
    transition-duration: .3s;
  }
  
  .btn-buy-item::before {
    width: 130px;
    height: 130px;
    position: absolute;
    content: "";
    background-color: white;
    border-radius: 50%;
    left: -100%;
    top: 0;
    transition-duration: .3s;
    mix-blend-mode: difference;
    color: rgba(165, 158, 155, 0.4);
  }
  
  .btn-buy-item:hover::before {
    transition-duration: .3s;
    transform: translate(100%,-50%);
    border-radius: 0;
  }
  
  .btn-buy-item:active {
    transform: translate(5px,5px);
    transition-duration: .3s;
  }

@media (max-width: 991px) {
    header > nav {
        background-color: white;
    }
}

@media (max-width: 570px) {
    
    .home-box > h1::before {
        background-image: unset;
    }
    
    .home-box > h1::after {
        background-image: unset;
    }

    .ranking-content > ul {
        width: 300px;
    }

    .ranking-content-header {
        max-width: 300px;
    }
}
