/*
Theme Name: Crypto
Theme URI: https://wordpress.org
Author: Orkhan Chichitov
Author URI: https://wordpress.org
Description: A simple and clean WordPress theme for cryptocurrency-related websites. It features a modern design, responsive layout, and customizable options to create a unique online presence for your crypto business or blog.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =====================================================================
   ROOT VARIABLES — палитра из макета пользователя (тёмный фон + золото),
   референс интерфейса: Binance
   ===================================================================== */
:root {
    --crypto-bg: #101010;
    --crypto-bg-alt: #16171a;
    --crypto-surface: #1c1d21;
    --crypto-surface-2: #232427;
    --crypto-border: #2c2d31;
    --crypto-accent: #ffbe0b;
    --crypto-accent-soft: rgba(255, 190, 11, .14);
    --crypto-accent-dark: #d99e00;
    --crypto-text: #f5f5f5;
    --crypto-text-muted: #9a9ba0;
    --crypto-white: #ffffff;
    --crypto-success: #16c784;
    --crypto-danger: #ea3943;
    --crypto-radius: 14px;
    --crypto-radius-sm: 8px;
    --crypto-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    --crypto-section-y: 22px;
    --crypto-container: 1240px;
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--crypto-bg);
    color: var(--crypto-text);
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0; padding: 0; margin: -1px;
}
.container {
    max-width: var(--crypto-container);
    margin: 0 auto;
    padding: 0 24px;
}
main { display: block; overflow: hidden; }
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--crypto-border); }
.section__head { max-width: 760px; margin: 0 0 36px; }
.section__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--crypto-accent);
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 10px;
}
.section__title { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 12px; color: var(--crypto-white); }
.section__lead { color: var(--crypto-text-muted); font-size: 16px; margin: 0; }
.icon { width: 22px; height: 22px; flex-shrink: 0; }

/* =====================================================================
   TYOGRAPHY / CONTENT PROSE (для текста, перенесённого из ТЗ)
   ===================================================================== */
.content { max-width: 820px; margin: 0 auto; padding: var(--crypto-section-y) 0; }
.content--wide { max-width: var(--crypto-container); }
.content h1 { font-size: clamp(28px, 4vw, 42px); color: var(--crypto-white); margin: 0 0 18px; line-height: 1.2; }
.content h2 { font-size: clamp(22px, 2.6vw, 28px); color: var(--crypto-white); margin: 40px 0 16px; }
.content h3 { font-size: 19px; color: var(--crypto-white); margin: 26px 0 10px; }
.content p { color: var(--crypto-text-muted); margin: 0 0 var(--crypto-section-y); }
.content ul, .content ol { margin: 0 0 var(--crypto-section-y); padding-left: 22px; color: var(--crypto-text-muted); }
.content ul { list-style: disc; }
.content ol { list-style: decimal; }
.content li { margin-bottom: 8px; }
.content strong, .content b { color: var(--crypto-text); }
.content p a,
.content li a {
    color: var(--crypto-accent);
    text-decoration: underline;
    font-weight: 600;
    transition: color .2s ease;
}
.content p a:hover, .content li a:hover { color: var(--crypto-white); }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px;
    border-radius: var(--crypto-radius-sm);
    font-weight: 700; font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    white-space: nowrap;
}
.btn { position: relative; }
.btn .btn__anchor { color: inherit; text-decoration: none; font-weight: inherit; }
.btn .btn__anchor::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.btn--primary {
    background: var(--crypto-accent);
    color: #101010;
    box-shadow: 0 0 0 rgba(255, 190, 11, 0);
}
.btn--primary:hover {
    background: var(--crypto-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 190, 11, .25);
}
.btn--secondary {
    background: transparent;
    color: var(--crypto-white);
    border-color: var(--crypto-border);
}
.btn--secondary:hover {
    border-color: var(--crypto-accent);
    color: var(--crypto-accent);
    transform: translateY(-2px);
}
.btn--block { width: 100%; }

/* =====================================================================
   HEADER & NAVIGATION
   ===================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(16, 16, 16, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--crypto-border);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
    padding: 14px 24px;
    max-width: var(--crypto-container);
    margin: 0 auto;
}
.site-header__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--crypto-white); }
.site-header__logo img { height: 34px; width: auto; }
.site-header__logo-mark { color: var(--crypto-accent); }
.site-header__logo-link { color: inherit; }

.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__item { position: relative; }
.nav__link {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    border-radius: var(--crypto-radius-sm);
    color: var(--crypto-text);
    font-weight: 600; font-size: 14.5px;
    transition: color .2s ease, background .2s ease;
}
.nav__link:hover, .nav__item--active > .nav__link { color: var(--crypto-accent); background: var(--crypto-accent-soft); }
a.nav__link.nav__link--has-children::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s ease; }
a.nav__link.nav__link--has-children:hover::after { transform: rotate(225deg); margin-top: 3px; }

.nav__submenu {
    position: absolute; top: 100%; left: 0;
    min-width: 240px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    box-shadow: var(--crypto-shadow);
    padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 50;
}
.nav__submenu--grid { min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav__item--has-children:hover .nav__submenu,
.nav__item--has-children:focus-within .nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__submenu-link {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px;
    border-radius: var(--crypto-radius-sm);
    color: var(--crypto-text-muted);
    font-size: 14px; font-weight: 500;
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.nav__submenu-link:hover { background: var(--crypto-accent-soft); color: var(--crypto-accent); padding-left: 16px; }
.nav__submenu-link img { width: 20px; height: 20px; border-radius: 50%; }

.header__cta { display: flex; align-items: center; gap: 14px; }
.nav__burger {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px;
    background: transparent; border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    cursor: pointer;
}
.nav__burger-line { width: 20px; height: 2px; background: var(--crypto-white); margin: 0 auto; transition: transform .25s ease, opacity .25s ease; }
.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--crypto-bg-alt); border-top: 1px solid var(--crypto-border); padding: 56px 0 24px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer__brand { max-width: 260px; }
.footer__logo { font-weight: 800; font-size: 20px; color: var(--crypto-white); margin-bottom: 12px; display: block; }
.footer__about { color: var(--crypto-text-muted); font-size: 14px; margin: 0; }
.footer__title { color: var(--crypto-white); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 16px; }
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__list a { color: var(--crypto-text-muted); font-size: 14.5px; transition: color .2s ease, padding-left .2s ease; }
.footer__list a:hover { color: var(--crypto-accent); padding-left: 4px; }
.footer__bottom {
    margin-top: 44px; padding-top: 22px;
    border-top: 1px solid var(--crypto-border);
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer__copy { color: var(--crypto-text-muted); font-size: 13.5px; margin: 0; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: var(--crypto-text-muted); font-size: 13.5px; }
.footer__legal a:hover { color: var(--crypto-accent); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { padding: 68px 0 48px; position: relative; overflow: hidden; }
.hero::before {
    content: '';
    position: absolute; inset: -20% -10% auto -10%; height: 480px;
    background: radial-gradient(60% 60% at 50% 0%, var(--crypto-accent-soft), transparent 70%);
    pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 48px; }
.hero__content { flex: 1 1 480px; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--crypto-accent-soft); color: var(--crypto-accent);
    font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
    margin-bottom: 18px;
}
.hero__title { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.15; margin: 0 0 18px; color: var(--crypto-white); }
.hero__text { color: var(--crypto-text-muted); font-size: 17px; margin: 0 0 16px; max-width: 560px; }
.hero__text a { color: var(--crypto-accent); text-decoration: underline; font-weight: 600; }
.hero__actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero__widget-col { flex: 0 0 auto; }

/* =====================================================================
   WIDGET-BLOCK (обменный виджет ± картинка)
   ===================================================================== */
.widget-block { display: flex; align-items: center; gap: 40px; }
.widget-block--reverse { flex-direction: row-reverse; }
.widget-block__media { flex: 1 1 380px; border-radius: var(--crypto-radius); overflow: hidden; box-shadow: var(--crypto-shadow); }
.widget-block__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .5s ease; }
.widget-block__media:hover img { transform: scale(1.05); }
.widget-block__frame,
.exchange-widget__frame {
    flex: 0 0 auto;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 14px;
    box-shadow: var(--crypto-shadow);
}
.exchange-widget__frame iframe { width: 100%; max-width: 500px; height: 400px; border: 0; border-radius: var(--crypto-radius-sm); display: block; }

/* =====================================================================
   CARDS & GRIDS
   ===================================================================== */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    position: relative;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 26px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow); border-color: var(--crypto-accent); }
.card__icon {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: var(--crypto-accent-soft);
    color: var(--crypto-accent);
    border-radius: 12px;
    margin-bottom: 16px;
    transition: transform .3s ease;
}
.card:hover .card__icon { transform: scale(1.1) rotate(-6deg); }
.card__coin { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card__coin img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 3px; }
.card__title { color: var(--crypto-white); font-size: 18px; margin: 0 0 10px; }
.card__text { color: var(--crypto-text-muted); font-size: 14.5px; margin: 0; }
.card .card__anchor { color: inherit; text-decoration: none; font-weight: inherit; }
.card .card__anchor::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--crypto-accent); font-weight: 700; font-size: 14px; }
.card__link .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.card:hover .card__link .icon { transform: translateX(4px); }

.route-card {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 16px 18px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.route-card:hover { transform: translateY(-4px); border-color: var(--crypto-accent); box-shadow: var(--crypto-shadow); }
.route-card img { width: 38px; height: 38px; border-radius: 50%; background: #fff; padding: 3px; flex-shrink: 0; }
.route-card__body { flex: 1; min-width: 0; }
.route-card__title { color: var(--crypto-white); font-weight: 700; font-size: 15px; margin: 0 0 4px; }
.route-card .route-card__anchor { color: inherit; text-decoration: none; font-weight: inherit; }
.route-card .route-card__anchor::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.route-card__note { color: var(--crypto-text-muted); font-size: 13px; margin: 0; }
.route-card .icon { color: var(--crypto-accent); flex-shrink: 0; transition: transform .25s ease; }
.route-card:hover .icon { transform: translateX(4px); }

/* =====================================================================
   TABLES
   ===================================================================== */
.table-scroll { overflow-x: auto; margin: 0 0 var(--crypto-section-y); border-radius: var(--crypto-radius); border: 1px solid var(--crypto-border); }
table { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--crypto-surface); }
table th, table td { padding: 13px 16px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--crypto-border); }
table th { background: var(--crypto-surface-2); color: var(--crypto-accent); font-weight: 700; text-transform: uppercase; font-size: 12.5px; letter-spacing: .04em; }
table td { color: var(--crypto-text-muted); }
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: rgba(255, 255, 255, .02); color: var(--crypto-text); }

/* =====================================================================
   STEPS (нумерованный процесс)
   ===================================================================== */
.steps { display: grid; gap: 18px; counter-reset: step; }
.steps__item {
    display: flex; gap: 18px; align-items: flex-start;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 20px 22px;
    transition: transform .25s ease, border-color .25s ease;
}
.steps__item:hover { transform: translateX(6px); border-color: var(--crypto-accent); }
.steps__num {
    flex-shrink: 0;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--crypto-accent); color: #101010;
    border-radius: 50%; font-weight: 800;
}
.steps__body p { margin: 0; color: var(--crypto-text-muted); }
.steps__body strong { color: var(--crypto-white); }

/* =====================================================================
   STATS / BADGES / PAIR RATE
   ===================================================================== */
.pair-rate { background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 20px 24px; margin-bottom: var(--crypto-section-y); }
.pair-rate__value { font-size: 24px; font-weight: 800; color: var(--crypto-white); }
.pair-rate__meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 14px; color: var(--crypto-text-muted); }
.pair-rate__change--up { color: var(--crypto-success); font-weight: 700; }
.pair-rate__change--down { color: var(--crypto-danger); font-weight: 700; }

.price-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.price-stats__item {
    background: var(--crypto-surface); border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm); padding: 12px 18px; min-width: 130px;
}
.price-stats__label { display: block; color: var(--crypto-text-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.price-stats__value { display: block; color: var(--crypto-white); font-weight: 800; font-size: 17px; }

.spec-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--crypto-border); }
.spec-row:last-child { border-bottom: none; }
.spec-row .icon { color: var(--crypto-accent); }
.spec-row__label { color: var(--crypto-text-muted); flex: 1; }
.spec-row__value { color: var(--crypto-white); font-weight: 700; text-align: right; }

/* =====================================================================
   CHART — серверный SVG (без canvas/JS)
   ===================================================================== */
.chart { background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 18px; }
.chart__svg { width: 100%; height: auto; display: block; }
.chart__grid { stroke: var(--crypto-border); stroke-width: 1; }
.chart__grid--v { stroke-dasharray: 4 5; }
.chart__label { fill: var(--crypto-text-muted); font-size: 11px; font-family: inherit; }
.chart__area { fill: var(--crypto-accent-soft); stroke: none; }
.chart__line { fill: none; stroke: var(--crypto-accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart__dot { fill: var(--crypto-accent); stroke: var(--crypto-bg); stroke-width: 2; }
.chart-empty { background: var(--crypto-surface); border: 1px dashed var(--crypto-border); border-radius: var(--crypto-radius); padding: 30px; text-align: center; color: var(--crypto-text-muted); }

.chart-tabs { margin-bottom: var(--crypto-section-y); }
.chart-tabs__radio { position: absolute; opacity: 0; pointer-events: none; }
.chart-tabs__label {
    display: inline-block; padding: 8px 16px; margin: 0 6px 14px 0;
    border: 1px solid var(--crypto-border); border-radius: 999px;
    color: var(--crypto-text-muted); font-size: 13.5px; font-weight: 700;
    cursor: pointer; transition: all .2s ease;
}
.chart-tabs__radio:checked + .chart-tabs__label { background: var(--crypto-accent); border-color: var(--crypto-accent); color: #101010; }
.chart-tabs__label:hover { border-color: var(--crypto-accent); color: var(--crypto-accent); }
.chart-tabs__panel { display: none; }
.chart-tabs__radio:nth-of-type(1):checked ~ .chart-tabs__panels .chart-tabs__panel:nth-child(1),
.chart-tabs__radio:nth-of-type(2):checked ~ .chart-tabs__panels .chart-tabs__panel:nth-child(2),
.chart-tabs__radio:nth-of-type(3):checked ~ .chart-tabs__panels .chart-tabs__panel:nth-child(3),
.chart-tabs__radio:nth-of-type(4):checked ~ .chart-tabs__panels .chart-tabs__panel:nth-child(4),
.chart-tabs__radio:nth-of-type(5):checked ~ .chart-tabs__panels .chart-tabs__panel:nth-child(5),
.chart-tabs__radio:nth-of-type(6):checked ~ .chart-tabs__panels .chart-tabs__panel:nth-child(6) {
    display: block;
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { display: grid; gap: 14px; }
.faq__item {
    background: var(--crypto-surface); border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius); padding: 20px 24px;
    transition: border-color .25s ease, transform .25s ease;
}
.faq__item:hover { border-color: var(--crypto-accent); transform: translateY(-3px); }
.faq__q { display: flex; align-items: center; gap: 10px; color: var(--crypto-white); font-size: 16.5px; margin: 0 0 8px; }
.faq__q .icon { color: var(--crypto-accent); width: 18px; height: 18px; }
.faq__a { color: var(--crypto-text-muted); margin: 0; }

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.contact-form { background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 28px; margin: var(--crypto-section-y) 0; }
.contact-form__row { margin-bottom: 16px; }
.contact-form__label { display: block; color: var(--crypto-text-muted); font-size: 13.5px; margin-bottom: 6px; }
.contact-form__input {
    width: 100%; background: var(--crypto-bg-alt); border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm); padding: 12px 14px; color: var(--crypto-white);
    font-family: inherit; font-size: 14.5px; transition: border-color .2s ease;
}
.contact-form__input:focus { outline: none; border-color: var(--crypto-accent); }
.contact-form__textarea { resize: vertical; }
.contact-form__submit { margin-top: 6px; }
.contact-form__notice { padding: 12px 16px; border-radius: var(--crypto-radius-sm); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.contact-form__notice--success { background: rgba(22, 199, 132, .12); color: var(--crypto-success); }
.contact-form__notice--error { background: rgba(234, 57, 67, .12); color: var(--crypto-danger); }
.contact-form__notice .icon { width: 18px; height: 18px; }

.contact-channels { display: grid; gap: 14px; margin: var(--crypto-section-y) 0; }
.contact-channel { display: flex; align-items: center; gap: 14px; background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 16px 20px; transition: border-color .2s ease, transform .2s ease; }
.contact-channel:hover { border-color: var(--crypto-accent); transform: translateY(-3px); }
.contact-channel .icon { color: var(--crypto-accent); }
.contact-channel__label { display: block; color: var(--crypto-text-muted); font-size: 13px; }
.contact-channel__value { display: block; color: var(--crypto-white); font-weight: 700; }

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper { padding: 120px 0; text-align: center; }
.error404__code { font-size: clamp(80px, 16vw, 160px); font-weight: 900; color: var(--crypto-accent); line-height: 1; }
.error404__title { color: var(--crypto-white); font-size: 28px; margin: 10px 0 12px; }
.error404__text { color: var(--crypto-text-muted); margin: 0 0 28px; }

/* =====================================================================
   SCROLL REVEAL & PARALLAX ANIMATIONS
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--left { transform: translateX(-32px); }
.reveal--left.is-visible { transform: translateX(0); }
.reveal--right { transform: translateX(32px); }
.reveal--right.is-visible { transform: translateX(0); }
.reveal--scale { transform: scale(.92); }
.reveal--scale.is-visible { transform: scale(1); }
.parallax { will-change: transform; }
.widget-block#widget .widget-block__media {
    display: none;
}
.widget-block#widget {
    display: flex;
    justify-content: center;
}
.widget-block#widget .exchange-widget__frame {
    flex: 0 0 auto;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 14px;
    box-shadow: var(--crypto-shadow);
    max-width: 500px;
    width: 100%;
}
/* =====================================================================
   RESPONSIVE — 768px / 480px
   ===================================================================== */
@media (max-width: 992px) {
    .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 44px 0; }
    .container { padding: 0 18px; }
    :root { --crypto-section-y: 18px; }

    .nav__burger { display: flex; }

    .nav {
        position: fixed; top: 100%; left: 0; right: 0; height: calc(100vh - 67px);
        background: var(--crypto-bg);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .3s ease, visibility .3s ease;
        overflow-y: auto;
        z-index: 150;
        padding: 20px;
    }
    .nav.nav--mobile-open { transform: translateX(0); visibility: visible; }
    .nav .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav .nav__submenu {
        position: static; opacity: 1; visibility: visible; transform: none;
        display: none; box-shadow: none; border: none; background: var(--crypto-bg-alt);
        margin-top: 4px;
    }
    .nav .nav__submenu--grid { grid-template-columns: 1fr; min-width: 0; }
    .nav .nav__item--open .nav__submenu { display: block; }

    .hero__inner { flex-direction: column; }
    .hero__widget-col { order: -1; width: 100%; }
    .widget-block, .widget-block--reverse { flex-direction: column; }
    .exchange-widget__frame iframe { max-width: 100%; }

    .footer__grid { grid-template-columns: 1fr 1fr; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero { padding: 44px 0 32px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .footer__grid { grid-template-columns: 1fr; gap: 26px; }
    .site-header__inner { padding: 12px 16px; }
    table th, table td { padding: 10px 12px; font-size: 13.5px; }
    .card, .steps__item, .faq__item, .contact-form { padding: 18px; }
}
