@import url("fonts.css");


/* =========================
   ОБЩИЕ
========================= */

.wrapper {
    min-height: 100%;

    /* ВАЖНО:
       не обрезаем выпадающие списки по вертикали */

    overflow-x: clip;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
}

.wrapper > main {
    flex-grow: 1;
}

body {
    margin: 0 auto;
    background: linear-gradient(90deg, #1381A3, #34426C, #793D85, #D622DD);
    font-family: "Proxima Nova", sans-serif;
}


/* =========================
   HEADER
========================= */

.header {
    width: 100%;
    background-color: #040A33;
    padding: 0 30px;
    box-sizing: border-box;
}

.header__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1300px;
    min-height: 90px;
    margin: 0 auto;
    position: relative;
}

/* =========================
   ЛОГОТИП
========================= */

.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
}

.button__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.icon_logo {
    display: block;
    width: auto;
    height: 50px;
    object-fit: contain;
}

.icon_logo-tetl {
    display: flex;
    align-items: center;
    margin: 0;
    color: #ffffff;
    font-size: 35px;
    font-weight: 400;
}

.icon_logo-tetl p {
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* =========================
   НАВИГАЦИЯ
========================= */

.header__rules {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    white-space: nowrap;
}

.header__rules a {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
}

.header__rules a:hover {
    color: #ffffff;
}

/* =========================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА
========================= */

.lang-switch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    padding: 0;
    flex-shrink: 0;
}

.language-menu {
    position: relative;
}

/* КНОПКА ЯЗЫКА */

.language-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 0;
    margin: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    cursor: pointer;
    list-style: none;
}

.language-btn::-webkit-details-marker {
    display: none;
}

.language-btn::marker {
    content: "";
}

.language-btn img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* =========================
   ВЫПАДАЮЩЕЕ МЕНЮ
========================= */

.language-list {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 230px;
    padding: 10px 0;
    background: #190823;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

/* ПУНКТЫ ЯЗЫКА */

.language-list a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 25px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

/* КРУГЛЫЕ ФЛАГИ */

.language-list a img {
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* НАВЕДЕНИЕ */

.language-list a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* =========================
   ЯЗЫК В МОБИЛЬНОМ МЕНЮ
========================= */

.mobile-language {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.mobile-language .language-list {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}


/* =========================
   MAIN
========================= */

.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 20px;
}

.social-icons a {
    color: #ffffff;
    font-size: 28px;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

/* =========================
   CRYPTO SECTION
========================= */

.crypto-section {
    background: linear-gradient(90deg, #1381A3, #34426C, #793D85, #D622DD);
    padding: 60px 20px;
    overflow: hidden;
}

.crypto-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Левая часть */

.crypto-content {
    flex: 1;
    max-width: 780px;
}

.crypto-title {
    font-size: clamp(32px, 3.5vw, 58px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
    color: #080411;
    margin: 0 0 28px;
}

.crypto-description {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.7;
    color: #242128;
    max-width: 650px;
}

/* Правая часть */

.crypto-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
}

.crypto-image img {
    width: 75%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1030px) {

    .crypto-section {
        padding: 20px 20px;
    }

    .crypto-container {
        gap: 30px;
    }

    .crypto-title {
        font-size: 40px;
    }

    .crypto-description {
        font-size: 18px;
    }

    .crypto-image {
        max-width: 450px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 780px) {

    .crypto-section {
        padding: 20px 20px;
    }

    .crypto-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .crypto-content {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .crypto-title {
        font-size: 34px;
        letter-spacing: -0.5px;
        margin-bottom: 20px;
    }

    .crypto-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .crypto-image {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {

    .crypto-title {
        font-size: 29px;
    }

    .crypto-image {
        max-width: 100%;
    }
}




/* =========================

   БЛОК ОБМЕНА

========================= */

.title {
    font-size: 30px;
    text-align: center;
    color: #000000;
}


.exchange {
    border: 3px solid transparent;
    border-radius: 16px;

    background:
        linear-gradient(
            90deg,
            #D622DD,
            #793D85,
            #34426C,
            #1381A3
        ) border-box;

    box-sizing: border-box;
    width: 600px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 25px;
    position: relative;
    overflow: visible;
}


/* =========================
   ФОРМА
========================= */

.form-exchange {
    display: flex;
    justify-content: center;

    /*
       ВАЖНО:
       создаём нормальную область для select
    */
    position: relative;
}

.select__give-away {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 20px;
    width: 205px;
    position: relative;
}

.select__You-receive {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 20px;
    width: 205px;
    position: relative;
}

.select__text {
    margin-bottom: 10px;
    margin-left: 10px;
    font-size: 18px;
    color: #000000;
}

/* =========================
   СТАРЫЙ SELECT
========================= */

.select-bloc1 {
    display: block;
    width: 205px;
    height: 30px;
    border-radius: 8px;
}

.select-with-icon select {
    font-size: 14px;
}

.select-with-icon {
    position: relative;
    width: 100%;
}

.select-with-icon img {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    pointer-events: none;
}

.select-with-icon select {
    padding-left: 40px;
    height: 40px;
}

/* =====================================================
   НОВЫЙ КАСТОМНЫЙ SELECT
   ИСПРАВЛЕНО:
   открытый select теперь поднимается выше второго select
===================================================== */

.crypto-select {
    position: relative;
    width: 205px;
    /*
       В закрытом состоянии обычный слой.
    */
    z-index: 1;
}

/*
   ГЛАВНОЕ ИСПРАВЛЕНИЕ
   Когда JavaScript добавляет .open,
   ВЕСЬ select поднимается наверх.
   Поэтому второй select больше не сможет
   перекрыть список первого.
*/
.crypto-select.open {
    z-index: 10000;
}

/* =========================
   ВЫБРАННАЯ МОНЕТА
========================= */

.crypto-current {
    width: 205px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border: 1px solid #999;
    border-radius: 8px;
    padding: 0 10px;
    cursor: pointer;
    font-size: 14px;
    color: black;
    position: relative;
    z-index: 2;
}

.crypto-current-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.crypto-current-left img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.crypto-current-left span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================
   СТРЕЛКА
========================= */

.crypto-arrow {
    font-size: 11px;
    margin-left: 8px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.crypto-select.open .crypto-arrow {
    transform: rotate(180deg);
}

/* =====================================================
   ВЫПАДАЮЩИЙ СПИСОК
===================================================== */

.crypto-list {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 205px;
    /*
       Высота списка.
       После неё появляется прокрутка.
    */
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: white;
    border: 1px solid #999;
    border-radius: 8px;
    /*
       Список находится выше остальных элементов.
    */
    z-index: 10001;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.20);
}

/*
   Показываем список
*/

.crypto-select.open .crypto-list {
    display: block;
}

/* =====================================================
   ДОПОЛНИТЕЛЬНОЕ ИСПРАВЛЕНИЕ ДЛЯ ДВУХ SELECT
===================================================== */
/*
   Первый select
*/
#fromCryptoSelect {
    position: relative;
}

/*
   Второй select
*/
#toCryptoSelect {
    position: relative;
}

/*
   Если открыт первый
*/
#fromCryptoSelect.open {
    z-index: 20000;
}

/*
   Если открыт второй
*/
#toCryptoSelect.open {
    z-index: 20000;
}

/*
   Сами списки
*/
#fromCryptoList,
#toCryptoList {
    z-index: 20001;
}

/* =========================
   ЭЛЕМЕНТ МОНЕТЫ
========================= */

.crypto-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: none;
    background-color: white;
    color: black;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    box-sizing: border-box;
}

.crypto-item:hover {
    background-color: #0088cc1e;
}

.crypto-item.active {
    background-color: #1e70d1;
    color: white;
}

.crypto-item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.crypto-item span {
    white-space: nowrap;
}

/* =========================
   SCROLL
========================= */

.crypto-list::-webkit-scrollbar {
    width: 6px;
}

.crypto-list::-webkit-scrollbar-track {
    background-color: #eee;
}

.crypto-list::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 10px;
}


/* =========================
   НАСТОЯЩИЙ SELECT
   Он скрыт, но используется JS
========================= */

.real-crypto-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

/* =========================
   INPUT
========================= */

.input-give {
    width: 200px;
    height: 30px;
    border-radius: 8px;
    margin-top: 10px;
    background-color: #ffffffee;
    opacity: 1;
}

.limits-info {
    font-size: 9px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    color: #000000;
}

.input-email-wallet {
    width: 200px;
    height: 30px;
    border-radius: 8px;
}

/* =========================
   КНОПКА ОБМЕН
========================= */

.button-Exchange {
    display: block;
    margin: 0 auto;
    width: 300px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(90deg, #1381A3, #34426C, #793D85, #D622DD);
    color: #111127;
}

.button-Exchange:hover {
    background: linear-gradient(90deg, #34839b7c, #516398, #bd84c8, #c95bcd);
}

/* =========================
   ТРЕТИЙ БЛОК
========================= */

/* =========================
   SERVICES SECTION
========================= */

.services {
    width: 100%;
    padding: 20px 20px 100px;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* =========================
   TITLE
========================= */

.services-title {
    color: #000000;
    text-align: center;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 90px;
}

/* =========================
   CARDS GRID
========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 70px 10px;
}

/* =========================
   SERVICE CARD
========================= */

.service-card {
    width: 85%;
    height: 210px;
    border: 3px solid #000000;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   CARD CONTENT
========================= */

.service-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 95%;
    min-width: 0;
}

.service-line {
    display: block;
    width: 3px;
    height: 78px;
    background: #000000;
    flex-shrink: 0;
    margin-right: 17px;
}

.service-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.service-brand {
    color: #000000;
    font-size: 23px;
    font-weight: 800;
    line-height: 1;
    margin-left: 15px;
    margin-bottom: -3px;
}

.service-name {
    color: #000000;
    margin: 0;
    line-height: 0.98;
    letter-spacing: -2px;
}

.service-name.bold {
    font-size: 52px;
    font-weight: 800;
}

.service-name.light {
    font-size: 55px;
    font-weight: 300;
}

/* =========================
   TABLET
   651px - 1024px
   3 CARDS IN ROW
========================= */

@media (max-width: 1024px) {

    .services {
        padding: 60px 20px 80px;
    }

    .services-title {
        font-size: 42px;
        margin-bottom: 55px;
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .service-card {
        height: 260px;
        border-width: 2px;
    }

    .service-content {
        max-width: 96%;
    }

    .service-line {
        width: 2px;
        height: 50px;
        margin-right: 8px;
    }

    .service-brand {
        font-size: 14px;
        margin-left: 5px;
        margin-bottom: 1px;
    }

    .service-name.bold,
    .service-name.light {
        font-size: clamp(18px, 3vw, 32px);
        letter-spacing: -1px;
    }
}

/* =========================
   MOBILE
   MAX 650px
   2 CARDS IN ROW
========================= */

@media (max-width: 650px) {

    .services {
        padding: 20px 12px 60px;
    }

    .services-title {
        font-size: 30px;
        letter-spacing: -1px;
        margin-bottom: 35px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .service-card {
        height: 130px;
        border: 2px solid #000000;
        border-radius: 9px;
    }

    .service-content {
        max-width: 96%;
    }

    .service-line {
        width: 2px;
        height: 35px;
        margin-right: 6px;
    }

    .service-brand {
        font-size: 10px;
        margin-left: 3px;
        margin-bottom: 2px;
    }

    .service-name.bold,
    .service-name.light {
        font-size: clamp(14px, 4vw, 23px);
        letter-spacing: -0.5px;
        overflow-wrap: anywhere;
    }

    .service-card:hover {
        transform: translateY(-4px);
    }
}

/* =========================
   SMALL MOBILE
   MAX 380px
========================= */

@media (max-width: 380px) {

    .services {
        padding-left: 8px;
        padding-right: 8px;
    }

    .services-grid {
        gap: 8px;
    }

    .service-card {
        height: 155px;
    }

    .service-brand {
        font-size: 9px;
    }

    .service-name.bold,
    .service-name.light {
        font-size: 14px;
    }

    .service-line {
        height: 30px;
        margin-right: 5px;
    }
}


/* =========================
   PARTNERSHIP
========================= */

.partnership {
    width: 100%;
    padding: 40px 0 90px;
    overflow: hidden;
}

/* =========================
   TITLE
========================= */

.partnership-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    width: 100%;
    margin-bottom: 85px;
}

.partnership-heading h2 {
    color: #000000;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 5px;
    white-space: nowrap;
    margin: 0;
}

.partnership-line {
    height: 3px;
    background: #000000;
    flex: 1;
}

/* =========================
   CONTAINER
========================= */

.partnership-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   PARTNERS GRID
========================= */

.partnership-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 45px;
    row-gap: 55px;
}

/* =========================
   PARTNER ITEM
========================= */

.partner-item {
    width: 180px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-item img {
    max-width: 100%;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: 0.3s ease;
}

/* =========================
   HOVER
========================= */

.partner-item img:hover {
    filter: brightness(0) invert(1);
    opacity: 1;
    transform: scale(1.08);
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .partnership {
        padding: 40px 0 70px;
    }

    .partnership-heading h2 {
        font-size: 34px;
        letter-spacing: 3px;
    }

    .partnership-heading {
        gap: 25px;
        margin-bottom: 60px;
    }

    .partnership-grid {
        column-gap: 25px;
        row-gap: 40px;
    }

    .partner-item {
        width: 160px;
        height: 75px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    .partnership {
        padding: 25px 0 25px;
    }

    .partnership-heading {
        gap: 15px;
        margin-bottom: 45px;
    }

    .partnership-heading h2 {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .partnership-line {
        height: 2px;
    }

    .partnership-container {
        padding: 0 15px;
    }

    .partnership-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 25px;
    }

    .partner-item {
        width: 100%;
        height: 65px;
    }

    .partner-item img {
        max-width: 90%;
        max-height: 55px;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 380px) {

    .partnership-heading h2 {
        font-size: 20px;
    }

    .partnership-grid {
        column-gap: 10px;
        row-gap: 20px;
    }

    .partner-item {
        height: 55px;
    }

    .partner-item img {
        max-height: 45px;
    }
}




/* =========================

   COLLABORATIONS

========================= */

.collaborations {
    width: 100%;
    padding: 45px 0 70px;
    overflow: hidden;
}

/* =========================
   HEADING
========================= */

.collaborations-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 50px;
}

.collaborations-heading h2 {
    color: #000000;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 4px;
    white-space: nowrap;
    margin: 0;
}

.collaborations-line {
    flex: 1;
    height: 2px;
    background: #000000;
}

/* =========================
   CONTAINER
========================= */

.collaborations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   LOGOS GRID
========================= */

.collaborations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 25px;
    row-gap: 30px;
}

/* =========================
   LOGO ITEM
========================= */

.collaboration-item {
    width: 140px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.collaboration-item img {
    display: block;
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition:
        filter 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* =========================
   HOVER - WHITE LOGOS
========================= */

.collaboration-item:hover img {
    filter: brightness(0) invert(1);
    opacity: 1;
    transform: scale(1.1);
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .collaborations {
        padding: 40px 0 60px;
    }

    .collaborations-heading h2 {
        font-size: 26px;
        letter-spacing: 3px;
    }

    .collaborations-container {
        max-width: 850px;
    }

    .collaborations-grid {
        column-gap: 15px;
        row-gap: 25px;
    }

    .collaboration-item {
        width: 130px;
        height: 50px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    .collaborations {
        padding: 10px 0 25px;
    }

    .collaborations-heading {
        gap: 10px;
        margin-bottom: 35px;
    }

    .collaborations-heading h2 {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .collaborations-line {
        height: 2px;
    }

    .collaborations-container {
        padding: 0 12px;
    }

    .collaborations-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 20px;
    }

    .collaboration-item {
        width: 100%;
        height: 45px;
    }

    .collaboration-item img {
        max-width: 95%;
        max-height: 38px;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 380px) {

    .collaborations-heading h2 {
        font-size: 17px;
        letter-spacing: 1px;
    }

    .collaborations-grid {
        column-gap: 6px;
        row-gap: 15px;
    }

    .collaboration-item {
        height: 38px;
    }

    .collaboration-item img {
        max-height: 32px;
    }
}



/* =========================

   KOL / KOC MARKETING

========================= */

.kol-marketing {
    width: 100%;
    padding: 40px 0 65px;
    overflow: hidden;
    box-sizing: border-box;
}

/* =========================
   HEADING
========================= */

.kol-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 35px;
}

.kol-heading h2 {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
    margin: 0;
}

.kol-line {
    flex: 1;
    height: 2px;
    background: #000000;
}

/* =========================
   CONTAINER
========================= */

.kol-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   LOGOS
========================= */

.kol-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 25px;
    row-gap: 25px;
}

.kol-item {
    width: 135px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kol-item img {
    display: block;
    max-width: 100%;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition:
        filter 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* =========================
   HOVER — WHITE
========================= */

.kol-item:hover img {
    filter: brightness(0) invert(1);
    opacity: 1;
    transform: scale(1.08);
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .kol-marketing {
        padding: 35px 0 55px;
    }

    .kol-heading h2 {
        font-size: 22px;
    }

    .kol-container {
        max-width: 750px;
    }

    .kol-grid {
        column-gap: 18px;
    }

    .kol-item {
        width: 120px;
        height: 50px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    .kol-marketing {
        padding: 30px 0 45px;
    }

    .kol-heading {
        gap: 10px;
        margin-bottom: 30px;
    }

    .kol-heading h2 {
        font-size: 17px;
        letter-spacing: 1px;
    }

    .kol-line {
        height: 2px;
    }

    .kol-container {
        padding: 0 12px;
    }

    .kol-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 20px;
    }

    .kol-item {
        width: 100%;
        height: 45px;
    }

    .kol-item img {
        max-width: 95%;
        max-height: 42px;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 380px) {

    .kol-heading h2 {
        font-size: 15px;
        letter-spacing: 0.5px;
    }

    .kol-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .kol-item {
        height: 40px;
    }

    .kol-item img {
        max-height: 35px;
    }
}



/* =========================

   FOOTER

========================= */


/* =========================

   COMPANY INFORMATION

========================= */

.company-info {
    width: 100%;
    padding: 45px 30px;
    box-sizing: border-box;
}

.company-info__container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* ЛОГОТИП */

.company-info__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.company-info__logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.company-info__logo span {
    font-size: 34px;
    font-weight: 700;
    color: #111111;
}

/* ИНФОРМАЦИЯ */

.company-info__details {
    flex: 1;
    max-width: 550px;
}

.company-info__details p {
    font-size: 17px;
    line-height: 1.7;
    color: #222222;
    margin: 0 0 8px;
}

.company-info__details p:last-child {
    margin-bottom: 0;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {
    .company-info__container {
        gap: 25px;
    }

    .company-info__logo span {
        font-size: 28px;
    }

    .company-info__logo img {
        width: 50px;
        height: 50px;
    }

    .company-info__details p {
        font-size: 15px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .company-info {
        padding: 35px 20px;
    }

    .company-info__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .company-info__logo img {
        width: 50px;
        height: 50px;
    }

    .company-info__logo span {
        font-size: 30px;
    }

    .company-info__details {
        max-width: 100%;
    }

    .company-info__details p {
        font-size: 16px;
    }
}


/* =========================

   БУРГЕР

========================= */

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    margin-right: 30px;
    z-index: 1001;
}

.burger span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #1381A3, #34426C, #793D85, #D622DD);
    margin: 5px 0;
    transition: 0.4s;
}


/* =========================
   АНИМАЦИЯ БУРГЕРА
========================= */

.burger.active span:nth-child(1) {
    transform:
        rotate(45deg)
        translate(5px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform:
        rotate(-45deg)
        translate(6px, -6px);
}



/* =========================
   MOBILE MENU
========================= */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(
        90deg,
        #1381A3,
        #34426C,
        #793D85,
        #D622DD
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 90px 20px 30px;
    box-sizing: border-box;
    overflow-y: auto;
    transition: right 0.4s ease;
    z-index: 1000;
}

/* =========================
   ЛОГОТИП ВВЕРХУ
========================= */

.mobile-menu .button__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    order: -1;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin: 0 0 35px 0;
    padding: 0;
    transform: none;
}

/* ИКОНКА ЛОГОТИПА */

.mobile-menu .icon_logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

/* НАЗВАНИЕ AL TCOINTURK */

.mobile-menu .icon_logo-tetl {
    margin: 0;
    padding: 0;
}

.mobile-menu .icon_logo-tetl p {
    margin: 0;
    font-size: 30px;
    font-weight: 500;
    color: #ffffff;
    transform: none;
}

/* =========================
   ССЫЛКИ МЕНЮ
========================= */

.mobile-menu > a {
    display: block;
    margin-bottom: 20px;
    font-size: 25px;
    text-align: center;
    transform: skew(-12deg, 0);
    text-decoration: none;
    color: #fffdfd;
}

/* =========================
   ЯЗЫК
========================= */

.mobile-menu .mobile-language {
    margin-top: 25px;
    position: relative;
}

/* =========================
   АКТИВНОЕ MOBILE MENU
========================= */

.mobile-menu.active {
    right: 0;
}

/* =========================
   OVERLAY
========================= */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}




/* =========================

   TABLET

========================= */

@media (max-width: 1060px) {

    .header__rules {
        margin-left: 50px;
    }
}

@media (max-width: 770px) {

    .header {
        padding-left: 10px;
    }

    .header__rules,
    .lang-switch {
        display: none;
    }

    .burger {
        margin-top: 8px;
        display: flex;
    }


    /* =====================
       ШАПКА
    ===================== */

    .header__logo {
        width: 95%;
        height: 65px;
        display: flex;
        align-items: center;
        position: relative;
        margin-left: 10px;
    }

    /* =====================
       ЛОГОТИП СЛЕВА
    ===================== */

    .button__logo {
        position: absolute;
        left: 10px;
        top: 55%;
        transform: translateY(-50%);
        margin: 0;
        z-index: 2;
    }

    .icon_logo {
        height: 45px;
        width: 80px;
        object-fit: contain;
        display: block;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 530px) {

    body {
        width: 100%;
    }


    /* =====================
       HEADER
    ===================== */

     .header {
        padding-right: 10px;
    }

    .burger {
        position: absolute;
        right: 5px;
        margin-right: 10px;
    }

    /* =====================

       MAIN

    ===================== */

    .title {
        font-size: 26px;
    }

    /* =====================

       EXCHANGE

    ===================== */

    .exchange {
        width: calc(100% - 20px);
        height: auto;
        padding-top: 10px;
        padding-bottom: 20px;
        /*
           ВАЖНО:
           список не обрезается
        */
        overflow: visible;
    }

    /* =====================
       ФОРМА В КОЛОНКУ
    ===================== */

    .form-exchange {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        position: relative;
    }

    .select__give-away,
    .select__You-receive {
        width: 90%;
        margin-left: 0;
        margin-right: 0;
        position: relative;
    }

    .select__text {
        font-size: 18px;
    }

    /* =================================================
       CUSTOM SELECT MOBILE
    ================================================= */

    .crypto-select {
        width: 100%;
        z-index: 1;
    }

    /*
       ГЛАВНОЕ ИСПРАВЛЕНИЕ НА МОБИЛЬНОМ
       Открытый список всегда находится
       поверх второго select.
    */

    .crypto-select.open {
        z-index: 20000;
    }

    .crypto-current {
        width: 100%;
        height: 44px;
        font-size: 15px;
        box-sizing: border-box;
    }

    .crypto-current-left img {
        width: 23px;
        height: 23px;
    }

    .crypto-list {
        width: 100%;
        /*
           Высота списка на телефоне
        */
        max-height: 300px;
        z-index: 20001;
        box-sizing: border-box;
    }

    /*
       Первый список
    */

    #fromCryptoSelect.open {
        z-index: 30000;
    }

    /*
       Второй список
    */

    #toCryptoSelect.open {
        z-index: 30000;
    }

    #fromCryptoList,
    #toCryptoList {
        z-index: 30001;
    }

    .crypto-item {
        font-size: 15px;
        padding: 9px 10px;
    }

    .crypto-item img {
        width: 23px;
        height: 23px;
    }

    /* =====================
       INPUT
    ===================== */

    .input-give {
        width: 100%;
        height: 36px;
        box-sizing: border-box;
    }

    .input-email-wallet {
        width: 100%;
        height: 36px;
        box-sizing: border-box;
    }

    .limits-info {
        font-size: 12px;
    }

    /* =====================
       КНОПКА ОБМЕНА
    ===================== */

    .button-Exchange {
        width: 90%;
        margin-top: 10px;
    }
}



/* =========================

   ИСПРАВЛЕНИЕ МЕНЮ ЯЗЫКА

========================= */

.language-menu {
    position: relative;
    z-index: 10000;
}



/* Список скрыт по умолчанию */

.language-menu .language-list {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    left: auto;
    width: 160px;
    padding: 8px 0;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 10001;
}

/* Открывается при нажатии */

.language-menu[open] .language-list {
    display: block;
}

/* Ссылки */

.language-menu .language-list a {
    display: block;
    padding: 12px 15px;
    margin: 0;
    color: #111127;
    background: #ffffff;
    font-size: 15px;
    text-decoration: none;
}
.language-list a{
    transform: skew(-0deg, 0);
}

.language-menu .language-list a:hover {
    background: #f2f2f2;
    background: linear-gradient(90deg, #1381A3, #34426C, #793D85, #D622DD);
}

/* Убираем стрелку */

.language-menu summary {
    list-style: none;
    cursor: pointer;

}

.language-menu summary::-webkit-details-marker {
    display: none;
}

.language-menu summary::marker {
    content: "";
}

/* Мобильная версия */
.mobile-language .language-list {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}



/* =========================

   MOBILE EXCHANGE FORM

========================= */



@media (max-width: 650px) {

    .exchange-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;

    }

    /* ОТДАЁТЕ */

    .exchange-give {
        order: 1;
        width: 100%;
    }

    /* ПОЛУЧАЕТЕ */

    .exchange-receive {
        order: 2;
        width: 100%;
    }

    /* КОШЕЛЁК */

    .exchange-wallet {
        order: 3;
        width: 100%;
    }

    /* EMAIL */

    .exchange-email {
        order: 4;
        width: 100%;
    }

    /* КНОПКА */

    .exchange-button {
        order: 5;
        width: 100%;
    }

    .exchange-wallet input,
    .exchange-email input {
        width: 100%;
        height: 45px;
        padding: 0 12px;
        border: 2px solid #cccccc;
        border-radius: 10px;
        background: #ffffff;
        font-size: 16px;
        box-sizing: border-box;
    }

    .exchange-button {
        height: 50px;
        border: 2px solid #aaaaaa;
        border-radius: 10px;
        background: transparent;
        font-size: 16px;
        cursor: pointer;
    }

}
    /* ==================================================
    ИСПРАВЛЕНИЕ ФОРМЫ ОБМЕНА: DESKTOP + MOBILE
    Поля в единственном экземпляре, без дублей.
    ================================================== */
    .exchange {
    width: min(750px, calc(100% - 24px));
    height: auto;
    padding: 20px;
    box-sizing: border-box;
    overflow: visible;
    }
    .exchange .form-exchange {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 35px;
    }
    .exchange .select__give-away,
    .exchange .select__You-receive {
    width: 100%;
    min-width: 0;
    margin: 0;
    }
    .exchange .crypto-select,
    .exchange .crypto-current,
    .exchange .crypto-list { width: 100%; box-sizing: border-box; }
    .exchange .input-give,
    .exchange .input-email-wallet {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 10px;
    border-radius: 9px;
    background: #fff;
    box-sizing: border-box;
    font-size: 16px;
    }
    .exchange .input-give { margin-top: 12px; }
    .exchange .limits-info { margin: 12px 0; font-size: 11px; text-align: center; }
    .exchange .exchange-wallet,
    .exchange .exchange-email {
    width: 100%;
    max-width: 400px;
    margin: 15px auto;
    }
    .exchange .button-Exchange {
    display: block;
    width: 100%;
    max-width: 400px;
    height: 48px;
    margin: 20px auto 0;
    cursor: pointer;
    }



    @media (max-width: 650px) {
    .exchange {
        width: calc(100% - 24px);
        height: auto;
        padding: 20px 16px;
        margin: 0 auto 30px;
        border-radius: 20px;
        overflow: visible;
    }
    .exchange .form-exchange {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }
    .exchange .select__give-away,
    .exchange .select__You-receive { width: 100%; margin: 0; }
    .exchange .select__text { font-size: 23px; margin: 0 0 14px 10px; }
    .exchange .crypto-current { height: 55px; padding: 0 12px; font-size: 17px; }
    .exchange .crypto-current-left img { width: 28px; height: 28px; }
    .exchange .input-give { height: 45px; margin-top: 12px; }
    .exchange .limits-info { font-size: 11px; margin: 12px 0 0; }
    .exchange .exchange-wallet { max-width: none; margin: 25px 0 0; }
    .exchange .exchange-email { max-width: none; margin: 15px 0 0; }
    .exchange .exchange-wallet input,
    .exchange .exchange-email input {
        width: 100%; height: 48px; padding: 0 12px;
        font-size: 16px; border: 2px solid #ccc; border-radius: 10px;
        background: #fff; box-sizing: border-box;
    }
    .exchange .button-Exchange {
        width: 100%; max-width: none; height: 52px;
        margin: 20px 0 0; font-size: 18px; border-radius: 10px;
    }
}
