/* ==========================================================================
   Universe Coin — Design system
   ========================================================================== */

:root {
    --primary: #0077B6;
    --primary-light: #90E0EF;
    --secondary: #90E0EF;
    --bg: #0B1120;
    --bg-alt: #101828;
    --bg-card: #141d2f;
    --bg-card-hover: #182338;
    --border: #24304a;
    --text: #E7ECF5;
    --text-muted: #93A0B8;
    --text-dim: #64708a;
    --green: #16C784;
    --red: #EA3943;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 8px 30px rgba(0,0,0,0.35);
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
    --space-7: 64px;
    --space-8: 96px;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 15% 0%, rgba(0,119,182,0.18), transparent 45%),
        radial-gradient(circle at 90% 15%, rgba(144,224,239,0.10), transparent 40%);
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); }
h3 { font-size: 1.3rem; }

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

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

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

.section { padding: var(--space-7) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto var(--space-6); }
.section-head p { margin-top: var(--space-2); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary-light); font-weight: 600; font-size: 0.8rem;
    letter-spacing: 0.08em; text-transform: uppercase;
    background: rgba(144,224,239,0.08); border: 1px solid rgba(144,224,239,0.25);
    padding: 6px 14px; border-radius: 100px; margin-bottom: var(--space-3);
}

/* ---------- Reveal on scroll ---------- */
.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 100px; font-weight: 600; font-size: 0.95rem;
    border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), #0090d4); color: #fff; box-shadow: 0 6px 20px rgba(0,119,182,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,119,182,0.55); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary-light); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(11,17,32,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff; }
.logo-icon {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; flex-shrink: 0;
    filter: drop-shadow(0 0 7px rgba(144,224,239,0.55));
    transition: filter 0.25s ease;
}
.logo:hover .logo-icon { filter: drop-shadow(0 0 12px rgba(144,224,239,0.85)); }
.logo-icon svg { width: 100%; height: 100%; display: block; }
.logo-text span { color: var(--primary-light); }
.main-nav { display: flex; gap: var(--space-5); }
.main-nav a { font-weight: 500; color: var(--text-muted); transition: color 0.2s; font-size: 0.95rem; }
.main-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.live-badge { display: flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--border); padding: 8px 14px; border-radius: 100px; font-size: 0.82rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; flex-shrink: 0; }
.pulse-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: var(--green); opacity: 0.5; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(2.2); opacity: 0; } }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: none; color: #fff; cursor: pointer; flex-shrink: 0; }
.nav-toggle svg { width: 26px; height: 26px; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: var(--space-8) 0 var(--space-7);
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    opacity: 0.22;
    mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }
.hero h1 { margin-bottom: var(--space-3); }
.hero h1 .grad { background: linear-gradient(135deg, var(--primary-light), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; max-width: 600px; margin: 0 auto var(--space-5); }
.hero-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-6); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); max-width: 900px; margin: 0 auto; }
.hero-stat { background: rgba(20,29,47,0.7); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4) var(--space-2); text-align: center; backdrop-filter: blur(6px); }
.hero-stat .val { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stat .lbl { font-size: 0.78rem; color: var(--text-dim); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Ticker ---------- */
.ticker-wrap { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); overflow: hidden; padding: 12px 0; }
.ticker-track { display: flex; gap: var(--space-6); width: max-content; animation: scroll-ticker 40s linear infinite; }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes scroll-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; white-space: nowrap; }
.ticker-item img { width: 20px; height: 20px; border-radius: 50%; }
.ticker-item .sym { font-weight: 600; color: #fff; }
.ticker-item .chg { font-weight: 600; }
.up { color: var(--green); }
.down { color: var(--red); }

/* ---------- Table marchés ---------- */
.market-toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); flex-wrap: wrap; }
.search-box { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.search-box input {
    width: 100%; padding: 12px 16px 12px 42px; border-radius: 100px; border: 1px solid var(--border);
    background: var(--bg-card); color: var(--text); font-size: 0.9rem; font-family: var(--font-body);
}
.search-box input:focus { outline: none; border-color: var(--primary-light); }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-dim); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-muted); font-size: 0.85rem; cursor: pointer; transition: all 0.2s; }
.chip.active, .chip:hover { border-color: var(--primary-light); color: #fff; background: rgba(144,224,239,0.08); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
table.market-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.market-table th { text-align: right; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); padding: 16px; font-weight: 600; border-bottom: 1px solid var(--border); }
.market-table th:nth-child(-n+2) { text-align: left; }
.market-table td { padding: 16px; border-bottom: 1px solid var(--border); text-align: right; font-variant-numeric: tabular-nums; font-size: 0.92rem; }
.market-table td:nth-child(-n+2) { text-align: left; }
.market-table tbody tr { transition: background 0.15s; cursor: pointer; }
.market-table tbody tr:hover { background: var(--bg-card-hover); }
.market-table tbody tr:last-child td { border-bottom: none; }
.coin-cell { display: flex; align-items: center; gap: 12px; }
.coin-cell img { width: 28px; height: 28px; border-radius: 50%; }
.coin-cell .name { color: #fff; font-weight: 600; }
.coin-cell .sym { color: var(--text-dim); font-size: 0.8rem; text-transform: uppercase; }
.rank-cell { color: var(--text-dim); }
.spark-cell { width: 130px; }
.spark-cell canvas, .spark-cell svg { width: 120px; height: 40px; display: block; }
.badge-change { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 100px; font-weight: 600; font-size: 0.85rem; }
.badge-change.up { background: rgba(22,199,132,0.12); }
.badge-change.down { background: rgba(234,57,67,0.12); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: var(--space-5); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(144,224,239,0.35); box-shadow: var(--shadow); }
.card .icon-wrap { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: #05121f; margin-bottom: var(--space-3); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.92rem; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.news-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, border-color 0.25s; }
.news-card:hover { transform: translateY(-4px); border-color: rgba(144,224,239,0.35); }
.news-card .thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg-alt); }
.news-card .thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--bg-alt), var(--bg-card)); display: flex; align-items: center; justify-content: center; color: var(--text-dim); }
.news-body { padding: var(--space-4); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.news-source { color: var(--primary-light); font-weight: 600; }
.news-body h3 { font-size: 1.05rem; line-height: 1.4; }
.news-body p { font-size: 0.88rem; flex: 1; }
.news-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-light); font-weight: 600; font-size: 0.88rem; margin-top: 6px; }
.news-card.featured { grid-column: span 2; grid-row: span 2; }
.news-card.featured .thumb { aspect-ratio: 16/10; }
.news-card.featured h3 { font-size: 1.4rem; }

/* ---------- Coin detail page ---------- */
.coin-hero { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-5); }
.coin-hero img { width: 64px; height: 64px; border-radius: 50%; }
.coin-hero .price-now { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.coin-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-5); align-items: start; }
.chart-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4); }
.range-tabs { display: flex; gap: 6px; margin-bottom: var(--space-3); }
.range-tabs button { padding: 6px 14px; border-radius: 100px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; font-size: 0.82rem; transition: all 0.2s; }
.range-tabs button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.stat-list { display: flex; flex-direction: column; gap: 0; }
.stat-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.stat-row:last-child { border-bottom: none; }
.stat-row .label { color: var(--text-dim); }
.stat-row .value { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4); margin-bottom: var(--space-4); }
.coin-desc { margin-top: var(--space-6); }
.coin-desc .content { color: var(--text-muted); font-size: 0.95rem; }
.coin-desc .content p { margin-bottom: 12px; }

/* ---------- Comparateur ---------- */
.vs-hero { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-4); align-items: center; }
.vs-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); text-align: center; transition: transform 0.25s ease, border-color 0.25s ease; }
.vs-card:hover { transform: translateY(-4px); border-color: rgba(144,224,239,0.35); }
.vs-card img { margin: 0 auto var(--space-3); border-radius: 50%; }
.vs-card .vs-name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.vs-card .vs-name span { color: var(--text-dim); font-size: 0.85rem; font-weight: 500; margin-left: 4px; }
.vs-card .vs-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--primary-light); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.vs-badge { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; color: #05121f; font-size: 0.85rem; box-shadow: 0 0 30px rgba(144,224,239,0.35); }
.compare-table td.winner { color: var(--green); font-weight: 700; position: relative; }
.compare-table td.winner::after { content: '★'; margin-left: 6px; font-size: 0.75rem; }
.selector-tool { display: flex; align-items: flex-end; gap: var(--space-3); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); flex-wrap: wrap; }
.selector-field { flex: 1; min-width: 220px; }
.selector-field label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.selector-field select {
    width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
    background: var(--bg-alt); color: var(--text); font-family: var(--font-body); font-size: 0.95rem; cursor: pointer;
}
.selector-vs { width: 44px; height: 44px; border-radius: 50%; background: rgba(144,224,239,0.1); border: 1px solid rgba(144,224,239,0.25); display: flex; align-items: center; justify-content: center; color: var(--primary-light); flex-shrink: 0; margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4); cursor: pointer; font-weight: 600; color: #fff; }
.faq-question svg { transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 var(--space-4) var(--space-4); font-size: 0.92rem; }

/* ---------- Simulateur ---------- */
.simulator { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
.simulator h3 { margin-bottom: var(--space-2); }
.sim-field { margin-bottom: var(--space-3); }
.sim-field label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.sim-field input, .sim-field select {
    width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
    background: var(--bg-alt); color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
}
.sim-result { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); text-align: center; }
.sim-result .amount { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--primary-light); }
.sim-result .diff { font-weight: 600; margin-top: 6px; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split.reverse .split-img { order: 2; }
.split-text .eyebrow { margin-bottom: var(--space-3); }
.split-text ul { margin-top: var(--space-3); display: flex; flex-direction: column; gap: 10px; }
.split-text li { display: flex; gap: 10px; color: var(--text-muted); font-size: 0.95rem; }
.split-text li svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(135deg, rgba(0,119,182,0.25), rgba(144,224,239,0.08));
    border: 1px solid rgba(144,224,239,0.25);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
}
.cta-band h2 { margin-bottom: var(--space-2); }
.cta-band .btn { margin-top: var(--space-4); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-5); }
.pagination button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-muted); cursor: pointer; font-weight: 600; }
.pagination button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination button:hover:not(.active) { border-color: var(--primary-light); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--text-dim); margin-bottom: var(--space-4); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-light); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: var(--space-7) 0 var(--space-4); margin-top: var(--space-7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-5); }
.footer-brand p { margin-top: var(--space-3); font-size: 0.9rem; max-width: 320px; }
.disclaimer { display: flex; gap: 6px; align-items: flex-start; font-size: 0.78rem !important; margin-top: var(--space-3) !important; color: var(--text-dim) !important; }
.disclaimer svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: #e0a300; }
.footer-col h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); margin-bottom: var(--space-3); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: var(--space-6); padding-top: var(--space-4); text-align: center; font-size: 0.85rem; color: var(--text-dim); }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: var(--space-3); }
.error-page .code { font-family: var(--font-head); font-size: 6rem; font-weight: 700; color: var(--primary-light); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card.featured { grid-column: span 2; }
    .coin-detail-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .simulator { grid-template-columns: 1fr; }
    .vs-hero { grid-template-columns: 1fr; }
    .vs-badge { margin: 0 auto; }
}

@media (max-width: 768px) {
    .main-nav {
        display: flex;
        position: fixed; top: 74px; left: 0; right: 0;
        background: var(--bg-alt); flex-direction: column; padding: var(--space-4); gap: var(--space-3);
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%); opacity: 0; visibility: hidden;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
        z-index: 90;
        max-height: calc(100vh - 74px);
        overflow-y: auto;
        box-shadow: 0 12px 24px rgba(0,0,0,0.4);
    }
    .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .main-nav a { padding: 10px 4px; border-bottom: 1px solid var(--border); }
    .main-nav a:last-child { border-bottom: none; }
    .nav-toggle { display: flex; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card.featured { grid-column: span 1; }
    .split { grid-template-columns: 1fr; }
    .split.reverse .split-img { order: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .live-badge span:last-child { display: none; }
    .live-badge { padding: 8px; }
    table.market-table { min-width: 600px; }
    .selector-tool { flex-direction: column; align-items: stretch; }
    .selector-vs { align-self: center; }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .coin-hero .price-now { font-size: 1.6rem; }
}