/* =========================================================
   MixersDirectory.com — Design System v3
   Void-dark, violet accent, Oxanium + Rajdhani
   ========================================================= */

@font-face { font-family: 'Oxanium'; src: url('../fonts/oxanium-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Oxanium'; src: url('../fonts/oxanium-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Oxanium'; src: url('../fonts/oxanium-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Oxanium'; src: url('../fonts/oxanium-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('../fonts/rajdhani-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('../fonts/rajdhani-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('../fonts/rajdhani-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('../fonts/rajdhani-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

/* --- Tokens --- */
:root {
    --void: #08060f;
    --bg-body: #08060f;
    --bg-raised: #0e0a18;
    --bg-card: #120d1d;
    --bg-card-hover: #181127;
    --bg-header: rgba(8, 6, 15, 0.82);
    --bg-input: #0c0915;
    --border: #221a33;
    --border-light: #33284a;
    --text: #cfc8dc;
    --text-muted: #8a809c;
    --text-heading: #f4efff;
    --text-bright: #ffffff;
    --accent: #a855f7;
    --accent-hover: #c084fc;
    --accent-deep: #7c3aed;
    --lilac: #d8b4fe;
    --accent-dim: rgba(168, 85, 247, 0.10);
    --accent-glow: rgba(168, 85, 247, 0.30);
    --accent-strong: rgba(168, 85, 247, 0.50);
    --bitcoin: #f7931a;
    --bitcoin-dim: rgba(247, 147, 26, 0.12);
    --red: #f43f5e;
    --red-dim: rgba(244, 63, 94, 0.10);
    --green: #34d399;
    --green-dim: rgba(52, 211, 153, 0.10);
    --yellow: #facc15;
    --yellow-dim: rgba(250, 204, 21, 0.10);
    --purple: #a855f7;
    --purple-dim: rgba(168, 85, 247, 0.12);
    --cyan: #22d3ee;
    --font-heading: 'Oxanium', 'Segoe UI', sans-serif;
    --font-body: 'Rajdhani', 'Segoe UI', sans-serif;
    --radius: 8px;
    --radius-lg: 14px;
    --radius-xl: 22px;
    --shadow: 0 2px 16px rgba(0,0,0,0.5);
    --shadow-lg: 0 18px 50px rgba(0,0,0,0.55);
    --shadow-accent: 0 8px 30px rgba(124,58,237,0.18);
    --transition: 0.25s ease;
    --ease-out: cubic-bezier(.2,.8,.2,1);
    --max-width: 1220px;
}

/* --- Keyframes --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes statusPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinRev { to { transform: rotate(-360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes aurora {
    0%   { transform: translate(-10%, -6%) scale(1); }
    50%  { transform: translate(8%, 4%) scale(1.15); }
    100% { transform: translate(-10%, -6%) scale(1); }
}
@keyframes dashFlow { to { stroke-dashoffset: -40; } }
@keyframes blockIn { from { opacity: 0; transform: translateX(-16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes markBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* --- Scroll reveal --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-hover); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lilac); }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-heading); line-height: 1.2; font-weight: 600; }
h1 { font-size: 2.4rem; letter-spacing: -0.01em; }
h2 { font-size: 1.85rem; margin-bottom: 1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.08rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }
strong { color: var(--text-heading); font-weight: 600; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: .5rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), background var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(8,6,15,.94); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }

.logo { display: flex; align-items: center; gap: .65rem; color: var(--text-heading); flex-shrink: 0; }
.logo:hover { color: var(--text-heading); }
.logo-mark { width: 40px; height: 40px; transition: transform .5s var(--ease-out); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-text { font-family: var(--font-heading); font-size: 1.32rem; font-weight: 500; color: #c4a5f5; letter-spacing: -0.01em; line-height: 1; }
.logo-text b { font-weight: 700; color: var(--text-heading); }
.logo img:not(.logo-mark) { height: 36px; width: auto; }

.main-nav { display: flex; align-items: center; gap: .15rem; }
.main-nav > a, .nav-dropdown > a, .nav-dropdown > button {
    display: inline-flex; align-items: center; gap: .45rem;
    color: var(--text); background: none; border: 0; cursor: pointer;
    padding: .5rem .8rem; border-radius: var(--radius);
    font-family: var(--font-heading); font-weight: 500; font-size: .93rem;
    transition: color var(--transition), background var(--transition);
}
.main-nav i { font-size: .82em; color: var(--text-muted); transition: color var(--transition); }
.main-nav > a:hover, .nav-dropdown > a:hover, .nav-dropdown > button:hover,
.main-nav > a.active, .nav-dropdown:hover > a, .nav-dropdown:hover > button { color: var(--text-heading); background: rgba(255,255,255,.04); }
.main-nav > a:hover i, .main-nav > a.active i, .nav-dropdown:hover i { color: var(--accent-hover); }
.nav-dropdown { position: relative; }
.dropdown-content {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
    background: rgba(18,13,29,.98); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); padding: .5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s, transform .2s var(--ease-out), visibility .2s; z-index: 200;
}
.dropdown-content::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-dropdown:hover .dropdown-content, .nav-dropdown:focus-within .dropdown-content { opacity: 1; visibility: visible; transform: none; }
.dropdown-content a { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; color: var(--text); border-radius: var(--radius); font-size: .98rem; }
.dropdown-content a i { width: 18px; text-align: center; color: var(--accent-hover); }
.dropdown-content a:hover { color: var(--text-heading); background: var(--accent-dim); }
.caret { font-size: .7em; transition: transform var(--transition); }
.nav-dropdown:hover .caret { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
    width: 40px; height: 40px; border-radius: var(--radius);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--text); background: rgba(255,255,255,.03); border: 1px solid var(--border);
    cursor: pointer; transition: all var(--transition);
}
.icon-btn:hover { color: var(--text-heading); border-color: var(--accent); background: var(--accent-dim); }
.nav-toggle { display: none; }
.nav-toggle .fa-xmark { display: none; }
.nav-toggle.active .fa-xmark { display: inline; }
.nav-toggle.active .fa-bars { display: none; }

/* =========================================================
   Sponsored strip
   ========================================================= */
.banner-strip { padding: 1.25rem 0; text-align: center; }
.banner-strip .container { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.banner-ad { display: inline-block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: border-color var(--transition), box-shadow var(--transition); max-width: 100%; position: relative; }
.banner-ad:hover { border-color: var(--accent); box-shadow: 0 0 25px rgba(168,85,247,0.15); }
.banner-ad img { display: block; max-height: 90px; width: auto; max-width: 100%; }
.banner-strip--top { padding: 1rem 0 .25rem; }
.banner-strip--top .banner-ad img { max-height: 62px; }
.banner-label { font-size: .78rem; color: var(--text-muted); font-family: var(--font-heading); margin-bottom: .5rem; }
.banner-label a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   Hero (home)
   ========================================================= */
.hero-home { position: relative; padding: 3rem 0 3.5rem; overflow: hidden; isolation: isolate; }
.hero-aurora { position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1; pointer-events: none; }
.hero-aurora::before, .hero-aurora::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(80px);
    animation: aurora 18s ease-in-out infinite;
}
.hero-aurora::before { width: 620px; height: 520px; left: 48%; top: 6%; background: radial-gradient(circle, rgba(124,58,237,.45), transparent 65%); }
.hero-aurora::after { width: 480px; height: 420px; left: 2%; top: 30%; background: radial-gradient(circle, rgba(247,147,26,.12), transparent 65%); animation-delay: -9s; animation-duration: 22s; }
.hero-grid-bg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(168,85,247,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(168,85,247,.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
.hero-copy > * { animation: riseIn .8s var(--ease-out) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }

.live-pill {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .38rem .9rem .38rem .7rem; margin-bottom: 1.4rem;
    border: 1px solid var(--border-light); border-radius: 999px;
    background: rgba(18,13,29,.7); font-family: var(--font-heading); font-size: .85rem; color: var(--text);
}
.live-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: statusPulse 2s infinite; }
.live-pill strong { color: var(--green); font-weight: 600; }

.hero-home h1 { text-wrap: balance; font-size: clamp(2.3rem, 4.3vw, 3.25rem); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 1.2rem; font-weight: 700; }
.hero-home h1 .h1-line2 {
    display: block;
    background: linear-gradient(100deg, #f4efff 0%, #d8b4fe 35%, #a855f7 70%, #f4efff 100%);
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: shimmer 9s linear infinite;
}
.hero-lead { font-size: 1.22rem; color: var(--text); max-width: 34rem; margin-bottom: 1.8rem; }

.hero-search {
    display: flex; align-items: center; gap: .5rem; max-width: 34rem;
    padding: .4rem .4rem .4rem 1.1rem;
    background: rgba(12,9,21,.85); border: 1px solid var(--border-light);
    border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.35);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(168,85,247,.15), 0 10px 40px rgba(0,0,0,.35); }
.hero-search > i { color: var(--text-muted); }
.hero-search input {
    flex: 1; min-width: 0; background: none; border: 0; outline: 0;
    color: var(--text-heading); font-family: var(--font-body); font-size: 1.1rem; font-weight: 500; padding: .55rem 0;
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; align-items: center; font-size: .95rem; color: var(--text-muted); }
.chip {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .22rem .7rem; border-radius: 999px; border: 1px solid var(--border-light);
    background: transparent; color: var(--text); font-family: var(--font-heading); font-size: .8rem; cursor: pointer;
    transition: all var(--transition);
}
.chip:hover, .chip.active { border-color: var(--accent); color: var(--text-heading); background: var(--accent-dim); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* Mixing visual */
.mix-visual { position: relative; animation: fadeIn 1.2s ease .2s both; }
.mix-visual > svg { width: 100%; height: auto; overflow: visible; display: block; }
.mix-track { fill: none; stroke-width: 1.2; stroke-dasharray: 3 6; animation: dashFlow 2.4s linear infinite; }
.mix-track--in { stroke: rgba(247,147,26,.35); }
.mix-track--out { stroke: rgba(192,132,252,.38); }
.mix-ring { transform-box: fill-box; transform-origin: center; }
.mix-ring--a { animation: spin 22s linear infinite; }
.mix-ring--b { animation: spinRev 14s linear infinite; }
.mix-core { transform-box: fill-box; transform-origin: center; animation: markBob 5s ease-in-out infinite; }
.mix-label { font-family: var(--font-heading); font-size: 12.5px; fill: var(--text-muted); }
.mix-label--strong { fill: var(--text-heading); font-weight: 600; font-size: 13.5px; }
.mix-caption {
    display: flex; justify-content: space-between; gap: 1rem; margin-top: .25rem;
    font-family: var(--font-heading); font-size: .85rem; color: var(--text-muted);
}
.mix-caption span { display: inline-flex; align-items: center; gap: .45rem; }
.mix-caption .sw { width: 10px; height: 10px; border-radius: 50%; }

/* Category counters */
.counter-bar {
    position: relative; margin-top: 3rem;
    display: grid; grid-template-columns: repeat(5, 1fr);
    border: 1px solid var(--border); border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(18,13,29,.9), rgba(12,9,21,.9));
    overflow: hidden;
}
.counter {
    display: flex; align-items: center; gap: .9rem; padding: 1.15rem 1.3rem;
    color: var(--text); border-right: 1px solid var(--border);
    transition: background var(--transition);
}
.counter:last-child { border-right: 0; }
.counter:hover { background: var(--accent-dim); color: var(--text); }
.counter-icon {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
    display: grid; place-items: center; font-size: 1.05rem;
    color: var(--lilac); background: rgba(168,85,247,.12); border: 1px solid rgba(168,85,247,.22);
    transition: transform .4s var(--ease-out);
}
.counter:hover .counter-icon { transform: rotate(-8deg) scale(1.08); }
.counter--dead .counter-icon { color: #fda4af; background: rgba(244,63,94,.1); border-color: rgba(244,63,94,.22); }
.counter-num { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.7rem; color: var(--text-heading); line-height: 1; }
.counter-label { display: block; font-size: .95rem; color: var(--text-muted); margin-top: .2rem; }

/* Ticker */
.ticker { border-block: 1px solid var(--border); background: var(--bg-raised); overflow: hidden; position: relative; }
.ticker::before, .ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-raised), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-raised), transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
    display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.6rem;
    font-family: var(--font-heading); font-size: .9rem; color: var(--text); white-space: nowrap;
    border-right: 1px solid var(--border);
}
.ticker-item:hover { color: var(--text-heading); }
.ticker-item img { width: 20px; height: 20px; border-radius: 5px; object-fit: cover; }
.ticker-item .fee { color: var(--text-muted); }
.ticker-item .tdot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ticker-item .tdot--warn { background: var(--yellow); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 4.5rem 0; position: relative; }
.section--tight { padding: 3rem 0; }
.section--raised { background: var(--bg-raised); border-block: 1px solid var(--border); }
.section--glow::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124,58,237,.12), transparent 70%);
}
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; position: relative; }
.section-header h2 { margin-bottom: 0; }
.section-header .sub { color: var(--text-muted); margin: .4rem 0 0; font-size: 1.05rem; max-width: 40rem; }
.section-header .view-all {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-heading); font-size: .9rem; color: var(--text);
    padding: .5rem 1rem; border: 1px solid var(--border-light); border-radius: var(--radius);
    transition: all var(--transition);
}
.section-header .view-all i { font-size: .8em; transition: transform var(--transition); }
.section-header .view-all:hover { color: var(--text-heading); border-color: var(--accent); background: var(--accent-dim); }
.section-header .view-all:hover i { transform: translateX(3px); }
.section-center { text-align: center; justify-content: center; }
.section-center .sub { margin-left: auto; margin-right: auto; }

/* Feature routes */
.routes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.route {
    position: relative; display: flex; flex-direction: column; gap: .5rem;
    padding: 1.8rem 1.5rem 1.6rem; background: var(--bg-body); color: var(--text);
    transition: background .35s;
    overflow: hidden;
}
.route::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent-hover));
    transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.route:hover { background: var(--bg-card); color: var(--text); }
.route:hover::after { transform: scaleX(1); }
.route-icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    font-size: 1.3rem; color: #fff; margin-bottom: .7rem;
    background: linear-gradient(140deg, var(--accent-hover), var(--accent-deep));
    box-shadow: 0 8px 24px rgba(124,58,237,.35);
}
.route h3 { font-size: 1.18rem; margin: 0; }
.route p { margin: 0; color: var(--text-muted); font-size: 1rem; }
.route .go { margin-top: auto; padding-top: .8rem; font-family: var(--font-heading); font-size: .88rem; color: var(--accent-hover); display: inline-flex; align-items: center; gap: .4rem; }
.route .go i { transition: transform var(--transition); }
.route:hover .go i { transform: translateX(4px); }

/* Directory tabs */
.dir-tabs { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: 1.25rem; padding: .35rem; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-raised); width: fit-content; max-width: 100%; }
.dir-tab {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem 1.05rem; border-radius: 10px; border: 0; cursor: pointer;
    background: transparent; color: var(--text-muted);
    font-family: var(--font-heading); font-weight: 600; font-size: .93rem;
    transition: color var(--transition), background var(--transition);
}
.dir-tab .count { font-size: .75rem; padding: .05rem .45rem; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--text-muted); }
.dir-tab:hover { color: var(--text-heading); }
.dir-tab[aria-selected="true"] { background: linear-gradient(140deg, var(--accent), var(--accent-deep)); color: #fff; box-shadow: 0 6px 20px rgba(124,58,237,.35); }
.dir-tab[aria-selected="true"] .count { background: rgba(255,255,255,.2); color: #fff; }
.dir-panel[hidden] { display: none; }
.dir-panel { animation: fadeIn .35s ease; }
.dir-empty { display: none; padding: 2rem; text-align: center; color: var(--text-muted); border: 1px dashed var(--border-light); border-radius: var(--radius-lg); margin-top: 1rem; }
.dir-empty.show { display: block; }
.dir-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; color: var(--text-muted); font-size: .95rem; }

/* Directory tables */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-raised); }
.dir-table { width: 100%; border-collapse: collapse; }
.table-wrap .dir-table { border: 0; }
.dir-table:not(.table-wrap .dir-table) { border: 1px solid var(--border); border-radius: var(--radius-lg); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.dir-table th {
    font-family: var(--font-heading); font-weight: 600; font-size: .82rem; color: var(--text-muted);
    padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap;
    background: rgba(255,255,255,.015);
}
.dir-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.dir-table tbody tr { transition: background var(--transition); }
.dir-table tbody tr:hover { background: rgba(168,85,247,.05); }
.dir-table tbody tr:last-child td { border-bottom: none; }
.dir-table tr.is-hidden { display: none; }
.rank { font-family: var(--font-heading); font-weight: 700; color: var(--text-muted); font-size: .95rem; width: 2.2rem; }
tr:nth-child(-n+3) .rank { color: var(--lilac); }
.mixer-name-cell { display: flex; align-items: center; gap: .8rem; }
.mixer-name-cell > * { flex-shrink: 0; }
.mixer-name-cell > div { flex-shrink: 1; min-width: max-content; }
.mixer-name-cell img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; background: var(--bg-card); border: 1px solid var(--border); }
.mixer-name-cell .name { font-family: var(--font-heading); font-weight: 600; color: var(--text-heading); font-size: 1.02rem; display: block; line-height: 1.2; }
.mixer-name-cell a.name:hover { color: var(--accent-hover); }
.mixer-name-cell .tech { display: block; font-size: .88rem; color: var(--text-muted); line-height: 1.3; }
.svc-initial {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
    font-family: var(--font-heading); font-weight: 700; color: var(--lilac);
    background: linear-gradient(140deg, rgba(168,85,247,.22), rgba(124,58,237,.08)); border: 1px solid rgba(168,85,247,.25);
}
.fee-cell { font-family: var(--font-heading); font-size: .92rem; color: var(--text-heading); white-space: nowrap; }
.limits { font-size: .92rem; white-space: nowrap; }
.limits span { color: var(--text-muted); }
.rating { display: flex; align-items: center; gap: .55rem; white-space: nowrap; }
.rating-bar { width: 64px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.rating-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-deep), var(--lilac)); width: 0; transition: width 1.2s var(--ease-out); }
.rating-num { font-family: var(--font-heading); font-weight: 700; color: var(--text-heading); }
.yes { color: var(--green); }
.no { color: #5d5470; }
.btn-row { padding: .42rem .85rem !important; font-size: .82rem !important; }

/* Status */
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; font-family: var(--font-heading); white-space: nowrap; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status--online { color: var(--green); }
.status--online::before { background: var(--green); animation: statusPulse 2s ease-out infinite; }
.status--offline { color: var(--red); }
.status--offline::before { background: var(--red); }
.status--sanctioned, .status--warn { color: var(--yellow); }
.status--sanctioned::before, .status--warn::before { background: var(--yellow); }
.status--unknown { color: var(--text-muted); }
.status--unknown::before { background: var(--text-muted); }

/* Coin & feature badges */
.coin-badges { display: flex; gap: 4px; flex-wrap: wrap; }
.coin-badge { display: inline-flex; align-items: center; gap: 3px; background: var(--accent-dim); color: var(--accent-hover); font-size: .75rem; font-weight: 600; font-family: var(--font-heading); padding: 2px 8px; border-radius: 5px; }
.coin-badge--btc { background: var(--bitcoin-dim); color: var(--bitcoin); }
.coin-badge--eth { background: rgba(98,126,234,0.14); color: #8ea2f0; }
.coin-badge--xmr { background: rgba(255,102,0,0.12); color: #ff7a1a; }
.coin-badge--ltc { background: rgba(52,93,157,0.18); color: #7aa2e3; }
.coin-badge--bnb { background: rgba(243,186,47,.12); color: #f3ba2f; }
.coin-badge--matic { background: rgba(130,71,229,.14); color: #a77cf0; }
.feature-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; font-size: .76rem; font-weight: 600; font-family: var(--font-heading); padding: 3px 10px; border-radius: 5px; gap: 4px; }
.badge--accent { background: var(--accent-dim); color: var(--accent-hover); }
.badge--bitcoin { background: var(--bitcoin-dim); color: var(--bitcoin); }
.badge--green { background: var(--green-dim); color: var(--green); }
.badge--red { background: var(--red-dim); color: var(--red); }
.badge--purple { background: var(--purple-dim); color: var(--lilac); }

/* Cards */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); position: relative; overflow: hidden; }
.card:hover { border-color: var(--border-light); box-shadow: var(--shadow-accent); transform: translateY(-3px); }
.card-grid { display: grid; gap: 1.25rem; }
.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); }

.tool-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all var(--transition); color: var(--text); position: relative; overflow: hidden; }
.tool-card:hover { border-color: var(--accent); background: var(--bg-card-hover); color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.tool-card .tool-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-dim); color: var(--accent-hover); }
.tool-card h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.tool-card p { font-size: .95rem; color: var(--text-muted); margin: 0; }

/* =========================================================
   How it works (home)
   ========================================================= */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; counter-reset: flow; }
.flow-line { position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; pointer-events: none; }
.flow-line svg { width: 100%; height: 4px; display: block; }
.flow-line line { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 8; animation: dashFlow 1.6s linear infinite; opacity: .55; }
.flow-step { position: relative; text-align: center; padding: 0 1rem; }
.flow-num {
    width: 68px; height: 68px; margin: 0 auto 1.3rem; border-radius: 20px; position: relative; z-index: 1;
    display: grid; place-items: center; font-size: 1.5rem; color: #fff;
    background: linear-gradient(140deg, var(--accent-hover), var(--accent-deep));
    box-shadow: 0 0 0 8px var(--bg-body), 0 12px 30px rgba(124,58,237,.45);
}
.flow-num small { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-body); border: 1px solid var(--border-light); font-family: var(--font-heading); font-size: .75rem; display: grid; place-items: center; color: var(--lilac); }
.flow-step h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.flow-step p { color: var(--text-muted); margin: 0 auto; max-width: 20rem; }
.flow-tip { margin: 2.5rem auto 0; max-width: 46rem; display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: var(--radius-lg); border: 1px solid rgba(250,204,21,.25); background: rgba(250,204,21,.05); }
.flow-tip i { color: var(--yellow); margin-top: .25rem; }
.flow-tip p { margin: 0; }

/* =========================================================
   Live mempool (home)
   ========================================================= */
.mempool-live { border: 1px solid var(--border); border-radius: var(--radius-xl); background: linear-gradient(180deg, var(--bg-card), var(--bg-raised)); padding: 1.75rem; position: relative; overflow: hidden; }
.mempool-live::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--bitcoin), var(--accent), var(--bitcoin)); background-size: 200% 100%; animation: shimmer 4s linear infinite; }
.mp-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.mp-top h3 { margin: 0; display: flex; align-items: center; gap: .6rem; }
.mp-top h3 i { color: var(--bitcoin); }
.mp-state { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-heading); font-size: .85rem; color: var(--text-muted); }
.mp-state .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.mp-state.is-live .dot { background: var(--green); animation: statusPulse 2s infinite; }
.mp-state.is-live { color: var(--green); }
.mp-state.is-error .dot { background: var(--yellow); }
.mp-fees { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1.75rem; }
.mp-fee { padding: 1rem 1.1rem; border-radius: var(--radius-lg); background: rgba(255,255,255,.025); border: 1px solid var(--border); }
.mp-fee .lbl { font-size: .92rem; color: var(--text-muted); display: block; }
.mp-fee .val { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--text-heading); line-height: 1.2; }
.mp-fee .val small { font-size: .8rem; font-weight: 500; color: var(--text-muted); margin-left: .2rem; }
.mp-fee .usd { display: block; font-size: .88rem; color: var(--text-muted); }
.mp-fee--hi { border-color: rgba(168,85,247,.4); background: rgba(168,85,247,.07); }
.mp-chain { display: flex; align-items: flex-end; gap: 14px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: thin; }
.mp-group { display: flex; gap: 14px; }
.mp-divider { width: 2px; align-self: stretch; min-height: 120px; background: repeating-linear-gradient(180deg, var(--text-muted) 0 6px, transparent 6px 12px); opacity: .5; flex-shrink: 0; }
.mp-block { flex-shrink: 0; width: 112px; text-align: center; animation: blockIn .5s var(--ease-out) both; }
.mp-cube {
    position: relative; width: 104px; height: 104px; margin: 0 auto .55rem; border-radius: 4px;
    padding: .55rem .35rem; display: flex; flex-direction: column; justify-content: center; gap: 2px;
    font-family: var(--font-heading); color: #fff; overflow: hidden;
    box-shadow: 6px 6px 0 rgba(0,0,0,.35);
}
.mp-cube .fill { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; transition: height .8s var(--ease-out); }
.mp-cube > span { position: relative; z-index: 1; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.mp-cube .med { font-size: .95rem; font-weight: 700; }
.mp-cube .rng { font-size: .7rem; opacity: .9; }
.mp-cube .tx { font-size: .7rem; opacity: .85; }
.mp-block--pending .mp-cube { background: #2a1d42; }
.mp-block--pending .mp-cube .fill { background: linear-gradient(180deg, #c084fc, #7c3aed); }
.mp-block--mined .mp-cube { background: linear-gradient(180deg, #3d2a14, #251a10); }
.mp-block--mined .mp-cube .fill { background: linear-gradient(180deg, #f7a541, #b8650c); }
.mp-block .meta { font-family: var(--font-heading); font-size: .78rem; color: var(--text-muted); line-height: 1.3; }
.mp-block .meta b { color: var(--text-heading); font-weight: 600; display: block; }
.mp-block--mined .meta b { color: var(--bitcoin); }
.mp-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.mp-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.mp-stat .lbl { font-size: .88rem; color: var(--text-muted); display: block; }
.mp-stat .val { font-family: var(--font-heading); font-weight: 700; color: var(--text-heading); font-size: 1.1rem; }

/* =========================================================
   Criteria, guides, graveyard, FAQ (home)
   ========================================================= */
.criteria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.criterion i { font-size: 1.4rem; color: var(--accent-hover); margin-bottom: .9rem; display: block; }
.criterion h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.criterion p { color: var(--text-muted); margin: 0; font-size: 1rem; }

.guides-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; }
.guide-feature {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px;
    padding: 2rem; border-radius: var(--radius-xl); overflow: hidden; color: var(--text);
    border: 1px solid var(--border-light);
    background: radial-gradient(circle at 85% 15%, rgba(168,85,247,.35), transparent 50%), radial-gradient(circle at 10% 100%, rgba(247,147,26,.12), transparent 50%), var(--bg-card);
}
.guide-feature:hover { color: var(--text); border-color: var(--accent); }
.guide-feature .gf-art { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 7rem; color: rgba(216,180,254,.12); transform: rotate(14deg); transition: transform .6s var(--ease-out), color .6s; }
.guide-feature:hover .gf-art { transform: rotate(0deg) scale(1.05); color: rgba(216,180,254,.22); }
.guide-feature .category { position: relative; }
.guide-feature h3 { font-size: 1.75rem; margin: .4rem 0 .6rem; position: relative; }
.guide-feature p { color: var(--text); margin-bottom: 1rem; position: relative; max-width: 32rem; }
.guide-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.guide-row { display: flex; gap: 1rem; align-items: center; padding: 1.15rem 1.35rem; color: var(--text); border-bottom: 1px solid var(--border); background: var(--bg-raised); transition: background var(--transition); flex: 1; }
.guide-row:last-child { border-bottom: 0; }
.guide-row:hover { background: var(--bg-card-hover); color: var(--text); }
.guide-row .gi { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--accent-dim); color: var(--accent-hover); }
.guide-row h4 { margin: 0 0 .1rem; font-size: 1.05rem; }
.guide-row span { color: var(--text-muted); font-size: .93rem; }
.guide-row .arr { margin-left: auto; color: var(--text-muted); transition: transform var(--transition), color var(--transition); }
.guide-row:hover .arr { transform: translateX(4px); color: var(--accent-hover); }
.category { font-size: .85rem; color: var(--accent-hover); font-family: var(--font-heading); font-weight: 600; }
.read-time { font-size: .9rem; color: var(--text-muted); }

.graves { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.grave {
    position: relative; padding: 1.4rem 1.2rem 1.2rem; border-radius: 60px 60px var(--radius-lg) var(--radius-lg);
    background: linear-gradient(180deg, #17121f, #0f0b16); border: 1px solid var(--border);
    text-align: center; transition: transform .35s var(--ease-out), border-color .35s;
}
.grave:hover { transform: translateY(-4px); border-color: rgba(244,63,94,.35); }
.grave i { font-size: 1.2rem; color: #6b5f80; margin-bottom: .6rem; display: block; }
.grave h3 { font-size: 1.08rem; margin-bottom: .15rem; color: #b9b0c9; text-decoration: line-through; text-decoration-color: rgba(244,63,94,.6); text-decoration-thickness: 2px; }
.grave .yrs { font-family: var(--font-heading); font-size: .85rem; color: var(--text-muted); display: block; margin-bottom: .7rem; }
.grave .cause { font-size: .93rem; color: var(--text); margin-bottom: .7rem; line-height: 1.35; }
.grave .vol { display: inline-block; font-family: var(--font-heading); font-size: .8rem; padding: .15rem .6rem; border-radius: 999px; background: var(--red-dim); color: #fda4af; }

.faq { max-width: 52rem; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
    list-style: none; cursor: pointer; padding: 1.25rem .25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--text-heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-light); color: var(--accent-hover); font-size: .8rem; transition: transform .3s var(--ease-out), background .3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent-dim); }
.faq summary:hover { color: var(--lilac); }
.faq .answer { padding: 0 .25rem 1.3rem; color: var(--text); max-width: 46rem; animation: riseIn .35s var(--ease-out); }
.faq .answer p:last-child { margin-bottom: 0; }

.seo-block { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.seo-block h2 { font-size: 1.45rem; }
.seo-block p { color: var(--text); }

/* =========================================================
   Inner-page components
   ========================================================= */
.hero { text-align: center; padding: 4.5rem 1rem 3.5rem; position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(124,58,237,.22), transparent 70%); }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; animation: riseIn .7s var(--ease-out) both; }
.hero h1 span { color: var(--lilac); }
.hero p { font-size: 1.18rem; color: var(--text-muted); max-width: 640px; margin: 0 auto 2rem; animation: riseIn .7s var(--ease-out) .08s both; }
.hero-badges { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; animation: riseIn .7s var(--ease-out) .16s both; }
.hero-badge { display: flex; align-items: center; gap: .5rem; color: var(--text); font-family: var(--font-heading); font-size: .95rem; padding: .55rem 1.1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.hero-badge .num { color: var(--lilac); font-weight: 700; font-size: 1.35rem; }

.review-header { padding: 3rem 0 2rem; border-bottom: 1px solid var(--border); position: relative; background: radial-gradient(ellipse 50% 90% at 20% 0%, rgba(124,58,237,.16), transparent 70%); }
.review-header-top { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.review-header-top img { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; background: var(--bg-card); border: 1px solid var(--border-light); box-shadow: 0 10px 30px rgba(124,58,237,.25); }
.review-header-top h1 { margin: 0; }
.review-header-top .status { margin-left: .5rem; }
.review-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.meta-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.1rem; }
.meta-item .label { font-size: .88rem; color: var(--text-muted); font-family: var(--font-heading); margin-bottom: .2rem; }
.meta-item .value { font-family: var(--font-heading); font-weight: 600; color: var(--text-heading); font-size: 1.02rem; }
.review-body { display: grid; grid-template-columns: 2fr 1fr; gap: 2.25rem; padding: 2.25rem 0; }
.review-main, .review-sidebar { min-width: 0; }
.review-section { margin-bottom: 2.5rem; }
.review-section h2 { font-size: 1.45rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pros-list, .cons-list { background: var(--bg-card); border-radius: var(--radius-lg); padding: 1.25rem; border: 1px solid var(--border); }
.pros-list { border-top: 2px solid var(--green); }
.cons-list { border-top: 2px solid var(--red); }
.pros-list h3 { color: var(--green); }
.cons-list h3 { color: var(--red); }
.pros-list ul, .cons-list ul { list-style: none; padding: 0; margin: 0; }
.pros-list li, .cons-list li { padding: .4rem 0 .4rem 1.4rem; position: relative; }
.pros-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .5rem; font-size: .8rem; color: var(--green); }
.cons-list li::before { content: '\f00d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .5rem; font-size: .8rem; color: var(--red); }
.verdict-box { background: linear-gradient(135deg, rgba(168,85,247,.12), rgba(168,85,247,.03)); border: 1px solid rgba(168,85,247,.3); border-radius: var(--radius-lg); padding: 1.5rem; position: relative; overflow: hidden; }
.verdict-box h3 { color: var(--lilac); margin-bottom: .5rem; }

.sidebar-widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.25rem; position: sticky; top: 90px; }
.sidebar-widget + .sidebar-widget { position: static; }
.sidebar-widget h3 { font-size: 1.02rem; margin-bottom: 1rem; padding-bottom: .55rem; border-bottom: 1px solid var(--border); }
.sidebar-link { display: flex; align-items: center; gap: .5rem; padding: .5rem 0; color: var(--text); transition: color var(--transition), padding var(--transition); }
.sidebar-link:hover { color: var(--accent-hover); padding-left: 4px; }
.related-mixer { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--border); color: var(--text); }
.related-mixer:last-child { border-bottom: none; }
.related-mixer img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.related-mixer .rm-name { font-family: var(--font-heading); font-weight: 600; color: var(--text-heading); font-size: .92rem; }
.related-mixer .rm-fee { font-size: .85rem; color: var(--text-muted); }

.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; font-size: .95rem; }
.compare-table th { background: rgba(255,255,255,.02); font-family: var(--font-heading); font-weight: 600; font-size: .82rem; color: var(--text-muted); padding: .8rem .9rem; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.compare-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare-table tbody tr:hover { background: rgba(168,85,247,.05); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.check { color: var(--green); }
.cross { color: var(--red); }

.wallet-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; display: flex; align-items: flex-start; gap: 1rem; transition: border-color var(--transition), transform var(--transition); }
.wallet-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.wallet-card img { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; flex-shrink: 0; }

.article-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; transition: border-color var(--transition), transform var(--transition); position: relative; overflow: hidden; }
.article-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.article-card h3 { font-size: 1.15rem; margin: .4rem 0 .5rem; }
.article-card h3 a { color: var(--text-heading); }
.article-card h3 a:hover { color: var(--accent-hover); }
.article-card .excerpt { font-size: .98rem; color: var(--text-muted); margin-bottom: .75rem; }
.article-card .meta { font-size: .88rem; color: var(--text-muted); }

.article-content { max-width: 760px; margin: 0 auto; padding: 2rem 0 3rem; }
.article-content h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.article-content .article-meta { color: var(--text-muted); font-size: .95rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.article-content h2 { font-size: 1.55rem; margin-top: 2.5rem; margin-bottom: .75rem; }
.article-content h3 { font-size: 1.22rem; margin-top: 2rem; }
.article-content p, .article-content li { font-size: 1.1rem; line-height: 1.75; }
.article-content blockquote { border-left: 3px solid var(--accent); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--bg-card); border-radius: 0 var(--radius) var(--radius) 0; }

.graveyard-table { width: 100%; }
.graveyard-table .name-dead { text-decoration: line-through; text-decoration-color: rgba(244,63,94,.6); color: #b9b0c9; }

.team-card { text-align: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.5rem; transition: border-color var(--transition), transform var(--transition); }
.team-card:hover { border-color: var(--border-light); transform: translateY(-3px); }
.team-card .avatar { width: 96px; height: 96px; border-radius: 28px; margin: 0 auto 1rem; background: linear-gradient(140deg, var(--accent-hover), var(--accent-deep)); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; font-family: var(--font-heading); font-weight: 700; box-shadow: 0 12px 30px rgba(124,58,237,.35); }
.team-card h3 { margin-bottom: .25rem; }
.team-card .role { color: var(--accent-hover); font-size: .9rem; font-family: var(--font-heading); font-weight: 600; margin-bottom: .75rem; }
.team-card .bio { font-size: .98rem; color: var(--text-muted); }

.breadcrumbs { padding: 1rem 0; font-size: .92rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent-hover); }
.breadcrumbs .sep { margin: 0 .5rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
    padding: .7rem 1.35rem; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
    white-space: nowrap;
}
.btn i { font-size: .9em; }
.btn-primary { background: linear-gradient(140deg, var(--accent), var(--accent-deep)); color: #fff; box-shadow: 0 8px 24px rgba(124,58,237,.35); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,58,237,.5); }
.btn-outline { background: rgba(255,255,255,.02); border-color: var(--border-light); color: var(--text-heading); }
.btn-outline:hover { border-color: var(--accent); color: var(--text-heading); background: var(--accent-dim); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }

/* Mempool (legacy, inner pages) */
.mempool-embed { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.mempool-embed iframe { width: 100%; border: none; min-height: 300px; }

/* Boxes */
.info-box { background: var(--accent-dim); border: 1px solid rgba(168,85,247,.25); border-radius: var(--radius-lg); padding: 1.15rem 1.4rem; margin: 1.5rem 0; display: flex; align-items: flex-start; gap: .85rem; }
.info-box .info-icon { font-size: 1.15rem; flex-shrink: 0; margin-top: .1rem; color: var(--accent-hover); }
.info-box p { margin: 0; }
.warning-box { background: var(--yellow-dim); border: 1px solid rgba(250,204,21,.25); border-radius: var(--radius-lg); padding: 1.15rem 1.4rem; margin: 1.5rem 0; }

.stats-row { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; padding: 1.5rem 0; }
.stat-item { text-align: center; padding: 1.4rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); min-width: 150px; }
.stat-item .stat-num { font-family: var(--font-heading); font-weight: 700; font-size: 2rem; color: var(--lilac); display: block; }
.stat-item .stat-label { font-size: .92rem; color: var(--text-muted); font-family: var(--font-heading); }
.glow-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); margin: 2rem 0; opacity: .3; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { margin-top: 0; padding: 4rem 0 2rem; position: relative; background: linear-gradient(180deg, var(--bg-body), #05040a); border-top: 1px solid var(--border); overflow: hidden; }
.site-footer::before { content: ''; position: absolute; left: 50%; top: -220px; transform: translateX(-50%); width: 900px; height: 340px; background: radial-gradient(ellipse, rgba(124,58,237,.16), transparent 70%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; margin-bottom: 2.5rem; position: relative; }
.footer-brand p { color: var(--text-muted); margin: 1rem 0 1.2rem; max-width: 22rem; }
.footer-domains { display: flex; flex-direction: column; gap: .4rem; font-family: var(--font-heading); font-size: .88rem; }
.footer-domains span { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); }
.footer-domains i { color: var(--green); font-size: .8rem; }
.footer-col h4 { font-family: var(--font-heading); color: var(--text-heading); font-size: .98rem; margin-bottom: .9rem; }
.footer-col a { display: block; color: var(--text-muted); padding: .22rem 0; transition: color var(--transition), transform var(--transition); }
.footer-col a:hover { color: var(--lilac); transform: translateX(3px); }
.footer-company { text-align: left; padding: 1.25rem 0; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .95rem; position: relative; }
.footer-company strong { color: var(--text-heading); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; color: var(--text-muted); font-size: .9rem; text-align: left; position: relative; }
.footer-bottom p { margin: 0; }
.footer-disclaimer { max-width: 44rem; font-size: .88rem; line-height: 1.5; opacity: .8; }
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease-out); background: var(--bg-card); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .main-nav > a, .nav-dropdown > a, .nav-dropdown > button { padding: .5rem .55rem; }
    .main-nav i { display: none; }
    .dropdown-content a i { display: inline-block; }
    .graves { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .review-body { grid-template-columns: 1fr; }
    .hero-layout { grid-template-columns: 1fr; }
    .mix-visual { max-width: 560px; margin: 0 auto; width: 100%; }
    .counter-bar { grid-template-columns: repeat(3, 1fr); }
    .counter:nth-child(3) { border-right: 0; }
    .counter:nth-child(n+4) { border-top: 1px solid var(--border); }
    .routes { grid-template-columns: repeat(2, 1fr); }
    .criteria { grid-template-columns: repeat(2, 1fr); }
    .guides-layout { grid-template-columns: 1fr; }
    .mp-fees { grid-template-columns: repeat(2, 1fr); }
    .sidebar-widget { position: static; }
}
@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
        background: #0e0a18; border-bottom: 1px solid var(--border); padding: .75rem 1rem 1.25rem;
        box-shadow: var(--shadow-lg); max-height: calc(100vh - 70px); overflow-y: auto;
        display: none;
    }
    .main-nav.open { display: flex; }
    .site-header:has(.main-nav.open) { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0e0a18; }
    .main-nav i { display: inline-block; width: 18px; }
    .main-nav > a, .nav-dropdown > a, .nav-dropdown > button { padding: .75rem .6rem; width: 100%; font-size: 1rem; }
    .dropdown-content { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 1.5rem; min-width: 0; }
    .nav-dropdown:hover .dropdown-content { display: none; }
    .nav-dropdown.open .dropdown-content { display: block; }
}
@media (max-width: 768px) {
    body { font-size: 16px; }
    .section { padding: 3.25rem 0; }
    .hero-home { padding: 2.5rem 0 2.5rem; }
    .hero { padding: 3rem 1rem 2.5rem; }
    .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
    .pros-cons { grid-template-columns: 1fr; }
    .review-header-top { flex-wrap: wrap; }
    .dir-table, .compare-table { font-size: .92rem; }
    .dir-table th, .dir-table td, .compare-table th, .compare-table td { padding: .65rem .6rem; }
    .counter-bar { grid-template-columns: repeat(2, 1fr); }
    .counter { border-right: 0; border-top: 1px solid var(--border); padding: .95rem 1rem; }
    .counter:nth-child(odd) { border-right: 1px solid var(--border); }
    .counter:nth-child(-n+2) { border-top: 0; }
    .counter:last-child { grid-column: 1 / -1; border-right: 0; }
    .flow { grid-template-columns: 1fr; gap: 2rem; }
    .flow-line { display: none; }
    .seo-block { grid-template-columns: 1fr; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .banner-strip .container { flex-direction: column; }
    .graves { grid-template-columns: repeat(2, 1fr); }
    .mempool-live { padding: 1.25rem; }
    .review-meta { grid-template-columns: 1fr 1fr; }
    .hide-sm { display: none !important; }
    .dir-tabs { width: 100%; }
    .dir-tab { flex: 1; justify-content: center; padding: .55rem .6rem; }
}
@media (max-width: 480px) {
    .criteria { grid-template-columns: 1fr; }
    .routes { grid-template-columns: 1fr 1fr; }
    .route { padding: 1.2rem 1rem; }
    .route p, .route .go { display: none; }
    .route-icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: .4rem; }
    .route h3 { font-size: 1.02rem; }
    .fee-cell { white-space: normal; min-width: 6.5rem; }
    .mixer-name-cell img, .svc-initial { width: 32px; height: 32px; }
    .mixer-name-cell { gap: .6rem; }
    .mixer-name-cell .name { white-space: nowrap; }
    .dir-table .status { font-size: 0; gap: 0; }
    .dir-table .status::before { width: 10px; height: 10px; }
    .review-meta { grid-template-columns: 1fr; }
    .graves { grid-template-columns: 1fr 1fr; gap: .7rem; }
    .grave { padding: 1.1rem .8rem 1rem; border-radius: 40px 40px var(--radius-lg) var(--radius-lg); }
    .grave:last-child { grid-column: 1 / -1; }
    .grave .cause { font-size: .88rem; }
    .logo-text { font-size: 1.12rem; }
    .logo-mark { width: 34px; height: 34px; }
    .hero-search { flex-wrap: wrap; padding: .5rem; }
    .hero-search > i { display: none; }
    .hero-search input { padding: .5rem; }
    .hero-search .btn { width: 100%; }
    .mp-fee .val { font-size: 1.35rem; }
    .hide-xs { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .mix-coin { display: none; }
}

/* --- Utilities --- */
.text-accent { color: var(--accent-hover); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-gradient { color: var(--lilac); }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
