/*
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 — Vice City palette
   ===================================================================== */
:root {
    --crypto-bg: #0b0f2b;
    --crypto-bg-soft: #12173f;
    --crypto-surface: #161c47;
    --crypto-surface-2: #1b2154;
    --crypto-border: rgba(255, 255, 255, 0.12);
    --crypto-text: #f5f6ff;
    --crypto-text-muted: #9aa3d1;

    --crypto-accent: #00f0ff;
    --crypto-accent-soft: rgba(0, 240, 255, 0.16);
    --crypto-pink: #ff5ca8;
    --crypto-pink-soft: rgba(255, 92, 168, 0.16);
    --crypto-purple: #bc6cff;
    --crypto-purple-soft: rgba(188, 108, 255, 0.16);
    --crypto-peach: #ffb86b;
    --crypto-peach-soft: rgba(255, 184, 107, 0.16);

    --crypto-radius: 16px;
    --crypto-radius-sm: 10px;
    --crypto-section-y: 22px;
    --crypto-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    --crypto-shadow-hover: 0 24px 60px rgba(0, 240, 255, 0.18);
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--crypto-bg);
    background-image:
        radial-gradient(60% 45% at 15% 0%, rgba(0, 240, 255, 0.10), transparent 60%),
        radial-gradient(50% 40% at 100% 10%, rgba(255, 92, 168, 0.10), transparent 60%);
    background-attachment: fixed;
    color: var(--crypto-text);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    padding-left: 1.2em;
}

h1, h2, h3, h4 {
    line-height: 1.25;
    margin: 0 0 16px;
}

h1 { font-size: clamp(30px, 4vw, 48px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); }

p {
    margin: 0 0 16px;
    color: var(--crypto-text);
}

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

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

.section__intro {
    max-width: 820px;
    margin: 0 0 28px;
}

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

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

/* Ссылки внутри текста */
main p a,
.faq__answer a {
    color: var(--crypto-accent);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.cta-button {
    display: inline-block;
    margin: 12px 0 8px;
}

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

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn--primary {
    background: linear-gradient(135deg, var(--crypto-accent), var(--crypto-pink));
    color: #0b0f2b;
    box-shadow: 0 12px 30px rgba(0, 240, 255, 0.25);
}

.btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 40px rgba(255, 92, 168, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--crypto-text);
    border-color: var(--crypto-border);
}

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

/* =====================================================================
   HEADER & NAVIGATION
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 43, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--crypto-border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}

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

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

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

.nav--primary {
    flex: 1;
}

.nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--crypto-text-muted);
    transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
    color: var(--crypto-bg);
    background: var(--crypto-accent);
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: var(--crypto-radius-sm);
    border: 1px solid var(--crypto-border);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.burger__line {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--crypto-text);
    transition: transform 0.25s ease, opacity 0.25s 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);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    padding: 44px 0 30px;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero__inner--text-only {
    grid-template-columns: 1fr;
    max-width: 860px;
}

.hero__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--crypto-purple-soft);
    color: var(--crypto-purple);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

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

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

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

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

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

.card__icon {
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.card:hover .card__icon {
    transform: scale(1.12) rotate(-4deg);
}

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

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

.card__link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 700;
    color: var(--crypto-accent);
}

.card__image {
    border-radius: var(--crypto-radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 16 / 10;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card__image img {
    transform: scale(1.08);
}

/* Route list (links) */
.route-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.route-list__item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    font-weight: 600;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.route-list__item a:hover {
    transform: translateX(4px);
    border-color: var(--crypto-accent);
    background: var(--crypto-surface-2);
}

/* =====================================================================
   EXCHANGE WIDGET
   ===================================================================== */
.exchange-widget {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 12px;
    box-shadow: var(--crypto-shadow);
    display: inline-block;
    max-width: 100%;
}

.exchange-widget iframe {
    max-width: 100%;
    border-radius: var(--crypto-radius-sm);
}

.exchange-widget--inline {
    margin: 20px 0;
}

/* =====================================================================
   CHART — .chart, .chart__svg (см. CLAUDE.md)
   ===================================================================== */
.chart {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 18px;
    box-shadow: var(--crypto-shadow);
}

.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: 10px;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.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-pink);
    stroke: var(--crypto-bg);
    stroke-width: 2;
}

.chart-empty {
    background: var(--crypto-surface);
    border: 1px dashed var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 22px;
    color: var(--crypto-text-muted);
    text-align: center;
}

/* Price chart with period tabs (asset-price-chart) */
.price-chart__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.price-chart__tab {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--crypto-border);
    color: var(--crypto-text-muted);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.price-chart__tab:hover {
    color: var(--crypto-text);
    border-color: var(--crypto-accent);
}

.price-chart__radio:checked + .price-chart__tab {
    background: var(--crypto-accent);
    color: var(--crypto-bg);
    border-color: var(--crypto-accent);
}

.price-chart__panel {
    display: none;
}

.price-chart__panel--24h {
    display: block;
}

.price-chart:has(#chart-period-link-7d:checked) .price-chart__panel { display: none; }
.price-chart:has(#chart-period-link-7d:checked) .price-chart__panel--7d { display: block; }
.price-chart:has(#chart-period-link-30d:checked) .price-chart__panel { display: none; }
.price-chart:has(#chart-period-link-30d:checked) .price-chart__panel--30d { display: block; }
.price-chart:has(#chart-period-link-90d:checked) .price-chart__panel { display: none; }
.price-chart:has(#chart-period-link-90d:checked) .price-chart__panel--90d { display: block; }
.price-chart:has(#chart-period-link-1y:checked) .price-chart__panel { display: none; }
.price-chart:has(#chart-period-link-1y:checked) .price-chart__panel--1y { display: block; }

/* =====================================================================
   CONVERTER / QUOTES / RATE TABLE
   ===================================================================== */
.converter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 22px;
    box-shadow: var(--crypto-shadow);
}

.converter__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 160px;
}

.converter__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--crypto-text-muted);
    letter-spacing: 0.03em;
}

.converter__input,
.converter__select {
    background: var(--crypto-bg-soft);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    color: var(--crypto-text);
    padding: 12px 14px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.converter__input:focus,
.converter__select:focus {
    outline: none;
    border-color: var(--crypto-accent);
}

.converter__arrow {
    color: var(--crypto-accent);
    font-size: 22px;
    font-weight: 700;
}

.converter__output {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--crypto-accent);
    padding: 10px 0;
}

.quotes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.quotes__item {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 16px;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.quotes__item:hover {
    transform: translateY(-4px);
    border-color: var(--crypto-pink);
}

.quotes__pair {
    display: block;
    font-size: 12px;
    color: var(--crypto-text-muted);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.quotes__value {
    display: block;
    font-size: 18px;
    font-weight: 800;
}

.rate-table__wrap {
    overflow-x: auto;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    box-shadow: var(--crypto-shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

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

.rate-table th {
    color: var(--crypto-accent);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rate-table tr:last-child td {
    border-bottom: none;
}

.rate-table tr:hover td {
    background: var(--crypto-surface-2);
}

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

/* Conditions table (fees/limits) */
.conditions-table__wrap {
    overflow-x: auto;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    box-shadow: var(--crypto-shadow);
}

.conditions-table th:first-child,
.conditions-table td:first-child {
    color: var(--crypto-peach);
    font-weight: 800;
    white-space: nowrap;
}

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

.steps li {
    counter-increment: step;
    position: relative;
    padding: 16px 20px 16px 58px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.steps li:hover {
    transform: translateX(4px);
    border-color: var(--crypto-accent);
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--crypto-accent), var(--crypto-pink));
    color: var(--crypto-bg);
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--crypto-accent), var(--crypto-pink));
    color: var(--crypto-bg);
    font-weight: 800;
    font-size: 15px;
    margin-right: 10px;
    vertical-align: middle;
}

.step-section {
    margin-bottom: 6px;
}

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

.safety-list li {
    position: relative;
    padding: 12px 16px 12px 40px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
}

.safety-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    color: var(--crypto-accent);
    font-weight: 800;
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq {
    display: grid;
    gap: 10px;
}

.faq__item {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 6px 20px;
    transition: border-color 0.25s ease;
}

.faq__item:hover {
    border-color: var(--crypto-purple);
}

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

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

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

.faq__question h3 {
    margin: 0;
    font-size: 16px;
}

.faq__question::after {
    content: "+";
    flex-shrink: 0;
    font-size: 20px;
    color: var(--crypto-accent);
    transition: transform 0.25s ease;
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 0 16px;
    color: var(--crypto-text-muted);
}

.faq__answer p {
    margin: 0;
}

/* =====================================================================
   RELATED LINKS / REVIEWS
   ===================================================================== */
.related-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.related-links li a {
    display: block;
    padding: 12px 16px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.related-links li a:hover {
    transform: translateY(-3px);
    border-color: var(--crypto-pink);
}

.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.review {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 20px;
    box-shadow: var(--crypto-shadow);
    transition: transform 0.3s ease;
}

.review:hover {
    transform: translateY(-4px);
}

.review__stars {
    color: var(--crypto-peach);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.review__pair {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--crypto-accent-soft);
    color: var(--crypto-accent);
    font-size: 12px;
    font-weight: 700;
}

.review__author {
    font-weight: 700;
    margin-top: 10px;
}

.review__disclaimer {
    color: var(--crypto-text-muted);
    font-style: italic;
}

/* =====================================================================
   NOTES / IMAGE STRIPS
   ===================================================================== */
.media-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 16px 0 28px;
}

.media-strip__item {
    border-radius: var(--crypto-radius);
    overflow: hidden;
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
    aspect-ratio: 4 / 3;
}

.media-strip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    will-change: transform;
}

.media-strip__item:hover img {
    transform: scale(1.1);
}

.hero__media {
    border-radius: var(--crypto-radius);
    overflow: hidden;
    border: 1px solid var(--crypto-border);
    box-shadow: var(--crypto-shadow);
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero__media:hover img {
    transform: scale(1.06);
}

.parallax {
    will-change: transform;
}

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper {
    padding: 100px 0;
}

.error404__inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.error404__code {
    font-size: clamp(80px, 16vw, 160px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--crypto-accent), var(--crypto-pink), var(--crypto-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.error404__title {
    margin-top: 10px;
}

.error404__text {
    color: var(--crypto-text-muted);
    margin-bottom: 24px;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    margin-top: 60px;
    border-top: 1px solid var(--crypto-border);
    background: var(--crypto-bg-soft);
    padding: 48px 0 24px;
}

.footer__columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--crypto-border);
}

.footer__col-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--crypto-accent);
    margin-bottom: 14px;
}

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

.footer__menu a {
    color: var(--crypto-text-muted);
    font-size: 14px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

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

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    color: var(--crypto-text-muted);
    font-size: 13px;
}

.footer__disclaimer {
    max-width: 760px;
    color: var(--crypto-text-muted);
    font-size: 12px;
}

/* =====================================================================
   RESPONSIVE — 768px
   ===================================================================== */
@media (max-width: 768px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__widget {
        justify-content: center;
    }

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

    .nav--primary {
        position: fixed;
        inset: 68px 0 0 0;
        background: var(--crypto-bg);
        padding: 20px;
        overflow-y: auto;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 90;
    }

    .nav--primary.is-open {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav__link {
        display: block;
        padding: 14px 16px;
        border-radius: var(--crypto-radius-sm);
        border: 1px solid var(--crypto-border);
    }

    .burger {
        display: flex;
    }

    .converter {
        flex-direction: column;
        align-items: stretch;
    }

    .converter__arrow {
        text-align: center;
    }
}

/* =====================================================================
   RESPONSIVE — 480px
   ===================================================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 16px 0;
    }

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

    .exchange-widget {
        padding: 8px;
    }

    .exchange-widget iframe {
        width: 100%;
        height: 380px;
    }

    .steps li {
        padding-left: 50px;
    }
}
