/*
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 — палитра Orange (#F57E1E) + Neon Pink (#F52380)
   ===================================================================== */
:root {
    --crypto-accent: #f57e1e;
    --crypto-accent-dark: #d9650a;
    --crypto-pink: #f52380;
    --crypto-pink-dark: #d4126a;
    --crypto-gradient: linear-gradient(135deg, #f57e1e 0%, #f52380 100%);
    --crypto-gradient-soft: linear-gradient(135deg, rgba(245, 126, 30, .12) 0%, rgba(245, 35, 128, .12) 100%);
    --crypto-accent-soft: rgba(245, 126, 30, .14);
    --crypto-pink-soft: rgba(245, 35, 128, .12);
    --crypto-bg: #ffffff;
    --crypto-bg-alt: #fff7f2;
    --crypto-surface: #ffffff;
    --crypto-border: #f1e4dc;
    --crypto-text: #1c1423;
    --crypto-text-muted: #6d6474;
    --crypto-up: #0e9f6e;
    --crypto-down: #e02454;
    --crypto-radius: 18px;
    --crypto-radius-sm: 12px;
    --crypto-shadow: 0 10px 30px rgba(55, 20, 40, .07);
    --crypto-shadow-hover: 0 18px 44px rgba(245, 35, 128, .16);
    --crypto-section-y: 24px;
    --crypto-header-h: 72px;
    --crypto-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* =====================================================================
   БАЗА
   ===================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

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

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

a {
    color: var(--crypto-accent-dark);
    transition: color .25s ease;
}

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

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

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

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

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

p {
    margin: 0 0 14px;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .92em;
    padding: 3px 8px;
    border-radius: 8px;
    background: var(--crypto-accent-soft);
    color: var(--crypto-accent-dark);
    word-break: break-all;
}

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

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

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

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

p a:hover,
.content li a:hover {
    color: var(--crypto-pink);
}

/* =====================================================================
   КНОПКИ
   ===================================================================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border: 0;
    border-radius: 999px;
    font: 700 15px/1.2 var(--crypto-font);
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease;
}

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

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

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

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

.btn--primary {
    color: #fff;
    background: var(--crypto-gradient);
    box-shadow: 0 10px 24px rgba(245, 35, 128, .25);
}

.btn--primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(245, 35, 128, .35);
}

p a.btn,
p a.btn:hover {
    text-decoration: none;
}

.btn--light {
    color: var(--crypto-text);
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.btn--light:hover {
    color: var(--crypto-pink);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .25);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* =====================================================================
   ШАПКА И МЕНЮ
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.site-header--scrolled {
    border-color: var(--crypto-border);
    box-shadow: 0 8px 26px rgba(55, 20, 40, .08);
}

.admin-bar .site-header {
    top: 32px;
}

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

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

.logo__img {
    max-height: 44px;
    width: auto;
}

.logo__mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #fff;
    background: var(--crypto-gradient);
    box-shadow: 0 8px 18px rgba(245, 35, 128, .3);
    transition: transform .4s ease;
}

.logo:hover .logo__mark {
    transform: rotate(180deg);
}

.logo__text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.logo__accent {
    background: var(--crypto-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.main-nav__list a {
    position: relative;
    display: block;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--crypto-text);
    text-decoration: none;
    transition: color .25s ease, background-color .25s ease;
}

.main-nav__list a:hover,
.main-nav__list .current-menu-item > a {
    color: var(--crypto-accent-dark);
    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 var(--crypto-border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.burger:hover {
    border-color: var(--crypto-accent);
    box-shadow: 0 6px 16px var(--crypto-accent-soft);
}

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

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

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

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

.mobile-nav {
    display: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: #fff;
    border-top: 1px solid var(--crypto-border);
    transition: max-height .4s ease, opacity .3s ease;
}

.mobile-nav--open {
    max-height: 520px;
    opacity: 1;
}

.mobile-nav__list {
    margin: 0;
    padding: 12px 24px 20px;
    list-style: none;
}

.mobile-nav__list a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--crypto-border);
    font-weight: 600;
    color: var(--crypto-text);
    text-decoration: none;
    transition: color .25s ease, padding-left .25s ease;
}

.mobile-nav__list a:hover {
    color: var(--crypto-pink);
    padding-left: 10px;
}

/* =====================================================================
   ПЕРВЫЙ ЭКРАН (HERO)
   ===================================================================== */
.hero {
    position: relative;
    padding: 56px 0 48px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff3ea 0%, #ffffff 100%);
}

.hero__glow {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .35;
    pointer-events: none;
    animation: glow-float 12s ease-in-out infinite alternate;
}

.hero__glow--orange {
    top: -160px;
    left: -120px;
    background: var(--crypto-accent);
}

.hero__glow--pink {
    right: -140px;
    bottom: -200px;
    background: var(--crypto-pink);
    animation-delay: -6s;
}

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

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

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

.hero__pair {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 8px 14px;
    border: 1px solid var(--crypto-border);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--crypto-shadow);
}

.hero__coin {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    animation: coin-bob 4s ease-in-out infinite;
}

.hero__coin:last-child {
    animation-delay: -2s;
}

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

.hero__pair-arrow {
    display: grid;
    place-items: center;
    color: var(--crypto-pink);
}

.hero__badge {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 18px;
    color: #fff;
    background: var(--crypto-gradient);
    box-shadow: 0 12px 26px rgba(245, 35, 128, .28);
}

.hero__title {
    margin-bottom: 18px;
}

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

.hero__widget {
    position: relative;
}

.widget-card {
    padding: 14px;
    border: 1px solid var(--crypto-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(245, 35, 128, .14);
    transition: transform .4s ease, box-shadow .4s ease;
}

.widget-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(245, 35, 128, .2);
}

.exchange-widget {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 14px;
}

.hero__media {
    position: relative;
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(55, 20, 40, .16);
    aspect-ratio: 4 / 3;
}

.hero__img {
    position: absolute;
    top: -6%;
    left: 0;
    width: 100%;
    height: 112%;
    object-fit: cover;
    transition: transform .6s ease, filter .6s ease;
}

.hero__media:hover .hero__img {
    filter: saturate(1.15);
    --zoom: 1.05;
}

/* =====================================================================
   СЕКЦИИ И КОНТЕНТ
   ===================================================================== */
.section {
    padding: calc(var(--crypto-section-y) * 2) 0;
}

.site-main > .section:nth-of-type(even) {
    background: var(--crypto-bg-alt);
}

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

.section__head .section__title {
    margin: 0;
}

.section__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: var(--crypto-accent-dark);
    background: var(--crypto-gradient-soft);
    border: 1px solid var(--crypto-border);
    transition: transform .4s ease, color .3s ease, background .3s ease;
}

.section__head:hover .section__icon {
    color: #fff;
    background: var(--crypto-gradient);
    transform: rotate(-8deg) scale(1.06);
}

.content {
    max-width: 920px;
    color: var(--crypto-text);
}

.content > p,
.content > ul,
.content > ol {
    font-size: 17px;
}

.content p {
    color: #3b3242;
}

.content h3 {
    position: relative;
    margin-top: 28px;
    padding-left: 22px;
}

.content h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--crypto-gradient);
    transform: rotate(45deg);
}

.content ul:not([class]) {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.content ul:not([class]) li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 30px;
}

.content ul:not([class]) li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--crypto-gradient-soft) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9650a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}

.content ol:not([class]) {
    margin: 0 0 18px;
    padding-left: 22px;
}

.content ol:not([class]) li {
    margin-bottom: 8px;
    padding-left: 6px;
}

.content ol:not([class]) li::marker {
    font-weight: 800;
    color: var(--crypto-accent-dark);
}

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

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

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

.split__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--crypto-gradient);
    opacity: 0;
    mix-blend-mode: soft-light;
    transition: opacity .4s ease;
}

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

.split__media:hover::after {
    opacity: .5;
}

.split__img {
    position: absolute;
    top: -8%;
    left: 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    transition: transform .6s ease;
}

.split__media:hover .split__img {
    --zoom: 1.06;
}

.split .content {
    max-width: none;
}

/* =====================================================================
   ТАБЛИЦЫ
   ===================================================================== */
.table-wrap {
    width: 100%;
    margin: 6px 0 20px;
    overflow-x: auto;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    background: #fff;
    box-shadow: var(--crypto-shadow);
}

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

.table th,
.table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--crypto-border);
}

.table th {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--crypto-text-muted);
    background: var(--crypto-bg-alt);
}

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

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

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

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

.table-coin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.table-coin .coin-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: transform .3s ease;
}

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

.table-coin .icon {
    width: 22px;
    height: 22px;
    color: var(--crypto-accent-dark);
    transition: transform .3s ease, color .3s ease;
}

.table tbody tr:hover .table-coin .icon {
    color: var(--crypto-pink);
    transform: scale(1.15);
}

.table th .table-coin {
    color: var(--crypto-text);
}

/* Ряд логотипов поддерживаемых монет */
.coin-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 18px;
}

.coin-row__logo {
    width: 40px;
    height: 40px;
    padding: 4px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
    transition: transform .35s ease, box-shadow .35s ease;
}

.coin-row__logo:hover {
    transform: translateY(-6px) rotate(-10deg) scale(1.08);
    box-shadow: var(--crypto-shadow-hover);
}

/* =====================================================================
   ШАГИ
   ===================================================================== */
.steps {
    display: grid;
    gap: 14px;
    margin: 6px 0 22px;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.steps__item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 22px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    background: #fff;
    box-shadow: var(--crypto-shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.steps__item:hover {
    transform: translateX(6px);
    border-color: var(--crypto-accent);
    box-shadow: var(--crypto-shadow-hover);
}

.steps__num {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-weight: 800;
    color: #fff;
    background: var(--crypto-gradient);
}

.steps__text {
    padding-top: 7px;
}

/* =====================================================================
   КАРТОЧКИ ПРЕИМУЩЕСТВ
   ===================================================================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 10px 0 20px;
}

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

.content .features {
    max-width: none;
}

.section--wide .content {
    max-width: none;
}

.feature-card {
    position: relative;
    padding: 26px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: #fff;
    box-shadow: var(--crypto-shadow);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--crypto-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 35, 128, .3);
    box-shadow: var(--crypto-shadow-hover);
}

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

.feature-card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 16px;
    color: var(--crypto-accent-dark);
    background: var(--crypto-gradient-soft);
    transition: transform .4s ease, color .3s ease, background .3s ease;
}

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

.content h3.feature-card__title {
    margin: 0 0 10px;
    padding: 0;
    font-size: 19px;
}

.content h3.feature-card__title::before {
    display: none;
}

.feature-card__text p {
    margin-bottom: 8px;
    font-size: 15.5px;
    color: var(--crypto-text-muted);
}

.feature-card__text p:last-child {
    margin-bottom: 0;
}

/* =====================================================================
   ССЫЛКИ НА ПАРЫ
   ===================================================================== */
.pair-group {
    margin-bottom: 26px;
}

.pair-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.pair-links__link {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 12px 16px;
    border: 1px solid var(--crypto-border);
    border-radius: 14px;
    background: #fff;
    font-weight: 600;
    font-size: 15px;
    color: var(--crypto-text);
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, color .3s ease;
}

.pair-links__link:hover {
    color: var(--crypto-pink);
    border-color: var(--crypto-pink);
    transform: translateY(-4px);
    box-shadow: var(--crypto-shadow-hover);
}

.pair-links__logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform .4s ease;
}

.pair-links__link:hover .pair-links__logo {
    transform: rotate(360deg);
}

.pair-links__text {
    flex: 1;
}

.pair-links__arrow {
    width: 18px;
    height: 18px;
    opacity: .4;
    transition: transform .3s ease, opacity .3s ease;
}

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

/* =====================================================================
   CTA
   ===================================================================== */
.cta {
    padding: calc(var(--crypto-section-y) * 2) 0;
}

.cta__box {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 340px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(245, 35, 128, .22);
}

.cta__bg {
    position: absolute;
    inset: -12% 0 auto;
    width: 100%;
    height: 124%;
    object-fit: cover;
    transition: transform 1s ease;
}

.cta__box:hover .cta__bg {
    --zoom: 1.06;
}

.cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(245, 126, 30, .94) 0%, rgba(245, 35, 128, .86) 55%, rgba(28, 20, 35, .45) 100%);
}

.cta__content {
    position: relative;
    max-width: 640px;
    padding: 48px;
    color: #fff;
}

.cta__icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .2);
    animation: pulse-ring 2.4s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, .5);
    }
    100% {
        box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
    }
}

.cta__title {
    color: #fff;
}

.cta__text {
    font-size: 18px;
    color: rgba(255, 255, 255, .92);
}

.cta__action {
    margin: 24px 0 0;
}

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

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

.faq__item:hover {
    border-color: rgba(245, 35, 128, .35);
    transform: translateY(-2px);
}

.faq__item[open] {
    border-color: var(--crypto-accent);
    box-shadow: var(--crypto-shadow-hover);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
}

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

.content h3.faq__title {
    margin: 0;
    padding: 0;
    font-size: 17.5px;
}

.content h3.faq__title::before {
    display: none;
}

.faq__toggle {
    position: relative;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--crypto-gradient-soft);
    transition: transform .35s ease, background .3s ease;
}

.faq__toggle::before,
.faq__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    border-radius: 2px;
    background: var(--crypto-accent-dark);
    transition: transform .35s ease, background .3s ease;
}

.faq__toggle::after {
    transform: rotate(90deg);
}

.faq__item[open] .faq__toggle {
    background: var(--crypto-gradient);
    transform: rotate(180deg);
}

.faq__item[open] .faq__toggle::before,
.faq__item[open] .faq__toggle::after {
    background: #fff;
}

.faq__item[open] .faq__toggle::after {
    transform: rotate(0deg);
}

.faq__answer {
    padding: 0 22px 18px;
    animation: faq-open .35s ease;
}

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

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

/* =====================================================================
   ОТЗЫВЫ
   ===================================================================== */
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 10px 0 22px;
}

.review-card {
    padding: 24px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: #fff;
    box-shadow: var(--crypto-shadow);
    transition: transform .35s ease, box-shadow .35s ease;
}

.review-card:hover {
    transform: translateY(-8px) rotate(-.4deg);
    box-shadow: var(--crypto-shadow-hover);
}

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

.review-card__avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    background: var(--crypto-gradient);
}

.content h3.review-card__name {
    margin: 0 0 2px;
    padding: 0;
    font-size: 17px;
}

.content h3.review-card__name::before {
    display: none;
}

.review-card__stars {
    display: flex;
    gap: 2px;
}

.review-card__star {
    width: 16px;
    height: 16px;
    color: #d8d0d6;
}

.review-card__star--on {
    color: var(--crypto-accent);
    fill: var(--crypto-accent);
}

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

/* =====================================================================
   РЫНОЧНЫЕ ВИДЖЕТЫ (цена, курс, калькулятор, сценарии)
   ===================================================================== */
.price-card,
.rate-widget,
.converter,
.scenarios {
    margin: 10px 0 20px;
    padding: 24px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: #fff;
    box-shadow: var(--crypto-shadow);
    transition: box-shadow .35s ease;
}

.price-card:hover,
.rate-widget:hover,
.converter:hover,
.scenarios:hover {
    box-shadow: var(--crypto-shadow-hover);
}

.price-card__coin,
.rate-widget__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.price-card__logo,
.rate-widget__logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: transform .5s ease;
}

.price-card:hover .price-card__logo,
.rate-widget:hover .rate-widget__logo {
    transform: rotate(360deg);
}

.rate-widget__pair {
    display: flex;
}

.rate-widget__pair .rate-widget__logo + .rate-widget__logo {
    margin-left: -12px;
    border: 3px solid #fff;
    box-sizing: content-box;
}

.price-card__name {
    font-size: 19px;
    font-weight: 800;
}

.content .rate-widget__rate {
    margin: 0;
    font-size: 20px;
    color: var(--crypto-text);
}

.rate-widget__rate strong {
    font-size: 26px;
    background: var(--crypto-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-card__stats,
.rate-widget__stats,
.scenarios__stats,
.technicals,
.converter__result {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

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

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

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

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

.stat__value {
    font-size: 17px;
    font-weight: 800;
    word-break: break-word;
}

.stat--rsi .rsi-meter {
    grid-column: 1 / -1;
    margin-top: 10px;
}

.rsi-meter {
    display: block;
    height: 8px;
    border-radius: 8px;
    background: linear-gradient(90deg, #0e9f6e 0 30%, #f1e4dc 30% 70%, #e02454 70% 100%);
    overflow: hidden;
    position: relative;
}

.rsi-meter__fill {
    display: block;
    height: 100%;
    border-right: 3px solid var(--crypto-text);
    background: transparent;
}

.change {
    font-weight: 800;
}

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

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

.market-updated {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    font-size: 13.5px;
    color: var(--crypto-text-muted);
}

.content .market-updated {
    font-size: 13.5px;
    color: var(--crypto-text-muted);
}

.market-updated .icon {
    width: 16px;
    height: 16px;
    color: var(--crypto-accent);
}

.fiat-badge {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    margin-right: 10px;
    padding: 0 6px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    background: var(--crypto-gradient);
    vertical-align: middle;
}

.target-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.target-badge .icon {
    width: 20px;
    height: 20px;
    color: var(--crypto-pink);
}

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

/* Вкладки на radio-кнопках (без JS) */
.tabs__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tabs__nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border-radius: 999px;
    background: var(--crypto-bg-alt);
    border: 1px solid var(--crypto-border);
}

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

.tabs__tab:hover {
    color: var(--crypto-pink);
}

.tabs__panel {
    display: none;
    animation: faq-open .4s ease;
}

.tabs--single .tabs__panel {
    display: block;
}

.tabs__radio:nth-of-type(1):checked ~ .tabs__panels .tabs__panel:nth-child(1),
.tabs__radio:nth-of-type(2):checked ~ .tabs__panels .tabs__panel:nth-child(2),
.tabs__radio:nth-of-type(3):checked ~ .tabs__panels .tabs__panel:nth-child(3),
.tabs__radio:nth-of-type(4):checked ~ .tabs__panels .tabs__panel:nth-child(4),
.tabs__radio:nth-of-type(5):checked ~ .tabs__panels .tabs__panel:nth-child(5) {
    display: block;
}

.tabs__radio:nth-of-type(1):checked ~ .tabs__nav .tabs__tab:nth-child(1),
.tabs__radio:nth-of-type(2):checked ~ .tabs__nav .tabs__tab:nth-child(2),
.tabs__radio:nth-of-type(3):checked ~ .tabs__nav .tabs__tab:nth-child(3),
.tabs__radio:nth-of-type(4):checked ~ .tabs__nav .tabs__tab:nth-child(4),
.tabs__radio:nth-of-type(5):checked ~ .tabs__nav .tabs__tab:nth-child(5) {
    color: #fff;
    background: var(--crypto-gradient);
    box-shadow: 0 6px 14px rgba(245, 35, 128, .25);
}

.tabs__radio:focus-visible ~ .tabs__nav {
    outline: 2px solid var(--crypto-accent);
    outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   ГРАФИК (общая секция стилей .chart*)
   --------------------------------------------------------------------- */
.chart {
    position: relative;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, var(--crypto-bg-alt) 100%);
    border: 1px solid var(--crypto-border);
    padding: 8px 4px 0;
}

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

.chart__label {
    font-family: var(--crypto-font);
    font-size: 11px;
    fill: var(--crypto-text-muted);
}

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

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

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

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

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

/* Калькулятор */
.converter__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

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

.converter__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--crypto-text-muted);
}

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

.converter__input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--crypto-border);
    border-radius: 12px;
    background: var(--crypto-bg-alt);
    font: 600 16px var(--crypto-font);
    color: var(--crypto-text);
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

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

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

.converter__preset {
    padding: 7px 14px;
    border: 1px solid var(--crypto-border);
    border-radius: 999px;
    background: #fff;
    font: 600 13.5px var(--crypto-font);
    color: var(--crypto-text);
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease;
}

.converter__preset:hover,
.converter__preset--active {
    color: #fff;
    border-color: transparent;
    background: var(--crypto-gradient);
    transform: translateY(-2px);
}

/* Сценарии */
.scenarios__assumptions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.scenario-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--crypto-border);
    background: #fff;
    font-size: 14px;
    transition: transform .25s ease;
}

.scenario-chip:hover {
    transform: translateY(-2px);
}

.scenario-chip .icon {
    width: 18px;
    height: 18px;
}

.scenario-chip--bear .icon,
.scenario-cell--bear {
    color: var(--crypto-down);
}

.scenario-chip--base .icon {
    color: var(--crypto-accent);
}

.scenario-chip--bull .icon,
.scenario-cell--bull {
    color: var(--crypto-up);
}

.scenario-cell {
    font-weight: 700;
}

/* =====================================================================
   КОНТАКТЫ, ПАРТНЁРЫ, ПРОЧИЕ БЛОКИ
   ===================================================================== */
.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin: 10px 0 20px;
    padding: 0;
    list-style: none;
}

.link-cards__item {
    display: flex;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    background: #fff;
    box-shadow: var(--crypto-shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.link-cards__item:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 35, 128, .35);
    box-shadow: var(--crypto-shadow-hover);
}

.link-cards__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    background: var(--crypto-gradient);
}

.link-cards__item a {
    font-weight: 700;
}

.price-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.note {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid var(--crypto-border);
    background: var(--crypto-gradient-soft);
    margin: 0 0 18px;
}

.note .icon {
    color: var(--crypto-pink);
}

.note p {
    margin: 0;
}

.text-center {
    text-align: center;
}

.more-link {
    margin-top: 6px;
}

/* =====================================================================
   ФУТЕР
   ===================================================================== */
.site-footer {
    position: relative;
    margin-top: 24px;
    padding: 56px 0 24px;
    color: #d9cfd6;
    background: #1c1423;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--crypto-gradient);
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1.5fr 1fr;
    gap: 36px;
}

.logo--footer {
    color: #fff;
}

.site-footer__identity {
    margin: 14px 0 18px;
    color: #b8adb5;
}

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

.site-footer__coin {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    transition: transform .35s ease;
}

.site-footer__coin:hover {
    transform: translateY(-4px) rotate(-12deg);
}

.site-footer__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
}

.site-footer__title .icon {
    width: 20px;
    height: 20px;
    color: var(--crypto-accent);
}

.site-footer__title--spaced {
    margin-top: 26px;
}

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

.footer-nav--columns {
    columns: 2;
    column-gap: 18px;
}

.footer-nav li {
    break-inside: avoid;
    margin-bottom: 8px;
}

.footer-nav a {
    font-size: 14.5px;
    color: #c9bec6;
    text-decoration: none;
    transition: color .25s ease, padding-left .25s ease;
}

.footer-nav a:hover {
    color: var(--crypto-accent);
    padding-left: 4px;
}

.site-footer__bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-footer__copy {
    margin: 0;
    font-size: 14px;
    color: #9a8f97;
}

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper {
    padding: 90px 0;
    text-align: center;
    background: linear-gradient(180deg, #fff3ea 0%, #fff 100%);
}

.error404__code {
    font-size: clamp(110px, 18vw, 200px);
    font-weight: 900;
    line-height: 1;
    background: var(--crypto-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.error404__actions {
    margin-top: 24px;
}

/* =====================================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ===================================================================== */
/* Класс reveal--hidden ставит index.js только блокам ниже первого экрана */
.reveal--hidden {
    opacity: 0;
    transform: translateY(28px);
}

.reveal--animate {
    transition: opacity .7s ease, transform .7s ease;
}

[data-parallax] {
    will-change: transform;
    transform: translate3d(0, var(--parallax, 0px), 0) scale(var(--zoom, 1));
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal--hidden {
        opacity: 1;
        transform: none;
    }
}

/* =====================================================================
   АДАПТИВ
   ===================================================================== */
@media (max-width: 1100px) {
    .site-footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .burger {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .hero__inner,
    .hero--page .hero__inner,
    .split,
    .price-box {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .hero__widget {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }
}

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

    .admin-bar .site-header {
        top: 46px;
    }

    .container {
        padding: 0 18px;
    }

    .hero {
        padding: 36px 0 32px;
    }

    .hero__lead {
        font-size: 16.5px;
    }

    .section__icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

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

    .cta__content {
        padding: 34px 24px;
    }

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

    .widget-card {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    .content > p,
    .content > ul,
    .content > ol {
        font-size: 16px;
    }

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

    .feature-card,
    .review-card,
    .price-card,
    .rate-widget,
    .converter,
    .scenarios {
        padding: 18px;
    }

    .steps__item {
        padding: 14px 16px;
        gap: 12px;
    }

    .pair-links {
        grid-template-columns: 1fr;
    }

    .footer-nav--columns {
        columns: 1;
    }

    .cta__box {
        min-height: 0;
        border-radius: 22px;
    }

    .faq__question {
        padding: 16px;
    }

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

    .tabs__tab {
        padding: 6px 12px;
    }

    .stat {
        grid-template-columns: 36px 1fr;
    }
}
