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

/* =====================================================================
   ROOT VARIABLES — Delft palette (Delft Blue / Porcelain White / Tulip Orange / Stem Green)
   ===================================================================== */
:root {
    --crypto-bg: #ffffff;
    --crypto-bg-alt: #fafafa;
    --crypto-accent: #0033a0;
    --crypto-accent-dark: #002468;
    --crypto-accent-soft: rgba(0, 51, 160, 0.08);
    --crypto-orange: #ff8200;
    --crypto-orange-soft: rgba(255, 130, 0, 0.1);
    --crypto-green: #4b6f44;
    --crypto-green-soft: rgba(75, 111, 68, 0.1);
    --crypto-text: #111827;
    --crypto-text-muted: #5b6472;
    --crypto-border: #e3e7ee;
    --crypto-shadow: 0 10px 30px rgba(0, 36, 104, 0.08);
    --crypto-shadow-hover: 0 18px 40px rgba(0, 36, 104, 0.16);
    --crypto-radius: 16px;
    --crypto-radius-sm: 10px;
    --crypto-section-y: 20px;
    --crypto-container: 1180px;
}

/* =====================================================================
   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', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

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

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

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

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

h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2vw, 22px); }

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

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

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

section {
    padding: calc(var(--crypto-section-y) * 2) 0;
}

/* Links inside body text stand apart from surrounding copy */
p a {
    color: var(--crypto-accent);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

/* =====================================================================
   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: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    text-decoration: none !important;
}

.btn--primary {
    background: var(--crypto-accent);
    color: #ffffff;
}

.btn--primary:hover {
    background: var(--crypto-accent-dark);
    transform: translateY(-3px);
    box-shadow: var(--crypto-shadow-hover);
}

.btn--orange {
    background: var(--crypto-orange);
    color: #ffffff;
}

.btn--orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(255, 130, 0, 0.28);
}

.btn--outline {
    background: transparent;
    border-color: var(--crypto-accent);
    color: var(--crypto-accent);
}

.btn--outline:hover {
    background: var(--crypto-accent);
    color: #ffffff;
    transform: translateY(-3px);
}

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

.header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__logo-text {
    font-weight: 800;
    font-size: 20px;
    color: var(--crypto-accent);
}

.header__nav {
    flex: 1;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.header__menu-item {
    position: relative;
}

.header__menu-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--crypto-text);
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

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

.header__menu-item--has-children > .header__menu-link::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    opacity: 0.6;
}

.header__submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    background: #ffffff;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    box-shadow: var(--crypto-shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}

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

.header__submenu-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--crypto-text);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.header__submenu-link:hover {
    background: var(--crypto-accent-soft);
    color: var(--crypto-accent);
    padding-left: 16px;
}

.header__cta {
    flex-shrink: 0;
    padding: 11px 22px;
}

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

.header__burger-line {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--crypto-text);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* Mobile menu panel */
.mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid var(--crypto-border);
    transition: max-height 0.35s ease;
}

.mobile-menu--open {
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-menu__menu {
    padding: 12px 24px;
}

.mobile-menu .header__menu-item {
    border-bottom: 1px solid var(--crypto-border);
}

.mobile-menu .header__menu-link {
    padding: 14px 4px;
    border-radius: 0;
    width: 100%;
}

.mobile-menu .header__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 10px 12px;
    display: none;
}

.mobile-menu .header__menu-item--open .header__submenu {
    display: block;
}

.mobile-menu__cta {
    display: block;
    margin: 16px 24px 24px;
    text-align: center;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    background: linear-gradient(180deg, var(--crypto-bg-alt) 0%, #ffffff 100%);
    overflow: hidden;
}

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

.hero__grid--form-only {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
}

.hero--simple {
    padding: 56px 0 48px;
}

.hero--simple .container {
    max-width: 820px;
}

.hero__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--crypto-orange-soft);
    color: var(--crypto-orange);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 16px;
}

.hero__image {
    border-radius: var(--crypto-radius);
    box-shadow: var(--crypto-shadow);
    transition: transform 0.4s ease;
}

.hero__image:hover {
    transform: scale(1.02) translateY(-4px);
}

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

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

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

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

.card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--crypto-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover .card__icon {
    transform: scale(1.1) rotate(-4deg);
    background: var(--crypto-orange-soft);
}

.card__icon img, .card__icon svg {
    width: 28px;
    height: 28px;
}

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

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

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-weight: 700;
    color: var(--crypto-accent);
}

/* Route link list */
.route-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.route-list__item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--crypto-bg-alt);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    font-weight: 600;
    text-decoration: none !important;
    color: var(--crypto-text);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.route-list__item a:hover {
    transform: translateX(6px);
    background: #ffffff;
    box-shadow: var(--crypto-shadow);
    border-color: var(--crypto-accent);
    color: var(--crypto-accent);
}

.route-list__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
}

/* =====================================================================
   ICON CIRCLES (inline SVG coin marks)
   ===================================================================== */
.coin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* =====================================================================
   EXCHANGE WIDGET (Quickex iframe)
   ===================================================================== */
.hero__widget {
    display: flex;
    justify-content: center;
}

/* =====================================================================
   CONVERTER
   ===================================================================== */
.converter {
    background: var(--crypto-bg-alt);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 24px;
}

.converter__row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.converter__field {
    flex: 1;
    min-width: 0;
}

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

.converter__input, .converter__select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    font-size: 16px;
    font-weight: 700;
    background: #ffffff;
    color: var(--crypto-text);
}

.converter__equals {
    font-size: 20px;
    font-weight: 700;
    color: var(--crypto-text-muted);
    padding-top: 20px;
}

.converter__rate {
    margin: 16px 0 0;
    font-weight: 700;
    color: var(--crypto-accent);
}

/* =====================================================================
   PRICE QUOTES
   ===================================================================== */
.price-quotes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.price-quotes__item {
    flex: 1;
    min-width: 140px;
    background: #ffffff;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 14px 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.price-quotes__pair {
    display: block;
    font-size: 12.5px;
    color: var(--crypto-text-muted);
    font-weight: 700;
    margin-bottom: 4px;
}

.price-quotes__value {
    font-size: 17px;
    font-weight: 800;
    color: var(--crypto-accent);
}

/* =====================================================================
   RATE TABLE
   ===================================================================== */
.rate-table__scroll {
    overflow-x: auto;
}

.rate-table__table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: var(--crypto-radius);
    overflow: hidden;
    box-shadow: var(--crypto-shadow);
}

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

.rate-table__table th {
    background: var(--crypto-accent);
    color: #ffffff;
    font-weight: 700;
}

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

.rate-table__table tr:hover td {
    background: var(--crypto-accent-soft);
}

/* Generic content tables (route snapshots, conditions) */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    box-shadow: var(--crypto-shadow);
    border-radius: var(--crypto-radius);
    overflow: hidden;
}

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

.content-table th {
    background: var(--crypto-accent);
    color: #ffffff;
}

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

.content-table tr:nth-child(even) td {
    background: var(--crypto-bg-alt);
}

/* =====================================================================
   CHART (spec-defined BEM classes)
   ===================================================================== */
.chart {
    width: 100%;
}

.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__label--x {
    text-anchor: middle;
}

.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-orange);
    stroke: #ffffff;
    stroke-width: 2;
}

.chart-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--crypto-text-muted);
    background: var(--crypto-bg-alt);
    border-radius: var(--crypto-radius);
}

.chart-widget {
    background: #ffffff;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 20px;
    box-shadow: var(--crypto-shadow);
}

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

.chart-widget__tabs--currency {
    margin-bottom: 12px;
}

.chart-widget__tab {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--crypto-border);
    background: var(--crypto-bg-alt);
    color: var(--crypto-text-muted);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chart-widget__tab:hover {
    transform: translateY(-2px);
}

.chart-widget__tab--active {
    background: var(--crypto-accent);
    border-color: var(--crypto-accent);
    color: #ffffff;
}

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

.faq__item {
    background: #ffffff;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-sm);
    padding: 20px 24px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.faq__question {
    margin-bottom: 8px;
    font-size: 17px;
    color: var(--crypto-accent-dark);
}

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

/* =====================================================================
   STEPS LIST
   ===================================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    counter-reset: step;
}

.steps__item {
    background: var(--crypto-bg-alt);
    border-radius: var(--crypto-radius);
    padding: 24px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.steps__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--crypto-accent);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 14px;
}

/* =====================================================================
   FLOW STRIP
   ===================================================================== */
.flow-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: var(--crypto-accent-soft);
    border-radius: var(--crypto-radius);
    padding: 20px 24px;
    font-weight: 700;
    color: var(--crypto-accent-dark);
}

/* =====================================================================
   HIGHLIGHT / STAT ROW
   ===================================================================== */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat {
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    padding: 24px 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat__value {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--crypto-orange);
    margin-bottom: 6px;
}

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

/* =====================================================================
   SECTION HEADINGS
   ===================================================================== */
.section-head {
    max-width: 760px;
    margin: 0 0 32px;
}

.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* =====================================================================
   IFRAME WIDGET (Quickex exchange widget)
   ===================================================================== */
.widget-block {
    display: flex;
    gap: 32px;
    align-items: center;
}

.widget-block__frame {
    flex-shrink: 0;
    border-radius: var(--crypto-radius);
    overflow: hidden;
    box-shadow: var(--crypto-shadow-hover);
}

.widget-block__frame iframe {
    display: block;
    max-width: 100%;
}

.widget-block__image {
    flex: 1;
    border-radius: var(--crypto-radius);
    box-shadow: var(--crypto-shadow);
}

/* =====================================================================
   404 PAGE
   ===================================================================== */
.error404__wrapper {
    padding: 100px 0;
    text-align: center;
}

.error404__code {
    font-size: clamp(80px, 16vw, 160px);
    font-weight: 900;
    color: var(--crypto-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.error404__title {
    margin-bottom: 12px;
}

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

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
    background: var(--crypto-accent-dark);
    color: #d8e0f5;
    margin-top: 40px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2.4fr;
    gap: 40px;
    padding: 56px 24px 40px;
}

.footer__logo-text {
    font-weight: 800;
    font-size: 20px;
    color: #ffffff;
}

.footer__tagline {
    color: #b7c3e6;
    font-size: 14px;
    margin: 14px 0;
}

.footer__email {
    color: var(--crypto-orange);
    font-weight: 700;
    text-decoration: underline;
}

.footer__columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer__column-title {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer__menu-item {
    margin-bottom: 10px;
}

.footer__menu-link {
    color: #b7c3e6;
    font-size: 14px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

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

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 18px 24px;
    font-size: 12.5px;
    color: #8fa0d0;
}

.footer__copyright, .footer__disclaimer {
    margin: 0;
}

/* =====================================================================
   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);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
    .cards-grid, .cards-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }
    .widget-block {
        flex-direction: column;
    }
    .footer__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header__nav, .header__cta {
        display: none;
    }
    .header__burger {
        display: flex;
        margin-left: auto;
    }
    .mobile-menu {
        display: block;
    }
    .cards-grid, .cards-grid--2, .cards-grid--4 {
        grid-template-columns: 1fr;
    }
    .route-list {
        grid-template-columns: 1fr;
    }
    section {
        padding: var(--crypto-section-y) 0;
    }
    .converter__row {
        flex-direction: column;
        align-items: stretch;
    }
    .converter__equals {
        text-align: center;
        padding-top: 0;
    }
    .stat-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .btn {
        width: 100%;
    }
    .header__cta {
        display: none;
    }
    .stat-row {
        grid-template-columns: 1fr;
    }
    .chart-widget {
        padding: 14px;
    }
    .rate-table__table th, .rate-table__table td,
    .content-table th, .content-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}
