/*
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.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =====================================================================
   ROOT VARIABLES — палитра «Nova Glass» (ледяной голубой фон, стекло,
   градиент голубой → лавандовый, тёмно-синий текст)
   ===================================================================== */
:root {
    --crypto-bg: #eef3fb;
    --crypto-bg-deep: #e2eaf7;
    --crypto-ice: #dbe7fa;
    --crypto-white: #ffffff;
    --crypto-glass: rgba(255, 255, 255, 0.64);
    --crypto-glass-strong: rgba(255, 255, 255, 0.8);
    --crypto-glass-border: rgba(255, 255, 255, 0.88);
    --crypto-navy: #17213b;
    --crypto-text: #1f2a44;
    --crypto-text-muted: #5b6885;
    --crypto-blue: #74b0ff;
    --crypto-periwinkle: #8a90f6;
    --crypto-violet: #a98bf7;
    --crypto-accent: #5b7cfa;
    --crypto-accent-dark: #3f5bd6;
    --crypto-accent-soft: rgba(91, 124, 250, 0.14);
    --crypto-up: #14a078;
    --crypto-down: #e0465f;
    --crypto-border: rgba(80, 110, 170, 0.16);
    --crypto-gradient: linear-gradient(135deg, #78b4ff 0%, #8a90f6 55%, #ab8cf7 100%);
    --crypto-gradient-soft: linear-gradient(150deg, rgba(120, 180, 255, 0.22) 0%, rgba(171, 140, 247, 0.2) 100%);
    --crypto-shadow: 0 18px 40px rgba(64, 94, 156, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    --crypto-shadow-hover: 0 28px 56px rgba(64, 94, 156, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    --crypto-glow: 0 14px 30px rgba(120, 140, 250, 0.38);
    --crypto-blur: blur(18px) saturate(140%);
    --crypto-radius: 26px;
    --crypto-radius-sm: 16px;
    --crypto-section-y: 22px;
    --crypto-container: 1200px;
    --crypto-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --crypto-font-head: "Sora", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --crypto-font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    background: var(--crypto-bg);
    color: var(--crypto-text);
    font-family: var(--crypto-font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
/* Фон страницы — отдельный фиксированный слой (вместо background-attachment: fixed,
   который перерисовывает весь экран на каждом кадре скролла) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(820px 520px at 88% -4%, rgba(171, 140, 247, 0.22), transparent 62%),
        radial-gradient(760px 560px at -6% 30%, rgba(120, 180, 255, 0.26), transparent 62%),
        radial-gradient(700px 500px at 70% 78%, rgba(138, 144, 246, 0.14), transparent 62%),
        linear-gradient(180deg, #f5f8fd 0%, var(--crypto-bg) 45%, var(--crypto-bg-deep) 100%);
    pointer-events: none;
    transform: translateZ(0);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 14px; line-height: 1.2; color: var(--crypto-navy); font-family: var(--crypto-font-head); font-weight: 600; }
h1 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -0.02em; }
h2 { font-size: clamp(25px, 3.1vw, 36px); letter-spacing: -0.015em; }
h3 { font-size: 19px; letter-spacing: -0.005em; }
p { margin: 0 0 14px; color: var(--crypto-text); }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 800; color: var(--crypto-navy); }
table { border-collapse: collapse; width: 100%; }
svg { display: block; }

.container { max-width: var(--crypto-container); margin: 0 auto; padding: 0 20px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Ссылки внутри текстовых блоков и ячеек таблиц */
p a,
.data-table td a {
    color: var(--crypto-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(91, 124, 250, 0.35);
    font-weight: 600;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
p a:hover,
.data-table td a:hover { color: var(--crypto-accent-dark); text-decoration-color: currentColor; }

/* Кнопки (стили через родителя: ссылки — только href и текст) */
.cta__action { margin-top: 24px; }
.cta__action a,
.cookie-popup__accept {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 30px;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    color: var(--crypto-white);
    cursor: pointer;
    background: var(--crypto-gradient);
    box-shadow: var(--crypto-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: transform 0.3s var(--crypto-ease), box-shadow 0.3s var(--crypto-ease), filter 0.3s ease;
}
.cta__action a::before {
    content: "";
    order: 2;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.3s var(--crypto-ease);
}
.cta__action a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s var(--crypto-ease);
}
.cta__action a:hover,
.cookie-popup__accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(120, 140, 250, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    filter: brightness(1.05);
}
.cta__action a:hover::before { transform: translateX(4px) rotate(-45deg); }
.cta__action a:hover::after { left: 130%; }

/* Вторичная «стеклянная» кнопка */
.cta__action--ghost a {
    color: var(--crypto-navy);
    background: var(--crypto-glass-strong);
    border: 1px solid var(--crypto-glass-border);
    box-shadow: 0 10px 24px rgba(64, 94, 156, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
}
.cta__action--ghost a:hover {
    color: var(--crypto-accent-dark);
    box-shadow: 0 16px 32px rgba(64, 94, 156, 0.2), inset 0 1px 0 rgba(255, 255, 255, 1);
}
.cta__action--ghost a::after { background: linear-gradient(90deg, transparent, rgba(138, 144, 246, 0.25), transparent); }

/* Иконки-плитки: стеклянный квадрат с градиентной иконкой */
.section__icon,
.feature__icon,
.card__icon,
.step__icon,
.legal__icon,
.faq__icon,
.note__icon,
.benefit__icon,
.hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 16px;
    color: var(--crypto-accent);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(219, 231, 250, 0.85));
    border: 1px solid var(--crypto-glass-border);
    box-shadow: 0 10px 22px rgba(64, 94, 156, 0.14), inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease), color 0.3s ease, background 0.3s ease;
}
.section__icon { width: 54px; height: 54px; padding: 13px; margin-bottom: 16px; }

/* Общая «стеклянная» поверхность. backdrop-filter здесь не используется:
   на десятках карточек он сильно тормозит скролл, а под карточками только
   плавный градиент, поэтому эффект стекла даёт полупрозрачный белый фон + рамка.
   Размытие оставлено только у шапки, выпадающих меню и cookie-попапа. */
.glass-card,
.benefit,
.feature,
.data-table-wrap,
.step,
.card,
.review,
.faq__item,
.legal__item,
.page-hero__card,
.hero__card,
.cta-banner,
.error404__inner,
.site-footer__card {
    background: var(--crypto-glass);
    border: 1px solid var(--crypto-glass-border);
    box-shadow: var(--crypto-shadow);
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 12px;
    z-index: 100;
    padding: 12px 0 10px;
}
.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 14px 10px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--crypto-glass-border);
    backdrop-filter: var(--crypto-blur);
    -webkit-backdrop-filter: var(--crypto-blur);
    box-shadow: 0 14px 34px rgba(64, 94, 156, 0.14), inset 0 1px 0 rgba(255, 255, 255, 1);
}
.site-header__logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--crypto-font-head);
    font-weight: 600;
    font-size: 19px;
    letter-spacing: 0.01em;
    color: var(--crypto-navy);
    white-space: nowrap;
}
.site-header__logo > a::after { content: ""; position: absolute; inset: 0; }
.site-header__logo img { height: 38px; width: auto; }
.site-header__logo-mark,
.site-footer__logo-mark {
    display: inline-flex;
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 14px;
    color: var(--crypto-white);
    background: var(--crypto-gradient);
    box-shadow: 0 8px 18px rgba(120, 140, 250, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.5s var(--crypto-ease);
}
.site-header__logo:hover .site-header__logo-mark { transform: rotate(-10deg) scale(1.08); }

.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__list > li { position: relative; }
.site-nav__list > li > a,
.site-nav__list > li > .menu-current,
.site-nav__group {
    display: block;
    padding: 9px 15px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    color: var(--crypto-text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-nav__list > li > a:hover,
.site-nav__group:hover,
.site-nav__list > li:focus-within > .site-nav__group,
.site-nav__list > .menu-item--open > .site-nav__group {
    color: var(--crypto-navy);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 14px rgba(64, 94, 156, 0.1);
}
.site-nav__list .menu-current {
    color: var(--crypto-white);
    background: var(--crypto-gradient);
    box-shadow: 0 8px 16px rgba(120, 140, 250, 0.32);
    cursor: default;
}
.site-nav__group::after,
.site-nav__list > .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform 0.3s var(--crypto-ease);
}
.site-nav__list > .menu-item-has-children:hover > .site-nav__group::after,
.site-nav__list > .menu-item-has-children:focus-within > .site-nav__group::after,
.site-nav__list > .menu-item--open > .site-nav__group::after { transform: translateY(0) rotate(-135deg); }

.site-nav__list .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--crypto-glass-border);
    backdrop-filter: var(--crypto-blur);
    -webkit-backdrop-filter: var(--crypto-blur);
    box-shadow: var(--crypto-shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.3s var(--crypto-ease), visibility 0.25s;
}
.site-nav__list .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.site-nav__list > li:hover > .sub-menu,
.site-nav__list > li:focus-within > .sub-menu,
.site-nav__list > .menu-item--open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav__list .sub-menu a,
.site-nav__list .sub-menu .menu-current {
    display: block;
    padding: 9px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    color: var(--crypto-text);
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.25s var(--crypto-ease);
}
.site-nav__list .sub-menu .menu-current { color: var(--crypto-white); }
.site-nav__list .sub-menu a:hover { background: var(--crypto-accent-soft); color: var(--crypto-accent-dark); padding-left: 20px; }

.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 12px;
    border: 1px solid var(--crypto-glass-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 14px rgba(64, 94, 156, 0.12);
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header__burger:hover { background: var(--crypto-white); box-shadow: 0 10px 20px rgba(64, 94, 156, 0.18); }
.site-header__burger-line {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--crypto-navy);
    transition: transform 0.3s var(--crypto-ease), opacity 0.2s ease;
}
.site-header--open .site-header__burger-line:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.site-header--open .site-header__burger-line:nth-child(3) { opacity: 0; }
.site-header--open .site-header__burger-line:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   SECTIONS & LAYOUT
   ===================================================================== */
main { display: block; padding-bottom: var(--crypto-section-y); }
.section { padding: calc(var(--crypto-section-y) * 1.6) 0; }
.section__head { max-width: 840px; margin: 0 auto 30px; text-align: center; }
.section__head .section__icon { margin-left: auto; margin-right: auto; }
.section__head > p { color: var(--crypto-text-muted); font-size: 17px; }
.section__head--left { margin: 0 0 24px; text-align: left; }
.section__head--left .section__icon { margin-left: 0; }
.section__actions { margin-top: 30px; text-align: center; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.split--reverse { grid-template-columns: 1fr 1.3fr; }
.split--top { align-items: start; }
.split--head { grid-template-columns: 1.2fr 1fr; margin-bottom: 30px; }
.split--head .section__head--left { margin-bottom: 0; }
.split--notes { grid-template-columns: 1.3fr 1fr; margin-top: 24px; }
.split--notes .note:first-child { margin-top: 0; }
.split--cta { grid-template-columns: 1fr 1.1fr; margin-top: 30px; align-items: stretch; }
.split__content > * + .feature,
.split__content > * + .data-table-wrap { margin-top: 16px; }
.split__content > .data-table-wrap + .feature { margin-top: 20px; }

/* Стеклянная карточка-подложка */
.glass-card {
    position: relative;
    border-radius: var(--crypto-radius);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}
.glass-card:hover { transform: translateY(-4px); box-shadow: var(--crypto-shadow-hover); }

/* Карточка с призывом (светлое стекло с голубо-лавандовым оттенком) */
.cta-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
    border-radius: var(--crypto-radius);
    background:
        radial-gradient(320px 200px at 100% 0%, rgba(171, 140, 247, 0.3), transparent 70%),
        var(--crypto-gradient-soft),
        rgba(255, 255, 255, 0.62);
    border: 1px solid var(--crypto-glass-border);
    box-shadow: var(--crypto-shadow);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}
.cta-card:hover { transform: translateY(-4px); box-shadow: var(--crypto-shadow-hover); }
.cta-card p { font-size: 17px; color: var(--crypto-text); }
.cta-card .section__icon { margin-bottom: 18px; }

/* Картинки в стеклянной рамке */
.media-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--crypto-radius);
    border: 6px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--crypto-shadow);
    aspect-ratio: 4 / 3;
    transition: transform 0.45s var(--crypto-ease), box-shadow 0.45s var(--crypto-ease);
}
.media-card--tall { aspect-ratio: 4 / 4.6; }
.split--cta .media-card { aspect-ratio: auto; min-height: 280px; }
.media-card__img { position: absolute; inset: -26px 0; transform: translate3d(0, var(--parallax-shift, 0px), 0); will-change: transform; }
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--crypto-ease), filter 0.5s ease; }
.media-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), transparent 38%, rgba(120, 140, 250, 0.18));
    pointer-events: none;
}
.media-card::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -70%;
    z-index: 1;
    width: 45%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: rotate(18deg);
    transition: left 0.9s var(--crypto-ease);
    pointer-events: none;
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow-hover); }
.media-card:hover::before { left: 130%; }
.media-card:hover img { transform: scale(1.07); filter: saturate(1.15) brightness(1.04); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { padding: 14px 0 var(--crypto-section-y); }
.hero__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    grid-template-areas: "content widget" "extra widget";
    gap: 22px 44px;
    padding: 48px;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(520px 340px at 100% 0%, rgba(171, 140, 247, 0.26), transparent 70%),
        radial-gradient(480px 300px at 0% 100%, rgba(120, 180, 255, 0.24), transparent 70%),
        rgba(255, 255, 255, 0.55);
}
.hero__card::before {
    content: "";
    position: absolute;
    top: -140px;
    left: 40%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(138, 144, 246, 0.25) 60%, transparent 72%);
    will-change: transform;
    animation: crypto-drift 12s ease-in-out infinite;
    pointer-events: none;
}
.hero__card::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(138, 144, 246, 0.35);
    box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.18), 0 0 0 52px rgba(255, 255, 255, 0.1);
    animation: crypto-spin 40s linear infinite;
    pointer-events: none;
}
.hero__content { position: relative; z-index: 1; grid-area: content; align-self: end; }
.hero__content h1 {
    background: linear-gradient(180deg, #17213b 0%, #3d4c74 70%, #6a7bb0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__content p { color: var(--crypto-text-muted); font-size: 17px; }
.hero__badge { width: 64px; height: 64px; padding: 15px; margin-bottom: 22px; color: var(--crypto-white); background: var(--crypto-gradient); box-shadow: var(--crypto-glow); animation: crypto-float 5s ease-in-out infinite; }
.hero__widget { position: relative; z-index: 1; grid-area: widget; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; }
.hero__extra { position: relative; z-index: 1; grid-area: extra; align-self: start; }
.hero__extra .note { margin-top: 0; }

.exchange-widget {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border-radius: var(--crypto-radius);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--crypto-glass-border);
    box-shadow: 0 24px 50px rgba(64, 94, 156, 0.2), inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}
.exchange-widget:hover { transform: translateY(-4px); box-shadow: 0 32px 60px rgba(64, 94, 156, 0.26), 0 0 0 4px rgba(138, 144, 246, 0.18); }
.exchange-widget iframe { display: block; width: 100%; max-width: 500px; height: 400px; border: 0; border-radius: 18px; }

@keyframes crypto-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes crypto-drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, 30px); }
}
@keyframes crypto-spin { to { transform: rotate(360deg); } }

/* =====================================================================
   PAGE HERO (юридические страницы)
   ===================================================================== */
.page-hero { padding: 14px 0 var(--crypto-section-y); }
.page-hero__card {
    position: relative;
    padding: 42px;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(480px 300px at 100% 0%, rgba(171, 140, 247, 0.22), transparent 70%),
        rgba(255, 255, 255, 0.55);
}
.page-hero__card h1 {
    font-size: clamp(28px, 3.6vw, 42px);
    background: linear-gradient(180deg, #17213b 0%, #3d4c74 75%, #6a7bb0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.page-hero__card p { color: var(--crypto-text-muted); font-size: 17px; }
.page-hero__card .media-card { max-width: 420px; justify-self: end; width: 100%; }

/* =====================================================================
   BENEFITS, FEATURES, NOTES
   ===================================================================== */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.benefit {
    position: relative;
    padding: 24px 22px;
    overflow: hidden;
    border-radius: var(--crypto-radius);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease), border-color 0.3s ease;
}
.benefit::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--crypto-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--crypto-ease);
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow-hover); border-color: rgba(138, 144, 246, 0.45); }
.benefit:hover::before { transform: scaleX(1); }
.benefit:hover .benefit__icon { color: var(--crypto-white); background: var(--crypto-gradient); transform: rotate(-8deg) scale(1.08); box-shadow: var(--crypto-glow); }
.benefit__icon { width: 50px; height: 50px; padding: 12px; margin-bottom: 18px; }
.benefit h3 { font-size: 17px; margin-bottom: 10px; }
.benefit p { font-size: 15px; color: var(--crypto-text-muted); }

.feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 22px;
    border-radius: var(--crypto-radius);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}
.feature--violet { background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(226, 216, 252, 0.6)); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--crypto-shadow-hover); }
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.08); color: var(--crypto-white); background: var(--crypto-gradient); }
.feature__icon { width: 48px; height: 48px; padding: 12px; }
.feature--violet .feature__icon { color: var(--crypto-violet); }
.feature__body p { color: var(--crypto-text-muted); }

.note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: var(--crypto-radius-sm);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 3px solid var(--crypto-periwinkle);
    transition: background-color 0.3s ease, transform 0.3s var(--crypto-ease), box-shadow 0.3s ease;
}
.note:hover { background: rgba(255, 255, 255, 0.85); transform: translateX(4px); box-shadow: 0 10px 22px rgba(64, 94, 156, 0.12); }
.note__icon { width: 38px; height: 38px; padding: 8px; border-radius: 12px; }
.note p { color: var(--crypto-text-muted); }
.note--glass { background: rgba(255, 255, 255, 0.72); box-shadow: 0 10px 24px rgba(64, 94, 156, 0.1); }
.note--center { max-width: 900px; margin: 0 auto 26px; }

/* =====================================================================
   TABLES
   ===================================================================== */
.data-table-wrap {
    overflow-x: auto;
    border-radius: var(--crypto-radius);
    transition: box-shadow 0.4s var(--crypto-ease);
}
.data-table-wrap:hover { box-shadow: var(--crypto-shadow-hover); }
.data-table { min-width: 460px; }
.data-table--compare { min-width: 680px; }
.data-table thead th {
    padding: 16px 18px;
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--crypto-navy);
    background: var(--crypto-gradient-soft);
    border-bottom: 1px solid var(--crypto-border);
}
.data-table td,
.data-table tbody th,
.data-table tfoot th { padding: 15px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--crypto-border); color: var(--crypto-text-muted); font-weight: 500; }
.data-table tbody tr:first-child td { border-top: 0; }
.data-table tbody tr { transition: background-color 0.25s ease; }
.data-table tbody tr:hover { background: rgba(255, 255, 255, 0.75); }
.data-table__name { font-weight: 800 !important; color: var(--crypto-navy) !important; }
.data-table__mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; }
.data-table__icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    padding: 6px;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 10px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    transition: transform 0.3s var(--crypto-ease), color 0.3s ease, background 0.3s ease;
}
.data-table tbody tr:hover .data-table__icon { transform: scale(1.12) rotate(-6deg); color: var(--crypto-white); background: var(--crypto-gradient); }

/* Таблица конвертации сумм */
.data-table--rates { min-width: 640px; }
.data-table--rates td { font-variant-numeric: tabular-nums; color: var(--crypto-text); font-weight: 600; }
.data-table--rates tbody th { white-space: nowrap; }
.data-table--rates tfoot th,
.data-table--rates tfoot td { background: var(--crypto-gradient-soft); border-top: 2px solid var(--crypto-border); color: var(--crypto-navy); font-weight: 800; }
.pair-table .rate__meta { margin-top: 14px; }

/* =====================================================================
   CHART (общая секция графика) И СВОДКА КУРСА
   ===================================================================== */
.chart-card { padding: 28px; }
.rate__cur-radio,
.rate__radio { position: absolute; opacity: 0; pointer-events: none; }
.rate__currencies { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.rate__currency {
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 15px;
    color: var(--crypto-navy);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--crypto-glass-border);
    cursor: pointer;
    transition: transform 0.25s var(--crypto-ease), background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.rate__currency:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(64, 94, 156, 0.14); }
.rate__currency-pair { font-weight: 600; opacity: 0.6; }
.rate--multi .rate__cur-panel { display: none; animation: crypto-fade 0.4s var(--crypto-ease); }
.rate__cur-radio:nth-of-type(1):checked ~ .rate__cur-panels > .rate__cur-panel:nth-child(1),
.rate__cur-radio:nth-of-type(2):checked ~ .rate__cur-panels > .rate__cur-panel:nth-child(2),
.rate__cur-radio:nth-of-type(3):checked ~ .rate__cur-panels > .rate__cur-panel:nth-child(3),
.rate__cur-radio:nth-of-type(4):checked ~ .rate__cur-panels > .rate__cur-panel:nth-child(4),
.rate__cur-radio:nth-of-type(5):checked ~ .rate__cur-panels > .rate__cur-panel:nth-child(5),
.rate__cur-radio:nth-of-type(6):checked ~ .rate__cur-panels > .rate__cur-panel:nth-child(6) { display: block; }
.rate__cur-radio:nth-of-type(1):checked ~ .rate__currencies .rate__currency:nth-child(1),
.rate__cur-radio:nth-of-type(2):checked ~ .rate__currencies .rate__currency:nth-child(2),
.rate__cur-radio:nth-of-type(3):checked ~ .rate__currencies .rate__currency:nth-child(3),
.rate__cur-radio:nth-of-type(4):checked ~ .rate__currencies .rate__currency:nth-child(4),
.rate__cur-radio:nth-of-type(5):checked ~ .rate__currencies .rate__currency:nth-child(5),
.rate__cur-radio:nth-of-type(6):checked ~ .rate__currencies .rate__currency:nth-child(6) {
    color: var(--crypto-white);
    background: var(--crypto-gradient);
    border-color: transparent;
    box-shadow: var(--crypto-glow);
}
.rate__cur-radio:nth-of-type(1):focus-visible ~ .rate__currencies .rate__currency:nth-child(1),
.rate__cur-radio:nth-of-type(2):focus-visible ~ .rate__currencies .rate__currency:nth-child(2),
.rate__cur-radio:nth-of-type(3):focus-visible ~ .rate__currencies .rate__currency:nth-child(3),
.rate__cur-radio:nth-of-type(4):focus-visible ~ .rate__currencies .rate__currency:nth-child(4),
.rate__cur-radio:nth-of-type(5):focus-visible ~ .rate__currencies .rate__currency:nth-child(5),
.rate__cur-radio:nth-of-type(6):focus-visible ~ .rate__currencies .rate__currency:nth-child(6) { outline: 2px solid var(--crypto-accent); outline-offset: 2px; }

.rate__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0 0 20px; }
.rate__stat {
    padding: 14px 16px;
    border-radius: var(--crypto-radius-sm);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--crypto-glass-border);
    transition: transform 0.3s var(--crypto-ease), box-shadow 0.3s var(--crypto-ease);
}
.rate__stat:first-child { background: var(--crypto-gradient-soft), rgba(255, 255, 255, 0.7); }
.rate__stat:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(64, 94, 156, 0.14); }
.rate__stat dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--crypto-text-muted); }
.rate__stat dd { margin: 4px 0 0; font-family: var(--crypto-font-head); font-size: 22px; font-weight: 600; color: var(--crypto-navy); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rate__value--up { color: var(--crypto-up) !important; }
.rate__value--down { color: var(--crypto-down) !important; }

.rate__periods { position: relative; }
.rate__tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--crypto-glass-border);
}
.rate__tab {
    padding: 6px 16px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    color: var(--crypto-text-muted);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.rate__tab:hover { color: var(--crypto-navy); background: rgba(255, 255, 255, 0.95); }
.rate__panel { display: none; animation: crypto-fade 0.4s var(--crypto-ease); }
.rate__radio:nth-of-type(1):checked ~ .rate__panels .rate__panel:nth-child(1),
.rate__radio:nth-of-type(2):checked ~ .rate__panels .rate__panel:nth-child(2),
.rate__radio:nth-of-type(3):checked ~ .rate__panels .rate__panel:nth-child(3),
.rate__radio:nth-of-type(4):checked ~ .rate__panels .rate__panel:nth-child(4),
.rate__radio:nth-of-type(5):checked ~ .rate__panels .rate__panel:nth-child(5),
.rate__radio:nth-of-type(6):checked ~ .rate__panels .rate__panel:nth-child(6) { display: block; }
.rate__radio:nth-of-type(1):checked ~ .rate__tabs .rate__tab:nth-child(1),
.rate__radio:nth-of-type(2):checked ~ .rate__tabs .rate__tab:nth-child(2),
.rate__radio:nth-of-type(3):checked ~ .rate__tabs .rate__tab:nth-child(3),
.rate__radio:nth-of-type(4):checked ~ .rate__tabs .rate__tab:nth-child(4),
.rate__radio:nth-of-type(5):checked ~ .rate__tabs .rate__tab:nth-child(5),
.rate__radio:nth-of-type(6):checked ~ .rate__tabs .rate__tab:nth-child(6) {
    color: var(--crypto-white);
    background: var(--crypto-gradient);
    box-shadow: 0 6px 14px rgba(120, 140, 250, 0.35);
}
.rate__radio:nth-of-type(1):focus-visible ~ .rate__tabs .rate__tab:nth-child(1),
.rate__radio:nth-of-type(2):focus-visible ~ .rate__tabs .rate__tab:nth-child(2),
.rate__radio:nth-of-type(3):focus-visible ~ .rate__tabs .rate__tab:nth-child(3),
.rate__radio:nth-of-type(4):focus-visible ~ .rate__tabs .rate__tab:nth-child(4),
.rate__radio:nth-of-type(5):focus-visible ~ .rate__tabs .rate__tab:nth-child(5),
.rate__radio:nth-of-type(6):focus-visible ~ .rate__tabs .rate__tab:nth-child(6) { outline: 2px solid var(--crypto-accent); outline-offset: 2px; }

.rate__range { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; }
.rate__range-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--crypto-glass-border);
    transition: transform 0.3s var(--crypto-ease), box-shadow 0.3s ease;
}
.rate__range-item:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(64, 94, 156, 0.12); }
.rate__range-item::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; }
.rate__range-item--high::before { border-bottom: 9px solid var(--crypto-up); }
.rate__range-item--low::before { border-top: 9px solid var(--crypto-down); }
.rate__range dt { font-size: 13px; font-weight: 700; color: var(--crypto-text-muted); }
.rate__range dd { margin: 0; font-weight: 800; color: var(--crypto-navy); font-variant-numeric: tabular-nums; }

.rate__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; font-size: 13px; color: var(--crypto-text-muted); }
.rate__meta-item { display: inline-flex; align-items: center; gap: 6px; }
.rate__meta-item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--crypto-accent); animation: crypto-pulse 2s ease-in-out infinite; }
.rate__meta-item--time::before { background: var(--crypto-violet); }

.chart { position: relative; }
.chart__svg { width: 100%; height: auto; overflow: visible; }
.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: var(--crypto-font-body); font-weight: 700; }
.chart__area { fill: var(--crypto-accent-soft); }
.chart__line {
    fill: none;
    stroke: var(--crypto-accent);
    stroke-width: 2.6;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 2400;
    stroke-dashoffset: 0;
    animation: crypto-draw 1.6s var(--crypto-ease);
}
.chart__dot { fill: var(--crypto-white); stroke: var(--crypto-accent); stroke-width: 3; animation: crypto-pulse 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.chart__hit { fill: transparent; pointer-events: all; }
.chart__tip > :not(.chart__hit) { opacity: 0; pointer-events: none; transition: opacity 0.18s ease; }
.chart__tip:hover > * { opacity: 1; }
.chart__tip-line { stroke: var(--crypto-periwinkle); stroke-width: 1; stroke-dasharray: 3 3; }
.chart__tip-dot { fill: var(--crypto-white); stroke: var(--crypto-accent); stroke-width: 3; }
.chart__tip-box { fill: var(--crypto-navy); }
.chart__tip-date { fill: rgba(219, 231, 250, 0.8); font-size: 11px; font-family: var(--crypto-font-body); font-weight: 600; }
.chart__tip-value { fill: var(--crypto-white); font-size: 12px; font-family: var(--crypto-font-body); font-weight: 800; }
.chart-empty {
    padding: 22px;
    border-radius: var(--crypto-radius-sm);
    text-align: center;
    color: var(--crypto-text-muted);
    background: rgba(255, 255, 255, 0.6);
    border: 1px dashed var(--crypto-border);
}

@keyframes crypto-draw { from { stroke-dashoffset: 2400; } to { stroke-dashoffset: 0; } }
@keyframes crypto-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes crypto-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   STEPS
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step {
    position: relative;
    padding: 28px 22px 24px;
    border-radius: var(--crypto-radius);
    counter-increment: step;
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}
.step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--crypto-font-head);
    font-size: 36px;
    font-weight: 700;
    background: var(--crypto-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.35;
    transition: opacity 0.3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow-hover); }
.step:hover::before { opacity: 0.8; }
.step:hover .step__icon { transform: scale(1.1) rotate(-6deg); color: var(--crypto-white); background: var(--crypto-gradient); }
.step__icon { width: 50px; height: 50px; padding: 12px; margin-bottom: 16px; }
.step p { font-size: 15px; color: var(--crypto-text-muted); }
.step p b { display: block; margin-bottom: 6px; font-family: var(--crypto-font-head); font-size: 17px; font-weight: 600; color: var(--crypto-navy); }

/* =====================================================================
   CARDS (about / contact)
   ===================================================================== */
.card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    border-radius: var(--crypto-radius);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}
.card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -60%;
    width: 50%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(20deg) translateX(-120%);
    transition: transform 0.9s var(--crypto-ease);
    pointer-events: none;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--crypto-shadow-hover); }
.card:hover::after { transform: rotate(20deg) translateX(420%); }
.card:hover .card__icon { transform: scale(1.1) rotate(-8deg); }
.card__icon { width: 54px; height: 54px; padding: 13px; margin-bottom: 18px; }
.card h2 { font-size: clamp(22px, 2.4vw, 28px); }
.card p { color: var(--crypto-text-muted); }

.about-contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: stretch; }
.card--media { padding-top: 0; }
.card__img { margin: 0 -30px 22px; height: 260px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--crypto-ease); }
.card--media:hover .card__img img { transform: scale(1.06); }
.card--media .card__icon { position: relative; z-index: 1; margin-top: -52px; color: var(--crypto-white); background: var(--crypto-gradient); box-shadow: var(--crypto-glow); }
.card--contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(360px 220px at 100% 0%, rgba(171, 140, 247, 0.3), transparent 70%),
        var(--crypto-gradient-soft),
        rgba(255, 255, 255, 0.55);
}
.card--contact .card__icon { color: var(--crypto-white); background: var(--crypto-gradient); box-shadow: var(--crypto-glow); }

/* =====================================================================
   CTA BANNER (Swap AAVE at a Competitive Rate)
   ===================================================================== */
.cta-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    padding: 46px 52px;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(420px 260px at 92% 50%, rgba(171, 140, 247, 0.32), transparent 70%),
        radial-gradient(420px 260px at 0% 0%, rgba(120, 180, 255, 0.26), transparent 70%),
        rgba(255, 255, 255, 0.55);
    transition: box-shadow 0.4s var(--crypto-ease);
}
.cta-banner:hover { box-shadow: var(--crypto-shadow-hover); }
.cta-banner__content { position: relative; z-index: 1; max-width: 680px; }
.cta-banner__content p { color: var(--crypto-text-muted); font-size: 17px; }
.cta-banner__crystal {
    position: relative;
    display: inline-flex;
    width: 190px;
    height: 190px;
    padding: 46px;
    border-radius: 48px;
    color: var(--crypto-white);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0) 55%),
        var(--crypto-gradient);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 60px rgba(120, 140, 250, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.7);
    transform: rotate(-10deg);
    animation: crypto-crystal 7s ease-in-out infinite;
    transition: box-shadow 0.4s ease;
}
.cta-banner__crystal::before {
    content: "";
    position: absolute;
    inset: -22px;
    border-radius: 60px;
    border: 1px solid rgba(138, 144, 246, 0.35);
}
.cta-banner:hover .cta-banner__crystal { box-shadow: 0 36px 70px rgba(120, 140, 250, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.8); }

@keyframes crypto-crystal {
    0%, 100% { transform: rotate(-10deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-12px); }
}

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.review {
    grid-column: span 2;
    padding: 24px;
    border-radius: var(--crypto-radius);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}
.review:nth-child(4) { grid-column: 2 / span 2; }
.review:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow-hover); }
.review__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-family: var(--crypto-font-head);
    font-weight: 600;
    font-size: 21px;
    color: var(--crypto-white);
    background: var(--crypto-gradient);
    box-shadow: var(--crypto-glow);
    transition: transform 0.4s var(--crypto-ease);
}
.review:nth-child(even) .review__avatar { color: var(--crypto-accent-dark); background: linear-gradient(145deg, var(--crypto-white), var(--crypto-ice)); box-shadow: 0 8px 18px rgba(64, 94, 156, 0.16); }
.review:hover .review__avatar { transform: scale(1.08) rotate(-6deg); }
.review__name { margin: 0 0 4px; font-size: 17px; }
.review__stars { display: flex; gap: 2px; }
.review__star { width: 16px; height: 16px; color: rgba(91, 124, 250, 0.22); }
.review__star svg { width: 100%; height: 100%; }
.review__star--on { color: var(--crypto-periwinkle); }
.review__star--on svg { fill: currentColor; }
.review p { color: var(--crypto-text-muted); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.faq__item {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-radius: var(--crypto-radius);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease), border-color 0.3s ease;
}
.faq__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.faq__item:hover { transform: translateY(-5px); box-shadow: var(--crypto-shadow-hover); border-color: rgba(138, 144, 246, 0.5); }
.faq__item:hover .faq__icon { transform: rotate(-12deg) scale(1.08); color: var(--crypto-white); background: var(--crypto-gradient); }
.faq__icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; }
.faq__item:nth-child(even) .faq__icon { color: var(--crypto-violet); }
.faq__body h3 { margin-bottom: 8px; font-size: 18px; }
.faq__body p { color: var(--crypto-text-muted); }

/* =====================================================================
   LEGAL
   ===================================================================== */
.legal { display: grid; gap: 18px; max-width: 980px; }
.legal__item {
    display: flex;
    gap: 20px;
    padding: 28px;
    border-radius: var(--crypto-radius);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}
.legal__item:nth-child(even) { background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(226, 216, 252, 0.55)); }
.legal__item:nth-child(even) .legal__icon { color: var(--crypto-violet); }
.legal__item:hover { transform: translateX(6px); box-shadow: var(--crypto-shadow-hover); }
.legal__item:hover .legal__icon { transform: scale(1.1) rotate(-6deg); color: var(--crypto-white); background: var(--crypto-gradient); }
.legal__icon { width: 52px; height: 52px; padding: 13px; }
.legal__body h2 { font-size: clamp(21px, 2.4vw, 26px); }
.legal__body p { color: var(--crypto-text-muted); }

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper { padding: 60px 0; }
.error404__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 50px 30px;
    text-align: center;
    border-radius: 32px;
}
.error404__icon { display: inline-flex; width: 64px; height: 64px; padding: 15px; border-radius: 18px; color: var(--crypto-white); background: var(--crypto-gradient); box-shadow: var(--crypto-glow); }
.error404__code {
    font-family: var(--crypto-font-head);
    font-size: clamp(90px, 18vw, 160px);
    font-weight: 700;
    line-height: 1;
    background: var(--crypto-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: crypto-float 5s ease-in-out infinite;
}
.error404__text { color: var(--crypto-text-muted); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { margin-top: var(--crypto-section-y); padding: 0 0 20px; }
.site-footer__card {
    padding: 42px 40px 22px;
    border-radius: 32px;
    background:
        radial-gradient(520px 300px at 100% 0%, rgba(171, 140, 247, 0.2), transparent 70%),
        rgba(255, 255, 255, 0.58);
}
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--crypto-font-head); font-weight: 600; font-size: 19px; color: var(--crypto-navy); }
.site-footer__logo:hover .site-footer__logo-mark { transform: rotate(-10deg) scale(1.08); }
.site-footer__identity { max-width: 320px; color: var(--crypto-text-muted); }
.site-footer__title { margin-bottom: 14px; font-family: var(--crypto-font-body); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crypto-navy); }
.footer-menu { display: grid; gap: 8px; }
.footer-menu > li > a,
.footer-menu > li > .menu-current {
    position: relative;
    display: inline-block;
    color: var(--crypto-text-muted);
    font-weight: 600;
    transition: color 0.2s ease, transform 0.25s var(--crypto-ease);
}
.footer-menu > li > a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--crypto-gradient);
    transition: width 0.3s var(--crypto-ease);
}
.footer-menu > li > a:hover { color: var(--crypto-accent-dark); transform: translateX(4px); }
.footer-menu > li > a:hover::before { width: 100%; }
.footer-menu .menu-current { color: var(--crypto-accent); font-weight: 800; }
.site-footer__bottom {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--crypto-border);
    font-size: 14px;
    color: var(--crypto-text-muted);
}

/* =====================================================================
   COOKIE POPUP
   ===================================================================== */
.cookie-popup {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(760px, calc(100% - 32px));
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--crypto-glass-border);
    backdrop-filter: var(--crypto-blur);
    -webkit-backdrop-filter: var(--crypto-blur);
    box-shadow: 0 24px 50px rgba(64, 94, 156, 0.25);
    opacity: 0;
    transform: translate(-50%, 30px);
    transition: opacity 0.4s ease, transform 0.5s var(--crypto-ease);
}
.cookie-popup--visible { opacity: 1; transform: translate(-50%, 0); }
.cookie-popup__icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 11px;
    border-radius: 16px;
    color: var(--crypto-white);
    background: var(--crypto-gradient);
    box-shadow: var(--crypto-glow);
    animation: crypto-float 4s ease-in-out infinite;
}
.cookie-popup__body { flex: 1; }
.cookie-popup__title { margin: 0 0 4px; font-weight: 800; color: var(--crypto-navy); }
.cookie-popup__text { margin: 0; font-size: 14px; color: var(--crypto-text-muted); }
.cookie-popup__accept { flex-shrink: 0; padding: 12px 26px; }

/* =====================================================================
   SCROLL ANIMATIONS (скрываем только при включённом JS)
   ===================================================================== */
.js-reveal .reveal {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity 0.6s var(--crypto-ease), transform 0.6s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .glass-card.reveal.is-visible:hover,
.js-reveal .cta-card.reveal.is-visible:hover { transform: translateY(-4px); }
.js-reveal .feature.reveal.is-visible:hover { transform: translateY(-5px); }
.js-reveal .media-card.reveal.is-visible:hover { transform: translateY(-6px); }
.js-reveal .benefit.reveal.is-visible:hover,
.js-reveal .step.reveal.is-visible:hover,
.js-reveal .review.reveal.is-visible:hover { transform: translateY(-6px); }
.js-reveal .card.reveal.is-visible:hover { transform: translateY(-7px); }
.js-reveal .faq__item.reveal.is-visible:hover { transform: translateY(-5px); }
.js-reveal .legal__item.reveal.is-visible:hover { transform: translateX(6px); }
.js-reveal .note.reveal.is-visible:hover { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js-reveal .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
    .hero__card { grid-template-columns: 1fr; grid-template-areas: "content" "widget" "extra"; padding: 40px; }
    .hero__widget { align-items: flex-start; }
    .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reviews { grid-template-columns: repeat(2, 1fr); }
    .review, .review:nth-child(4) { grid-column: auto; }
    .review:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
    .site-header__burger { display: inline-flex; }
    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        max-height: 0;
        overflow: hidden;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid var(--crypto-glass-border);
        backdrop-filter: var(--crypto-blur);
        -webkit-backdrop-filter: var(--crypto-blur);
        box-shadow: 0 20px 40px rgba(64, 94, 156, 0.22);
        opacity: 0;
        transform: translateY(-8px);
        transition: max-height 0.45s var(--crypto-ease), opacity 0.3s ease, transform 0.35s var(--crypto-ease);
    }
    .site-header--open .site-nav { max-height: calc(100vh - 120px); overflow-y: auto; opacity: 1; transform: none; }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; }
    .site-nav__list > li > a,
    .site-nav__list > li > .menu-current,
    .site-nav__group { width: 100%; text-align: left; padding: 12px 16px; font-size: 16px; }
    .site-nav__group { display: flex; justify-content: space-between; align-items: center; }
    .site-nav__list .sub-menu {
        position: static;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 16px;
        background: transparent;
        border: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.4s var(--crypto-ease);
    }
    .site-nav__list > li:hover > .sub-menu,
    .site-nav__list > li:focus-within > .sub-menu { max-height: 0; }
    .site-nav__list > li.menu-item--open > .sub-menu { max-height: 420px; padding-bottom: 6px; }
    .site-nav__list .sub-menu a { white-space: normal; }

    .split, .split--reverse, .split--cta, .split--head, .split--notes, .about-contact { grid-template-columns: 1fr; }
    .split--reverse > .media-card { order: 2; }
    .media-card--tall { aspect-ratio: 4 / 3; }
    .page-hero__card .media-card { justify-self: stretch; max-width: none; }
    .cta-banner { grid-template-columns: 1fr; padding: 40px; }
    .cta-banner__crystal { width: 130px; height: 130px; padding: 32px; border-radius: 36px; justify-self: start; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --crypto-section-y: 18px; }
    .section { padding: calc(var(--crypto-section-y) * 1.8) 0; }
    .hero__card, .page-hero__card { padding: 30px 22px; border-radius: 26px; }
    .benefits, .steps, .faq, .reviews { grid-template-columns: 1fr; }
    .faq__item:last-child:nth-child(odd), .review:last-child:nth-child(odd) { grid-column: auto; }
    .legal__item, .feature, .faq__item { flex-direction: column; gap: 14px; }
    .chart-card, .cta-card { padding: 22px 18px; }
    .cta-banner { padding: 30px 22px; border-radius: 26px; }
    .rate__currency { padding: 8px 14px; font-size: 14px; }
    .site-footer__card { padding: 32px 22px 20px; border-radius: 26px; }
    .cookie-popup { flex-direction: column; align-items: stretch; text-align: left; }
    .cookie-popup__icon { display: none; }
    .cookie-popup__accept { width: 100%; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }
    .container { padding: 0 16px; }
    .site-header .container { padding: 0 12px; }
    .site-header__inner { padding: 8px 10px 8px 14px; }
    .site-header__logo { font-size: 17px; }
    .site-header__logo-mark { width: 38px; height: 38px; padding: 8px; }
    .hero__card, .page-hero__card { padding: 26px 16px; }
    .exchange-widget { padding: 6px; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .card, .legal__item, .step, .review, .benefit { padding: 22px 18px; }
    .card__img { margin: 0 -18px 20px; height: 200px; }
    .rate__stats { grid-template-columns: 1fr 1fr; }
    .rate__stat dd { font-size: 17px; }
    .rate__currency-pair { display: none; }
    .cta__action a { width: 100%; }
    .cta-banner__crystal { display: none; }
}
