.lang {
    width: auto;
    padding-right: 1rem;
    position: relative;
    font-size: 1.25rem
}

.lang,.lang__current {
    box-sizing: border-box;
    flex-shrink: 0;
    color: #fff;
    color: rgba(var(--color-0),1)
}

.lang__current {
    display: grid;
    grid-auto-flow: column;
    justify-content: flex-start;
    align-items: center;
    grid-gap: .875rem;
    gap: .875rem;
    cursor: pointer;
    transition: all .3s;
    grid-template-columns: 2.0625rem 1fr;
    line-height: 1;
    text-decoration: none;
    padding: .625rem 0;
    font-family: Intro,Open Sans,Tahoma,Arial,sans-serif;
    font-family: var(--font-0);
    font-size: .875rem;
    width: 100%
}

.lang__current-img {
    border-radius: 50%;
    transition: all .3s;
    border: 1px solid transparent;
    outline: 1px solid #feec97;
    outline: 1px solid rgba(var(--color-2),1);
    display: block
}

.lang__current:after {
    display: block;
    content: "";
    background-color: transparent;
    background-image: url(../images/icons/arrow-down.svg);
    background-image: var(--arrow-down);
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    width: .9375rem;
    height: .5rem;
    color: #4c4757;
    font-size: .75rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none
}

.lang__current:after,.lang__link {
    transition: all .3s;
    cursor: pointer
}

.lang__link {
    display: grid;
    grid-auto-flow: column;
    justify-content: flex-start;
    align-items: center;
    grid-gap: .5rem;
    gap: .5rem;
    overflow: hidden;
    grid-template-columns: 2.0625rem 1fr;
    flex-shrink: 0;
    line-height: 1.31;
    text-decoration: none;
    color: #fff;
    color: rgba(var(--color-0),1);
    padding: .3125rem 0 .3125rem .625rem;
    font-family: Intro,Open Sans,Tahoma,Arial,sans-serif;
    font-family: var(--font-0);
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box
}

.lang__link:hover {
    opacity: 1
}

.lang__name {
    text-transform: uppercase
}

.lang__img,.lang__name {
    display: block;
    flex-shrink: 0
}

.lang__img {
    height: 2.0625rem;
    width: 2.0625rem;
    border: 1px solid transparent
}

.lang__link_sub:hover {
    background-color: hsla(0,0%,100%,.1);
    background-color: rgba(var(--color-0),.1)
}

.lang__list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    transform: translateY(-.625rem);
    box-sizing: border-box;
    position: absolute;
    left: -.6875rem;
    width: 6.25rem;
    padding: .625rem 0;
    background-color: rgba(16,8,5,.6);
    background-color: rgba(var(--body-background-color),.6);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    border: 1px solid hsla(0,0%,100%,.1);
    border: 1px solid rgba(var(--color-0),.1);
    border-radius: .625rem
}

.lang:hover .lang__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

/* Estilo para os textos das taxas no slider */
.main-slider__slider .swiper-slide li {
    color: #545042;
    list-style: none;
    line-height: 1.8;
    font-size: 16px;
}

.main-slider__slider .swiper-slide li b {
    color: #545042;
}

.main-slider__slider {
    height: auto !important;
    margin-top: 20px !important;
}

.main-slider__slider .swiper-wrapper {
    height: auto !important;
    align-items: flex-start !important;
}

.main-slider__slider .swiper-slide {
    height: auto !important;
}

.main-slider__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-slider__thumbs,
.main-slider__slider {
    width: 100%;
    max-width: 620px;
}

.main-slider {
    padding-top: 40px;
}

@media(max-width: 1024px) {
    .main-slider {
        padding-top: 30px;
    }
}

/* Main info readability: large title yellow, smaller texts white */
.main-info .main-title h2 {
    color: #f6ad4d;
}

.main-info .main-title p,
.main-info .main-info__item-text,
.main-info .main-info__item-text p {
    color: #ffffff;
}

.header__logo a img {
    transform-origin: center;
    will-change: transform;
}

.header__logo a:hover img {
    animation: logo-shake 0.45s linear infinite;
}

@keyframes logo-shake {
    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }
    20% {
        transform: translateX(-2px) rotate(-1deg);
    }
    40% {
        transform: translateX(2px) rotate(1deg);
    }
    60% {
        transform: translateX(-2px) rotate(-1deg);
    }
    80% {
        transform: translateX(2px) rotate(1deg);
    }
}

/* ========================================
   DISCORD INVITE MODAL
   ======================================== */
.discord-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.discord-modal.active {
    opacity: 1;
    visibility: visible;
}

.discord-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.discord-modal__box {
    position: relative;
    background: linear-gradient(145deg, #1a1f3c 0%, #0d1220 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 80px rgba(88, 101, 242, 0.3),
                0 0 0 1px rgba(88, 101, 242, 0.2);
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.discord-modal.active .discord-modal__box {
    transform: scale(1) translateY(0);
}

.discord-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.discord-modal__header {
    text-align: center;
    margin-bottom: 20px;
}

.discord-modal__header i {
    font-size: 50px;
    color: #5865F2;
    margin-bottom: 15px;
    display: block;
    animation: discordPulse 2s ease-in-out infinite;
}

@keyframes discordPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.discord-modal__header h2 {
    color: #fff;
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.discord-modal__widget {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Center header logo without breaking header layout flow */
.header .content-area > .header__logo {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}

.header .content-area > .header__logo a img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

@media(max-width: 1240px) {
    .header .content-area > .header__logo a img {
        max-width: 400px;
    }
}

.discord-modal__widget iframe {
    display: block;
}

.discord-modal__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.discord-modal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.discord-modal__btn--join {
    background: #5865F2;
    color: #fff;
}

.discord-modal__btn--join:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.discord-modal__btn--later {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-modal__btn--later:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Responsivo */
@media (max-width: 480px) {
    .discord-modal__box {
        padding: 20px;
        margin: 15px;
    }
    
    .discord-modal__header h2 {
        font-size: 20px;
    }
    
    .discord-modal__widget iframe {
        height: 250px;
    }
}