/*
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 — палитра: #0A0C12 / #023661 / #3F3A42 / #76828E / #DB5227
   Референс интерфейса: Bybit (тёмный фон, оранжевый акцент)
   ===================================================================== */
:root {
    --crypto-bg: #0A0C12;
    --crypto-bg-soft: #0e1119;
    --crypto-surface: #13161f;
    --crypto-surface-2: #1a1d27;
    --crypto-blue: #023661;
    --crypto-blue-deep: #021f3a;
    --crypto-graphite: #3F3A42;
    --crypto-text: #EEF1F4;
    --crypto-text-soft: #B9C1CA;
    --crypto-text-muted: #76828E;
    --crypto-accent: #DB5227;
    --crypto-accent-hover: #EE6A3D;
    --crypto-accent-soft: rgba(219, 82, 39, 0.16);
    --crypto-border: rgba(118, 130, 142, 0.22);
    --crypto-border-strong: rgba(118, 130, 142, 0.42);
    --crypto-success: #3fbf86;
    --crypto-danger: #f0544f;
    --crypto-radius: 18px;
    --crypto-radius-sm: 12px;
    --crypto-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
    --crypto-shadow-hover: 0 22px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(219, 82, 39, 0.45);
    --crypto-section-y: 25px;
    --crypto-container: 1200px;
    --crypto-header-h: 76px;
    --crypto-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--crypto-header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--crypto-text-soft);
    background-color: var(--crypto-bg);
    background-image:
        radial-gradient(1200px 600px at 85% -10%, rgba(2, 54, 97, 0.55), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(219, 82, 39, 0.08), transparent 60%);
    background-attachment: fixed;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--crypto-accent-hover);
}

h1,
h2,
h3,
h4 {
    margin: 0 0 14px;
    color: var(--crypto-text);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(30px, 4.6vw, 54px);
    font-weight: 800;
}

h2 {
    font-size: clamp(24px, 3vw, 36px);
}

h3 {
    font-size: 19px;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 14px;
}

p:last-child {
    margin-bottom: 0;
}

b,
strong {
    color: var(--crypto-text);
    font-weight: 700;
}

/* Ссылки внутри абзацев — акцентный цвет, подчёркивание, жирность */
.site-main p a:not(.btn),
.site-main li a.text-link {
    color: var(--crypto-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.site-main p a:not(.btn):hover {
    color: var(--crypto-accent-hover);
}

ul,
ol {
    margin: 0 0 14px;
    padding-left: 20px;
}

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

.coin-logo {
    border-radius: 50%;
    object-fit: cover;
}

.coin-logo--th {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 6px;
    vertical-align: middle;
    background: #fff;
    transition: transform 0.4s var(--crypto-ease);
}

.data-table th:hover .coin-logo--th {
    transform: rotate(360deg);
}

.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;
}

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

.container--narrow {
    max-width: 920px;
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s var(--crypto-ease), box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn:hover::after {
    left: 140%;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--crypto-accent) 0%, #c2431c 100%);
    box-shadow: 0 10px 26px rgba(219, 82, 39, 0.35);
}

.btn--primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(219, 82, 39, 0.5);
}

.btn--ghost {
    color: var(--crypto-text);
    border-color: var(--crypto-border-strong);
    background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
    color: var(--crypto-text);
    border-color: var(--crypto-accent);
    transform: translateY(-3px);
}

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

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

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

.site-header--scrolled {
    background: rgba(10, 12, 18, 0.94);
    border-bottom-color: var(--crypto-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.site-header__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--crypto-text);
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.site-header__logo:hover {
    color: var(--crypto-text);
}

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

.site-header__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--crypto-accent), var(--crypto-blue));
    box-shadow: 0 6px 18px rgba(219, 82, 39, 0.35);
    transition: transform 0.5s var(--crypto-ease);
}

.site-header__logo:hover .site-header__logo-mark {
    transform: rotate(180deg) scale(1.05);
}

.site-header__logo-mark .icon {
    width: 22px;
    height: 22px;
}

.site-header__logo-accent {
    color: var(--crypto-accent);
}

/* Десктопное меню */
.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__item {
    position: relative;
}

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

.site-nav__link:hover,
.site-nav__item--current > .site-nav__link {
    color: var(--crypto-text);
    background: rgba(255, 255, 255, 0.05);
}

.site-nav__item--has-children > .site-nav__link::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.3s ease;
}

.site-nav__item--has-children:hover > .site-nav__link::after {
    transform: rotate(-135deg) translateY(-1px);
}

.site-nav__submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 2px;
    min-width: 360px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: var(--crypto-surface);
    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.25s ease, transform 0.3s var(--crypto-ease), visibility 0.25s;
}

.site-nav__submenu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.site-nav__item--has-children:hover > .site-nav__submenu,
.site-nav__item--has-children:focus-within > .site-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav__link--sub {
    display: flex;
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
}

.site-nav__link--sub:hover {
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    transform: translateX(3px);
}

/* Бургер */
.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    border: 1px solid var(--crypto-border-strong);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.site-header__burger:hover {
    border-color: var(--crypto-accent);
}

.site-header__burger-line {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: var(--crypto-text);
    transition: transform 0.35s var(--crypto-ease), opacity 0.25s ease;
}

.site-header__burger--active .site-header__burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__burger--active .site-header__burger-line:nth-child(2) {
    opacity: 0;
}

.site-header__burger--active .site-header__burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
    background: var(--crypto-bg-soft);
    border-top: 1px solid transparent;
    transition: max-height 0.45s var(--crypto-ease), border-color 0.3s ease;
}

.mobile-menu--open {
    max-height: calc(100vh - var(--crypto-header-h));
    overflow-y: auto;
    border-top-color: var(--crypto-border);
}

.mobile-menu__nav {
    padding-top: 12px;
    padding-bottom: 20px;
}

.mobile-nav,
.mobile-nav__submenu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav__item {
    position: relative;
    border-bottom: 1px solid var(--crypto-border);
}

.mobile-nav__item--sub {
    border-bottom: 0;
}

.mobile-nav__link {
    display: block;
    padding: 14px 52px 14px 4px;
    color: var(--crypto-text);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}

.mobile-nav__link--sub {
    padding: 9px 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--crypto-text-soft);
}

.mobile-nav__link:hover {
    color: var(--crypto-accent);
}

.mobile-nav__toggle {
    position: absolute;
    top: 6px;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--crypto-border);
    border-radius: 10px;
    color: var(--crypto-text);
    background: transparent;
    cursor: pointer;
}

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

.mobile-nav__item--open > .mobile-nav__toggle .icon {
    transform: rotate(180deg);
}

.mobile-nav__submenu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--crypto-ease);
}

.mobile-nav__item--open > .mobile-nav__submenu {
    max-height: 600px;
    padding-bottom: 10px;
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.site-main {
    display: block;
}

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

.section--alt .section__panel,
.section__panel {
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--crypto-border);
    border-radius: calc(var(--crypto-radius) + 6px);
    background: linear-gradient(160deg, rgba(2, 54, 97, 0.35), rgba(19, 22, 31, 0.9) 55%);
}

.section__head {
    max-width: 780px;
    margin: 0 0 28px;
}

.section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section__head--center .section__icon {
    margin-left: auto;
    margin-right: auto;
}

.section__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 14px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    border: 1px solid rgba(219, 82, 39, 0.3);
}

.section__title {
    margin-bottom: 12px;
}

.section__lead {
    font-size: 17px;
    color: var(--crypto-text-soft);
}

.section__text p {
    font-size: 16px;
}

.section__subtitle {
    margin-top: 28px;
}

/* =====================================================================
   HERO (первый экран с виджетом справа)
   ===================================================================== */
.hero {
    position: relative;
    padding: clamp(40px, 6vw, 80px) 0 calc(var(--crypto-section-y) + 10px);
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    inset: -20% -10% auto auto;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(219, 82, 39, 0.22), transparent 62%);
    pointer-events: none;
    will-change: transform;
}

.hero__grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(118, 130, 142, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 130, 142, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 7px 12px;
    border: 1px solid var(--crypto-border-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--crypto-text);
    font-size: 14px;
    font-weight: 600;
}

.hero__badge-coins {
    display: inline-flex;
}

.hero__badge-coins .coin-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--crypto-bg);
    background: #fff;
    animation: coin-float 4s ease-in-out infinite;
}

.hero__badge-coins .coin-logo + .coin-logo {
    margin-left: -10px;
    animation-delay: 0.6s;
}

.hero__badge-arrow {
    display: inline-flex;
    color: var(--crypto-accent);
}

.hero__badge-arrow .icon {
    width: 18px;
    height: 18px;
}

.hero__title {
    margin-bottom: 20px;
}

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

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

.hero__point {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface);
    transition: transform 0.35s var(--crypto-ease), border-color 0.3s ease;
}

.hero__point:hover {
    transform: translateY(-5px) rotate(-6deg);
    border-color: var(--crypto-accent);
}

.hero__point .coin-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.hero__widget {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.widget-frame {
    position: relative;
    width: 100%;
    max-width: 524px;
    padding: 12px;
    border-radius: calc(var(--crypto-radius) + 4px);
    border: 1px solid var(--crypto-border-strong);
    background: linear-gradient(160deg, rgba(2, 54, 97, 0.65), rgba(19, 22, 31, 0.95));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(219, 82, 39, 0.12);
    transition: transform 0.45s var(--crypto-ease), box-shadow 0.45s ease;
}

.widget-frame::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--crypto-accent), transparent 40%, var(--crypto-blue));
    opacity: 0.7;
    filter: blur(18px);
    animation: glow-pulse 5s ease-in-out infinite;
}

.widget-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(219, 82, 39, 0.35);
}

.exchange-widget {
    display: block;
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
    border: 0;
    border-radius: var(--crypto-radius-sm);
    background: #fff;
}

/* =====================================================================
   PAGE HERO (первый экран с фоновой картинкой)
   ===================================================================== */
.page-hero {
    position: relative;
    padding: clamp(56px, 8vw, 110px) 0 clamp(44px, 6vw, 80px);
    overflow: hidden;
    isolation: isolate;
}

.page-hero__bg {
    position: absolute;
    inset: -12% 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(10, 12, 18, 0.96) 0%, rgba(10, 12, 18, 0.82) 50%, rgba(2, 54, 97, 0.55) 100%),
        linear-gradient(0deg, var(--crypto-bg) 0%, transparent 40%);
}

.page-hero__inner {
    max-width: 820px;
}

.page-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 22px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--crypto-accent), #a83a17);
    box-shadow: 0 12px 30px rgba(219, 82, 39, 0.4);
    animation: coin-float 5s ease-in-out infinite;
}

.page-hero__icon .icon {
    width: 28px;
    height: 28px;
}

.page-hero__text {
    font-size: 18px;
    color: var(--crypto-text-soft);
}

/* =====================================================================
   SPLIT (картинка + текст)
   ===================================================================== */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 60px);
}

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

.split__media {
    position: relative;
    border-radius: var(--crypto-radius);
    overflow: hidden;
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
    aspect-ratio: 4 / 3;
    transition: box-shadow 0.4s ease, transform 0.4s var(--crypto-ease);
}

.split__media--tall {
    aspect-ratio: 4 / 5;
    max-height: 560px;
}

.split__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 12, 18, 0.55));
    pointer-events: none;
}

.split__media:hover {
    transform: translateY(-6px);
    box-shadow: var(--crypto-shadow-hover);
}

.split__img {
    width: 100%;
    height: 116%;
    margin-top: -8%;
    object-fit: cover;
    transition: scale 0.8s var(--crypto-ease), filter 0.5s ease;
    will-change: transform;
}

.split__media:hover .split__img {
    scale: 1.06;
    filter: saturate(1.15);
}

.split__tag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: #fff;
    background: rgba(219, 82, 39, 0.92);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.split__body > h2 {
    margin-bottom: 16px;
}

.split__body p {
    font-size: 16px;
}

/* =====================================================================
   CARDS: features / info
   ===================================================================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

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

.feature-card {
    position: relative;
    padding: 26px;
    border-radius: var(--crypto-radius);
    border: 1px solid var(--crypto-border);
    background: linear-gradient(180deg, var(--crypto-surface-2), var(--crypto-surface));
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s ease, border-color 0.3s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -40%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(219, 82, 39, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.6s var(--crypto-ease);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(219, 82, 39, 0.5);
    box-shadow: var(--crypto-shadow-hover);
}

.feature-card:hover::before {
    opacity: 1;
    transform: translate(-20px, 30px);
}

.feature-card__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 15px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    border: 1px solid rgba(219, 82, 39, 0.28);
    transition: transform 0.5s var(--crypto-ease), background-color 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-card__icon {
    color: #fff;
    background: var(--crypto-accent);
    transform: rotate(-8deg) scale(1.08);
}

.feature-card__title {
    position: relative;
    margin-bottom: 10px;
}

.feature-card__text {
    position: relative;
    margin: 0;
    font-size: 15px;
}

/* Инфо-блок: иконка + текст (политики, статьи) */
.info-block {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    padding: clamp(22px, 3.5vw, 38px);
    border-radius: var(--crypto-radius);
    border: 1px solid var(--crypto-border);
    background: linear-gradient(160deg, rgba(2, 54, 97, 0.28), var(--crypto-surface) 60%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s ease, border-color 0.3s ease;
}

.info-block:hover {
    transform: translateY(-5px);
    border-color: rgba(219, 82, 39, 0.45);
    box-shadow: var(--crypto-shadow-hover);
}

.info-block__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    border: 1px solid rgba(219, 82, 39, 0.3);
    transition: transform 0.5s var(--crypto-ease);
}

.info-block:hover .info-block__icon {
    transform: rotate(10deg) scale(1.08);
}

.info-block__body h3 {
    margin-top: 22px;
}

/* =====================================================================
   PAIR LINKS / DIRECTION CARDS
   ===================================================================== */
.direction-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.direction-card {
    padding: 28px;
    border-radius: var(--crypto-radius);
    border: 1px solid var(--crypto-border);
    background: linear-gradient(180deg, var(--crypto-surface-2), var(--crypto-surface));
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s ease, border-color 0.3s ease;
}

.direction-card:hover {
    transform: translateY(-6px);
    border-color: rgba(219, 82, 39, 0.4);
    box-shadow: var(--crypto-shadow-hover);
}

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

.direction-card__head h3 {
    margin: 0;
    font-size: 21px;
}

.direction-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--crypto-accent), var(--crypto-blue));
}

.direction-card__icon--sell {
    background: linear-gradient(135deg, var(--crypto-blue), var(--crypto-graphite));
}

.direction-card > p {
    margin-bottom: 18px;
    font-size: 15px;
}

.pair-links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pair-links__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--crypto-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--crypto-text);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.3s var(--crypto-ease), border-color 0.25s ease, background-color 0.25s ease;
}

.pair-links__link:hover {
    color: var(--crypto-text);
    transform: translateX(6px);
    border-color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
}

.pair-links__coins {
    display: inline-flex;
    flex-shrink: 0;
}

.pair-links__logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--crypto-surface);
    background: #fff;
    transition: transform 0.35s var(--crypto-ease);
}

.pair-links__logo + .pair-links__logo {
    margin-left: -9px;
}

.pair-links__link:hover .pair-links__logo:first-child {
    transform: translateX(-3px) rotate(-12deg);
}

.pair-links__link:hover .pair-links__logo:last-child {
    transform: translateX(3px) rotate(12deg);
}

.pair-links__text {
    flex: 1;
}

.pair-links__arrow {
    display: inline-flex;
    color: var(--crypto-accent);
    transition: transform 0.3s ease;
}

.pair-links__arrow .icon {
    width: 18px;
    height: 18px;
}

.pair-links__link:hover .pair-links__arrow {
    transform: translateX(4px);
}

/* =====================================================================
   NETWORK LIST / CHECK LIST / GUIDE LIST
   ===================================================================== */
.network-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.network-list__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface);
    color: var(--crypto-text);
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s var(--crypto-ease), border-color 0.25s ease;
}

.network-list__item:hover {
    transform: translateY(-3px);
    border-color: var(--crypto-accent);
}

.network-list__item .icon {
    width: 18px;
    height: 18px;
    color: var(--crypto-accent);
}

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

.check-list__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface);
    transition: border-color 0.25s ease, transform 0.3s var(--crypto-ease);
}

.check-list__item:hover {
    transform: translateX(5px);
    border-color: rgba(219, 82, 39, 0.5);
}

.check-list__item .icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--crypto-accent);
}

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

.guide-list__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface);
    transition: transform 0.35s var(--crypto-ease), border-color 0.25s ease, box-shadow 0.35s ease;
}

.guide-list__item:hover {
    transform: translateY(-4px);
    border-color: rgba(219, 82, 39, 0.5);
    box-shadow: var(--crypto-shadow);
}

.guide-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 13px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
}

.guide-list__item p {
    margin: 0;
}

/* =====================================================================
   STEPS (нумерованный процесс)
   ===================================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
    margin: 22px 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.steps__item {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--crypto-border);
    background: linear-gradient(180deg, var(--crypto-surface-2), var(--crypto-surface));
    counter-increment: steps;
    transition: transform 0.4s var(--crypto-ease), border-color 0.3s ease, box-shadow 0.4s ease;
}

.steps__item::before {
    content: counter(steps);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--crypto-accent), #a83a17);
    transition: transform 0.4s var(--crypto-ease);
}

.steps__item:hover {
    transform: translateY(-5px);
    border-color: rgba(219, 82, 39, 0.5);
    box-shadow: var(--crypto-shadow-hover);
}

.steps__item:hover::before {
    transform: scale(1.1) rotate(-8deg);
}

.steps__item p {
    margin: 0;
    font-size: 15px;
}

/* =====================================================================
   TABLES
   ===================================================================== */
.table-wrap {
    margin: 22px 0;
    overflow-x: auto;
    border-radius: var(--crypto-radius);
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface);
    box-shadow: var(--crypto-shadow);
}

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

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

.data-table th {
    color: var(--crypto-text);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, rgba(2, 54, 97, 0.7), rgba(63, 58, 66, 0.5));
}

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

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

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

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

.data-table a {
    color: var(--crypto-accent);
    text-decoration: underline;
    font-weight: 600;
}

/* =====================================================================
   CTA (фоновая картинка + кнопка)
   ===================================================================== */
.cta__box {
    position: relative;
    padding: clamp(36px, 6vw, 72px);
    border-radius: calc(var(--crypto-radius) + 8px);
    border: 1px solid var(--crypto-border-strong);
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    box-shadow: var(--crypto-shadow);
}

.cta__bg {
    position: absolute;
    inset: -15% 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transition: scale 1.2s var(--crypto-ease);
    will-change: transform;
}

.cta__box:hover .cta__bg {
    scale: 1.06;
}

.cta__box::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(10, 12, 18, 0.72), rgba(10, 12, 18, 0.92));
}

.cta__content {
    max-width: 720px;
    margin: 0 auto;
}

.cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--crypto-accent);
    box-shadow: 0 0 0 10px rgba(219, 82, 39, 0.18);
    animation: ring-pulse 2.8s ease-in-out infinite;
}

.cta__content p {
    margin-bottom: 26px;
    font-size: 17px;
    color: var(--crypto-text-soft);
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq__list {
    display: grid;
    gap: 12px;
}

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

.faq__item:hover {
    border-color: rgba(219, 82, 39, 0.45);
    transform: translateY(-2px);
}

.faq__item[open] {
    border-color: rgba(219, 82, 39, 0.6);
    box-shadow: var(--crypto-shadow);
}

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

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

.faq__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 11px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
}

.faq__badge .icon {
    width: 20px;
    height: 20px;
}

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

.faq__toggle {
    display: inline-flex;
    color: var(--crypto-text-muted);
    transition: transform 0.35s var(--crypto-ease), color 0.3s ease;
}

.faq__item[open] .faq__toggle {
    transform: rotate(45deg);
    color: var(--crypto-accent);
}

.faq__answer {
    padding: 0 20px 20px 72px;
    animation: faq-open 0.4s var(--crypto-ease);
}

/* =====================================================================
   GUIDE CARDS (категория блога)
   ===================================================================== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
}

.guide-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--crypto-radius);
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface);
    overflow: hidden;
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s ease, border-color 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-8px);
    border-color: rgba(219, 82, 39, 0.5);
    box-shadow: var(--crypto-shadow-hover);
}

.guide-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

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

.guide-card__icon {
    position: absolute;
    left: 16px;
    bottom: -22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    background: var(--crypto-accent);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.guide-card__body {
    position: relative;
    flex: 1;
    padding: 34px 24px 26px;
}

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

.guide-card__title a {
    color: var(--crypto-text);
    text-decoration: none;
    background-image: linear-gradient(var(--crypto-accent), var(--crypto-accent));
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.4s ease, color 0.3s ease;
}

.guide-card__title a:hover {
    color: var(--crypto-accent);
    background-size: 100% 2px;
}

.guide-card__body p {
    font-size: 15px;
}

/* =====================================================================
   ARTICLE (одиночные статьи)
   ===================================================================== */
.article-hero {
    padding: clamp(40px, 6vw, 72px) 0 var(--crypto-section-y);
}

.article-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.article-hero__eyebrow .icon {
    width: 16px;
    height: 16px;
}

.article__content {
    padding-bottom: var(--crypto-section-y);
}

.article__section {
    margin-bottom: 22px;
}

.article__heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.article__heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 13px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    border: 1px solid rgba(219, 82, 39, 0.28);
}

.article__content h3 {
    margin-top: 22px;
}

.article__content p,
.article__content li {
    font-size: 17px;
}

.article__figure {
    position: relative;
    margin: 26px 0;
    border-radius: var(--crypto-radius);
    overflow: hidden;
    border: 1px solid var(--crypto-border);
    aspect-ratio: 16 / 8;
    box-shadow: var(--crypto-shadow);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s ease;
}

.article__figure--tall {
    aspect-ratio: 16 / 10;
}

.article__figure:hover {
    transform: translateY(-5px);
    box-shadow: var(--crypto-shadow-hover);
}

.article__figure img {
    width: 100%;
    height: 118%;
    margin-top: -9%;
    object-fit: cover;
    transition: scale 0.8s var(--crypto-ease);
    will-change: transform;
}

.article__figure:hover img {
    scale: 1.05;
}

.article__ol {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
    counter-reset: art;
}

.article__ol li {
    position: relative;
    padding: 14px 16px 14px 62px;
    border-radius: 12px;
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface);
    counter-increment: art;
    transition: transform 0.3s var(--crypto-ease), border-color 0.25s ease;
}

.article__ol li::before {
    content: counter(art);
    position: absolute;
    left: 14px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    background: var(--crypto-accent);
}

.article__ol li:hover {
    transform: translateX(5px);
    border-color: rgba(219, 82, 39, 0.5);
}

/* =====================================================================
   CHART — общая секция стилей графика ([pair-chart])
   ===================================================================== */
.pair-chart {
    position: relative;
    padding: clamp(18px, 3vw, 28px);
    border-radius: var(--crypto-radius);
    border: 1px solid var(--crypto-border);
    background: linear-gradient(180deg, var(--crypto-surface-2), var(--crypto-surface));
    box-shadow: var(--crypto-shadow);
    transition: border-color 0.3s ease, box-shadow 0.4s ease;
}

.pair-chart:hover {
    border-color: rgba(219, 82, 39, 0.4);
    box-shadow: var(--crypto-shadow-hover);
}

.pair-chart__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-bottom: 18px;
}

.pair-chart__rate {
    display: flex;
    flex-direction: column;
}

.pair-chart__rate-label {
    font-size: 13px;
    color: var(--crypto-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pair-chart__rate-value {
    color: var(--crypto-text);
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pair-chart__changes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pair-chart__change {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid var(--crypto-border);
    color: var(--crypto-text-muted);
    font-size: 13px;
    font-weight: 600;
}

.pair-chart__badge {
    font-weight: 700;
}

.pair-chart__badge--up {
    color: var(--crypto-success);
}

.pair-chart__badge--down {
    color: var(--crypto-danger);
}

.pair-chart__updated {
    margin: 0 0 0 auto;
    font-size: 13px;
    color: var(--crypto-text-muted);
}

.pair-chart__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pair-chart__tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--crypto-border);
    background: var(--crypto-bg-soft);
}

.pair-chart__tab {
    padding: 7px 14px;
    border-radius: 9px;
    color: var(--crypto-text-muted);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.pair-chart__tab:hover {
    color: var(--crypto-text);
}

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

.pair-chart__radio--24h:checked ~ .pair-chart__panels .pair-chart__panel--24h,
.pair-chart__radio--7d:checked ~ .pair-chart__panels .pair-chart__panel--7d,
.pair-chart__radio--30d:checked ~ .pair-chart__panels .pair-chart__panel--30d,
.pair-chart__radio--90d:checked ~ .pair-chart__panels .pair-chart__panel--90d,
.pair-chart__radio--1y:checked ~ .pair-chart__panels .pair-chart__panel--1y {
    display: block;
}

.pair-chart__radio--24h:checked ~ .pair-chart__tabs .pair-chart__tab--24h,
.pair-chart__radio--7d:checked ~ .pair-chart__tabs .pair-chart__tab--7d,
.pair-chart__radio--30d:checked ~ .pair-chart__tabs .pair-chart__tab--30d,
.pair-chart__radio--90d:checked ~ .pair-chart__tabs .pair-chart__tab--90d,
.pair-chart__radio--1y:checked ~ .pair-chart__tabs .pair-chart__tab--1y {
    color: #fff;
    background: var(--crypto-accent);
}

.pair-chart__radio:focus-visible ~ .pair-chart__tabs {
    outline: 2px solid var(--crypto-accent);
    outline-offset: 2px;
}

.pair-chart__period-change {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--crypto-text-muted);
}

.chart {
    position: relative;
}

.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-size: 11px;
    font-family: inherit;
}

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

.chart__line {
    fill: none;
    stroke: var(--crypto-accent);
    stroke-width: 2.4;
    stroke-linejoin: round;
    stroke-linecap: round;
}

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

.chart-empty {
    padding: 24px;
    border-radius: var(--crypto-radius-sm);
    border: 1px dashed var(--crypto-border-strong);
    color: var(--crypto-text-muted);
    text-align: center;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    position: relative;
    margin-top: calc(var(--crypto-section-y) * 2);
    padding-top: 56px;
    border-top: 1px solid var(--crypto-border);
    background: linear-gradient(180deg, var(--crypto-bg-soft), #07080c);
    overflow: hidden;
}

.site-footer__glow {
    position: absolute;
    top: -200px;
    left: 50%;
    width: 700px;
    height: 400px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(2, 54, 97, 0.6), transparent 70%);
    pointer-events: none;
}

.site-footer__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr));
    gap: 32px 24px;
    padding-bottom: 40px;
}

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

.site-footer__mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--crypto-border-strong);
    color: var(--crypto-text);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.3s var(--crypto-ease), color 0.25s ease;
}

.site-footer__mail:hover {
    color: var(--crypto-accent);
    border-color: var(--crypto-accent);
    transform: translateY(-3px);
}

.site-footer__mail-icon {
    display: inline-flex;
    color: var(--crypto-accent);
}

.site-footer__mail-icon .icon {
    width: 18px;
    height: 18px;
}

.site-footer__title {
    margin-bottom: 14px;
    color: var(--crypto-text);
    font-weight: 700;
    font-size: 15px;
}

.footer-nav {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav__link {
    display: inline-block;
    color: var(--crypto-text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.3s var(--crypto-ease);
}

.footer-nav__link:hover {
    color: var(--crypto-accent);
    transform: translateX(4px);
}

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

.site-footer__bottom-inner {
    padding-top: 20px;
    padding-bottom: 20px;
}

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

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper {
    padding: clamp(60px, 10vw, 130px) 0;
    text-align: center;
}

.error404__code {
    font-size: clamp(110px, 22vw, 220px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--crypto-accent), var(--crypto-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: coin-float 5s ease-in-out infinite;
}

.error404__title {
    margin-top: 10px;
}

.error404__text {
    margin-bottom: 30px;
    font-size: 18px;
}

/* =====================================================================
   ANIMATIONS: появление при скролле, ключевые кадры
   ===================================================================== */
.js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--crypto-ease), transform 0.8s var(--crypto-ease);
    transition-delay: var(--reveal-delay, 0s);
}

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

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

@keyframes glow-pulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.85; }
}

@keyframes ring-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(219, 82, 39, 0.45); }
    50% { box-shadow: 0 0 0 14px rgba(219, 82, 39, 0); }
}

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

@keyframes faq-open {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: 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;
    }
}

/* =====================================================================
   ADAPTIVE
   ===================================================================== */
@media (max-width: 1100px) {
    .site-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 992px) {
    .site-header__nav {
        display: none;
    }

    .site-header__burger {
        display: inline-flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__widget {
        justify-content: center;
    }

    .widget-frame {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --crypto-header-h: 66px;
    }

    body {
        font-size: 15px;
        background-attachment: scroll;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: calc(var(--crypto-section-y) + 5px) 0;
    }

    .split,
    .direction-grid,
    .features--two {
        grid-template-columns: 1fr;
    }

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

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

    .hero__text,
    .page-hero__text {
        font-size: 16px;
    }

    .info-block {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pair-chart__updated {
        margin-left: 0;
        width: 100%;
    }

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

    .faq__answer {
        padding-left: 20px;
    }
}

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

    .section {
        padding: calc(var(--crypto-section-y) + 8px) 0;
    }

    .hero {
        padding-top: 32px;
    }

    .hero__badge {
        font-size: 13px;
    }

    .widget-frame {
        padding: 6px;
    }

    .network-list {
        grid-template-columns: 1fr;
    }

    .mobile-nav__submenu {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .direction-card {
        padding: 22px 18px;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        padding: 0 20px;
    }

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

    .faq__title {
        font-size: 16px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .chart__label {
        font-size: 13px;
    }
}
