@import url("fonts.css");


/* =========================
   ОБЩИЕ
========================= */

:root { --sky-lime:#ccff00; --sky-bg:#030b14; --sky-card:#071726; --sky-border:#315066; --sky-white:#f7fbff; }

*,*::before,*::after { box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
    margin: 0;
    min-height: 100vh;
    position: relative;

    background:
        radial-gradient(
            ellipse at 60% 19%,
            rgba(16, 42, 39, 0.45) 0%,
            transparent 45%
        ),
        url("../icon/bg.png") center top / cover fixed no-repeat,
        #020711;

    color: var(--sky-white, #ffffff);
    font-family: "Proxima Nova", sans-serif;
}

/* ПЛАНЕТА СПРАВА ВВЕРХУ */
body::before {
    content: "";
    position: absolute;

    top: 80px;
    right: 0;

    width: 450px;
    height: 350px;

    background-image: url("../icon/planet-right.png");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: contain;

    pointer-events: none;
    z-index: 0;
}

/* ПЛАНЕТА СЛЕВА ВНИЗУ */
body::after {
    content: "";
    position: absolute;
    top: 600px;
    left: 0;
    width: 400px;
    height: 350px;
    background-image: url("../icon/planet-left.png");
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

/* КОНТЕНТ ПОВЕРХ ПЛАНЕТ */
.wrapper {
    position: relative;
    z-index: 1;
}

/* АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНА */
@media (max-width: 767px) {
    body::before {
        top: 90px;
        width: 220px;
        height: 200px;
        opacity: 0.65;
    }

    body::after {
        top: 650px;
        width: 220px;
        height: 200px;
        opacity: 0.65;
    }
}





/* =========================

   HEADER

========================= */

.header {
    width: 100%;
    background:rgba(2,9,17,.91); border-bottom:1px solid rgba(204,255,0,.12);padding:0 24px;
    padding: 0 30px;
    box-sizing: border-box;
}

.header__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1460px;
    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 {
    height:56px;
    width:56px;
    object-fit:contain;
}

.icon_logo-tetl {
    font-size:29px;
    font-weight:800;
    letter-spacing:.02em;
}

.icon_logo-tetl p {
    display:flex;
    flex-direction:column;
    gap:3px;
}

.icon_logo-tetl small {
    font-size:10px;
    letter-spacing:.52em;
    font-weight:500;
}

/* =========================
   НАВИГАЦИЯ
========================= */

.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: #CCFF00;
}

/* =========================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА
========================= */

.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

========================= */

.main {width:100%;max-width:1530px;margin:0 auto;padding:0 24px;}


.sky-hero {position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(470px,570px);align-items:center;gap:44px;min-height:670px;padding:66px 20px 45px;isolation:isolate;}
.sky-hero-copy {position:relative;z-index:2;align-self:center;}
.sky-eyebrow {display:inline-flex;align-items:center;border:1px solid var(--sky-lime);border-radius:40px;padding:10px 19px;background:rgba(10,30,25,.72);font-size:14px;font-weight:700;}
.sky-hero h1 {font-size:clamp(38px,4.6vw,69px);line-height:1.09;letter-spacing:-.04em;margin:29px 0 23px;color:#fff;font-weight:800;}
.sky-hero h1 span {white-space:normal;}
.sky-subtitle {font-size:clamp(20px,2.2vw,30px);margin:0 0 34px;color:#f0f5f7;}
.sky-cta {display:inline-flex;gap:30px;align-items:center;justify-content:center;min-height:61px;padding:0 35px;border-radius:40px;background:var(--sky-lime);color:#08111c;text-decoration:none;font-weight:800;font-size:20px;box-shadow:0 0 34px rgba(204,255,0,.15);}
.sky-cta:hover,.button-Exchange:hover {background:#ddff55;}
.sky-trust {display:flex;gap:20px;flex-wrap:wrap;margin-top:60px;color:#e4f1f7;font-size:14px;}
.sky-trust span {max-width:170px;}
.sky-visual {position:absolute;z-index:-1;width:440px;height:440px;left:37%;top:15%;opacity:.65;pointer-events:none;filter:drop-shadow(0 0 35px rgba(204,255,0,.3));}
.sky-orbit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("../icon/ring.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: scale(1.3);
    pointer-events: none;
    z-index: 1;
}
.sky-visual img {position:absolute;width:145px;height:145px;object-fit:contain;left:35%;top:33%;transform:rotate(-15deg);}

/* =========================

   БЛОК ОБМЕНА

========================= */
.sky-exchange-panel {position:relative;z-index:5;background:linear-gradient(145deg,rgba(8,29,45,.98),rgba(3,13,23,.98));border:1.5px solid var(--sky-lime);border-radius:30px;padding:28px 28px 30px;box-shadow:0 0 40px rgba(204,255,0,.12),0 24px 55px rgba(0,0,0,.4);min-width:0;}
.sky-form-title {display:flex;align-items:center;gap:16px;font-size:27px;margin:0 0 20px;font-weight:750;color:white; }
.sky-form-title span {color:var(--sky-lime);font-size:36px;}


.exchange {
    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: #9595956b;
    color: #111127;
}

.button-Exchange:hover {
    background: #959595;
}


/* =========================

   Второй блок

========================= */

/* =========================
   ABOUT SKYLABS
========================= */

.sky-about {
    position: relative;
    width: 100%;
    padding: 50px 20px;
    color: #fff;
    overflow: hidden;
}

.sky-about * {
    box-sizing: border-box;
}

.sky-about__container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

/* HEADER */

.sky-about__header {
    margin-bottom: 55px;
}

.sky-about__title {
    max-width: 850px;
    margin: 25px 0;
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.sky-about__title span {
    color: #ccff00;
}

.sky-about__line {
    width: 100px;
    height: 4px;
    border-radius: 5px;
    background: #ccff00;
    box-shadow: 0 0 20px rgba(204,255,0,.5);
}

/* MAIN CONTENT */

.sky-about__content {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 65px;
    align-items: center;
}

.sky-about__text h3 {
    margin: 0 0 25px;
    font-size: 30px;
    line-height: 1.3;
    color: #fff;
}

.sky-about__text p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.85;
    color: #b9c8d8;
}

.sky-about__text .sky-about__lead {
    color: #fff;
    font-size: 19px;
    font-weight: 600;
}

/* RIGHT SIDE */

.sky-about__right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* STAT CARDS */

.sky-about__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.sky-about__stat {
    min-width: 0;
    padding: 25px 15px;
    border: 1px solid #29465b;
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        #102434,
        #06111d
    );
    text-align: center;
    transition: transform .3s, border-color .3s;
}

.sky-about__stat:hover {
    transform: translateY(-7px);
    border-color: #ccff00;
}

.sky-about__stat-icon {
    color: #ccff00;
    font-size: 30px;
    margin-bottom: 15px;
}

.sky-about__stat h3 {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.5vw, 34px);
    color: #ccff00;
}

.sky-about__stat p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #b9c8d8;
}

/* HIGHLIGHT CARD */

.sky-about__highlight {
    position: relative;
    padding: 35px;
    border: 1px solid #ccff00;
    border-radius: 25px;
    background: linear-gradient(
        135deg,
        #102535,
        #06111b
    );
    box-shadow: 0 0 30px rgba(204,255,0,.08);
}

.sky-about__highlight-icon {
    font-size: 35px;
    color: #ccff00;
    margin-bottom: 20px;
}

.sky-about__highlight h3 {
    margin: 0 0 20px;
    font-size: 29px;
    line-height: 1.3;
    color: #fff;
}

.sky-about__highlight h3 span {
    display: block;
    color: #ccff00;
}

.sky-about__highlight p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #c1d0de;
}

/* TABLET */

@media (max-width: 1024px) {
    .sky-about {
        padding: 80px 20px;
    }

    .sky-about__content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .sky-about {
        padding: 45px 16px;
        padding-top: 20px;
    }

    .sky-about__header {
        margin-bottom: 35px;
    }

    .sky-about__title {
        font-size: 34px;
    }

    .sky-about__text h3 {
        font-size: 24px;
    }

    .sky-about__text p {
        font-size: 15px;
        line-height: 1.75;
    }

    .sky-about__text .sky-about__lead {
        font-size: 17px;
    }

    .sky-about__stats {
        gap: 8px;
    }

    .sky-about__stat {
        padding: 18px 7px;
        border-radius: 14px;
    }

    .sky-about__stat h3 {
        font-size: 22px;
    }

    .sky-about__stat p {
        font-size: 11px;
    }

    .sky-about__highlight {
        padding: 25px;
    }

    .sky-about__highlight h3 {
        font-size: 24px;
    }
}






/* =========================
   SKYLABS PARTNERS
========================= */

.sky-partners {
    position: relative;
    width: 100%;
    padding: 50px 0;
    overflow: hidden;
    color: #ffffff;
}

.sky-partners * {
    box-sizing: border-box;
}

.sky-partners__container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */

.sky-partners__header {
    text-align: center;
    margin-bottom: 55px;
}

.sky-partners__badge {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #ccff00;
    border-radius: 50px;
    background: rgba(204, 255, 0, 0.05);
    color: #ccff00;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.sky-partners__title {
    margin: 25px 0 15px;
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.2;
}

.sky-partners__title span {
    color: #ccff00;
}

.sky-partners__description {
    max-width: 650px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: #b9c8d8;
}

.sky-partners__line {
    width: 120px;
    height: 3px;
    margin: 28px auto 0;
    background: #ccff00;
    border-radius: 5px;
    box-shadow: 0 0 18px rgba(204,255,0,.6);
}

/* SLIDER */

.sky-partners__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(204,255,0,.65);
    border-radius: 24px;
    background: rgba(3, 14, 26, .85);
    box-shadow: 0 0 30px rgba(204,255,0,.07);
    padding: 30px 0;
}

/* SOFT EDGES */

.sky-partners__slider::before,
.sky-partners__slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}

.sky-partners__slider::before {
    left: 0;
    background: linear-gradient(
        90deg,
        #030e1a,
        transparent
    );
}

.sky-partners__slider::after {
    right: 0;
    background: linear-gradient(
        270deg,
        #030e1a,
        transparent
    );
}

/* MOVING TRACK */

.sky-partners__track {
    display: flex;
    width: max-content;
    animation: skyPartnersMove 30s linear infinite;
    will-change: transform;
}


/* GROUPS */

.sky-partners__group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
    padding-right: 20px;
}

/* CARDS */

.sky-partners__card {
    width: 240px;
    height: 145px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: linear-gradient(
        145deg,
        #102535,
        #06111b
    );
    border: 1px solid #285565;
    border-radius: 20px;
    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.sky-partners__card:hover {
    border-color: #ccff00;
    background: linear-gradient(
        145deg,
        #142f38,
        #07141c
    );
    box-shadow:
        0 0 25px rgba(204,255,0,.2),
        inset 0 0 15px rgba(204,255,0,.05);
}

/* LOGOS */

.sky-partners__card img {
    display: block;
    width: 100%;
    max-width: 180px;
    max-height: 75px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .75;
    transition:
        filter .3s ease,
        opacity .3s ease,
        transform .3s ease;
}

.sky-partners__card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* INFINITE ANIMATION */

@keyframes skyPartnersMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* TABLET */

@media (max-width: 1024px) {

    .sky-partners__card {
        width: 210px;
        height: 125px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .sky-partners {
        padding: 35px 0;
    }

    .sky-partners__container {
        padding: 0 12px;
    }

    .sky-partners__header {
        margin-bottom: 35px;
    }

    .sky-partners__description {
        font-size: 15px;
    }

    .sky-partners__slider {
        padding: 18px 0;
        border-radius: 16px;
    }

    .sky-partners__group {
        gap: 12px;
        padding-right: 12px;
    }

    .sky-partners__card {
        width: 155px;
        height: 100px;
        padding: 15px;
        border-radius: 14px;
    }

    .sky-partners__card img {
        max-height: 55px;
    }

    .sky-partners__slider::before,
    .sky-partners__slider::after {
        width: 30px;
    }

    .sky-partners__track {
        animation-duration: 22s;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .sky-partners__track {
        animation: none;
    }

    .sky-partners__slider {
        overflow-x: auto;
    }
}


/* =========================

   FOOTER

========================= */

/* =========================
   FOOTER SKYLABS
========================= */

.sky-footer {
    position: relative;
    width: 100%;
    padding: 35px 20px;

    background:
        linear-gradient(
            135deg,
            #020711,
            #071523,
            #020711
        );

    border-top: 1px solid rgba(204,255,0,.55);
    box-shadow: 0 -5px 25px rgba(204,255,0,.05);

    color: #ffffff;
}

.sky-footer * {
    box-sizing: border-box;
}

.sky-footer__container {
    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* SOCIAL */

.sky-footer__social {
    display: flex;
    align-items: center;
    gap: 30px;
}

.sky-footer__social h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.sky-footer__icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sky-footer__icons a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(204,255,0,.6);
    border-radius: 50%;

    background: rgba(204,255,0,.05);
    color: #ccff00;

    font-size: 19px;
    text-decoration: none;

    transition: .3s ease;
}

.sky-footer__icons a:hover {
    background: #ccff00;
    color: #020711;
    border-color: #ccff00;

    transform: translateY(-4px);

    box-shadow: 0 0 20px rgba(204,255,0,.4);
}

/* COPYRIGHT */

.sky-footer__copyright {
    font-size: 15px;
    color: #b9c8d8;
    white-space: nowrap;
}

/* TABLET */

@media (max-width: 1024px) {
    .sky-footer__container {
        flex-direction: column;
        justify-content: center;
        gap: 25px;
    }

    .sky-footer__social {
        justify-content: center;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .sky-footer {
        padding: 35px 15px;
    }

    .sky-footer__social {
        flex-direction: column;
        gap: 18px;
    }

    .sky-footer__social h3 {
        font-size: 17px;
    }

    .sky-footer__icons {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sky-footer__icons a {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .sky-footer__copyright {
        font-size: 13px;
        text-align: center;
        white-space: normal;
    }
}



/* =========================

   БУРГЕР

========================= */

.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( #464ffb);
    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: #959595;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 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: #000000;
    transform: none;
}

/* =========================

   ССЫЛКИ МЕНЮ

========================= */

.mobile-menu > a {
    display: block;
    margin-bottom: 20px;
    font-size: 25px;
    text-align: center;
    transform: skew(-12deg, 0);
    text-decoration: none;
    color: #000000;
}

/* =========================

   ЯЗЫК

========================= */

.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, #9595956b, #9595956b, #9595956b, #9595956b);
}

/* Убираем стрелку */

.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;
    }
}


/* ============================================================
   SKYLABS EXCHANGE — DESIGN OVERRIDES (original backend IDs intact)
   ============================================================ */

.sky-exchange-panel .exchange {width:100%;max-width:none;height:auto;margin:0;padding:0;background:transparent;border:0;box-shadow:none;overflow:visible;}
.sky-exchange-panel #exchangeForm {width:100%;}
.sky-exchange-panel .form-exchange {display:flex;flex-direction:column;gap:17px;align-items:stretch;justify-content:flex-start;}
.sky-exchange-panel .select__give-away,.sky-exchange-panel .select__You-receive {width:100%;margin:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 14px;align-items:start;}
.sky-exchange-panel .select__text {grid-column:1/-1;margin:0;color:#e8f0f6;font-size:17px;}
.sky-exchange-panel .crypto-select {width:100%;min-width:0;}
.sky-exchange-panel .crypto-current {width:100%;height:58px;border:1px solid #4b6272;border-radius:13px;background:#142636;color:#fff;font-size:16px;padding:0 12px;}
.sky-exchange-panel .crypto-list {width:100%;background:#102332;border-color:#435d70;}
.sky-exchange-panel .crypto-item {background:#102332;color:#fff;}
.sky-exchange-panel .crypto-item:hover {background:#24445a;}
.sky-exchange-panel .crypto-item.active {background:#38551c;color:#fff;}
.sky-exchange-panel .input-give {width:100%;height:58px;margin:0;padding:0 15px;border:1px solid #4b6272;border-radius:13px;background:#142636;color:white;font-size:21px;opacity:1;min-width:0;}
.sky-exchange-panel .input-give:disabled {opacity:1;color:#f0f5ff;-webkit-text-fill-color:#f0f5ff;}
.sky-exchange-panel .limits-info {grid-column:1/-1;text-align:left;color:#aabecb;font-size:11px;margin:0;min-height:0;}
.sky-exchange-panel .exchange-wallet,.sky-exchange-panel .exchange-email {width:100%;max-width:none;margin:13px 0 0;}
.sky-exchange-panel .input-email-wallet {display:block;width:100%;height:57px;padding:0 18px;border-radius:13px;border:1px solid #4b6272;background:#142636;color:#fff;font-size:16px;}
.sky-exchange-panel input::placeholder {color:#a9b8c4;opacity:1;}
.sky-exchange-panel input:focus,.sky-exchange-panel .crypto-current:focus-visible {outline:2px solid var(--sky-lime);outline-offset:2px;}
.sky-exchange-panel .button-Exchange {display:block;width:100%;max-width:none;height:61px;margin:20px 0 0;border:0;border-radius:35px;background:var(--sky-lime);color:#07101b;font-size:22px;font-weight:800;cursor:pointer;}
.sky-exchange-panel #result {color:#fff;margin-top:10px;}
.sky-benefits {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:8px 0 68px;}
.sky-benefits article {display:flex;align-items:flex-start;gap:18px;min-height:145px;padding:26px 22px;background:linear-gradient(145deg,#0b2030,#06111f);border:1px solid #345369;border-bottom-color:var(--sky-lime);border-radius:25px;}
.sky-benefit-icon {display:grid;place-items:center;flex:none;width:57px;height:57px;border-radius:18px;background:#243d14;color:var(--sky-lime);font-size:33px;}
.sky-benefits h3 {margin:2px 0 12px;font-size:20px;color:white;}
.sky-benefits p {margin:0;font-size:15px;line-height:1.55;color:#c6d4df;}


.burger span {background:var(--sky-lime);}
.mobile-menu {background:linear-gradient(145deg,#081726,#020811);}
.mobile-menu > a,.mobile-menu .icon_logo-tetl p {color:white;}
.mobile-menu .language-btn {color:white;}



@media (max-width:1190px) {
 .header__rules {position:static;transform:none;gap:17px;margin:0 auto;}
 .header__rules a {font-size:14px;}
 .sky-hero {grid-template-columns:minmax(0,1fr) minmax(410px,1fr);gap:22px;padding-left:0;padding-right:0;}
 .sky-visual {left:28%;}
}


@media (max-width:900px) {
 .header__rules,.lang-switch {display:none;}
 .burger {display:flex;margin:0 10px 0 auto;z-index:1002;}
 .header__logo {width:auto;height:auto;margin:0;}
 .button__logo {position:static;transform:none;}
 .sky-hero {grid-template-columns:1fr;min-height:0;padding:45px 0 25px;}
 .sky-hero-copy {text-align:center;}
 .sky-trust {justify-content:center;margin-top:35px;}
 .sky-visual {left:45%;top:15%;opacity:.25;}
 .sky-exchange-panel {width:100%;max-width:610px;margin:0 auto;}
 .sky-benefits {grid-template-columns:1fr;gap:12px;}
 .sky-benefits article {min-height:0;}
}


@media (max-width:650px) {
 .header {padding:0 14px;}
 .header__panel {min-height:74px;}
 .icon_logo {height:43px;width:43px;}
 .icon_logo-tetl {font-size:22px;}
 .icon_logo-tetl small {font-size:8px;}
 .main {padding:0 14px;}
 .sky-hero {padding-top:32px;gap:27px;}
 .sky-hero h1 {font-size:clamp(34px,8.8vw,50px);margin:23px 0 15px;}
 .sky-subtitle {font-size:19px;}
 .sky-cta {font-size:17px;min-height:54px;}
 .sky-trust {font-size:12px;gap:10px;}
 .sky-trust span {max-width:120px;}
 .sky-visual {width:250px;height:250px;left:25%;top:23%;}

 .sky-visual img {left:25%;top:25%;}
 .sky-exchange-panel {padding:23px 16px;border-radius:22px;}
 .sky-form-title {font-size:22px;}
 .sky-exchange-panel .exchange {width:100%;padding:0;margin:0;}
 .sky-exchange-panel .form-exchange {flex-direction:column;gap:16px;align-items:stretch;}
 .sky-exchange-panel .select__give-away,.sky-exchange-panel .select__You-receive {width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:0;}
 .sky-exchange-panel .select__text {font-size:16px;margin:0;}
 .sky-exchange-panel .crypto-current {height:52px;font-size:13px;padding:0 8px;}
 .sky-exchange-panel .crypto-current-left {gap:6px;}
 .sky-exchange-panel .crypto-current-left img {width:23px;height:23px;}
 .sky-exchange-panel .input-give {height:52px;margin:0;font-size:17px;}
 .sky-exchange-panel .limits-info {font-size:10px;margin:0;text-align:left;}
 .sky-exchange-panel .exchange-wallet,.sky-exchange-panel .exchange-email {max-width:none;margin:12px 0 0;}
 .sky-exchange-panel .exchange-wallet input,.sky-exchange-panel .exchange-email input {height:54px;background:#142636;color:white;border:1px solid #4b6272;border-radius:13px;}
 .sky-exchange-panel .button-Exchange {height:57px;margin:18px 0 0;border-radius:35px;background:var(--sky-lime);color:#07101b;}
 .sky-benefits {margin-bottom:36px;}

 .mobile-menu .button__logo {position:static;transform:none;}
}
