/*
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 — Soft Mint palette (по референс-макету)
   ===================================================================== */
:root {
    --crypto-bg: #eef3ea;
    --crypto-bg-cream: #f6efe1;
    --crypto-surface: #ffffff;
    --crypto-surface-dark: #14302a;
    --crypto-surface-dark-soft: #1d453a;
    --crypto-accent-orange: #f3944c;
    --crypto-accent-orange-dark: #e2763a;
    --crypto-accent-green: #2f9e6e;
    --crypto-accent-green-light: #57c08a;
    --crypto-text: #16181c;
    --crypto-text-soft: #5b665f;
    --crypto-text-invert: #f5f7f2;
    --crypto-border: #e1e8dc;
    --crypto-shadow: 0 20px 45px -20px rgba(20, 46, 38, .35);
    --crypto-shadow-sm: 0 10px 25px -12px rgba(20, 46, 38, .25);
    --crypto-radius: 20px;
    --crypto-radius-sm: 12px;
    --crypto-section-y: 20px;
    --crypto-container: 1200px;
    --crypto-transition: .3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--crypto-bg);
    color: var(--crypto-text);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4 {
    margin: 0 0 16px;
    line-height: 1.25;
    color: var(--crypto-text);
}

p {
    margin: 0 0 var(--crypto-section-y);
    color: var(--crypto-text-soft);
}

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

/* =====================================================================
   BUTTONS
   ===================================================================== */
.pair-cta-button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    margin: 0 10px 10px 0;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--crypto-accent-orange), var(--crypto-accent-orange-dark));
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: var(--crypto-shadow-sm);
    transition: transform var(--crypto-transition), box-shadow var(--crypto-transition), filter var(--crypto-transition);
}

.pair-cta-button:hover,
.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--crypto-shadow);
    filter: brightness(1.05);
}

.pair-cta-button--secondary {
    background: var(--crypto-surface);
    color: var(--crypto-surface-dark);
    border: 1px solid var(--crypto-border);
    box-shadow: none;
}

.pair-cta-button--secondary:hover {
    background: var(--crypto-bg-cream);
}

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

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

/* =====================================================================
   SITE HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--crypto-border);
}

.site-header__container {
    max-width: var(--crypto-container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--crypto-surface-dark);
}

.site-header__logo-text {
    background: linear-gradient(135deg, var(--crypto-accent-green), var(--crypto-surface-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.site-header__menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-header__menu-item {
    position: relative;
}

.site-header__menu-link {
    display: block;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 500;
    color: var(--crypto-text);
    transition: background var(--crypto-transition), color var(--crypto-transition);
}

.site-header__menu-link:hover {
    background: var(--crypto-bg);
    color: var(--crypto-accent-green);
}

.site-header__submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius-sm);
    box-shadow: var(--crypto-shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--crypto-transition), transform var(--crypto-transition), visibility var(--crypto-transition);
}

.site-header__menu-item--has-children:hover .site-header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header__submenu-link {
    display: block;
    padding: 10px 14px;
    border-radius: var(--crypto-radius-sm);
    font-size: 14px;
    color: var(--crypto-text);
    transition: background var(--crypto-transition), color var(--crypto-transition);
}

.site-header__submenu-link:hover {
    background: var(--crypto-bg);
    color: var(--crypto-accent-green);
}

.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--crypto-bg);
    border: none;
    border-radius: var(--crypto-radius-sm);
    cursor: pointer;
}

.site-header__burger-line {
    width: 20px;
    height: 2px;
    background: var(--crypto-surface-dark);
    border-radius: 2px;
    transition: transform var(--crypto-transition), opacity var(--crypto-transition);
}

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

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

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

.site-header__mobile-nav {
    display: none;
}

/* =====================================================================
   SITE FOOTER
   ===================================================================== */
.site-footer {
    background: var(--crypto-surface-dark);
    color: var(--crypto-text-invert);
    margin-top: 60px;
}

.site-footer__container {
    max-width: var(--crypto-container);
    margin: 0 auto;
    padding: 60px 24px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.site-footer__heading {
    color: var(--crypto-text-invert);
    font-size: 16px;
    margin-bottom: var(--crypto-section-y);
}

.site-footer__menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__menu a {
    color: #b9c7bf;
    font-size: 14px;
    transition: color var(--crypto-transition), padding-left var(--crypto-transition);
}

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

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 20px 24px;
    text-align: center;
}

.site-footer__copyright {
    margin: 0;
    color: #8ea299;
    font-size: 13px;
}

/* =====================================================================
   SECTIONS — общий ритм
   ===================================================================== */
.section {
    padding: calc(var(--crypto-section-y) * 3) 0;
}

.section__intro {
    max-width: 760px;
    margin: 0 auto calc(var(--crypto-section-y) * 2);
    text-align: center;
}

.section--alt {
    background: var(--crypto-bg-cream);
}

/* =====================================================================
   HERO / EXCHANGE FORM
   ===================================================================== */
.hero {
    padding: calc(var(--crypto-section-y) * 3) 0;
    background: radial-gradient(circle at 15% 20%, #f6efe1 0%, transparent 45%),
                radial-gradient(circle at 85% 0%, #dbe6d6 0%, transparent 40%),
                var(--crypto-bg);
    overflow: hidden;
}

.hero__grid {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero__content {
    flex: 1 1 480px;
}

.hero__widget {
    flex: 0 1 500px;
    display: flex;
    justify-content: center;
}

.hero__title {
    font-size: clamp(28px, 4vw, 42px);
}

.hero__actions {
    margin-top: calc(var(--crypto-section-y) * 1.5);
}

/* =====================================================================
   EXCHANGE WIDGET WRAPPER
   ===================================================================== */
.exchange-widget {
    width: 100%;
    background: var(--crypto-surface);
    padding: 14px;
    border-radius: var(--crypto-radius);
    box-shadow: var(--crypto-shadow);
    transition: transform var(--crypto-transition), box-shadow var(--crypto-transition);
}

.exchange-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 55px -22px rgba(20, 46, 38, .45);
}

.exchange-widget__frame {
    width: 100%;
    max-width: 500px;
    border-radius: var(--crypto-radius-sm);
    border: none;
}

/* =====================================================================
   CARD COMPONENT
   ===================================================================== */
.card {
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius);
    padding: 28px;
    box-shadow: var(--crypto-shadow-sm);
    transition: transform var(--crypto-transition), box-shadow var(--crypto-transition);
}

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

.card--dark {
    background: linear-gradient(160deg, var(--crypto-surface-dark), var(--crypto-surface-dark-soft));
    color: var(--crypto-text-invert);
}

.card--dark p,
.card--dark h3 {
    color: var(--crypto-text-invert);
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--crypto-accent-green-light), var(--crypto-accent-green));
    color: #ffffff;
    margin-bottom: 16px;
    transition: transform var(--crypto-transition);
}

.card:hover .icon-badge {
    transform: scale(1.1) rotate(-4deg);
}

.icon-badge svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

/* =====================================================================
   STATS GRID (XMR Exchange in Numbers)
   ===================================================================== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stats__item {
    text-align: left;
}

.stats__item h3 {
    font-size: 20px;
}

/* =====================================================================
   OPTIONS (Buy Monero or Convert)
   ===================================================================== */
.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.options__image {
    border-radius: var(--crypto-radius);
    overflow: hidden;
    box-shadow: var(--crypto-shadow);
    transition: transform var(--crypto-transition);
}

.options__image:hover {
    transform: scale(1.02);
}

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

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

.options__cards {
    display: flex;
    flex-direction: column;
    gap: var(--crypto-section-y);
}

/* =====================================================================
   POPULAR PAIRS GRID
   ===================================================================== */
.pairs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.pairs__group-title {
    font-size: 18px;
    margin-bottom: var(--crypto-section-y);
}

.pairs__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pairs__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius-sm);
    box-shadow: var(--crypto-shadow-sm);
    font-weight: 500;
    transition: transform var(--crypto-transition), box-shadow var(--crypto-transition), background var(--crypto-transition);
}

.pairs__link:hover {
    transform: translateX(6px);
    box-shadow: var(--crypto-shadow);
    background: var(--crypto-bg-cream);
}

.pairs__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--crypto-accent-orange), var(--crypto-accent-orange-dark));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* =====================================================================
   STEPS (How it works)
   ===================================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}

.steps__item {
    position: relative;
    padding-top: 8px;
}

.steps__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--crypto-surface-dark);
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    transition: transform var(--crypto-transition);
}

.card:hover .steps__number {
    transform: scale(1.1);
}

/* =====================================================================
   IMAGE + TEXT BLOCK (about, wallet checks, private exchange)
   ===================================================================== */
.media-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.media-block--reverse {
    direction: rtl;
}

.media-block--reverse > * {
    direction: ltr;
}

.media-block__image {
    border-radius: var(--crypto-radius);
    overflow: hidden;
    box-shadow: var(--crypto-shadow);
}

.media-block__image img {
    width: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.media-block__image:hover img {
    transform: scale(1.06);
}

/* =====================================================================
   CHECKLIST
   ===================================================================== */
.checklist {
    display: grid;
    gap: 12px;
}

.checklist li {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius-sm);
    box-shadow: var(--crypto-shadow-sm);
    color: var(--crypto-text-soft);
    transition: transform var(--crypto-transition), box-shadow var(--crypto-transition);
}

.checklist li:hover {
    transform: translateX(4px);
    box-shadow: var(--crypto-shadow);
}

.checklist li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--crypto-accent-green);
}

/* =====================================================================
   PROCESSING FACTORS LIST
   ===================================================================== */
.factors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.factors li {
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius-sm);
    padding: 14px 18px;
    box-shadow: var(--crypto-shadow-sm);
    color: var(--crypto-text-soft);
    transition: transform var(--crypto-transition);
}

.factors li:hover {
    transform: translateY(-3px);
}

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reviews__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--crypto-accent-green-light), var(--crypto-surface-dark));
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
}

.reviews__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.reviews__name {
    font-weight: 600;
    color: var(--crypto-text);
}

.reviews__pair {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--crypto-bg);
    color: var(--crypto-accent-green);
    font-size: 12px;
    font-weight: 600;
}

/* =====================================================================
   RESOURCES LINKS
   ===================================================================== */
.resources {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.resources__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius-sm);
    box-shadow: var(--crypto-shadow-sm);
    font-weight: 500;
    transition: transform var(--crypto-transition), box-shadow var(--crypto-transition);
}

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

/* =====================================================================
   FAQ
   ===================================================================== */
.faq {
    display: grid;
    gap: 14px;
    max-width: 860px;
    margin: 0 auto;
}

.faq__item {
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius-sm);
    padding: 22px 26px;
    box-shadow: var(--crypto-shadow-sm);
    transition: background var(--crypto-transition), box-shadow var(--crypto-transition);
}

.faq__item:hover {
    background: var(--crypto-bg-cream);
    box-shadow: var(--crypto-shadow);
}

.faq__item h3 {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--crypto-surface-dark);
}

.faq__item p {
    margin-bottom: 0;
}

/* =====================================================================
   PAIR RATE CHART
   ===================================================================== */
.pair-chart {
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius);
    padding: 28px;
    box-shadow: var(--crypto-shadow-sm);
}

.pair-chart__meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: var(--crypto-text-soft);
    margin-bottom: 12px;
}

.pair-chart__meta b {
    color: var(--crypto-surface-dark);
}

.pair-chart__svg {
    width: 100%;
    height: auto;
    display: block;
}

.pair-chart__grid-line {
    stroke: var(--crypto-border);
    stroke-width: 1;
}

.pair-chart__grid-line--v {
    stroke-dasharray: 3 4;
    opacity: .6;
}

.pair-chart__axis-label {
    font-size: 11px;
    fill: var(--crypto-text-soft);
    font-family: inherit;
}

.pair-chart__axis-label--x {
    text-anchor: middle;
}

.pair-chart__area {
    fill: rgba(47, 158, 110, .14);
    stroke: none;
}

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

.pair-chart__dot {
    fill: var(--crypto-accent-orange);
    stroke: var(--crypto-surface);
    stroke-width: 2;
}

.pair-chart__range {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 13px;
    color: var(--crypto-text-soft);
}

.pair-chart--empty,
.pair-table--empty,
.pair-converter--empty {
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius-sm);
    padding: 24px;
    text-align: center;
    color: var(--crypto-text-soft);
}

/* =====================================================================
   PAIR RATE TABLE
   ===================================================================== */
.pair-table {
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius);
    padding: 24px;
    box-shadow: var(--crypto-shadow-sm);
    overflow-x: auto;
}

.pair-table__table {
    width: 100%;
    border-collapse: collapse;
}

.pair-table__table th,
.pair-table__table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--crypto-border);
    font-size: 14px;
}

.pair-table__table th {
    color: var(--crypto-surface-dark);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.pair-table__table tr:hover td {
    background: var(--crypto-bg-cream);
}

.pair-table__note {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--crypto-text-soft);
}

/* =====================================================================
   PAIR CONVERTER
   ===================================================================== */
.pair-converter {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius);
    padding: 26px;
    box-shadow: var(--crypto-shadow-sm);
    flex-wrap: wrap;
}

.pair-converter__field {
    flex: 1 1 200px;
}

.pair-converter__label {
    display: block;
    font-size: 13px;
    color: var(--crypto-text-soft);
    margin-bottom: 8px;
}

.pair-converter__input-row {
    display: flex;
    align-items: center;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 10px 14px;
    transition: border-color var(--crypto-transition);
}

.pair-converter__input-row:focus-within {
    border-color: var(--crypto-accent-green);
}

.pair-converter__input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--crypto-text);
    width: 100%;
    background: transparent;
}

.pair-converter__ticker {
    font-weight: 700;
    color: var(--crypto-accent-green);
    margin-left: 8px;
}

.pair-converter__arrow {
    font-size: 22px;
    color: var(--crypto-accent-orange);
    padding-bottom: 12px;
}

.pair-converter__note {
    width: 100%;
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--crypto-text-soft);
}

/* =====================================================================
   PAIR PAGE — routing/checklist table
   ===================================================================== */
.routing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius);
    overflow: hidden;
    box-shadow: var(--crypto-shadow-sm);
}

.routing-table th,
.routing-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--crypto-border);
    font-size: 14px;
    color: var(--crypto-text-soft);
}

.routing-table th {
    color: var(--crypto-surface-dark);
    background: var(--crypto-bg-cream);
}

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

/* =====================================================================
   INTRO CARD — центрированный текстовый блок с одной иконкой
   ===================================================================== */
.intro-card {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.intro-card .icon-badge {
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================================
   MID-PAGE CTA BANNER (страницы пар)
   ===================================================================== */
.cta-banner {
    text-align: center;
    background: var(--crypto-bg-cream);
    border-radius: var(--crypto-radius);
    padding: calc(var(--crypto-section-y) * 2) 24px;
}

/* =====================================================================
   RELATED ROUTES
   ===================================================================== */
.related-routes__group {
    margin-bottom: calc(var(--crypto-section-y) * 1.5);
}

.related-routes__group:last-child {
    margin-bottom: 0;
}

.related-routes__title {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--crypto-surface-dark);
}

.related-routes__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-routes__list a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--crypto-surface);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--crypto-shadow-sm);
    transition: transform var(--crypto-transition), box-shadow var(--crypto-transition), background var(--crypto-transition);
}

.related-routes__list a:hover {
    transform: translateY(-3px);
    box-shadow: var(--crypto-shadow);
    background: var(--crypto-bg-cream);
}

/* =====================================================================
   BLOG ARCHIVE GRID
   ===================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--crypto-surface);
    border-radius: var(--crypto-radius);
    overflow: hidden;
    box-shadow: var(--crypto-shadow-sm);
    transition: transform var(--crypto-transition), box-shadow var(--crypto-transition);
}

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

.blog-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

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

.blog-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-card__title {
    font-size: 18px;
    margin: 0;
}

.blog-card__title a {
    transition: color var(--crypto-transition);
}

.blog-card__title a:hover {
    color: var(--crypto-accent-green);
}

.blog-card__excerpt {
    margin: 0;
    flex: 1;
}

.blog-card__link {
    align-self: flex-start;
    font-weight: 600;
    color: var(--crypto-accent-green);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: calc(var(--crypto-section-y) * 2);
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--crypto-radius-sm);
    background: var(--crypto-surface);
    box-shadow: var(--crypto-shadow-sm);
    font-weight: 600;
    transition: transform var(--crypto-transition), background var(--crypto-transition);
}

.blog-pagination .page-numbers.current {
    background: var(--crypto-accent-green);
    color: #fff;
}

.blog-pagination .page-numbers:hover {
    transform: translateY(-2px);
}

/* =====================================================================
   ARTICLE (single blog post)
   ===================================================================== */
.article {
    max-width: 820px;
    margin: 0 auto;
}

.article__meta {
    color: var(--crypto-text-soft);
    font-size: 14px;
    margin-bottom: 20px;
}

.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 var(--crypto-section-y);
}

.article table th,
.article table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--crypto-border);
    text-align: left;
    font-size: 14px;
}

.article table th {
    background: var(--crypto-bg-cream);
    color: var(--crypto-surface-dark);
}

.article ul,
.article ol {
    margin: 0 0 var(--crypto-section-y);
    padding-left: 22px;
    color: var(--crypto-text-soft);
}

.article ul li,
.article ol li {
    margin-bottom: 8px;
}

.article a {
    color: var(--crypto-accent-green);
    font-weight: 600;
}

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.final-cta {
    text-align: center;
    background: linear-gradient(160deg, var(--crypto-surface-dark), var(--crypto-surface-dark-soft));
    border-radius: var(--crypto-radius);
    padding: calc(var(--crypto-section-y) * 3) 24px;
    color: var(--crypto-text-invert);
}

.final-cta h2 {
    color: var(--crypto-text-invert);
}

/* =====================================================================
   RESPONSIVE — 768px
   ===================================================================== */
@media (max-width: 768px) {
    .site-header__nav {
        display: none;
    }

    .site-header__burger {
        display: flex;
    }

    .site-header__mobile-nav {
        display: block;
        max-height: 0;
        overflow: hidden;
        background: var(--crypto-surface);
        transition: max-height var(--crypto-transition);
    }

    .site-header__mobile-nav--open {
        max-height: 80vh;
        overflow-y: auto;
    }

    .site-header__mobile-menu {
        padding: 10px 24px 20px;
        display: flex;
        flex-direction: column;
    }

    .site-header__mobile-menu .site-header__submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--crypto-bg);
        margin: 4px 0 8px;
    }

    .site-footer__container {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 24px 20px;
    }

    .hero__grid {
        flex-direction: column;
    }

    .hero__widget {
        order: -1;
        width: 100%;
    }

    .stats,
    .steps,
    .factors,
    .reviews,
    .resources {
        grid-template-columns: repeat(2, 1fr);
    }

    .options,
    .media-block {
        grid-template-columns: 1fr;
    }

    .media-block--reverse {
        direction: ltr;
    }

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

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

    .stats,
    .steps,
    .factors,
    .reviews,
    .resources {
        grid-template-columns: 1fr;
    }

    .pair-cta-button,
    .btn {
        width: 100%;
        margin-right: 0;
    }

    .hero__title {
        font-size: 26px;
    }

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