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

/* =====================================================================
   ROOT VARIABLES — Emerald + Cherry palette
   ===================================================================== */
:root {
    /* Палитра с мудборда: вишня, тёмное вино, шалфей, глубокий изумруд, почти чёрный */
    --crypto-cherry-700: #7b0a1e;
    --crypto-cherry-900: #3b0a10;
    --crypto-emerald-500: #3e5f4c;
    --crypto-emerald-900: #12291c;
    --crypto-ink: #0e0f0d;

    /* Производные оттенки */
    --crypto-cherry-500: #a8142f;
    --crypto-cherry-300: #e2475f;
    --crypto-emerald-700: #1d3b2b;
    --crypto-emerald-300: #8fb8a0;

    --crypto-bg: var(--crypto-ink);
    --crypto-surface: #121d17;
    --crypto-surface-2: #172a20;
    --crypto-text: #f3eee7;
    --crypto-text-muted: #a9b8ae;
    --crypto-border: rgba(143, 184, 160, 0.2);
    --crypto-accent: #e2475f;
    --crypto-accent-soft: rgba(226, 71, 95, 0.16);
    --crypto-up: #5fd39a;
    --crypto-down: #ff7088;

    --crypto-radius: 20px;
    --crypto-radius-sm: 12px;
    --crypto-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    --crypto-shadow-hover: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(226, 71, 95, 0.35);
    --crypto-section-y: 24px;
    --crypto-header-h: 72px;
    --crypto-ease: cubic-bezier(0.22, 1, 0.36, 1);

    --crypto-font-head: "Quicksand", "Inter", system-ui, sans-serif;
    --crypto-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* =====================================================================
   BASE
   ===================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--crypto-header-h) + 16px);
}

body {
    margin: 0;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(123, 10, 30, 0.35), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(62, 95, 76, 0.25), transparent 60%),
        var(--crypto-bg);
    background-attachment: fixed;
    color: var(--crypto-text);
    font-family: var(--crypto-font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--crypto-accent);
    transition: color 0.25s ease;
}

a:hover {
    color: #ff8196;
}

h1,
h2,
h3 {
    font-family: var(--crypto-font-head);
    line-height: 1.2;
    margin: 0 0 14px;
    color: var(--crypto-text);
}

h1 {
    font-size: clamp(32px, 4.6vw, 54px);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
}

h3 {
    font-size: 20px;
    font-weight: 700;
}

p {
    margin: 0 0 14px;
}

p a {
    color: var(--crypto-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

b,
strong {
    font-weight: 700;
    color: #fff;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
    background: var(--crypto-accent-soft);
    color: #ffb3c0;
    padding: 2px 6px;
    border-radius: 6px;
}

[id] {
    scroll-margin-top: calc(var(--crypto-header-h) + 16px);
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

::selection {
    background: var(--crypto-cherry-700);
    color: #fff;
}

/* =====================================================================
   BUTTONS (адаптация btn-11 из макета: блик + подъём)
   ===================================================================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--crypto-font-head);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.35s var(--crypto-ease), box-shadow 0.35s ease, background 0.35s ease, color 0.25s ease;
}

.btn--primary {
    background: linear-gradient(135deg, var(--crypto-cherry-500) 0%, var(--crypto-cherry-700) 60%, var(--crypto-cherry-900) 100%);
    color: #fff;
    box-shadow: 0 10px 26px rgba(123, 10, 30, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--primary::before {
    content: "";
    position: absolute;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    animation: btn-shine 3.2s ease-in-out infinite;
}

.btn--primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(168, 20, 47, 0.6), 0 0 0 4px rgba(226, 71, 95, 0.18);
}

.btn--ghost {
    background: rgba(62, 95, 76, 0.18);
    border-color: rgba(143, 184, 160, 0.45);
    color: var(--crypto-text);
}

.btn--ghost:hover {
    color: #fff;
    background: var(--crypto-emerald-500);
    transform: translateY(-3px);
}

.btn .icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .icon {
    transform: translateX(4px);
}

@keyframes btn-shine {
    0% { transform: scale(0) rotate(45deg); opacity: 0; }
    80% { transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { transform: scale(4) rotate(45deg); opacity: 1; }
    100% { transform: scale(50) rotate(45deg); opacity: 0; }
}

/* =====================================================================
   HEADER + MOBILE MENU
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 15, 13, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header--scrolled {
    background: rgba(14, 15, 13, 0.94);
    border-bottom-color: var(--crypto-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--crypto-header-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--crypto-text);
}

.logo__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--crypto-cherry-500), var(--crypto-cherry-900));
    color: #fff;
    box-shadow: 0 8px 20px rgba(123, 10, 30, 0.5);
    transition: transform 0.5s var(--crypto-ease);
}

.logo:hover .logo__mark {
    transform: rotate(-12deg) scale(1.08);
}

.logo__text {
    font-family: var(--crypto-font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--crypto-text);
}

.logo__text b {
    color: var(--crypto-cherry-300);
}

.site-header__logo img {
    max-height: 44px;
    width: auto;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu__item {
    position: relative;
}

.header-menu__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--crypto-text);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.header-menu__link:hover,
.header-menu__item--current > .header-menu__link {
    background: rgba(62, 95, 76, 0.35);
    color: #fff;
}

.header-menu__item--parent > .header-menu__link::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.3s ease;
}

.header-menu__item--parent:hover > .header-menu__link::after {
    transform: translateY(1px) rotate(225deg);
}

.header-menu__sub {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    gap: 2px;
    min-width: 380px;
    margin: 0;
    padding: 12px;
    list-style: none;
    background: var(--crypto-surface-2);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    box-shadow: var(--crypto-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s var(--crypto-ease), visibility 0.3s;
}

.header-menu__sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.header-menu__item--parent:hover > .header-menu__sub,
.header-menu__item--parent:focus-within > .header-menu__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-menu__sub .header-menu__link {
    border-radius: 10px;
    font-size: 14px;
}

.header-menu__sub .header-menu__link:hover {
    background: var(--crypto-cherry-900);
    padding-left: 18px;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    border: 1px solid var(--crypto-border);
    border-radius: 14px;
    background: rgba(62, 95, 76, 0.2);
    cursor: pointer;
    transition: background 0.3s ease;
}

.burger:hover {
    background: var(--crypto-cherry-900);
}

.burger__line {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--crypto-text);
    transition: transform 0.35s var(--crypto-ease), opacity 0.25s ease;
}

.burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__line:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] .burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    position: relative;
    padding: 56px 0 40px;
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.hero__glow::before,
.hero__glow::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    animation: hero-float 14s ease-in-out infinite alternate;
}

.hero__glow::before {
    width: 520px;
    height: 520px;
    top: -160px;
    left: -120px;
    background: rgba(62, 95, 76, 0.45);
}

.hero__glow::after {
    width: 460px;
    height: 460px;
    bottom: -200px;
    right: 10%;
    background: rgba(123, 10, 30, 0.5);
    animation-delay: -6s;
}

@keyframes hero-float {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(60px, 40px, 0) scale(1.15); }
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    align-items: center;
    gap: 48px;
}

.hero--media .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.hero--simple .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    max-width: 880px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 6px 8px;
    border: 1px solid var(--crypto-border);
    border-radius: 999px;
    background: rgba(18, 41, 28, 0.7);
    color: var(--crypto-emerald-300);
    font-size: 14px;
    font-weight: 600;
}

.hero__eyebrow .icon {
    width: 20px;
    height: 20px;
    color: var(--crypto-cherry-300);
}

.hero__eyebrow .coin-icon {
    width: 34px;
    height: 34px;
}

.hero__eyebrow .icon {
    animation: swap-spin 6s linear infinite;
}

.hero__title {
    background: linear-gradient(120deg, #fff 30%, #ffc2cc 70%, var(--crypto-emerald-300));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__text {
    font-size: 18px;
    color: var(--crypto-text-muted);
    max-width: 640px;
}

.hero__coins {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.hero__coins .coin-icon {
    animation: coin-bob 4s ease-in-out infinite;
}

.hero__coins .coin-icon:nth-child(2) { animation-delay: -0.6s; }
.hero__coins .coin-icon:nth-child(3) { animation-delay: -1.2s; }
.hero__coins .coin-icon:nth-child(4) { animation-delay: -1.8s; }
.hero__coins .coin-icon:nth-child(5) { animation-delay: -2.4s; }
.hero__coins .coin-icon:nth-child(6) { animation-delay: -3s; }

@keyframes coin-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero__aside {
    position: relative;
}

.hero__media {
    aspect-ratio: 4 / 3.2;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

/* =====================================================================
   COIN ICONS
   ===================================================================== */
.coin-icon {
    width: 40px;
    height: 40px;
    padding: 5px;
    border-radius: 50%;
    background: #1b1d1a;
    border: 1px solid var(--crypto-border);
    object-fit: contain;
    transition: transform 0.35s var(--crypto-ease), box-shadow 0.35s ease;
}

.coin-icon--sm {
    width: 34px;
    height: 34px;
}

.coin-icon--xs {
    width: 28px;
    height: 28px;
    padding: 3px;
}

.coin-icon--overlap {
    margin-left: -10px;
}

.coin-icon:hover {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 0 0 3px var(--crypto-accent-soft);
}

/* =====================================================================
   ANCHOR NAV (навигация по разделам страницы обмена)
   ===================================================================== */
.anchor-nav {
    margin-top: 22px;
}

.anchor-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.anchor-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--crypto-border);
    border-radius: 999px;
    background: rgba(18, 41, 28, 0.55);
    color: var(--crypto-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--crypto-ease);
}

.anchor-nav__link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--crypto-cherry-300);
    box-shadow: 0 0 10px var(--crypto-cherry-300);
}

.anchor-nav__link:hover {
    color: #fff;
    background: var(--crypto-cherry-900);
    border-color: var(--crypto-cherry-500);
    transform: translateY(-2px);
}

/* =====================================================================
   EXCHANGE WIDGET
   ===================================================================== */
.widget-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    padding: 10px;
    border-radius: calc(var(--crypto-radius) + 6px);
    background: linear-gradient(145deg, rgba(226, 71, 95, 0.55), rgba(62, 95, 76, 0.55));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 60px rgba(123, 10, 30, 0.35);
    transition: transform 0.5s var(--crypto-ease), box-shadow 0.5s ease;
}

.widget-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(168, 20, 47, 0.45);
}

.widget-frame__iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 400px;
    border: 0;
    border-radius: var(--crypto-radius);
    background: #fff;
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section {
    position: relative;
    padding: var(--crypto-section-y) 0;
}

.section__panel {
    position: relative;
    padding: 44px;
    border: 1px solid var(--crypto-border);
    border-radius: calc(var(--crypto-radius) + 8px);
    background: linear-gradient(160deg, rgba(29, 59, 43, 0.55), rgba(18, 29, 23, 0.85));
    box-shadow: var(--crypto-shadow);
    overflow: hidden;
}

.section__panel--cherry {
    background: linear-gradient(160deg, rgba(59, 10, 16, 0.75), rgba(18, 20, 18, 0.9));
    border-color: rgba(226, 71, 95, 0.22);
}

.section__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.section__head h2 {
    margin: 0;
}

.section__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--crypto-cherry-700), var(--crypto-cherry-900));
    color: #fff;
    box-shadow: 0 10px 24px rgba(123, 10, 30, 0.45);
    transition: transform 0.5s var(--crypto-ease);
}

.section:hover .section__icon {
    transform: rotate(-8deg) scale(1.06);
}

.section__icon--emerald {
    background: linear-gradient(135deg, var(--crypto-emerald-500), var(--crypto-emerald-900));
    box-shadow: 0 10px 24px rgba(18, 41, 28, 0.6);
}

.section__lead {
    max-width: 820px;
    color: var(--crypto-text-muted);
    font-size: 17px;
}

.prose {
    color: var(--crypto-text-muted);
}

.prose > *:last-child {
    margin-bottom: 0;
}

.prose ul,
.prose ol {
    margin: 0 0 16px;
    padding-left: 0;
    list-style: none;
}

.prose ul > li,
.prose ol > li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 30px;
}

.prose ul > li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 9px;
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: var(--crypto-cherry-300);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(226, 71, 95, 0.6);
}

.prose ol {
    counter-reset: prose-ol;
}

.prose ol > li {
    counter-increment: prose-ol;
}

.prose ol > li::before {
    content: counter(prose-ol);
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--crypto-emerald-500);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.prose li a {
    font-weight: 600;
}

.prose h3 {
    margin-top: 26px;
}

.prose__formula {
    display: inline-block;
    padding: 10px 18px;
    border: 1px dashed rgba(226, 71, 95, 0.5);
    border-radius: var(--crypto-radius-sm);
    background: var(--crypto-accent-soft);
    color: #fff;
    font-weight: 600;
}

/* =====================================================================
   SPLIT (текст + картинка с параллаксом)
   ===================================================================== */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

.split--reverse .split__media {
    order: -1;
}

.split--top {
    align-items: start;
}

.media {
    position: relative;
    margin: 0;
    border-radius: var(--crypto-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--crypto-shadow);
    isolation: isolate;
}

.media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(14, 15, 13, 0.65)), linear-gradient(135deg, rgba(123, 10, 30, 0.25), rgba(18, 41, 28, 0.25));
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.media__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(0, var(--parallax, 0px), 0) scale(var(--zoom, 1.14));
    transition: transform 0.7s var(--crypto-ease), filter 0.5s ease;
    will-change: transform;
}

.media:hover .media__img {
    --zoom: 1.22;
    filter: saturate(1.15) brightness(1.05);
}

.media:hover::after {
    opacity: 0.6;
}

.media--tall {
    aspect-ratio: 3 / 4;
}

.media--wide {
    aspect-ratio: 16 / 7;
}

.media__badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(14, 15, 13, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

/* =====================================================================
   FEATURE CARDS
   ===================================================================== */
.features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.features--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.features--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature {
    position: relative;
    padding: 28px 24px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background:
        radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(226, 71, 95, 0.16), transparent 70%),
        var(--crypto-surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.45s var(--crypto-ease), box-shadow 0.45s ease, border-color 0.45s ease;
}

.feature:hover {
    transform: translateY(-8px);
    border-color: rgba(226, 71, 95, 0.45);
    box-shadow: var(--crypto-shadow-hover);
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--crypto-emerald-500), var(--crypto-emerald-900));
    color: #fff;
    transition: transform 0.5s var(--crypto-ease), background 0.4s ease;
}

.feature:hover .feature__icon {
    transform: rotate(-10deg) scale(1.1);
    background: linear-gradient(135deg, var(--crypto-cherry-500), var(--crypto-cherry-900));
}

.feature__icon .icon {
    width: 28px;
    height: 28px;
}

.feature__title {
    font-size: 19px;
}

h2.feature__title {
    font-size: clamp(22px, 2.4vw, 28px);
}

.feature__text {
    margin: 0;
    color: var(--crypto-text-muted);
    font-size: 15px;
}

.feature .prose {
    font-size: 15px;
}

/* =====================================================================
   ROUTE CARDS (списки направлений обмена)
   ===================================================================== */
.routes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.route-card {
    padding: 30px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.45s var(--crypto-ease), box-shadow 0.45s ease, border-color 0.45s ease;
}

.route-card:hover {
    transform: translateY(-6px);
    border-color: rgba(226, 71, 95, 0.4);
    box-shadow: var(--crypto-shadow-hover);
}

.route-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.route-card__head h3 {
    margin: 0;
}

.route-card__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--crypto-cherry-700), var(--crypto-cherry-900));
    color: #fff;
}

.route-card__icon--emerald {
    background: linear-gradient(135deg, var(--crypto-emerald-500), var(--crypto-emerald-900));
}

.route-card__text {
    color: var(--crypto-text-muted);
}

.route-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.route-list__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--crypto-border);
    border-radius: 14px;
    background: rgba(14, 15, 13, 0.55);
    color: var(--crypto-text);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--crypto-ease), padding 0.35s var(--crypto-ease);
}

.route-list__coins {
    display: flex;
    flex-shrink: 0;
}

.route-list__coins .coin-icon + .coin-icon {
    margin-left: -8px;
}

.route-list__text {
    flex: 1;
}

.route-list__link .icon {
    width: 20px;
    height: 20px;
    color: var(--crypto-cherry-300);
    transition: transform 0.35s var(--crypto-ease);
}

.route-list__link:hover {
    color: #fff;
    background: var(--crypto-cherry-900);
    border-color: var(--crypto-cherry-500);
    transform: translateX(4px);
}

.route-list__link:hover .icon {
    transform: translate(3px, -3px);
}

.route-list--plain .route-list__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--crypto-emerald-500);
    color: #fff;
}

.route-list--plain .route-list__icon .icon {
    width: 20px;
    height: 20px;
    color: #fff;
}

/* =====================================================================
   TABLES
   ===================================================================== */
.table-wrap {
    width: 100%;
    margin: 22px 0;
    overflow-x: auto;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 15px;
}

.data-table th,
.data-table td {
    padding: 15px 20px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--crypto-border);
}

.data-table th {
    background: linear-gradient(135deg, var(--crypto-emerald-700), var(--crypto-emerald-900));
    color: #fff;
    font-family: var(--crypto-font-head);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.data-table td {
    color: var(--crypto-text-muted);
}

.data-table td:first-child {
    color: var(--crypto-text);
    font-weight: 600;
}

.data-table tbody tr {
    transition: background 0.25s ease;
}

.data-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.data-table tbody tr:hover {
    background: var(--crypto-accent-soft);
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table__coin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* =====================================================================
   STEPS
   ===================================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 28px 0 22px;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.steps__item {
    position: relative;
    padding: 30px 26px 26px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    counter-increment: steps;
    transition: transform 0.45s var(--crypto-ease), box-shadow 0.45s ease, border-color 0.45s ease;
}

.steps__item::after {
    content: "0" counter(steps);
    position: absolute;
    top: 14px;
    right: 20px;
    font-family: var(--crypto-font-head);
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    color: rgba(226, 71, 95, 0.16);
    transition: color 0.4s ease;
}

.steps__item:hover {
    transform: translateY(-8px);
    border-color: rgba(226, 71, 95, 0.45);
    box-shadow: var(--crypto-shadow-hover);
}

.steps__item:hover::after {
    color: rgba(226, 71, 95, 0.4);
}

.steps__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--crypto-cherry-500), var(--crypto-cherry-900));
    color: #fff;
    box-shadow: 0 0 0 6px rgba(123, 10, 30, 0.22);
}

.steps__text {
    margin: 0;
    color: var(--crypto-text);
}

/* =====================================================================
   CTA
   ===================================================================== */
.cta {
    position: relative;
    padding: 70px 56px;
    border-radius: calc(var(--crypto-radius) + 8px);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--crypto-shadow);
    isolation: isolate;
}

.cta__bg {
    position: absolute;
    inset: -20% 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transform: translate3d(0, var(--parallax, 0px), 0) scale(1.1);
    transition: transform 0.6s var(--crypto-ease);
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(59, 10, 16, 0.92), rgba(18, 41, 28, 0.85));
}

.cta:hover .cta__bg {
    transform: translate3d(0, var(--parallax, 0px), 0) scale(1.16);
}

.cta__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    animation: cta-pulse 2.6s ease-in-out infinite;
}

@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(226, 71, 95, 0.45); }
    50% { box-shadow: 0 0 0 16px rgba(226, 71, 95, 0); }
}

.cta__title {
    max-width: 760px;
    margin: 0 auto 14px;
}

.cta__text {
    max-width: 720px;
    margin: 0 auto 26px;
    color: #e6dcd5;
    font-size: 17px;
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.faq__item {
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--crypto-ease);
}

.faq__item:hover {
    border-color: rgba(226, 71, 95, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}

.faq__item[open] {
    border-color: rgba(226, 71, 95, 0.5);
    background: linear-gradient(160deg, rgba(59, 10, 16, 0.45), var(--crypto-surface));
}

.faq__question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--crypto-emerald-500);
    color: #fff;
}

.faq__title {
    flex: 1;
    margin: 0;
    font-size: 18px;
}

.faq__toggle {
    position: relative;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--crypto-border);
    transition: transform 0.4s var(--crypto-ease), background 0.3s ease;
}

.faq__toggle::before,
.faq__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: var(--crypto-text);
    transform: translate(-50%, -50%);
}

.faq__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__toggle {
    transform: rotate(135deg);
    background: var(--crypto-cherry-700);
}

.faq__answer {
    padding: 0 24px 22px 82px;
    color: var(--crypto-text-muted);
    animation: faq-open 0.45s var(--crypto-ease);
}

.faq__answer p {
    margin: 0;
}

@keyframes faq-open {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

/* =====================================================================
   RATE WIDGET (шорткоды pair-chart / coin-chart)
   ===================================================================== */
.rate-widget {
    margin: 22px 0;
    padding: 28px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: linear-gradient(170deg, var(--crypto-surface-2), var(--crypto-surface));
    box-shadow: var(--crypto-shadow);
}

.rate-widget__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.rate-widget__current {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rate-widget__pair {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--crypto-text-muted);
    font-size: 14px;
    font-weight: 600;
}

.rate-widget__value {
    font-family: var(--crypto-font-head);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
}

.rate-widget__changes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rate-widget__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--crypto-border);
    border-radius: 999px;
    background: rgba(14, 15, 13, 0.6);
    font-size: 14px;
    transition: transform 0.3s var(--crypto-ease), border-color 0.3s ease;
}

.rate-widget__chip:hover {
    transform: translateY(-2px);
    border-color: var(--crypto-cherry-300);
}

.rate-widget__chip-label {
    color: var(--crypto-text-muted);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}

.change {
    font-weight: 700;
}

.change--up {
    color: var(--crypto-up);
}

.change--down {
    color: var(--crypto-down);
}

.rate-widget__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rate-widget__tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border: 1px solid var(--crypto-border);
    border-radius: 999px;
    background: rgba(14, 15, 13, 0.6);
}

.rate-widget__tab {
    padding: 7px 16px;
    border-radius: 999px;
    color: var(--crypto-text-muted);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.rate-widget__tab:hover {
    color: #fff;
    background: rgba(62, 95, 76, 0.45);
}

.rate-widget__panel {
    display: none;
    animation: faq-open 0.45s var(--crypto-ease);
}

.rate-widget__panels > .rate-widget__panel:only-child,
.rate-widget__radio:nth-of-type(1):checked ~ .rate-widget__panels > .rate-widget__panel:nth-child(1),
.rate-widget__radio:nth-of-type(2):checked ~ .rate-widget__panels > .rate-widget__panel:nth-child(2),
.rate-widget__radio:nth-of-type(3):checked ~ .rate-widget__panels > .rate-widget__panel:nth-child(3),
.rate-widget__radio:nth-of-type(4):checked ~ .rate-widget__panels > .rate-widget__panel:nth-child(4),
.rate-widget__radio:nth-of-type(5):checked ~ .rate-widget__panels > .rate-widget__panel:nth-child(5),
.rate-widget__radio:nth-of-type(6):checked ~ .rate-widget__panels > .rate-widget__panel:nth-child(6) {
    display: block;
}

.rate-widget__radio:nth-of-type(1):checked ~ .rate-widget__tabs > .rate-widget__tab:nth-child(1),
.rate-widget__radio:nth-of-type(2):checked ~ .rate-widget__tabs > .rate-widget__tab:nth-child(2),
.rate-widget__radio:nth-of-type(3):checked ~ .rate-widget__tabs > .rate-widget__tab:nth-child(3),
.rate-widget__radio:nth-of-type(4):checked ~ .rate-widget__tabs > .rate-widget__tab:nth-child(4),
.rate-widget__radio:nth-of-type(5):checked ~ .rate-widget__tabs > .rate-widget__tab:nth-child(5),
.rate-widget__radio:nth-of-type(6):checked ~ .rate-widget__tabs > .rate-widget__tab:nth-child(6) {
    background: linear-gradient(135deg, var(--crypto-cherry-500), var(--crypto-cherry-700));
    color: #fff;
}

.rate-widget__radio:focus-visible ~ .rate-widget__tabs {
    outline: 2px solid var(--crypto-accent);
    outline-offset: 3px;
}

.rate-widget__range {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 8px;
    font-size: 14px;
}

.rate-widget__range-item {
    color: var(--crypto-text);
    font-weight: 600;
}

.rate-widget__range-label {
    color: var(--crypto-text-muted);
    font-weight: 500;
}

.rate-widget__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.rate-widget__updated {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    color: var(--crypto-text-muted);
    font-size: 13px;
}

.rate-widget__updated .icon {
    width: 18px;
    height: 18px;
    color: var(--crypto-cherry-300);
}

.stat {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--crypto-border);
    border-radius: 14px;
    background: rgba(14, 15, 13, 0.55);
    transition: transform 0.35s var(--crypto-ease), border-color 0.35s ease;
}

.stat:hover {
    transform: translateY(-4px);
    border-color: rgba(226, 71, 95, 0.45);
}

.stat__icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--crypto-emerald-500);
    color: #fff;
}

.stat__icon .icon {
    width: 22px;
    height: 22px;
}

.stat__label {
    color: var(--crypto-text-muted);
    font-size: 13px;
}

.stat__value {
    font-family: var(--crypto-font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--crypto-text);
}

.stat__value small {
    display: block;
    color: var(--crypto-text-muted);
    font-family: var(--crypto-font-body);
    font-size: 12px;
    font-weight: 500;
}

/* =====================================================================
   CHART (серверный SVG)
   ===================================================================== */
.chart {
    position: relative;
    width: 100%;
}

.chart__svg {
    display: block;
    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-family: var(--crypto-font-body);
    font-size: 11px;
}

.chart__area {
    fill: var(--crypto-accent-soft);
    stroke: none;
}

.chart__line {
    fill: none;
    stroke: var(--crypto-accent);
    stroke-width: 2.4;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 2400;
    stroke-dashoffset: 0;
    animation: chart-draw 1.8s var(--crypto-ease) both;
}

@keyframes chart-draw {
    from { stroke-dashoffset: 2400; }
    to { stroke-dashoffset: 0; }
}

.chart__dot {
    fill: var(--crypto-accent);
    stroke: #fff;
    stroke-width: 2;
    animation: chart-dot 1.8s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

@keyframes chart-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.35); }
}

.chart__hit-area {
    fill: transparent;
    cursor: crosshair;
}

.chart__hover-dot {
    fill: #fff;
    stroke: var(--crypto-accent);
    stroke-width: 2;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.chart__hit:hover .chart__hover-dot {
    opacity: 1;
}

.chart-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    padding: 18px 22px;
    border: 1px dashed var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    background: rgba(14, 15, 13, 0.55);
    color: var(--crypto-text-muted);
}

/* =====================================================================
   CONVERTER / SENSITIVITY / SUPPLY
   ===================================================================== */
.converter,
.sensitivity,
.supply {
    margin: 22px 0;
    padding: 28px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: linear-gradient(170deg, var(--crypto-surface-2), var(--crypto-surface));
    box-shadow: var(--crypto-shadow);
}

.converter__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 16px;
}

.converter__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.converter__label {
    color: var(--crypto-text-muted);
    font-size: 13px;
    font-weight: 600;
}

.converter__input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 12px;
    border: 1px solid var(--crypto-border);
    border-radius: 14px;
    background: rgba(14, 15, 13, 0.7);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.converter__input-wrap:focus-within {
    border-color: var(--crypto-accent);
    box-shadow: 0 0 0 4px var(--crypto-accent-soft);
}

.converter__input,
.converter__select {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid var(--crypto-border);
    border-radius: 14px;
    background: rgba(14, 15, 13, 0.7);
    color: var(--crypto-text);
    font-family: var(--crypto-font-head);
    font-size: 18px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.converter__input-wrap .converter__input {
    border: 0;
    background: transparent;
    padding-left: 0;
}

.converter__input:focus,
.converter__select:focus {
    border-color: var(--crypto-accent);
    box-shadow: 0 0 0 4px var(--crypto-accent-soft);
}

.converter__input-wrap .converter__input:focus {
    box-shadow: none;
}

.converter__select option {
    background: var(--crypto-surface);
}

.converter__swap {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--crypto-cherry-500), var(--crypto-cherry-900));
    color: #fff;
    animation: swap-spin 6s linear infinite;
}

@keyframes swap-spin {
    0%, 85% { transform: rotate(0); }
    100% { transform: rotate(180deg); }
}

.converter__result,
.sensitivity__result {
    display: block;
    margin-top: 20px;
    padding: 18px 22px;
    border-radius: 14px;
    background: var(--crypto-accent-soft);
    border: 1px solid rgba(226, 71, 95, 0.35);
    font-family: var(--crypto-font-head);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
}

.converter__meta {
    margin: 12px 0 0;
    color: var(--crypto-text-muted);
    font-size: 13px;
}

.sensitivity__reference {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.sensitivity__inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sensitivity__result {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 16px;
}

.sensitivity__result-label,
.sensitivity__ratio {
    color: var(--crypto-text-muted);
    font-family: var(--crypto-font-body);
    font-size: 14px;
    font-weight: 600;
}

.sensitivity__warning {
    margin: 12px 0 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 112, 136, 0.12);
    color: var(--crypto-down);
    font-weight: 600;
}

.supply__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.supply__card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    border: 1px solid var(--crypto-border);
    border-radius: 16px;
    background: rgba(14, 15, 13, 0.55);
    transition: transform 0.4s var(--crypto-ease), border-color 0.4s ease;
}

.supply__card:hover {
    transform: translateY(-6px);
    border-color: rgba(226, 71, 95, 0.45);
}

.supply__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--crypto-cherry-700), var(--crypto-cherry-900));
    color: #fff;
}

.supply__label {
    color: var(--crypto-text-muted);
    font-size: 13px;
    font-weight: 600;
}

.supply__value {
    font-family: var(--crypto-font-head);
    font-size: 24px;
}

.supply__exact {
    color: var(--crypto-text-muted);
    font-size: 12px;
}

.supply__note {
    display: flex;
    gap: 10px;
    margin: 18px 0 0;
    color: var(--crypto-text-muted);
    font-size: 14px;
}

.supply__note .icon {
    color: var(--crypto-cherry-300);
}

/* =====================================================================
   CALLOUT / NOTE
   ===================================================================== */
.callout {
    display: flex;
    gap: 16px;
    margin: 22px 0;
    padding: 22px 24px;
    border: 1px solid rgba(226, 71, 95, 0.3);
    border-left: 4px solid var(--crypto-accent);
    border-radius: var(--crypto-radius-sm);
    background: linear-gradient(120deg, rgba(59, 10, 16, 0.55), rgba(18, 29, 23, 0.6));
    transition: transform 0.4s var(--crypto-ease);
}

.callout:hover {
    transform: translateX(4px);
}

.callout__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--crypto-cherry-700);
    color: #fff;
}

.callout__body > *:last-child {
    margin-bottom: 0;
}

.callout__body h2 {
    font-size: clamp(22px, 2.4vw, 28px);
}

.callout__body p {
    color: var(--crypto-text);
}

/* =====================================================================
   CONTACT CHANNELS + FORM
   ===================================================================== */
.channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.channels__item {
    padding: 24px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    color: var(--crypto-text-muted);
    transition: transform 0.4s var(--crypto-ease), border-color 0.4s ease, box-shadow 0.4s ease;
}

.channels__item:hover {
    transform: translateY(-6px);
    border-color: rgba(226, 71, 95, 0.45);
    box-shadow: var(--crypto-shadow-hover);
}

.channels__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--crypto-emerald-500), var(--crypto-emerald-900));
    color: #fff;
}

.channels__item a {
    color: var(--crypto-accent);
    font-weight: 600;
    text-decoration: underline;
    word-break: break-all;
}

.contact-form {
    margin: 22px 0;
    padding: 32px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: linear-gradient(170deg, var(--crypto-surface-2), var(--crypto-surface));
    box-shadow: var(--crypto-shadow);
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form__field--wide {
    grid-column: 1 / -1;
}

.contact-form__label {
    color: var(--crypto-text-muted);
    font-size: 14px;
    font-weight: 600;
}

.contact-form__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--crypto-border);
    border-radius: 14px;
    background: rgba(14, 15, 13, 0.7);
    color: var(--crypto-text);
    font: inherit;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form__input:focus {
    border-color: var(--crypto-accent);
    box-shadow: 0 0 0 4px var(--crypto-accent-soft);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form__file input {
    padding: 14px;
    border: 1px dashed var(--crypto-border);
    border-radius: 14px;
    background: rgba(14, 15, 13, 0.5);
    color: var(--crypto-text-muted);
}

.contact-form__privacy {
    margin: 18px 0;
    color: var(--crypto-text-muted);
    font-size: 14px;
}

.contact-form__trap {
    position: absolute;
    left: -9999px;
}

.contact-form__notice {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 600;
}

.contact-form__notice--ok {
    background: rgba(95, 211, 154, 0.12);
    color: var(--crypto-up);
}

.contact-form__notice--error {
    background: rgba(255, 112, 136, 0.12);
    color: var(--crypto-down);
}

/* =====================================================================
   BLOG: archive cards + single post
   ===================================================================== */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.post-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.45s var(--crypto-ease), box-shadow 0.45s ease, border-color 0.45s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    border-color: rgba(226, 71, 95, 0.45);
    box-shadow: var(--crypto-shadow-hover);
}

.post-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--crypto-ease), filter 0.5s ease;
}

.post-card:hover .post-card__img {
    transform: scale(1.1);
    filter: saturate(1.2);
}

.post-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 26px;
}

.post-card__date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--crypto-emerald-300);
    font-size: 13px;
    font-weight: 600;
}

.post-card__date .icon {
    width: 18px;
    height: 18px;
}

.post-card__title {
    font-size: 20px;
}

.post-card__title a {
    color: var(--crypto-text);
    text-decoration: none;
}

.post-card__title a:hover {
    color: var(--crypto-cherry-300);
}

.post-card__excerpt {
    flex: 1;
    color: var(--crypto-text-muted);
    font-size: 15px;
}

.post-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--crypto-accent);
    font-weight: 700;
    text-decoration: none;
}

.post-card__more .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.post-card__more:hover .icon {
    transform: translateX(5px);
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 40px;
}

.post-layout__aside {
    position: sticky;
    top: calc(var(--crypto-header-h) + 20px);
}

.post-tldr {
    margin-bottom: 24px;
    padding: 26px 28px;
    border: 1px solid rgba(226, 71, 95, 0.35);
    border-radius: var(--crypto-radius);
    background: linear-gradient(140deg, rgba(59, 10, 16, 0.7), rgba(18, 41, 28, 0.55));
    box-shadow: var(--crypto-shadow);
}

.post-tldr__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 18px;
}

.post-tldr__head .icon {
    color: var(--crypto-cherry-300);
}

.post-tldr p {
    margin: 0;
    color: var(--crypto-text);
}

.post-toc {
    padding: 24px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
}

.post-toc__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 17px;
}

.post-toc__head .icon {
    color: var(--crypto-emerald-300);
}

.post-toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
}

.post-toc__list li {
    counter-increment: toc;
    border-top: 1px solid var(--crypto-border);
}

.post-toc__list a {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    color: var(--crypto-text-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease, padding 0.3s var(--crypto-ease);
}

.post-toc__list a::before {
    content: counter(toc, decimal-leading-zero);
    color: var(--crypto-cherry-300);
    font-weight: 700;
}

.post-toc__list a:hover,
.post-toc__list a.is-active {
    color: #fff;
    padding-left: 6px;
}

.post-section {
    padding: 26px 0;
    border-bottom: 1px solid var(--crypto-border);
}

.post-section:last-child {
    border-bottom: 0;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    color: var(--crypto-text-muted);
    font-size: 14px;
}

.post-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.post-meta__item .icon {
    width: 18px;
    height: 18px;
    color: var(--crypto-cherry-300);
}

.post-meta__item a {
    color: var(--crypto-text);
    font-weight: 600;
}

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper {
    padding: 100px 0;
    text-align: center;
}

.error404__inner {
    max-width: 680px;
}

.error404__code {
    font-family: var(--crypto-font-head);
    font-size: clamp(110px, 22vw, 200px);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--crypto-cherry-300), var(--crypto-cherry-700) 50%, var(--crypto-emerald-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: coin-bob 5s ease-in-out infinite;
}

.error404__text {
    color: var(--crypto-text-muted);
    font-size: 18px;
}

.error404__actions {
    margin-top: 26px;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--crypto-border);
    background: linear-gradient(180deg, rgba(18, 41, 28, 0.55), rgba(10, 11, 9, 0.95));
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr));
    gap: 32px;
    padding-top: 56px;
    padding-bottom: 40px;
}

.site-footer__about {
    margin-top: 16px;
    color: var(--crypto-text-muted);
}

.site-footer__support {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--crypto-text-muted);
}

.site-footer__support .icon {
    width: 20px;
    height: 20px;
    color: var(--crypto-cherry-300);
}

.site-footer__coins {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.site-footer__title {
    margin-bottom: 14px;
    font-size: 16px;
    color: #fff;
}

.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu__item {
    margin-bottom: 9px;
}

.footer-menu__link {
    position: relative;
    color: var(--crypto-text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s ease, padding 0.3s var(--crypto-ease);
}

.footer-menu__link:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-menu__link::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--crypto-cherry-300);
    transition: width 0.3s ease;
}

.footer-menu__link:hover::before {
    width: 6px;
}

.site-footer__bottom {
    border-top: 1px solid var(--crypto-border);
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.site-footer__copy {
    margin: 0;
    color: var(--crypto-text-muted);
    font-size: 14px;
}

.site-footer__top {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--crypto-border);
    border-radius: 50%;
    background: transparent;
    color: var(--crypto-text);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.35s var(--crypto-ease);
}

.site-footer__top:hover {
    background: var(--crypto-cherry-700);
    transform: translateY(-4px);
}

/* =====================================================================
   SCROLL ANIMATIONS (Intersection Observer в index.js)
   ===================================================================== */
.js .reveal {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition: opacity 0.8s var(--crypto-ease), transform 0.8s var(--crypto-ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal--left {
    transform: translate3d(-44px, 0, 0);
}

.js .reveal--right {
    transform: translate3d(44px, 0, 0);
}

.js .reveal--zoom {
    transform: scale(0.92);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--crypto-emerald-500), var(--crypto-cherry-300));
    transform-origin: 0 50%;
    transform: scaleX(var(--progress, 0));
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer__identity {
        grid-column: 1 / -1;
    }

    .post-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-layout__aside {
        position: static;
        order: -1;
    }
}

@media (max-width: 960px) {
    .header-menu__link {
        padding: 10px 10px;
        font-size: 14px;
    }

    .hero__inner,
    .hero--media .hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .widget-frame {
        margin: 0 auto;
    }

    .split {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .split--reverse .split__media {
        order: 0;
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .supply__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --crypto-header-h: 64px;
        --crypto-section-y: 20px;
    }

    .container {
        padding: 0 20px;
    }

    .burger {
        display: flex;
    }

    .site-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 0;
        overflow: hidden;
        background: rgba(14, 15, 13, 0.98);
        border-bottom: 1px solid transparent;
        opacity: 0;
        transition: max-height 0.5s var(--crypto-ease), opacity 0.35s ease, border-color 0.3s ease;
    }

    .site-header__nav--open {
        max-height: calc(100vh - var(--crypto-header-h));
        overflow-y: auto;
        opacity: 1;
        border-bottom-color: var(--crypto-border);
    }

    .header-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 14px 20px 22px;
    }

    .header-menu__link {
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 16px;
    }

    .header-menu__item--parent > .header-menu__link::after {
        margin-left: auto;
    }

    .header-menu__sub {
        position: static;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 4px 0 8px;
        padding: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    .header-menu__sub::before {
        display: none;
    }

    .hero {
        padding: 40px 0 28px;
    }

    .hero__text {
        font-size: 16px;
    }

    .section__panel {
        padding: 30px 22px;
    }

    .section__icon {
        width: 46px;
        height: 46px;
    }

    .features,
    .features--3,
    .features--2,
    .routes,
    .steps,
    .channels {
        grid-template-columns: minmax(0, 1fr);
    }

    .rate-widget,
    .converter,
    .sensitivity,
    .supply,
    .contact-form {
        padding: 22px 18px;
    }

    .rate-widget__stats,
    .sensitivity__reference {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .converter__row {
        grid-template-columns: minmax(0, 1fr);
    }

    .converter__swap {
        margin: 0 auto;
        transform: rotate(90deg);
        animation: none;
    }

    .sensitivity__inputs,
    .contact-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cta {
        padding: 50px 24px;
    }

    .faq__answer {
        padding: 0 20px 20px;
    }

    .post-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .media--wide {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    .btn {
        width: 100%;
    }

    .header-menu__sub {
        grid-template-columns: minmax(0, 1fr);
    }

    .section__head {
        align-items: flex-start;
        gap: 12px;
    }

    .section__panel {
        padding: 26px 16px;
    }

    .feature,
    .route-card,
    .steps__item {
        padding: 24px 18px;
    }

    .rate-widget__stats,
    .sensitivity__reference,
    .supply__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rate-widget__tab {
        padding: 7px 12px;
    }

    .widget-frame {
        padding: 6px;
    }

    .faq__question {
        padding: 16px;
        gap: 12px;
    }

    .faq__icon {
        width: 36px;
        height: 36px;
    }

    .faq__title {
        font-size: 16px;
    }

    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .callout {
        flex-direction: column;
    }
}
