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

/* =====================================================================
   ROOT VARIABLES — палитра Pine Grove / Fuchsia Flame
   (структура карточек и кнопок — по мотивам Kraken)
   ===================================================================== */
:root {
    --crypto-bg: #f7f3f5;
    --crypto-surface: #ffffff;
    --crypto-surface-2: #fbf6f8;
    --crypto-dark: #223631;
    --crypto-dark-deep: #142420;
    --crypto-text: #15201d;
    --crypto-text-muted: #5d6b67;
    --crypto-text-light: #e8f0ed;
    --crypto-accent: #9b0047;
    --crypto-accent-hover: #7a0038;
    --crypto-accent-bright: #e0177d;
    --crypto-accent-soft: rgba(155, 0, 71, 0.1);
    --crypto-green: #1e6b52;
    --crypto-green-bright: #2f9a72;
    --crypto-green-soft: rgba(30, 107, 82, 0.12);
    --crypto-gold: #c9a24c;
    --crypto-border: #ecdfe5;
    --crypto-radius: 20px;
    --crypto-radius-lg: 28px;
    --crypto-shadow: 0 10px 30px rgba(34, 54, 49, 0.08);
    --crypto-shadow-hover: 0 24px 50px rgba(155, 0, 71, 0.16);
    --crypto-section-y: 22px;
    --crypto-gutter: 24px;
    --crypto-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --crypto-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: var(--crypto-font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--crypto-text);
    background: var(--crypto-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

h1 {
    font-size: clamp(32px, 4.4vw, 54px);
}

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

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

p {
    margin: 0 0 14px;
}

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

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

/* Ссылки внутри абзацев отличаются от текста */
p a,
li a,
td a {
    color: var(--crypto-accent);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    font-weight: 600;
}

p a:hover,
li a:hover,
td a:hover {
    color: var(--crypto-accent-bright);
}

b {
    font-weight: 800;
}

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

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

/* =====================================================================
   REVEAL ON SCROLL
   ===================================================================== */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--crypto-ease), transform 0.7s var(--crypto-ease);
}

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

@keyframes crypto-float {
    0%, 100% { transform: translate3d(0, var(--parallax, 0), 0) scale(1); }
    50% { transform: translate3d(0, calc(var(--parallax, 0px) - 18px), 0) scale(1.06); }
}

@keyframes crypto-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(224, 23, 125, 0.45); }
    50% { box-shadow: 0 0 0 10px rgba(224, 23, 125, 0); }
}

@keyframes crypto-slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
}

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

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(20, 36, 32, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: box-shadow 0.3s var(--crypto-ease), background 0.3s var(--crypto-ease);
}

.site-header.is-scrolled {
    background: rgba(20, 36, 32, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.site-header__brand .custom-logo {
    max-height: 44px;
    width: auto;
}

.site-header__mark,
.site-footer__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-bright), var(--crypto-accent));
    box-shadow: 0 6px 18px rgba(224, 23, 125, 0.35);
    transition: transform 0.4s var(--crypto-ease);
}

.site-header__brand:hover .site-header__mark {
    transform: rotate(-8deg) scale(1.08);
}

.site-header__name,
.site-footer__name {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.site-header__name > a {
    color: #fff;
    text-decoration: none;
}

.site-header__name > a:hover {
    color: var(--crypto-accent-bright);
}

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

.site-nav__item {
    position: relative;
}

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

.site-nav__item > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.site-nav__item.menu-item-has-children > a::after,
.site-nav__item.menu-item-has-children > .menu-current::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s var(--crypto-ease);
}

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

.site-nav__submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(20, 36, 32, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s var(--crypto-ease), transform 0.25s var(--crypto-ease), visibility 0.25s;
}

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

.site-nav__item:hover > .site-nav__submenu,
.site-nav__item:focus-within > .site-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.site-nav__submenu .site-nav__item > a,
.site-nav__submenu .site-nav__item > .menu-current {
    display: flex;
    width: 100%;
    border-radius: 12px;
    color: var(--crypto-text);
    font-size: 14px;
}

.site-nav__submenu .site-nav__item > a:hover {
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    transform: translateX(4px);
}

.menu-current {
    color: var(--crypto-accent-bright) !important;
    cursor: default;
}

.site-nav__submenu .menu-current {
    color: var(--crypto-accent) !important;
    background: var(--crypto-accent-soft);
}

/* Бургер */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.25s var(--crypto-ease);
}

.burger:hover {
    background: rgba(224, 23, 125, 0.2);
}

.burger__line {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.3s var(--crypto-ease), opacity 0.3s var(--crypto-ease);
}

.burger.is-active .burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-active .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.is-active .burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================================
   BUTTONS (ссылка без классов — стили через родителя)
   ===================================================================== */
.cta__action a,
.error404__actions a,
.hero__action a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--crypto-accent-bright), var(--crypto-accent));
    box-shadow: 0 12px 28px rgba(155, 0, 71, 0.35);
    overflow: hidden;
    transition: transform 0.3s var(--crypto-ease), box-shadow 0.3s var(--crypto-ease);
}

.cta__action a::after,
.error404__actions a::after {
    content: "→";
    transition: transform 0.3s var(--crypto-ease);
}

.cta__action a::before,
.error404__actions a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--crypto-ease);
}

.cta__action a:hover,
.error404__actions a:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(155, 0, 71, 0.45);
}

.cta__action a:hover::before,
.error404__actions a:hover::before {
    transform: translateX(120%);
}

.cta__action a:hover::after,
.error404__actions a:hover::after {
    transform: translateX(5px);
}

/* =====================================================================
   HERO (с виджетом обменника)
   ===================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 56px;
    color: var(--crypto-text-light);
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(224, 23, 125, 0.28), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(47, 154, 114, 0.3), transparent 60%),
        linear-gradient(160deg, var(--crypto-dark) 0%, var(--crypto-dark-deep) 100%);
}

.hero__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    animation: crypto-float 9s ease-in-out infinite;
}

.hero__orb--pink {
    width: 260px;
    height: 260px;
    right: 6%;
    top: -80px;
    background: radial-gradient(circle at 30% 30%, rgba(224, 23, 125, 0.65), rgba(155, 0, 71, 0.05) 70%);
}

.hero__orb--green {
    width: 340px;
    height: 340px;
    left: -120px;
    bottom: -160px;
    background: radial-gradient(circle at 60% 40%, rgba(47, 154, 114, 0.55), rgba(30, 107, 82, 0.05) 70%);
    animation-duration: 12s;
}

.hero__orb--gold {
    width: 120px;
    height: 120px;
    left: 44%;
    top: 30px;
    background: radial-gradient(circle, rgba(201, 162, 76, 0.45), transparent 70%);
    animation-duration: 7s;
}

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

.hero__title {
    color: #fff;
}

.hero__text {
    font-size: 18px;
    color: rgba(232, 240, 237, 0.86);
    max-width: 620px;
}

.hero__content p a {
    color: #ff7cbc;
}

.hero__widget {
    position: relative;
    padding: 14px;
    border-radius: var(--crypto-radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s var(--crypto-ease), box-shadow 0.4s var(--crypto-ease);
}

.hero__widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 36px 80px rgba(155, 0, 71, 0.35);
}

.hero__note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 4px 0;
    font-size: 14px;
    color: rgba(232, 240, 237, 0.8);
}

.hero__note .icon {
    color: var(--crypto-gold);
}

/* Виджет обменника */
.exchange-widget {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    min-height: 400px;
}

.exchange-widget__frame {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 400px;
    border: 0;
}

/* Якорное меню страницы */
.toc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.toc__item > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: background 0.25s var(--crypto-ease), transform 0.25s var(--crypto-ease), border-color 0.25s;
}

.toc__item > a::before {
    content: "#";
    color: var(--crypto-accent-bright);
    font-weight: 800;
}

.toc__item > a:hover {
    color: #fff;
    background: rgba(224, 23, 125, 0.28);
    border-color: rgba(224, 23, 125, 0.5);
    transform: translateY(-2px);
}

/* =====================================================================
   PAGE HERO (без виджета, с фоновой картинкой)
   ===================================================================== */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 64px;
    color: var(--crypto-text-light);
    background: var(--crypto-dark-deep);
}

.page-hero__bg {
    position: absolute;
    inset: -80px 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.38;
    transform: translate3d(0, var(--parallax, 0), 0);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 90% 0%, rgba(224, 23, 125, 0.3), transparent 60%),
        linear-gradient(180deg, rgba(20, 36, 32, 0.55) 0%, rgba(20, 36, 32, 0.92) 100%);
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.page-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--crypto-accent-bright), var(--crypto-accent));
    box-shadow: 0 12px 30px rgba(224, 23, 125, 0.4);
    animation: crypto-pulse 2.8s ease-in-out infinite;
}

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

.page-hero__title {
    color: #fff;
}

.page-hero__text {
    font-size: 18px;
    color: rgba(232, 240, 237, 0.88);
}

.page-hero p a {
    color: #ff7cbc;
}

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

.site-main > .section:first-of-type,
.hero + .section,
.page-hero + .section {
    padding-top: calc(var(--crypto-section-y) * 2);
}

.section__box {
    position: relative;
    padding: 48px;
    border-radius: var(--crypto-radius-lg);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
}

.section__box--tint {
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(224, 23, 125, 0.08), transparent 60%),
        var(--crypto-surface-2);
}

.section__box--dark {
    color: var(--crypto-text-light);
    background:
        radial-gradient(700px 360px at 100% 0%, rgba(224, 23, 125, 0.22), transparent 60%),
        radial-gradient(700px 360px at 0% 100%, rgba(47, 154, 114, 0.25), transparent 60%),
        var(--crypto-dark);
    border-color: transparent;
}

.section__box--dark h2,
.section__box--dark h3 {
    color: #fff;
}

.section__box--dark p a,
.section__box--dark li a,
.section__box--dark td a {
    color: #ff7cbc;
}

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

.section__title {
    margin: 0;
}

.section__icon,
.article__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    transition: transform 0.4s var(--crypto-ease), background 0.3s, color 0.3s;
}

.section__box--dark .section__icon {
    color: #fff;
    background: rgba(224, 23, 125, 0.3);
}

.section__head:hover .section__icon,
.article__head:hover .article__icon {
    transform: rotate(-10deg) scale(1.08);
    color: #fff;
    background: var(--crypto-accent);
}

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

.section__box--dark .section__lead,
.section__box--dark p {
    color: rgba(232, 240, 237, 0.86);
}

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

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

.feature-card {
    position: relative;
    padding: 28px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: 0 4px 16px rgba(34, 54, 49, 0.05);
    overflow: hidden;
    transition: transform 0.35s var(--crypto-ease), box-shadow 0.35s var(--crypto-ease), border-color 0.35s;
}

.feature-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--crypto-accent-bright), var(--crypto-green-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--crypto-ease);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(155, 0, 71, 0.25);
    box-shadow: var(--crypto-shadow-hover);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--crypto-green-bright), var(--crypto-green));
    box-shadow: 0 10px 22px rgba(30, 107, 82, 0.3);
    transition: transform 0.45s var(--crypto-ease), background 0.3s;
}

.feature-card:nth-child(even) .feature-card__icon {
    background: linear-gradient(135deg, var(--crypto-accent-bright), var(--crypto-accent));
    box-shadow: 0 10px 22px rgba(155, 0, 71, 0.3);
}

.feature-card:hover .feature-card__icon {
    transform: rotate(-8deg) scale(1.1);
}

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

.feature-card__text {
    margin: 0;
    color: var(--crypto-text-muted);
}

.section__box--dark .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.section__box--dark .feature-card__text {
    color: rgba(232, 240, 237, 0.8);
}

/* =====================================================================
   SPLIT (текст + картинка) и MEDIA
   ===================================================================== */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 44px;
    align-items: center;
}

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

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

.media {
    position: relative;
    margin: 0;
    border-radius: var(--crypto-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 20px 50px rgba(20, 36, 32, 0.22);
    transition: box-shadow 0.4s var(--crypto-ease), transform 0.4s var(--crypto-ease);
}

.media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(155, 0, 71, 0.25) 100%);
    opacity: 0.6;
    transition: opacity 0.4s var(--crypto-ease);
}

.media__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(0, var(--parallax, 0), 0) scale(var(--media-scale, 1.14));
    transition: transform 0.6s var(--crypto-ease), filter 0.6s var(--crypto-ease);
}

.media:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(155, 0, 71, 0.25);
}

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

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

.media--wide {
    aspect-ratio: 16 / 7;
    margin: 28px 0 0;
}

.media--lead {
    aspect-ratio: 16 / 8;
    margin-bottom: 28px;
}

/* =====================================================================
   STEPS
   ===================================================================== */
.steps {
    counter-reset: step;
    display: grid;
    gap: 14px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.steps__item {
    counter-increment: step;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 18px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    transition: transform 0.3s var(--crypto-ease), box-shadow 0.3s var(--crypto-ease), border-color 0.3s;
}

.steps__item::before {
    content: counter(step, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--crypto-accent-bright), var(--crypto-accent));
}

.steps__item:hover {
    transform: translateX(8px);
    border-color: rgba(155, 0, 71, 0.3);
    box-shadow: var(--crypto-shadow-hover);
}

.section__box--dark .steps__item {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Список с галочками */
.check-list {
    display: grid;
    gap: 12px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.check-list > li {
    position: relative;
    padding: 14px 18px 14px 52px;
    border-radius: 16px;
    background: var(--crypto-surface-2);
    border: 1px solid var(--crypto-border);
    transition: transform 0.3s var(--crypto-ease), border-color 0.3s;
}

.check-list > li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 16px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--crypto-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.check-list > li:hover {
    transform: translateX(6px);
    border-color: rgba(30, 107, 82, 0.4);
}

.section__box--dark .check-list > li {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

/* =====================================================================
   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: 0 4px 16px rgba(34, 54, 49, 0.05);
}

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

.data-table th {
    padding: 16px 18px;
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--crypto-dark);
}

.data-table td {
    padding: 15px 18px;
    border-top: 1px solid var(--crypto-border);
    vertical-align: middle;
    color: var(--crypto-text);
}

.data-table tbody tr {
    transition: background 0.25s var(--crypto-ease);
}

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

.data-table .is-num {
    text-align: right;
    white-space: nowrap;
}

.data-table td:first-child {
    font-weight: 700;
}

.data-table td:first-child .coin-badge {
    margin-right: 10px;
    vertical-align: middle;
}

/* Бейджи монет */
.coin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: var(--crypto-dark);
    box-shadow: 0 6px 14px rgba(20, 36, 32, 0.2);
    transition: transform 0.4s var(--crypto-ease);
}

.coin-badge--icp { background: linear-gradient(135deg, #f15a24, #9b0047 55%, #29abe2); }
.coin-badge--usdt { background: #26a17b; }
.coin-badge--btc { background: #f7931a; }
.coin-badge--eth { background: #627eea; }
.coin-badge--sol { background: linear-gradient(135deg, #9945ff, #14f195); }
.coin-badge--usdc { background: #2775ca; }
.coin-badge--xmr { background: #ff6600; }

tr:hover .coin-badge {
    transform: rotate(-12deg) scale(1.1);
}

/* =====================================================================
   COIN LINKS (другие направления обмена)
   ===================================================================== */
.coin-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.coin-links__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 44px 16px 16px;
    border-radius: 18px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    transition: transform 0.3s var(--crypto-ease), box-shadow 0.3s var(--crypto-ease), border-color 0.3s;
}

.coin-links__item::after {
    content: "→";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 800;
    color: var(--crypto-accent);
    transition: transform 0.3s var(--crypto-ease);
}

.coin-links__item > a {
    font-weight: 700;
    color: var(--crypto-text);
    text-decoration: none;
}

.coin-links__item > a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.coin-links__item:hover {
    transform: translateY(-5px);
    border-color: rgba(155, 0, 71, 0.3);
    box-shadow: var(--crypto-shadow-hover);
}

.coin-links__item:hover::after {
    transform: translate(5px, -50%);
}

.coin-links__item:hover .coin-badge {
    transform: rotate(-12deg) scale(1.12);
}

.coin-links__item > a:hover {
    color: var(--crypto-accent);
}

/* =====================================================================
   CTA
   ===================================================================== */
.cta {
    position: relative;
    overflow: hidden;
    padding: 56px 48px;
    border-radius: var(--crypto-radius-lg);
    color: var(--crypto-text-light);
    background: var(--crypto-accent);
    text-align: center;
    box-shadow: 0 30px 70px rgba(155, 0, 71, 0.3);
}

.cta__bg {
    position: absolute;
    inset: -60px 0;
    background-image: var(--cta-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    mix-blend-mode: luminosity;
    transform: translate3d(0, var(--parallax, 0), 0);
}

.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 0% 0%, rgba(224, 23, 125, 0.75), transparent 70%),
        linear-gradient(135deg, rgba(155, 0, 71, 0.85), rgba(34, 54, 49, 0.92));
}

.cta > *:not(.cta__bg) {
    position: relative;
    z-index: 1;
}

.cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: crypto-pulse 2.6s ease-in-out infinite;
}

.cta__title {
    color: #fff;
}

.cta__text {
    max-width: 720px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
}

.cta .cta__action a {
    color: var(--crypto-accent);
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

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

/* =====================================================================
   FAQ
   ===================================================================== */
.faq__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

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

.faq__item:hover {
    transform: translateY(-6px);
    border-color: rgba(155, 0, 71, 0.25);
    box-shadow: var(--crypto-shadow-hover);
}

.faq__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    transition: transform 0.4s var(--crypto-ease), background 0.3s, color 0.3s;
}

.faq__item:hover .faq__icon {
    transform: rotate(12deg);
    color: #fff;
    background: var(--crypto-accent);
}

.faq__question {
    font-size: 18px;
    margin-bottom: 8px;
}

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

/* =====================================================================
   CHART (общая секция стилей графика)
   ===================================================================== */
.rate-chart {
    margin: 24px 0 0;
    padding: 24px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: 0 4px 16px rgba(34, 54, 49, 0.05);
}

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

.rate-chart__current {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: center;
}

.rate-chart__icon {
    grid-row: span 2;
    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-bright), var(--crypto-accent));
}

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

.rate-chart__value {
    font-size: 24px;
    font-weight: 800;
}

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

.rate-chart__change {
    display: flex;
    flex-direction: column;
    padding: 8px 14px;
    border-radius: 14px;
    font-size: 12px;
    color: var(--crypto-text-muted);
    background: var(--crypto-surface-2);
    border: 1px solid var(--crypto-border);
    transition: transform 0.3s var(--crypto-ease);
}

.rate-chart__change:hover {
    transform: translateY(-3px);
}

.rate-chart__change b {
    font-size: 16px;
}

.rate-chart__change--up b,
.snapshot__change--up {
    color: var(--crypto-green-bright);
}

.rate-chart__change--down b,
.snapshot__change--down {
    color: var(--crypto-accent-bright);
}

.rate-chart__periods {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border-radius: 999px;
    background: var(--crypto-surface-2);
    border: 1px solid var(--crypto-border);
}

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

.rate-chart__period:hover {
    color: var(--crypto-accent);
}

.rate-chart__period.is-active {
    color: #fff;
    background: var(--crypto-accent);
}

.rate-chart__panel {
    animation: crypto-slide-up 0.5s var(--crypto-ease);
}

.rate-chart__hl {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
}

.rate-chart__hl span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rate-chart__high .icon {
    color: var(--crypto-green-bright);
    width: 18px;
    height: 18px;
}

.rate-chart__low .icon {
    color: var(--crypto-accent-bright);
    width: 18px;
    height: 18px;
}

.rate-chart__meta,
.rate-table__meta,
.snapshot__meta,
.converter__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--crypto-text-muted);
}

.rate-chart__meta .icon,
.rate-table__meta .icon,
.snapshot__meta .icon,
.converter__meta .icon {
    width: 16px;
    height: 16px;
    color: var(--crypto-accent);
}

.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 {
    font-family: var(--crypto-font);
    font-size: 11px;
    fill: var(--crypto-text-muted);
}

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

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

.chart__dot {
    fill: var(--crypto-accent-bright);
    stroke: #fff;
    stroke-width: 2;
}

.chart__hit {
    fill: var(--crypto-accent);
    fill-opacity: 0;
    stroke: #fff;
    stroke-width: 2;
    stroke-opacity: 0;
    cursor: pointer;
    transition: fill-opacity 0.2s, stroke-opacity 0.2s;
}

.chart__hit:hover {
    fill-opacity: 1;
    stroke-opacity: 1;
}

.chart-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 16px;
    color: var(--crypto-text-muted);
    background: var(--crypto-surface-2);
    border: 1px dashed var(--crypto-border);
}

.chart-empty::before {
    content: "i";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: 800;
    color: #fff;
    background: var(--crypto-accent);
}

/* Таблица курсов */
.rate-table {
    margin-top: 10px;
}

.rate-table .table-wrap {
    margin: 0;
}

/* =====================================================================
   MARKET SNAPSHOT
   ===================================================================== */
.snapshot__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.snapshot__card {
    position: relative;
    padding: 22px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: 0 4px 16px rgba(34, 54, 49, 0.05);
    transition: transform 0.35s var(--crypto-ease), box-shadow 0.35s var(--crypto-ease);
}

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

.snapshot__card--supply {
    background: var(--crypto-surface-2);
}

.snapshot__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 14px;
    color: var(--crypto-green);
    background: var(--crypto-green-soft);
}

.snapshot__label {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--crypto-text-muted);
}

.snapshot__value {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
}

.snapshot__change {
    margin: 0 0 8px;
    font-weight: 700;
}

.snapshot__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid var(--crypto-border);
    font-size: 14px;
}

/* =====================================================================
   CONVERTER
   ===================================================================== */
.converter {
    margin-top: 22px;
    padding: 26px;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: 0 4px 16px rgba(34, 54, 49, 0.05);
}

.converter__fields {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: center;
}

.converter__field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 6px 18px;
    border-radius: 16px;
    border: 1.5px solid var(--crypto-border);
    background: var(--crypto-surface-2);
    transition: border-color 0.25s, box-shadow 0.25s;
}

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

.converter__ticker {
    font-weight: 800;
    color: var(--crypto-accent);
}

.converter__input {
    flex: 1;
    min-width: 0;
    padding: 12px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    color: var(--crypto-text);
    outline: none;
}

.converter__swap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    background: var(--crypto-green);
    transition: transform 0.5s var(--crypto-ease);
}

.converter:hover .converter__swap {
    transform: rotate(180deg);
}

.converter__result {
    margin: 18px 0 14px;
    font-size: 20px;
    font-weight: 800;
}

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

.converter__preset {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--crypto-border);
    background: var(--crypto-surface-2);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--crypto-text);
    cursor: pointer;
    transition: transform 0.25s var(--crypto-ease), background 0.25s, color 0.25s;
}

.converter__preset:hover {
    transform: translateY(-2px);
    color: #fff;
    background: var(--crypto-accent);
}

/* =====================================================================
   GUIDE CARDS (страница блога)
   ===================================================================== */
.guide-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.guide-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(34, 54, 49, 0.05);
    transition: transform 0.35s var(--crypto-ease), box-shadow 0.35s var(--crypto-ease);
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--crypto-shadow-hover);
}

.guide-card__media {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

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

.guide-card__body {
    padding: 20px 22px 24px;
    color: var(--crypto-text-muted);
}

.guide-card__body > a {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--crypto-text);
    text-decoration: none;
}

.guide-card__body > a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.guide-card__body > a:hover {
    color: var(--crypto-accent);
}

/* =====================================================================
   ARTICLE / DOC PAGES
   ===================================================================== */
.article {
    padding: calc(var(--crypto-section-y) * 2) 0 var(--crypto-section-y);
}

.article__main {
    max-width: 880px;
    margin: 0 auto;
}

.article__summary {
    display: flex;
    gap: 18px;
    padding: 26px;
    margin-bottom: var(--crypto-section-y);
    border-radius: var(--crypto-radius);
    color: var(--crypto-text-light);
    background:
        radial-gradient(500px 240px at 100% 0%, rgba(224, 23, 125, 0.3), transparent 60%),
        var(--crypto-dark);
    box-shadow: var(--crypto-shadow);
}

.article__summary p {
    margin: 0;
    font-size: 17px;
}

.article__summary b {
    color: #ff7cbc;
}

.article__summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    background: var(--crypto-accent);
}

.article__toc {
    padding: 24px 26px;
    margin-bottom: var(--crypto-section-y);
    border-radius: var(--crypto-radius);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
}

.article__toc > p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article__toc > p .icon {
    color: var(--crypto-accent);
}

.article__toc-list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
}

.article__toc-item {
    counter-increment: toc;
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.article__toc-item::before {
    content: counter(toc, decimal-leading-zero);
    font-size: 13px;
    font-weight: 800;
    color: var(--crypto-accent-bright);
}

.article__toc-item > a {
    text-decoration: none;
    font-weight: 600;
    color: var(--crypto-text);
    transition: color 0.25s, padding 0.25s var(--crypto-ease);
}

.article__toc-item > a:hover {
    color: var(--crypto-accent);
    padding-left: 6px;
}

.article__section {
    padding: 34px 38px;
    margin-bottom: var(--crypto-section-y);
    border-radius: var(--crypto-radius-lg);
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
}

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

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

.article__title {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 30px);
}

.article__section .media {
    margin: 22px 0;
    aspect-ratio: 16 / 8;
}

.article__section .faq__list {
    grid-template-columns: 1fr;
}

/* =====================================================================
   CONTACT CARDS
   ===================================================================== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 22px 0 0;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: var(--crypto-surface-2);
    border: 1px solid var(--crypto-border);
    transition: transform 0.3s var(--crypto-ease), box-shadow 0.3s var(--crypto-ease);
}

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

.contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    background: var(--crypto-green);
}

.contact-card__text {
    margin: 0;
    font-weight: 700;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: calc(var(--crypto-section-y) * 2);
    padding: 60px 0 0;
    color: rgba(232, 240, 237, 0.8);
    background: var(--crypto-dark-deep);
}

.site-footer__glow {
    position: absolute;
    right: -200px;
    top: -200px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 23, 125, 0.25), transparent 70%);
    pointer-events: none;
}

.site-footer__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 36px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.site-footer__identity {
    font-size: 15px;
}

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

.site-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__badge .icon {
    width: 18px;
    height: 18px;
    color: var(--crypto-gold);
}

.footer-menu__title {
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
}

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

.footer-menu__item > a,
.footer-menu__item > .menu-current {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: rgba(232, 240, 237, 0.75);
    text-decoration: none;
    transition: color 0.25s, padding 0.25s var(--crypto-ease);
}

.footer-menu__item > a:hover {
    color: #fff;
    padding-left: 14px;
}

.footer-menu__item > a::before {
    content: "›";
    position: absolute;
    left: 0;
    opacity: 0;
    color: var(--crypto-accent-bright);
    transition: opacity 0.25s;
}

.footer-menu__item > a:hover::before {
    opacity: 1;
}

.site-footer__bottom {
    margin-top: 44px;
    padding-top: 22px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__copy {
    margin: 0;
    font-size: 14px;
}

/* =====================================================================
   COOKIE POPUP
   ===================================================================== */
.cookie-popup {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 18px;
    width: calc(100% - 32px);
    max-width: 760px;
    padding: 18px 20px;
    border-radius: 22px;
    color: var(--crypto-text-light);
    background: rgba(20, 36, 32, 0.97);
    border: 1px solid rgba(224, 23, 125, 0.35);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translate(-50%, 40px);
    transition: opacity 0.4s var(--crypto-ease), transform 0.4s var(--crypto-ease);
}

.cookie-popup[hidden] {
    display: none;
}

.cookie-popup.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.cookie-popup__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--crypto-gold);
    background: rgba(201, 162, 76, 0.15);
}

.cookie-popup__content {
    flex: 1;
}

.cookie-popup__title {
    margin: 0 0 2px;
    font-weight: 800;
    color: #fff;
}

.cookie-popup__text {
    margin: 0;
    font-size: 14px;
}

.cookie-popup__text a {
    color: #ff7cbc;
}

.cookie-popup__accept {
    flex-shrink: 0;
    padding: 12px 26px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--crypto-accent-bright), var(--crypto-accent));
    cursor: pointer;
    transition: transform 0.25s var(--crypto-ease), box-shadow 0.25s;
}

.cookie-popup__accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(224, 23, 125, 0.45);
}

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    text-align: center;
    background:
        radial-gradient(700px 400px at 50% 0%, rgba(224, 23, 125, 0.15), transparent 60%),
        var(--crypto-bg);
}

.error404__inner {
    max-width: 720px;
}

.error404__code {
    font-size: clamp(110px, 20vw, 210px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--crypto-accent-bright), var(--crypto-accent) 50%, var(--crypto-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: crypto-float 6s ease-in-out infinite;
}

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

.error404__actions {
    margin-top: 26px;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
    .burger {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        padding: 16px var(--crypto-gutter) 28px;
        background: var(--crypto-dark-deep);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 30px 50px rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition: opacity 0.3s var(--crypto-ease), transform 0.3s var(--crypto-ease), visibility 0.3s;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .site-nav__item > a,
    .site-nav__item > .menu-current {
        display: flex;
        padding: 13px 14px;
        border-radius: 12px;
        font-size: 16px;
    }

    .site-nav__item.menu-item-has-children > a::after,
    .site-nav__item.menu-item-has-children > .menu-current::after {
        display: none;
    }

    .site-nav__submenu {
        position: static;
        min-width: 0;
        padding: 0 0 0 14px;
        margin: 0 0 6px 14px;
        background: transparent;
        border: 0;
        border-left: 2px solid rgba(224, 23, 125, 0.4);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav__submenu .site-nav__item > a,
    .site-nav__submenu .site-nav__item > .menu-current {
        color: var(--crypto-text-light);
        font-size: 15px;
    }

    .site-nav__submenu .site-nav__item > a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.06);
    }

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

    .hero__widget {
        max-width: 560px;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --crypto-gutter: 18px;
    }

    body {
        font-size: 15.5px;
    }

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

    .page-hero {
        padding: 56px 0 44px;
    }

    .section__box {
        padding: 30px 24px;
    }

    .section__head,
    .article__head {
        align-items: flex-start;
    }

    .features,
    .features--two,
    .faq__list,
    .guide-cards {
        grid-template-columns: 1fr;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 26px;
    }

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

    .media--wide,
    .media--lead {
        aspect-ratio: 16 / 10;
    }

    .cta {
        padding: 40px 24px;
    }

    .article__section {
        padding: 26px 22px;
    }

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

    .converter__swap {
        justify-self: center;
        transform: rotate(90deg);
    }

    .converter:hover .converter__swap {
        transform: rotate(270deg);
    }

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

    .cookie-popup {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cookie-popup__accept {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 23px;
    }

    .hero__widget {
        padding: 8px;
    }

    .exchange-widget,
    .exchange-widget__frame {
        min-height: 430px;
        height: 430px;
    }

    .section__box {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .section__icon,
    .article__icon {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

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

    .faq__item {
        flex-direction: column;
    }

    .steps__item {
        align-items: flex-start;
        padding: 14px;
    }

    .rate-chart {
        padding: 16px;
    }

    .rate-chart__summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .article__summary {
        flex-direction: column;
    }

    .article__section {
        padding: 22px 18px;
    }

    .cta__action a,
    .error404__actions a {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }

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