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

/* =====================================================================
   ROOT VARIABLES — Neon City palette
   ===================================================================== */
:root {
    --crypto-bg: #170a2e;
    --crypto-bg-alt: #1f0f3d;
    --crypto-surface: #241141;
    --crypto-surface-2: #2c1751;
    --crypto-border: #3c2066;
    --crypto-accent: #ff2f6e;
    --crypto-accent-2: #7c3aed;
    --crypto-accent-soft: rgba(255, 47, 110, .16);
    --crypto-accent-2-soft: rgba(124, 58, 237, .18);
    --crypto-gradient: linear-gradient(135deg, #7c3aed 0%, #ff2f6e 100%);
    --crypto-text: #f7f4ff;
    --crypto-text-muted: #b3a3d9;
    --crypto-white: #ffffff;
    --crypto-black: #0b0417;
    --crypto-success: #22c55e;
    --crypto-danger: #ff4d6d;
    --crypto-radius: 18px;
    --crypto-radius-sm: 10px;
    --crypto-shadow: 0 20px 50px rgba(6, 2, 20, .45);
    --crypto-shadow-sm: 0 10px 26px rgba(6, 2, 20, .35);
    --crypto-section-y: 20px;
    --crypto-container: 1240px;
}

/* =====================================================================
   RESET
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--crypto-bg);
    color: var(--crypto-text);
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0 0 16px; }
.container {
    width: 100%;
    max-width: var(--crypto-container);
    margin: 0 auto;
    padding: 0 20px;
}
.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;
}

/* =====================================================================
   TYPOGRAPHY
   ===================================================================== */
h1 { font-size: 44px; font-weight: 800; line-height: 1.15; color: var(--crypto-white); }
h2 { font-size: 32px; font-weight: 800; line-height: 1.2; color: var(--crypto-white); }
h3 { font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--crypto-white); }
p { color: var(--crypto-text-muted); }
.section__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--crypto-accent);
    margin-bottom: 10px;
}
.section__lead {
    max-width: 760px;
    color: var(--crypto-text-muted);
}

/* =====================================================================
   SECTIONS / LAYOUT
   ===================================================================== */
.section {
    padding: 56px 0;
    margin: var(--crypto-section-y) 0;
}
.section--alt { background: var(--crypto-bg-alt); }
.section--tight { padding: 30px 0; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn, .btc-cta-button, .pair-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    background: var(--crypto-gradient);
    color: var(--crypto-white);
    border: none;
    box-shadow: var(--crypto-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    cursor: pointer;
}
.btn:hover, .btc-cta-button:hover, .pair-cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 34px rgba(255, 47, 110, .35);
    filter: brightness(1.08);
}
.btn--outline {
    background: transparent;
    border: 1px solid var(--crypto-border);
    box-shadow: none;
}
.btn--outline:hover { border-color: var(--crypto-accent); box-shadow: 0 12px 28px rgba(255,47,110,.2); }
.btn--primary { background: var(--crypto-gradient); }
.btc-cta-button + .btc-cta-button,
.pair-cta-button + .pair-cta-button { margin-left: 14px; }
.cta-group { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(23, 10, 46, .85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--crypto-border);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { max-height: 40px; }
.site-header__logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--crypto-white);
    background: var(--crypto-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu__item { position: relative; }
.nav-menu__link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
    color: var(--crypto-text);
    padding: 8px 0;
    transition: color .2s ease;
}
.nav-menu__link:hover { color: var(--crypto-accent); }
.nav-menu__item.menu-item-has-children > .nav-menu__link::after {
    content: '';
    width: 7px; height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform .2s ease;
}
.nav-menu__item.menu-item-has-children:hover > .nav-menu__link::after { transform: rotate(225deg); margin-top: 3px; }
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 10px;
    box-shadow: var(--crypto-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.nav-menu__item.menu-item-has-children:hover > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(6px);
}
.nav-menu .sub-menu .nav-menu__link {
    padding: 10px 12px;
    border-radius: 8px;
}
.nav-menu .sub-menu .nav-menu__link:hover { background: var(--crypto-surface-2); }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px; height: 34px;
    background: transparent;
    border: none;
    padding: 0;
}
.site-header__burger-line {
    width: 100%; height: 2px;
    background: var(--crypto-white);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}
.exchange-widget {
    width: 100%;
}
p a {
    color: red;
    font-weight: 600;
    text-decoration: underline;
}
.site-header__burger.is-active .site-header__burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger.is-active .site-header__burger-line:nth-child(2) { opacity: 0; }
.site-header__burger.is-active .site-header__burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header__mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    background: var(--crypto-bg-alt);
    border-top: 1px solid var(--crypto-border);
    transition: max-height .35s ease;
}
.site-header__mobile-nav.is-open { max-height: 700px; }
.site-header__mobile-nav .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px 20px;
    width: 100%;
}
.site-header__mobile-nav .nav-menu__item { width: 100%; }
.site-header__mobile-nav .nav-menu__link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--crypto-border); }
.site-header__mobile-nav .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    display: none;
    width: 100%;
    margin: 0 0 8px;
    border: none;
    background: transparent;
    padding: 0 0 0 14px;
}
.site-header__mobile-nav .nav-menu__item.is-open .sub-menu { display: block; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    background: var(--crypto-black);
    border-top: 1px solid var(--crypto-border);
    padding: 56px 0 0;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}
.site-footer__brand-text { color: var(--crypto-text-muted); max-width: 280px; }
.site-footer__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--crypto-white);
    margin-bottom: 16px;
}
.footer-menu { display: flex; flex-direction: column; gap: 10px; }
.footer-menu__link { color: var(--crypto-text-muted); font-size: 14px; transition: color .2s ease, padding-left .2s ease; }
.footer-menu__link:hover { color: var(--crypto-accent); padding-left: 4px; }
.site-footer__bottom {
    border-top: 1px solid var(--crypto-border);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--crypto-text-muted);
    font-size: 13px;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { padding: 60px 0; }
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}
.hero__grid--reverse { grid-template-columns: .9fr 1.1fr; }
.hero__grid--reverse .hero__widget { order: 2; }
.hero__content h1 { margin-bottom: 18px; }
.hero__widget { display: flex; justify-content: center; }
.hero--no-image .hero__grid { grid-template-columns: 1fr .85fr; }

/* =====================================================================
   CONTENT BLOCK (text + image alternating)
   ===================================================================== */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.content-block--reverse .content-block__media { order: 2; }
.content-block__media {
    border-radius: var(--crypto-radius);
    overflow: hidden;
    box-shadow: var(--crypto-shadow);
    border: 1px solid var(--crypto-border);
}
.content-block__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform .5s ease;
}
.content-block__media:hover img { transform: scale(1.06); }

/* =====================================================================
   EXCHANGE WIDGET
   ===================================================================== */
.exchange-widget {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 16px;
    box-shadow: var(--crypto-shadow);
    display: inline-block;
    max-width: 100%;
}
.exchange-widget__frame { width: 100%; max-width: 500px; border-radius: var(--crypto-radius-sm); overflow: hidden; }
.exchange-widget__frame iframe { width: 100%; display: block; border: 0; }

/* =====================================================================
   BENEFIT CARDS
   ===================================================================== */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.benefit-card {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 26px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--crypto-shadow);
    border-color: var(--crypto-accent-2);
}
.benefit-card__icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--crypto-gradient);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    transition: transform .3s ease;
}
.benefit-card:hover .benefit-card__icon { transform: rotate(-8deg) scale(1.08); }
.benefit-card__icon svg { width: 26px; height: 26px; stroke: #fff; }
.benefit-card__title { font-size: 18px; margin-bottom: 10px; }
.benefit-card__text { font-size: 14.5px; margin: 0; }

/* =====================================================================
   PAIRS GRID
   ===================================================================== */
.pairs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.pair-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 16px 18px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pair-card:hover {
    transform: translateY(-4px);
    border-color: var(--crypto-accent);
    box-shadow: var(--crypto-shadow-sm);
}
.pair-card__icon { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.pair-card__title { font-size: 14.5px; font-weight: 600; color: var(--crypto-text); }

/* =====================================================================
   STEPS
   ===================================================================== */
.steps__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.step-card {
    position: relative;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 26px 22px;
    transition: transform .3s ease, border-color .3s ease;
}
.step-card:hover { transform: translateY(-6px); border-color: var(--crypto-accent); }
.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--crypto-accent-soft);
    color: var(--crypto-accent);
    font-weight: 800;
    margin-bottom: 14px;
}
.step-card__title { font-size: 17px; margin-bottom: 8px; }
.step-card__text { font-size: 14.5px; margin: 0; }

/* =====================================================================
   CHECKLIST
   ===================================================================== */
.checklist__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 14px 16px;
    transition: border-color .25s ease, transform .25s ease;
}
.checklist__item:hover { border-color: var(--crypto-accent-2); transform: translateX(4px); }
.checklist__icon {
    flex: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--crypto-gradient);
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}
.checklist__icon svg { width: 12px; height: 12px; stroke: #fff; }
.checklist__text { color: var(--crypto-text-muted); font-size: 14.5px; }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.review-card {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 24px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow); }
.review-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.review-card__name { font-weight: 700; color: var(--crypto-white); }
.review-card__rating { color: var(--crypto-accent); font-weight: 700; font-size: 14px; }
.review-card__text { font-size: 14.5px; margin: 0; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    overflow: hidden;
    transition: border-color .25s ease;
}
.faq-item:hover { border-color: var(--crypto-accent-2); }
.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 18px 20px;
    color: var(--crypto-white);
}
.faq-item__question h3 { margin: 0; font-size: 16.5px; }
.faq-item__icon {
    flex: none;
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 1px solid var(--crypto-border);
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s ease, background .3s ease;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); background: var(--crypto-gradient); border-color: transparent; }
.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-item.is-open .faq-item__answer { max-height: 600px; }
.faq-item__answer-inner { padding: 0 20px 20px; color: var(--crypto-text-muted); font-size: 14.5px; }

/* =====================================================================
   COIN PRICE WIDGET
   ===================================================================== */
.coin-price {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 26px;
}
.coin-price__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.coin-price__stat { padding: 12px 0; border-top: 1px solid var(--crypto-border); }
.coin-price__stat:nth-child(-n+4) { border-top: none; }
.coin-price__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--crypto-text-muted); margin-bottom: 6px; }
.coin-price__value { font-size: 20px; font-weight: 800; color: var(--crypto-white); }
.coin-price__value--up { color: var(--crypto-success); }
.coin-price__value--down { color: var(--crypto-danger); }
.coin-price__updated { margin-top: 16px; font-size: 12.5px; color: var(--crypto-text-muted); }

/* =====================================================================
   CONVERTER
   ===================================================================== */
.converter {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 26px;
}
.converter__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.converter__field {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--crypto-bg-alt);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 12px 16px;
}
.converter__field img { width: 24px; height: 24px; border-radius: 50%; }
.converter__input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--crypto-white);
    font-size: 18px;
    font-weight: 700;
    width: 100%;
    outline: none;
}
.converter__currency { font-weight: 700; color: var(--crypto-text-muted); }
.converter__swap {
    flex: none;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--crypto-gradient);
    border: none;
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s ease;
}
.converter__swap:hover { transform: rotate(180deg); }
.converter__swap svg { width: 18px; height: 18px; stroke: #fff; }
.converter__note { margin-top: 14px; font-size: 13px; color: var(--crypto-text-muted); }

/* =====================================================================
   RATE TABLE
   ===================================================================== */
.rate-table { overflow-x: auto; border-radius: var(--crypto-radius); border: 1px solid var(--crypto-border); }
.rate-table__table { width: 100%; border-collapse: collapse; min-width: 480px; }
.rate-table__table th, .rate-table__table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--crypto-border);
    font-size: 14.5px;
}
.rate-table__table th { background: var(--crypto-bg-alt); color: var(--crypto-white); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.rate-table__table td { color: var(--crypto-text-muted); }
.rate-table__table tr:hover td { background: var(--crypto-surface-2); color: var(--crypto-text); }
.rate-table__table tbody tr:last-child td { border-bottom: none; }

/* =====================================================================
   CHART (server-rendered inline SVG)
   ===================================================================== */
.chart { background: var(--crypto-surface); border: 1px solid var(--crypto-border); border-radius: var(--crypto-radius); padding: 20px; }
.chart__svg { width: 100%; height: auto; display: block; }
.chart__grid { stroke: var(--crypto-border); stroke-width: 1; }
.chart__grid--v { stroke-dasharray: 4 4; }
.chart__label { fill: var(--crypto-text-muted); font-size: 11px; font-family: inherit; }
.chart__area { fill: var(--crypto-accent-soft); stroke: none; }
.chart__line { fill: none; stroke: var(--crypto-accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart__dot { fill: var(--crypto-accent); stroke: var(--crypto-bg); stroke-width: 2; }
.chart-empty { color: var(--crypto-text-muted); text-align: center; padding: 40px 0; }

/* =====================================================================
   GUIDES ARCHIVE GRID
   ===================================================================== */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.guide-card {
    display: flex;
    flex-direction: column;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--crypto-shadow); border-color: var(--crypto-accent-2); }
.guide-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.guide-card:hover .guide-card__media img { transform: scale(1.08); }
.guide-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide-card__title { font-size: 18px; margin: 0; }
.guide-card__excerpt { font-size: 14px; margin: 0; flex: 1; }
.guide-card__link { font-weight: 700; color: var(--crypto-accent); font-size: 14px; }

/* =====================================================================
   ARTICLE / GUIDE CONTENT
   ===================================================================== */
.article { max-width: 860px; margin: 0 auto; }
.article h2 { margin-top: 42px; }
.article h3 { margin-top: 26px; }
.article a { color: var(--crypto-accent); text-decoration: underline; text-underline-offset: 3px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 22px; }
.article li { list-style: disc; color: var(--crypto-text-muted); margin-bottom: 8px; }
.article ol li { list-style: decimal; }
.article table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.article table th, .article table td { border: 1px solid var(--crypto-border); padding: 12px 14px; font-size: 14.5px; white-space: nowrap; }
.article table th { background: var(--crypto-surface); color: var(--crypto-white); }
.article table td { color: var(--crypto-text-muted); }
.article-checklist { display: flex; flex-direction: column; gap: 10px; padding-left: 0; }
.article-checklist li { list-style: none; display: flex; gap: 10px; }
.article-checklist li::before { content: '✓'; color: var(--crypto-accent); font-weight: 800; }

/* =====================================================================
   LEGAL / WEBPAGE CONTENT
   ===================================================================== */
.legal-page { max-width: 860px; margin: 0 auto; }
.legal-page h2 { margin-top: 36px; }
.legal-page a { color: var(--crypto-accent); text-decoration: underline; }
.legal-page ul { padding-left: 22px; margin-bottom: 16px; }
.legal-page li { list-style: disc; color: var(--crypto-text-muted); margin-bottom: 8px; }

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper { padding: 120px 0; text-align: center; }
.error404__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.error404__code {
    font-size: 140px;
    font-weight: 900;
    line-height: 1;
    background: var(--crypto-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.error404__title { font-size: 30px; }
.error404__text { color: var(--crypto-text-muted); max-width: 420px; }
.error404__actions { margin-top: 12px; }

/* =====================================================================
   SCROLL-REVEAL / ANIMATIONS
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.parallax { will-change: transform; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-anim { animation: floaty 4s ease-in-out infinite; }

/* =====================================================================
   RESPONSIVE — 768px
   ===================================================================== */
@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    .site-header__burger { display: flex; }
    .site-header .nav-menu:not(.site-header__mobile-nav .nav-menu) { display: none; }
    .site-header__mobile-nav { display: flex; }
    .site-header__actions .btn { display: none; }
    .hero__grid, .hero__grid--reverse, .hero--no-image .hero__grid { grid-template-columns: 1fr; }
    .hero__grid--reverse .hero__widget { order: -1; }
    .content-block, .content-block--reverse { grid-template-columns: 1fr; }
    .content-block--reverse .content-block__media { order: -1; }
    .benefits__grid, .steps__list, .reviews__grid, .guides-grid { grid-template-columns: 1fr 1fr; }
    .pairs-grid { grid-template-columns: repeat(2, 1fr); }
    .checklist__list { grid-template-columns: 1fr; }
    .coin-price__grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   RESPONSIVE — 480px
   ===================================================================== */
@media (max-width: 480px) {
    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    .section { padding: 36px 0; }
    .benefits__grid, .steps__list, .reviews__grid, .pairs-grid, .guides-grid { grid-template-columns: 1fr; }
    .coin-price__grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .converter__row { flex-direction: column; }
    .converter__swap { transform: rotate(90deg); }
    .converter__swap:hover { transform: rotate(270deg); }
    .btc-cta-button + .btc-cta-button, .pair-cta-button + .pair-cta-button { margin-left: 0; }
    .error404__code { font-size: 90px; }
}
