/*
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 Luxe palette (EFF8FF / BBEF1F / 0D0303 / FF0055)
   Референс UI: Bybit (тёмная шапка, контрастные акцентные кнопки,
   карточки с иконками) — адаптировано под неоновую лайм/розовую палитру.
   ===================================================================== */
:root {
    --color-bg: #EFF8FF;
    --color-surface: #ffffff;
    --color-dark: #0D0303;
    --color-dark-soft: #1a0d0d;
    --color-lime: #BBEF1F;
    --color-pink: #FF0055;
    --color-text: #0D0303;
    --color-text-muted: #5b5757;
    --color-text-on-dark: #EFF8FF;
    --color-text-on-dark-muted: #b9b0b0;
    --color-border: rgba(13, 3, 3, 0.1);
    --color-border-light: rgba(13, 3, 3, 0.06);

    --crypto-section-y: 20px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-card: 0 4px 20px rgba(13, 3, 3, 0.07);
    --shadow-card-hover: 0 14px 34px rgba(13, 3, 3, 0.14);
    --shadow-lime: 0 8px 24px rgba(187, 239, 31, 0.35);
    --shadow-pink: 0 8px 24px rgba(255, 0, 85, 0.28);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

p a {
    color: red;
    font-weight: 600;
    text-decoration: underline;
}

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

h1, h2, h3, h4, p { margin: 0; }

table { border-collapse: collapse; width: 100%; }

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

main { display: block; overflow-x: hidden; }

section {
    padding: var(--crypto-section-y) 0;
    margin: 15px 0;
}

/* =====================================================================
   TYPOGRAPHY
   ===================================================================== */
h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
p { color: var(--color-text-muted); }

.section__eyebrow {
    display: inline-block;
    color: var(--color-pink);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section__title { margin-bottom: 14px; }
.section__lead { max-width: 720px; font-size: 17px; }
.section__header { margin-bottom: 32px; }
.section__header--center { text-align: center; margin-left: auto; margin-right: auto; }

/* =====================================================================
   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 var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-lime);
    color: var(--color-dark);
    box-shadow: var(--shadow-lime);
}
.btn--primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 32px rgba(187, 239, 31, 0.45);
}

.btn--accent {
    background: var(--color-pink);
    color: #fff;
    box-shadow: var(--shadow-pink);
}
.btn--accent:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 32px rgba(255, 0, 85, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}
.btn--outline:hover {
    background: var(--color-dark);
    color: var(--color-text-on-dark);
    transform: translateY(-3px);
}

.btn--outline-light {
    background: transparent;
    color: var(--color-text-on-dark);
    border-color: rgba(239, 248, 255, 0.35);
}
.btn--outline-light:hover {
    background: var(--color-text-on-dark);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-dark);
    border-bottom: 1px solid rgba(239, 248, 255, 0.08);
}

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

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--color-text-on-dark);
    flex-shrink: 0;
    transition: opacity var(--transition-base);
}
.site-header__logo:hover { opacity: 0.85; }
.site-header__logo img { max-height: 40px; width: auto; }
.site-header__logo-accent { color: var(--color-lime); }

.header-nav { flex-grow: 1; }

.header-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.header-nav__item { position: relative; }

.header-nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--color-text-on-dark-muted);
    font-weight: 600;
    font-size: 14.5px;
    transition: background var(--transition-base), color var(--transition-base);
}
.header-nav__link:hover,
.header-nav__item.current-menu-item > .header-nav__link {
    background: rgba(187, 239, 31, 0.12);
    color: var(--color-lime);
}

.header-nav__item--has-children:hover > .header-nav__submenu,
.header-nav__item--has-children:focus-within > .header-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-nav__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--color-dark-soft);
    border: 1px solid rgba(239, 248, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-base);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.header-nav__submenu-link {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--color-text-on-dark-muted);
    font-size: 14px;
    font-weight: 600;
    transition: background var(--transition-base), color var(--transition-base);
}
.header-nav__submenu-link:hover {
    background: rgba(255, 0, 85, 0.12);
    color: var(--color-pink);
}

.site-header__cta { flex-shrink: 0; }
.site-header__cta .btn { padding: 11px 22px; font-size: 14px; }

.header-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}
.header-burger__line {
    width: 100%;
    height: 2px;
    background: var(--color-text-on-dark);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}
.header-burger.is-active .header-burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-burger.is-active .header-burger__line:nth-child(2) { opacity: 0; }
.header-burger.is-active .header-burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    position: relative;
    padding: 48px 0 30px;
    overflow: hidden;
}
.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}
.hero__glow--lime { width: 340px; height: 340px; background: var(--color-lime); top: -120px; right: -80px; }
.hero__glow--pink { width: 280px; height: 280px; background: var(--color-pink); bottom: -100px; left: -60px; opacity: 0.25; }

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.hero__grid--text-only { grid-template-columns: 1fr; }
.hero__grid--text-only .hero__content { max-width: 820px; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(187, 239, 31, 0.15);
    color: var(--color-dark);
    border: 1px solid rgba(187, 239, 31, 0.4);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero__title { margin-bottom: 18px; }
.hero__text { font-size: 17px; max-width: 640px; margin-bottom: 16px; }
.hero__note {
    font-size: 15px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 24px;
}
.hero__note b { color: var(--color-pink); }

.hero__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.hero__media:hover img { transform: scale(1.06); }

.hero__widget-wrap {
    display: flex;
    justify-content: center;
}

/* =====================================================================
   WIDGET CARD (exchange-widget)
   ===================================================================== */
.widget-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    max-width: 500px;
    width: 100%;
}
.widget-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.widget-card iframe { width: 100%; border-radius: var(--radius-md); display: block; }

/* =====================================================================
   CARDS / GRIDS
   ===================================================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 26px 22px;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-lime);
}

.card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(187, 239, 31, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform var(--transition-base), background var(--transition-base);
}
.card:hover .card__icon { transform: scale(1.1) rotate(-4deg); background: rgba(255, 0, 85, 0.14); }
.card__icon img { width: 26px; height: 26px; object-fit: contain; }

.card__title { margin-bottom: 8px; }
.card__text { font-size: 15px; margin: 0; }

.card--stat { text-align: center; }
.card--stat .card__icon { margin-left: auto; margin-right: auto; }
.card__stat-value { font-size: 28px; font-weight: 800; color: var(--color-pink); margin-bottom: 6px; }

/* =====================================================================
   IMAGE BLOCKS (icon/photo cards)
   ===================================================================== */
.media-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--color-surface);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.media-card__img-wrap { overflow: hidden; aspect-ratio: 16/10; }
.media-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.media-card:hover .media-card__img-wrap img { transform: scale(1.08); }
.media-card__body { padding: 18px 20px; }

/* =====================================================================
   STEPS
   ===================================================================== */
.steps { counter-reset: step; }
.steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps__item {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 26px 20px 20px;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.steps__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.steps__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-dark);
    color: var(--color-lime);
    font-weight: 800;
    margin-bottom: 14px;
}
.steps__title { margin-bottom: 6px; }
.steps__text { font-size: 14.5px; }
.steps__list--numbered { list-style: none; counter-reset: step-counter; }

/* =====================================================================
   CHECKLIST
   ===================================================================== */
.checklist { display: grid; gap: 12px; }
.checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    transition: transform var(--transition-base), border-color var(--transition-base);
}
.checklist__item:hover { transform: translateX(4px); border-color: var(--color-lime); }
.checklist__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-lime);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
}
.checklist__text { font-size: 15px; color: var(--color-text); }

/* =====================================================================
   TABLE
   ===================================================================== */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
}
.data-table { min-width: 560px; background: var(--color-surface); }
.data-table th {
    background: var(--color-dark);
    color: var(--color-text-on-dark);
    text-align: left;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
}
.data-table td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 14.5px;
    color: var(--color-text);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(187, 239, 31, 0.08); }
.data-table td b, .data-table td strong { color: var(--color-pink); }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.review-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.review-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-card-hover); }
.review-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-dark);
    color: var(--color-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}
.review-card__name { font-weight: 700; font-size: 15px; }
.review-card__rating { color: var(--color-pink); font-size: 13px; letter-spacing: 2px; }
.review-card__text { font-size: 14.5px; margin: 0; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq__list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-left: 4px solid var(--color-lime);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.faq-item:hover { border-left-color: var(--color-pink); box-shadow: var(--shadow-card); transform: translateX(3px); }
.faq-item__q { margin-bottom: 8px; }
.faq-item__a { font-size: 15px; margin: 0; }

/* =====================================================================
   CTA SECTION
   ===================================================================== */
.cta-section {
    background: var(--color-dark);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before,
.cta-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
}
.cta-section::before { width: 260px; height: 260px; background: var(--color-lime); top: -100px; left: -60px; }
.cta-section::after { width: 260px; height: 260px; background: var(--color-pink); bottom: -100px; right: -60px; }
.cta-section__title { color: var(--color-text-on-dark); margin-bottom: 12px; position: relative; z-index: 1; }
.cta-section__text { color: var(--color-text-on-dark-muted); max-width: 600px; margin: 0 auto 24px; position: relative; z-index: 1; }
.cta-section .btn-group { justify-content: center; position: relative; z-index: 1; }

/* =====================================================================
   NOTICE / BANNER
   ===================================================================== */
.notice {
    background: var(--color-surface);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 22px 26px;
}
.notice--dark { background: var(--color-dark); color: var(--color-text-on-dark-muted); border: none; }
.notice--dark .notice__title { color: var(--color-text-on-dark); }
.notice__title { margin-bottom: 8px; }
.notice__text { font-size: 15px; margin: 0; }
.notice__text a { color: var(--color-pink); font-weight: 700; }

/* =====================================================================
   CONTENT / PROSE (blog & legal pages)
   ===================================================================== */
.prose { max-width: 820px; }
.prose h2 { margin-top: 36px; margin-bottom: 14px; }
.prose h3 { margin-top: 24px; margin-bottom: 10px; }
.prose p { margin-bottom: 14px; font-size: 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; color: var(--color-text-muted); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--color-pink); font-weight: 700; }
.prose a:hover { text-decoration: underline; }
.prose b, .prose strong { color: var(--color-dark); }
.prose .table-wrap { margin: 20px 0; }

.post-hero {
    padding: 40px 0 20px;
}
.post-hero__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.post-hero__badge {
    background: rgba(255, 0, 85, 0.12);
    color: var(--color-pink);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.post-hero__cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-top: 24px;
}
.post-hero__cover img { width: 100%; object-fit: cover; max-height: 420px; transition: transform 0.6s ease; }
.post-hero__cover:hover img { transform: scale(1.05); }

/* =====================================================================
   BLOG ARCHIVE CARDS
   ===================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.blog-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.blog-card__img-wrap { aspect-ratio: 16/10; overflow: hidden; }
.blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.08); }
.blog-card__body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card__title { margin-bottom: 10px; }
.blog-card__excerpt { font-size: 14.5px; flex-grow: 1; margin-bottom: 14px; }
.blog-card__link { color: var(--color-pink); font-weight: 700; font-size: 14px; }
.blog-card__link:hover { text-decoration: underline; }

/* =====================================================================
   MARKET / PRICE MODULES (shortcodes)
   ===================================================================== */
.price-snapshot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-card);
}
.price-snapshot__coin { display: flex; align-items: center; gap: 12px; }
.price-snapshot__icon { width: 44px; height: 44px; border-radius: 50%; }
.price-snapshot__price { font-size: 30px; font-weight: 800; }
.price-snapshot__change { font-weight: 700; font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.price-snapshot__change--up { background: rgba(187, 239, 31, 0.2); color: #4f7a00; }
.price-snapshot__change--down { background: rgba(255, 0, 85, 0.12); color: var(--color-pink); }
.price-snapshot__stat { font-size: 13.5px; color: var(--color-text-muted); }
.price-snapshot__stat b { display: block; color: var(--color-dark); font-size: 15px; }

.price-chart {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
}
.price-chart__svg { width: 100%; height: auto; display: block; overflow: visible; }
.price-chart__grid line { stroke: var(--color-border-light); stroke-width: 1; }
.price-chart__grid text,
.price-chart__xaxis text { font-size: 11px; font-family: inherit; fill: var(--color-text-muted); }
.price-chart__dot { transition: r 0.15s ease; cursor: pointer; }
.price-chart__dot:hover { r: 4.5; }
.price-chart__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--color-text-muted); margin-top: 10px; }
@media (max-width: 480px) {
    .price-chart__grid text,
    .price-chart__xaxis text { font-size: 9px; }
}

.rate-tool {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}
.rate-tool__row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 18px; }
.rate-tool__field { flex: 1; min-width: 160px; }
.rate-tool__field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--color-text-muted); }
.rate-tool__field input, .rate-tool__field select {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    font-size: 15px;
    color: var(--color-text);
}
.rate-tool__result {
    background: var(--color-dark);
    color: var(--color-text-on-dark);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    font-size: 22px;
    font-weight: 800;
}
.rate-tool__result span { color: var(--color-lime); }
.rate-tool__unavailable { color: var(--color-text-muted); font-style: italic; }

.pair-converter__row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pair-converter__field { flex: 1; }
.pair-converter__field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--color-text-muted); }
.pair-converter__field input {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
}
.pair-converter__swap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-lime);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 20px;
    transition: transform var(--transition-base);
}
.pair-converter:hover .pair-converter__swap { transform: rotate(180deg); }
.pair-converter__note { font-size: 13px; color: var(--color-text-muted); margin: 0; }

.gas-tracker {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-card);
}
.gas-tracker__value { font-size: 22px; font-weight: 800; color: var(--color-pink); }

/* =====================================================================
   PAIR PAGE ROUTE TABLE (from/to)
   ===================================================================== */
.pair-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    background: var(--color-lime);
    color: var(--color-dark);
    box-shadow: var(--shadow-lime);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    margin: 6px 10px 6px 0;
}
.pair-cta-button:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 32px rgba(187, 239, 31, 0.45); }
.pair-cta-button:nth-of-type(2) { background: transparent; color: var(--color-dark); border: 2px solid var(--color-dark); box-shadow: none; }
.pair-cta-button:nth-of-type(2):hover { background: var(--color-dark); color: var(--color-text-on-dark); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    background: var(--color-dark);
    color: var(--color-text-on-dark-muted);
    margin-top: 60px;
    padding: 56px 0 24px;
}
.footer__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(239, 248, 255, 0.1);
}
.footer__col-title {
    color: var(--color-lime);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.footer__menu { display: grid; gap: 10px; }
.footer__menu a {
    font-size: 14.5px;
    color: var(--color-text-on-dark-muted);
    transition: color var(--transition-base), padding-left var(--transition-base);
}
.footer__menu a:hover { color: var(--color-pink); padding-left: 4px; }
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 22px;
    font-size: 13.5px;
}
.footer__logo { font-weight: 800; color: var(--color-text-on-dark); font-size: 17px; }
.footer__logo span { color: var(--color-lime); }
.footer__copy { color: var(--color-text-on-dark-muted); }
.footer__disclaimer { max-width: 900px; font-size: 12.5px; color: rgba(185, 176, 176, 0.7); margin-top: 16px; }

/* =====================================================================
   SCROLL REVEAL & ANIMATIONS
   ===================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--left { transform: translateX(-32px); }
.reveal--left.is-visible { transform: translateX(0); }
.reveal--right { transform: translateX(32px); }
.reveal--right.is-visible { transform: translateX(0); }
.reveal--scale { transform: scale(0.92); }
.reveal--scale.is-visible { transform: scale(1); }

[data-parallax] { will-change: transform; }

/* =====================================================================
   404 PAGE
   ===================================================================== */
.error404__wrapper { padding: 100px 0; text-align: center; }
.error404__inner { display: flex; flex-direction: column; align-items: center; }
.error404__code {
    font-size: clamp(80px, 18vw, 160px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-lime), var(--color-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.error404__title { margin: 12px 0 10px; }
.error404__text { max-width: 480px; margin-bottom: 28px; }

/* =====================================================================
   RESPONSIVE — 768px
   ===================================================================== */
@media (max-width: 768px) {
    .header-nav {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-dark);
        padding: 20px;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
        overflow-y: auto;
        flex-grow: 0;
    }
    .header-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .header-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
    .header-nav__link { padding: 14px 16px; font-size: 16px; }
    .header-nav__submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: none;
        margin-left: 12px;
        background: transparent;
    }
    .header-nav__item--has-children.is-expanded .header-nav__submenu { display: block; }
    .header-burger { display: flex; }
    .site-header__cta { display: none; }

    .hero__grid { grid-template-columns: 1fr; }
    .hero__grid--reverse-mobile .hero__media,
    .hero__grid--reverse-mobile .hero__widget-wrap { order: -1; }

    .card-grid--2, .card-grid--3, .card-grid--4, .card-grid--5 { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    section { padding: 15px 0; margin: 15px 0; }
}

/* =====================================================================
   RESPONSIVE — 480px
   ===================================================================== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .footer__grid { grid-template-columns: 1fr; gap: 24px; }
    .btn { width: 100%; }
    .btn-group { flex-direction: column; }
    .cta-section .btn-group { align-items: stretch; }
    .hero__note { font-size: 14px; }
    .price-snapshot { flex-direction: column; align-items: flex-start; }
    .review-card__head { flex-wrap: wrap; }
}
