@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #0b0e12;
    --panel: #1b1e24;
    --line: #464b54;
    --yellow: #ffe500;
    --white: #f8f9fb;
    --muted: #a9aeb9
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(ellipse at 75% 12%, #252016 0, transparent 28%), var(--bg);
    font-family: Manrope, Arial, sans-serif;
    color: var(--white)
}

a {
    color: inherit;
    text-decoration: none
}

button,
input {
    font: inherit
}

.container {
    width: min(1600px, calc(100% - 80px));
    margin-inline: auto
}

.header {
    position: relative;
    z-index: 30;
    border-bottom: 1px solid #363a41;
    background: rgba(12, 14, 18, .95)
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(22px, 2.6vw, 36px);
    font-weight: 800;
    letter-spacing: -1.5px;
    white-space: nowrap
}

.brand>span:last-child>span,
.footer-brand>span {
    color: var(--yellow)
}

.brand-mark {
    color: var(--yellow);
    font-size: 56px;
    line-height: 1
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px
}

.desktop-nav a {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 17px;
    white-space: nowrap
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background: var(--yellow);
    color: #111
}

.language-menu {
    position: relative;
    flex-shrink: 0
}

.language-menu summary {
    cursor: pointer;
    list-style: none;
    border: 1px solid #61656c;
    border-radius: 28px;
    padding: 10px 20px;
    white-space: nowrap
}

.language-menu summary::-webkit-details-marker {
    display: none
}

.language-list {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #22262b;
    border: 1px solid #575b61;
    border-radius: 12px;
    min-width: 150px;
    overflow: hidden
}

.language-list a {
    display: block;
    padding: 12px 18px
}

.language-list a:hover {
    background: #3a3f47
}

.mobile-nav {
    display: none
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 350px
}

.hero-inner {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 35px 0 55px
}

.eyebrow {
    font-size: 16px;
    letter-spacing: .46em;
    color: #c6c9ce;
    margin: 0 0 22px
}

.hero h1 {
    font-size: clamp(44px, 5.4vw, 82px);
    line-height: 1.04;
    letter-spacing: -.045em;
    margin: 0;
    font-weight: 800
}

.hero h1 em,
.section-heading em {
    font-style: normal;
    color: var(--yellow)
}

.hero-desc {
    border-left: 3px solid var(--yellow);
    padding-left: 25px;
    margin: 22px 0 0;
    max-width: 510px;
    font-size: 20px;
    line-height: 1.45
}

.hero-art {
    position: absolute;
    width: min(65vw, 940px);
    right: -45px;
    object-fit: contain;
    pointer-events: none;
    opacity: .95;
    mask-image: linear-gradient(to right, transparent 0%, black 18%)
}

.exchange-section {
    position: relative;
    z-index: 10;
    margin-top: -8px
}

.exchange {
    padding: 24px 32px 19px;
    border: 1.5px solid var(--yellow);
    border-radius: 26px;
    background: linear-gradient(115deg, #24272c, #111418 65%, #232321);
    box-shadow: 0 0 25px #ffe5001b, 0 14px 40px #0008;
    overflow: visible;
    position: relative
}

.exchange:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 38%;
    width: 25%;
    height: 3px;
    background: var(--yellow);
    box-shadow: 0 0 20px 4px #ffe50099;
    pointer-events: none
}

.exchange-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.25fr) minmax(0, 1.05fr) minmax(0, 1fr) minmax(155px, .85fr);
    gap: 18px;
    align-items: start
}

.form-exchange {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-width: 0
}

.select__give-away,
.select__You-receive,
.exchange-wallet,
.exchange-email {
    min-width: 0
}

.select__text,
.exchange-wallet label,
.exchange-email label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px;
    min-height: 21px
}

.exchange-field-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(85px, .78fr);
    gap: 8px;
    align-items: center
}

.crypto-select {
    position: relative;
    min-width: 0;
    z-index: 1
}

.crypto-select.open {
    z-index: 1000
}

.crypto-current {
    height: 51px;
    width: 100%;
    border: 1px solid #646871;
    border-radius: 12px;
    background: linear-gradient(150deg, #30343a, #202328);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 0 10px;
    cursor: pointer;
    text-align: left
}

.crypto-current:hover,
.crypto-select.open .crypto-current {
    border-color: var(--yellow)
}

.crypto-current-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden
}

.crypto-current-left img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0
}

.crypto-current-left span {
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden
}

.crypto-arrow {
    font-size: 10px;
    flex-shrink: 0
}

.crypto-select.open .crypto-arrow {
    transform: rotate(180deg)
}

.crypto-list {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: max(100%, 230px);
    max-width: min(340px, 85vw);
    max-height: 310px;
    overflow-y: auto;
    background: #202329;
    border: 1px solid var(--yellow);
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 16px 40px #000b;
    z-index: 1001
}

.crypto-select.open .crypto-list {
    display: block
}

.crypto-item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    border: 0;
    background: transparent;
    color: white;
    padding: 10px;
    border-radius: 7px;
    text-align: left;
    cursor: pointer;
    font-size: 13px
}

.crypto-item:hover {
    background: #373b43
}

.crypto-item.active {
    background: var(--yellow);
    color: #111
}

.crypto-item img {
    width: 25px;
    height: 25px;
    object-fit: contain
}

.crypto-item span {
    white-space: nowrap
}

.crypto-list::-webkit-scrollbar {
    width: 6px
}

.crypto-list::-webkit-scrollbar-thumb {
    background: #6c7078;
    border-radius: 8px
}

.real-crypto-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none
}

.input-give,
.input-email-wallet {
    width: 100%;
    min-width: 0;
    height: 51px;
    border: 1px solid #595e67;
    border-radius: 11px;
    background: #25282e;
    color: #fff;
    outline: none;
    padding: 0 12px;
    font-size: 15px
}

.input-give:focus,
.input-email-wallet:focus {
    border-color: var(--yellow)
}

.input-give:disabled {
    opacity: 1;
    color: #eee
}

.input-give::-webkit-inner-spin-button,
.input-give::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.input-give[type=number] {
    appearance: textfield;
    -moz-appearance: textfield
}

.limits-info {
    font-size: 11px;
    line-height: 1.45;
    color: #bdc0c6;
    margin-top: 9px;
    overflow-wrap: anywhere;
    min-height: 17px
}

.exchange-swap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-top: 32px;
    padding: 0;
    background: #111316;
    border: 1.5px solid #ffe500;
    border-radius: 50%;
    color: #ffe500;
    font-size: 29px;
    cursor: pointer;
    transition: 0.3s ease;
}

.exchange-swap:hover {
    background: #ffe500;
    color: #111316;
    transform: rotate(180deg);
}

.input-wrap {
    position: relative
}

.input-wrap>span {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #c0c4cb;
    font-size: 21px;
    pointer-events: none
}

.input-email-wallet {
    padding-left: 40px;
    font-size: 12px
}

.input-email-wallet::placeholder,
.input-give::placeholder {
    color: #a2a6ae
}

.button-Exchange {
    height: 51px;
    width: 100%;
    margin-top: 31px;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(110deg, #ffeb00, #ffcd00);
    color: #101010;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px
}

.button-Exchange:hover {
    box-shadow: 0 0 24px #ffe50066;
    transform: translateY(-1px)
}

.button-Exchange span {
    font-size: 23px
}

#result {
    font-size: 13px
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px
}

.benefit {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 24px;
    border: 1px solid #3c414a;
    border-radius: 22px;
    background: linear-gradient(125deg, #292d35, #191c21);
    min-width: 0
}

.benefit-number {
    align-self: flex-start;
    font-size: 42px;
    font-style: italic;
    color: var(--yellow);
    line-height: 1
}

.benefit-icon {
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    border: 1px solid #6c7179;
    border-radius: 18px;
    color: var(--yellow);
    font-size: 48px
}

.benefit h2 {
    font-size: 20px;
    margin: 0 0 6px
}

.benefit p {
    font-size: 13px;
    line-height: 1.6;
    color: #cfd1d6;
    margin: 0
}

.popular {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 38px;
    flex-wrap: wrap
}

.popular h2 {
    font-size: 17px;
    border-left: 3px solid var(--yellow);
    padding-left: 17px;
    white-space: nowrap
}

.coins {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    flex: 1
}

.coin-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #343941;
    border-radius: 25px;
    background: #202329;
    font-size: 13px
}

.coin-chip img {
    width: 25px;
    height: 25px;
    object-fit: contain
}

.all-coins {
    border: 1px solid var(--yellow);
    padding: 11px 20px;
    border-radius: 30px;
    font-size: 13px;
    white-space: nowrap
}

.all-coins:hover {
    background: var(--yellow);
    color: #111
}

.info-section {
    padding-top: 100px;
    padding-bottom: 100px
}

.section-heading span {
    color: var(--yellow);
    letter-spacing: .2em;
    font-size: 12px
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.15;
    margin: 18px 0 35px
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.info-card {
    padding: 28px;
    border: 1px solid #3c414a;
    border-radius: 20px;
    background: linear-gradient(140deg, #23262d, #15181d)
}

.card-index {
    color: var(--yellow);
    font-size: 12px;
    letter-spacing: .1em
}

.info-card h3 {
    font-size: 22px;
    margin: 22px 0 12px
}

.info-card p {
    color: #c2c5cc;
    line-height: 1.7;
    font-size: 14px;
    margin: 0
}

.footer {
    border-top: 1px solid #30343c;
    background: #0a0c0f
}

.footer-inner {
    padding: 36px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap
}

.footer-brand {
    font-size: 25px;
    font-weight: 800
}

.footer-brand small {
    display: block;
    color: #999;
    font-size: 12px;
    font-weight: 400
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px
}

.footer p {
    width: 100%;
    color: #8f949e;
    font-size: 12px;
    margin: 0
}

@media(max-width:1450px) {
    .exchange-layout {
        grid-template-columns: 1fr 1fr
    }

    .form-exchange {
        grid-column: 1/-1
    }

    .button-Exchange {
        margin-top: 31px
    }

    .hero-art {
        width: 70vw
    }
}

@media(max-width:1100px) {
    .desktop-nav {
        gap: 3px
    }

    .desktop-nav a {
        font-size: 14px;
        padding: 9px 12px
    }

    .benefits {
        gap: 10px
    }

    .benefit {
        padding: 18px 14px;
        gap: 12px
    }

    .benefit-icon {
        width: 50px;
        height: 55px;
        font-size: 32px
    }

    .benefit-number {
        font-size: 30px
    }

    .benefit h2 {
        font-size: 16px
    }

    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .hero-art {
        opacity: .5
    }
}

@media(max-width:760px) {
    .container {
        width: calc(100% - 30px)
    }

    .header-inner {
        height: 68px
    }

    .brand {
        font-size: 23px
    }

    .brand-mark {
        font-size: 39px
    }

    .desktop-nav {
        display: none
    }

    .language-menu {
        margin-left: auto
    }

    .mobile-nav {
        display: block;
        position: relative
    }

    .mobile-nav>summary {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        list-style: none;
        padding: 8px
    }

    .mobile-nav>summary::-webkit-details-marker {
        display: none
    }

    .mobile-nav>summary span {
        width: 25px;
        height: 2px;
        background: var(--yellow)
    }

    .mobile-nav nav {
        position: absolute;
        right: 0;
        top: calc(100% + 20px);
        width: 220px;
        background: #20242a;
        border: 1px solid #555;
        border-radius: 12px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        z-index: 200
    }

    .mobile-nav nav a {
        padding: 10px
    }

    .hero,
    .hero-inner {
        min-height: 390px
    }

    .hero-copy {
        padding: 32px 0 80px
    }

    .hero h1 {
        font-size: clamp(35px, 8vw, 60px)
    }

    .hero-desc {
        font-size: 16px;
        max-width: 380px
    }

    .eyebrow {
        font-size: 11px
    }

    .hero-art {
        width: 680px;
        right: -310px;
        top: -10px;
        opacity: .36
    }

    .exchange-layout {
        display: flex;
        flex-direction: column;
        gap: 17px
    }

    .form-exchange {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%
    }

    .select__give-away,
    .select__You-receive,
    .exchange-wallet,
    .exchange-email {
        width: 100%
    }

    .exchange-swap {
        margin: 0 auto;
        transform: rotate(90deg)
    }

    .exchange {
        padding: 20px 15px
    }

    .button-Exchange {
        margin-top: 0
    }

    .benefits {
        grid-template-columns: 1fr
    }

    .benefit {
        padding: 20px
    }

    .popular {
        gap: 15px
    }

    .popular h2 {
        width: 100%
    }

    .info-section {
        padding-top: 65px;
        padding-bottom: 60px
    }
}

@media(max-width:500px) {
    .language-menu summary {
        padding: 8px 11px;
        font-size: 13px
    }

    .hero h1 {
        font-size: clamp(30px, 9vw, 43px)
    }

    .hero,
    .hero-inner {
        min-height: 340px
    }

    .hero-art {
        right: -145px;
    }

    .hero-copy {
        padding-bottom: 55px
    }

    .hero-desc {
        font-size: 14px
    }

    .exchange-field-row {
        grid-template-columns: minmax(0, 1.3fr) minmax(90px, .85fr)
    }

    .crypto-current-left img {
        width: 24px;
        height: 24px
    }

    .crypto-current-left span {
        font-size: 12px
    }

    .info-grid {
        grid-template-columns: 1fr
    }

    .info-card {
        padding: 23px
    }
}



/* =====================================
   COINHERO — FOOTER SOCIAL
===================================== */

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 50px;
    height: 50px;

    background: #3b4077;
    border-radius: 50%;

    color: #ffffff;
    font-size: 19px;
    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.social-icon:hover {
    background: #ffe500;
    color: #111111;
    transform: translateY(-4px);
}

.social-icon i {
    line-height: 1;
}

/* КОПИРАЙТ */

.footer-copy {
    margin: 20px 0 0;
    text-align: center;
    color: #969ba5;
    font-size: 13px;
    line-height: 1.6;
}

/* МОБИЛЬНАЯ ВЕРСИЯ */

@media (max-width: 600px) {

    .footer-social {
        gap: 8px;
        margin: 20px 0;
    }

    .social-icon {
        width: 43px;
        height: 43px;
        font-size: 17px;
    }

    .footer-copy {
        font-size: 12px;
    }
}
