/* =====================================================================
 * Recompensated — Rewards Hub stylesheet
 * Loaded AFTER landing.css and BEFORE light-overrides.css (see app.blade.php).
 * Token-driven (theme-tokens.css) so dark/light flip automatically; the few
 * [data-theme="light"] rules below only reshape things that are dark by design.
 *
 * Sections:
 *   1  Base, shell, utilities      8  Cards & grid          15  Article page
 *   2  Buttons                     9  Empty state           16  Illustrations
 *   3  Badges / eyebrow            10 Banners               17  Page backdrop
 *   4  Hero                        11 Trust strip           18  Light-mode tweaks
 *   5  Search                      12 FAQ                   19  Responsive
 *   6  Ticker                      13 Final CTA             20  GLOBAL FOOTER REMODEL
 *   7  Categories                  14 Breadcrumb / cat hero
 * ===================================================================== */

/* ── 1. Base / shell / utilities ─────────────────────────────────── */
.rh {
    --cat-accent: var(--accent);
    color: var(--text-body);
    position: relative;
    z-index: 1;
}
.rh-shell {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}
.rh-section { padding-block: clamp(1.9rem, 3.6vw, 3rem); }
.rh-visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.rh-accent {
    background: linear-gradient(100deg, var(--accent) 10%, #7ef7cf 90%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--accent);
}

/* ── 2. Buttons ──────────────────────────────────────────────────── */
.rh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.72rem 1.3rem; border-radius: 0.85rem;
    font-weight: 700; font-size: 0.95rem; line-height: 1;
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.rh-btn i { font-size: 0.85em; }
.rh-btn--lg { padding: 0.95rem 1.7rem; font-size: 1.02rem; border-radius: 1rem; }
.rh-btn--block { width: 100%; }
.rh-btn--primary {
    color: #07120f;
    background: linear-gradient(135deg, #48ec83 0%, #1fd177 100%);
    box-shadow: 0 8px 22px rgba(31, 209, 119, 0.28), inset 0 1px 0 rgba(255,255,255,0.35);
}
.rh-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(31, 209, 119, 0.42); color: #07120f; }
.rh-btn--ghost {
    color: var(--text-primary);
    background: var(--bg-surface);
    border-color: var(--border-strong);
}
.rh-btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent-border); background: var(--bg-surface-hover); color: var(--text-primary); }
.rh-btn--dark {
    color: #f6f8ff; background: rgba(8, 13, 22, 0.72); border-color: rgba(255,255,255,0.16);
}
.rh-btn--dark:hover { transform: translateY(-2px); background: rgba(8, 13, 22, 0.92); color: #fff; }
.rh-btn--light {
    color: #1a1140; background: #ffffff; border-color: rgba(255,255,255,0.6);
}
.rh-btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.25); color: #1a1140; }

/* ── 3. Badges / eyebrow ─────────────────────────────────────────── */
.rh-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.85rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
    color: var(--text-primary);
    background: color-mix(in srgb, var(--cat-accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--cat-accent) 35%, transparent);
}
.rh-badge i { color: var(--cat-accent); }
.rh-badge__dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 0.28rem color-mix(in srgb, var(--accent) 22%, transparent); }
.rh-eyebrow {
    margin: 0 0 0.4rem; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--cat-accent);
}
.rh-section__head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
    margin-bottom: clamp(1.3rem, 3vw, 2rem); flex-wrap: wrap;
}
.rh-section__head--center { justify-content: center; text-align: center; }
.rh-section__title { margin: 0; font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); line-height: 1.1; }
.rh-section__sub { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ── 4. Hero ─────────────────────────────────────────────────────── */
.rh-hero { padding-top: clamp(0.75rem, 2vw, 1.6rem); }
.rh-hero__grid {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1.5rem, 3.5vw, 3rem); align-items: stretch;
}
.rh-hero__copy { display: flex; flex-direction: column; justify-content: center; }
.rh-hero__title {
    margin: 0.8rem 0 0; font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800;
    letter-spacing: -0.045em; line-height: 1.05; color: var(--text-primary);
}
.rh-hero__sub { margin: 0.85rem 0 0; max-width: 36rem; color: var(--text-muted); font-size: clamp(0.95rem, 1.5vw, 1.05rem); line-height: 1.65; }
.rh-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.2rem; }
.rh-trustrow {
    list-style: none; margin: 1.2rem 0 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem;
}
.rh-trustrow li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-body); font-size: 0.88rem; font-weight: 600; }
.rh-trustrow i { color: var(--accent); }

.rh-hero__art { position: relative; align-self: stretch; display: flex; min-height: 340px; }
.rh-hero__art .rh-illus { width: 100%; height: 100%; min-height: 340px; border-radius: 1.4rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border-subtle); }
.rh-hero__chip {
    position: absolute; display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.45rem 0.8rem; border-radius: 999px; font-weight: 800; font-size: 0.82rem;
    background: var(--bg-card); border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md); color: var(--text-primary);
    animation: rhFloatChip 5s ease-in-out infinite;
}
.rh-hero__chip i { font-size: 1em; }
.rh-hero__chip--btc { top: 8%; right: -4%; color: #f7931a; animation-delay: 0s; }
.rh-hero__chip--eth { bottom: 26%; left: -6%; color: #7c83ff; animation-delay: .8s; }
.rh-hero__chip--visa { bottom: 6%; right: 6%; color: #4f7cff; animation-delay: 1.6s; }
@keyframes rhFloatChip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── 5. Search ───────────────────────────────────────────────────── */
.rh-search {
    position: relative; display: flex; align-items: center; margin-top: 1.3rem;
    max-width: 34rem; background: var(--bg-card); border: 1px solid var(--border-strong);
    border-radius: 999px; padding: 0.32rem 0.32rem 0.32rem 1.1rem;
    box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease;
}
.rh-search:focus-within { border-color: var(--accent-border); box-shadow: var(--focus-ring); }
.rh-search__icon { color: var(--text-muted); font-size: 0.95rem; }
.rh-search__input {
    flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
    color: var(--text-primary); font-size: 0.98rem; padding: 0.6rem 0.7rem; font-family: inherit;
}
.rh-search__input::placeholder { color: var(--text-faint); }
.rh-search__btn {
    flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: 999px; border: 0; cursor: pointer;
    color: #07120f; background: linear-gradient(135deg, #48ec83, #1fd177);
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(31,209,119,0.3); transition: transform .18s ease;
}
.rh-search__btn:hover { transform: scale(1.05); }

/* ── 6. Ticker ───────────────────────────────────────────────────── */
.rh-ticker { padding-block: 0.9rem; border-block: 1px solid var(--border-subtle); background: var(--bg-surface); overflow: hidden; }
.rh-ticker__inner { display: flex; align-items: center; gap: 1.2rem; }
.rh-ticker__label {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--accent);
}
.rh-ticker__pulse { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: rhPulse 2s infinite; }
@keyframes rhPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 0.6rem transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.rh-ticker__viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rh-ticker__track { display: inline-flex; align-items: center; gap: 2.4rem; white-space: nowrap; animation: rhMarquee 38s linear infinite; }
.rh-ticker__viewport:hover .rh-ticker__track { animation-play-state: paused; }
.rh-ticker__item { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--text-body); font-size: 0.9rem; font-weight: 600; }
.rh-ticker__item i { color: var(--accent); }
@keyframes rhMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── 7. Categories ───────────────────────────────────────────────── */
.rh-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.rh-cats--related { grid-template-columns: repeat(3, 1fr); }
.rh-cat {
    --cat-accent: var(--accent);
    position: relative; display: flex; align-items: center; gap: 0.85rem;
    padding: 1.05rem 1.1rem; border-radius: 1.1rem; text-decoration: none;
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm); overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rh-cat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--cat-accent) 16%, transparent), transparent 60%); opacity: 0; transition: opacity .25s ease; }
.rh-cat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--cat-accent) 45%, transparent); box-shadow: var(--shadow-lg); }
.rh-cat:hover::before { opacity: 1; }
.rh-cat__icon {
    flex-shrink: 0; width: 2.7rem; height: 2.7rem; border-radius: 0.8rem;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
    color: var(--cat-accent); background: color-mix(in srgb, var(--cat-accent) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--cat-accent) 32%, transparent);
}
.rh-cat__body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.rh-cat__label { font-weight: 800; color: var(--text-primary); font-size: 1rem; }
.rh-cat__blurb { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.rh-cat__arrow { margin-left: auto; color: var(--text-faint); transition: transform .2s ease, color .2s ease; }
.rh-cat:hover .rh-cat__arrow { color: var(--cat-accent); transform: translateX(3px); }

.rh-explore { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.3rem; }
.rh-explore__label { color: var(--text-muted); font-size: 0.86rem; font-weight: 600; margin-right: 0.2rem; }
.rh-pill {
    display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.95rem;
    border-radius: 999px; font-size: 0.86rem; font-weight: 650; text-decoration: none;
    color: var(--text-body); background: var(--bg-surface); border: 1px solid var(--border-subtle);
    transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.rh-pill i { color: var(--accent); }
.rh-pill:hover { transform: translateY(-2px); border-color: var(--accent-border); color: var(--text-primary); }

/* ── 8. Cards & grid ─────────────────────────────────────────────── */
.rh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.rh-card {
    --cat-accent: var(--accent);
    display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 1.2rem;
    box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rh-card[hidden] { display: none; }
.rh-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--cat-accent) 42%, transparent); box-shadow: var(--shadow-lg); }
.rh-card__media { position: relative; aspect-ratio: 5 / 3; overflow: hidden; }
.rh-card__media .rh-illus { width: 100%; height: 100%; display: block; transition: transform .35s ease; }
.rh-card:hover .rh-card__media .rh-illus { transform: scale(1.05); }
.rh-card__tag {
    position: absolute; top: 0.7rem; left: 0.7rem; display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.32rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
    color: var(--text-primary); background: color-mix(in srgb, var(--bg-base) 78%, transparent);
    border: 1px solid color-mix(in srgb, var(--cat-accent) 40%, transparent); backdrop-filter: blur(6px);
}
.rh-card__tag i { color: var(--cat-accent); }
.rh-card__body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.1rem 1.15rem 1.2rem; flex: 1; }
.rh-card__title { margin: 0; font-size: 1.08rem; font-weight: 750; line-height: 1.28; color: var(--text-primary); letter-spacing: -0.01em; }
.rh-card:hover .rh-card__title { color: var(--cat-accent); }
.rh-card__excerpt { margin: 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.rh-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--text-faint); margin-top: 0.2rem; }
.rh-card__meta i { margin-right: 0.15rem; }
.rh-card__author { font-weight: 700; color: var(--text-muted); }
.rh-card__dot { opacity: 0.6; }
.rh-grid--featured .rh-card__media { aspect-ratio: 16 / 9; }

/* ── 9. Empty state ──────────────────────────────────────────────── */
.rh-empty {
    text-align: center; padding: 3rem 1rem; color: var(--text-muted);
    border: 1px dashed var(--border-strong); border-radius: 1.2rem; background: var(--bg-surface);
}
.rh-empty i { font-size: 1.8rem; color: var(--text-faint); margin-bottom: 0.8rem; display: block; }
.rh-empty p { margin: 0; font-size: 0.95rem; }
.rh-empty__suggest { appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer; color: var(--accent); font-weight: 700; font-family: inherit; font-size: inherit; text-decoration: underline; }

/* ── 10. Banners ─────────────────────────────────────────────────── */
.rh-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.rh-banner {
    position: relative; overflow: hidden; border-radius: 1.4rem; padding: 1.8rem;
    border: 1px solid var(--border-strong);
}
.rh-banner--support { background: linear-gradient(135deg, rgba(31,209,119,0.16), rgba(16,185,129,0.06)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.rh-banner--affiliate { background: linear-gradient(135deg, rgba(124,99,255,0.2), rgba(79,70,229,0.08)); border-color: rgba(124,99,255,0.4); }
.rh-banner__glow { position: absolute; width: 16rem; height: 16rem; border-radius: 999px; top: -7rem; right: -5rem; pointer-events: none; }
.rh-banner--support .rh-banner__glow { background: radial-gradient(circle, rgba(52,240,181,0.35), transparent 65%); }
.rh-banner--affiliate .rh-banner__glow { background: radial-gradient(circle, rgba(124,99,255,0.4), transparent 65%); }
.rh-banner__body { position: relative; }
.rh-banner__icon {
    display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 0.9rem;
    font-size: 1.2rem; margin-bottom: 0.9rem; color: var(--text-primary);
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
}
.rh-banner__title { margin: 0 0 0.4rem; font-size: 1.25rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; }
.rh-banner__text { margin: 0 0 1.1rem; color: var(--text-body); font-size: 0.92rem; line-height: 1.6; max-width: 30rem; }
.rh-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.rh-banner__link { color: var(--text-primary); font-weight: 700; font-size: 0.9rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.rh-banner__link:hover { color: var(--accent); }
.rh-banner__link i { font-size: 0.8em; transition: transform .18s ease; }
.rh-banner__link:hover i { transform: translateX(3px); }

/* ── 11. Trust strip ─────────────────────────────────────────────── */
.rh-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.rh-trust__item {
    display: flex; flex-direction: column; gap: 0.35rem; padding: 1.3rem 1.2rem;
    border-radius: 1.1rem; background: var(--bg-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm);
}
.rh-trust__item i { font-size: 1.3rem; color: var(--accent); margin-bottom: 0.3rem; }
.rh-trust__item strong { color: var(--text-primary); font-size: 0.98rem; }
.rh-trust__item span { color: var(--text-muted); font-size: 0.84rem; line-height: 1.5; }

/* ── 12. FAQ ─────────────────────────────────────────────────────── */
.rh-faq-wrap { max-width: 820px; }
.rh-faq { display: flex; flex-direction: column; gap: 0.7rem; }
.rh-faq__item { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 1rem; overflow: hidden; transition: border-color .2s ease; }
.rh-faq__item[open] { border-color: var(--accent-border); }
.rh-faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer;
    padding: 1.05rem 1.2rem; font-weight: 700; color: var(--text-primary); font-size: 0.98rem; list-style: none;
}
.rh-faq__q::-webkit-details-marker { display: none; }
.rh-faq__q i { color: var(--accent); transition: transform .25s ease; flex-shrink: 0; font-size: 0.85rem; }
.rh-faq__item[open] .rh-faq__q i { transform: rotate(180deg); }
.rh-faq__a { padding: 0 1.2rem 1.15rem; }
.rh-faq__a p { margin: 0; color: var(--text-muted); line-height: 1.7; font-size: 0.92rem; }

/* Insulate hub FAQ / TOC <details> from the legacy global bare-<summary>/<details>
   accordion rules in custom.css (purple "+" marker, sweep animation, 55px indent,
   purple left-border). Those use unscoped selectors, so scope these to win. */
.rh-faq__q::after,
.rh-toc--mobile summary::after { content: none; }
.rh-faq details[open] summary ~ *,
.rh-toc--mobile details[open] summary ~ * { animation: none; }
.rh-faq details[open] p { margin-left: 0; padding-left: 0; border-left: 0; color: var(--text-muted); }

/* ── 13. Final CTA ───────────────────────────────────────────────── */
.rh-finalcta {
    position: relative; overflow: hidden; text-align: center;
    padding: clamp(2.4rem, 5vw, 3.6rem) clamp(1.2rem, 4vw, 3rem);
    border-radius: 1.6rem; border: 1px solid var(--accent-border);
    background: linear-gradient(160deg, var(--bg-card), color-mix(in srgb, var(--accent) 8%, var(--bg-card)));
    box-shadow: var(--shadow-lg);
}
.rh-finalcta__glow { position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%); pointer-events: none; }
.rh-finalcta__title { position: relative; margin: 0; font-size: clamp(1.5rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); }
.rh-finalcta__text { position: relative; margin: 0.8rem auto 0; max-width: 32rem; color: var(--text-muted); line-height: 1.7; }
.rh-finalcta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.6rem; }
.rh-finalcta__fineprint { position: relative; margin: 1.4rem auto 0; max-width: 34rem; font-size: 0.78rem; color: var(--text-faint); line-height: 1.6; }

/* ── 14. Breadcrumb / category hero ──────────────────────────────── */
.rh-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-top: 1.4rem; font-size: 0.84rem; color: var(--text-muted); }
.rh-breadcrumb a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.rh-breadcrumb a:hover { color: var(--accent); }
.rh-breadcrumb i { font-size: 0.62rem; color: var(--text-faint); }
.rh-breadcrumb span[aria-current] { color: var(--text-body); font-weight: 600; }

.rh-cathero { padding-top: clamp(1.4rem, 3vw, 2.2rem); }
.rh-cathero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.rh-cathero__title { margin: 1rem 0 0; font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--text-primary); }
.rh-cathero__intro { margin: 1rem 0 0; max-width: 38rem; color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; }
.rh-cathero__art .rh-illus { width: 100%; height: auto; border-radius: 1.4rem; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-lg); }

/* ── 15. Article page ────────────────────────────────────────────── */
.rh-article-head { padding-top: clamp(1rem, 2vw, 1.6rem); max-width: 820px; }
.rh-article-head__cat { display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cat-accent); }
.rh-article-head__title { margin: 0.8rem 0 0; font-size: clamp(1.8rem, 4.2vw, 2.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; color: var(--text-primary); }
.rh-article-head__excerpt { margin: 0.9rem 0 0; color: var(--text-muted); font-size: 1.08rem; line-height: 1.65; }
.rh-article-head__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem; margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--border-subtle); }
.rh-author { display: inline-flex; align-items: center; gap: 0.7rem; }
.rh-author__avatar {
    width: 2.6rem; height: 2.6rem; border-radius: 999px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem;
    color: #07120f; background: linear-gradient(135deg, #48ec83, #1fd177);
}
.rh-author__info { display: flex; flex-direction: column; line-height: 1.3; }
.rh-author__info strong { color: var(--text-primary); font-size: 0.9rem; }
.rh-author__info span { color: var(--text-faint); font-size: 0.78rem; }
.rh-article-head__metabits { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--text-muted); font-size: 0.84rem; }

.rh-article-hero { margin-top: 1.6rem; max-width: 980px; }
.rh-article-hero .rh-illus { width: 100%; height: auto; max-height: 360px; border-radius: 1.4rem; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-lg); }

.rh-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(1.8rem, 4vw, 2.6rem); align-items: start; }
.rh-article { min-width: 0; max-width: 760px; }

.rh-toc--mobile { display: none; margin-bottom: 1.5rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 1rem; padding: 0.4rem 1rem; }
.rh-toc--mobile summary { cursor: pointer; font-weight: 700; color: var(--text-primary); padding: 0.7rem 0; list-style: none; display: flex; align-items: center; gap: 0.5rem; }
.rh-toc--mobile summary i { color: var(--accent); }
.rh-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.rh-toc--mobile ul { padding: 0.3rem 0 0.9rem; }
.rh-toc a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; line-height: 1.4; border-left: 2px solid transparent; padding-left: 0.7rem; transition: color .15s ease, border-color .15s ease; display: block; }
.rh-toc a:hover, .rh-toc a.is-active { color: var(--accent); border-color: var(--accent); }

/* Article body typography */
.rh-article__body { font-size: 1.04rem; line-height: 1.8; color: var(--text-body); }
.rh-article__p { margin: 0 0 1.15rem; }
.rh-article__h2 { margin: 2.2rem 0 0.9rem; font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); scroll-margin-top: 6rem; line-height: 1.25; }
.rh-article__h2::before { content: ""; display: block; width: 2.2rem; height: 3px; border-radius: 3px; background: var(--cat-accent); margin-bottom: 0.7rem; opacity: 0.9; }
.rh-article__list { margin: 0 0 1.3rem; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.rh-article__list li { position: relative; padding-left: 1.7rem; color: var(--text-body); }
.rh-article__list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.62em; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--cat-accent); box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--cat-accent) 16%, transparent); }
.rh-article__list--ordered { counter-reset: rhli; }
.rh-article__list--ordered li::before { content: counter(rhli); counter-increment: rhli; top: 0.05em; width: 1.4rem; height: 1.4rem; border-radius: 0.5rem; background: color-mix(in srgb, var(--cat-accent) 16%, transparent); box-shadow: none; color: var(--cat-accent); font-size: 0.78rem; font-weight: 800; display: flex; align-items: center; justify-content: center; left: 0; }
.rh-article__list--ordered li { padding-left: 2.1rem; }
.rh-article__body a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.rh-article__body a:hover { color: var(--accent-hover); }

/* Callouts */
.rh-callout { display: flex; gap: 0.9rem; margin: 1.5rem 0; padding: 1.1rem 1.2rem; border-radius: 1rem; border: 1px solid var(--border-subtle); background: var(--bg-surface); }
.rh-callout__icon { flex-shrink: 0; width: 2.1rem; height: 2.1rem; border-radius: 0.6rem; display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem; }
.rh-callout__body { min-width: 0; }
.rh-callout__title { margin: 0 0 0.25rem; font-weight: 800; font-size: 0.88rem; letter-spacing: 0.01em; }
.rh-callout__text { margin: 0; color: var(--text-body); font-size: 0.94rem; line-height: 1.65; }
.rh-callout--tip { border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 8%, var(--bg-card)); }
.rh-callout--tip .rh-callout__icon { color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.rh-callout--tip .rh-callout__title { color: var(--accent); }
.rh-callout--warning { border-color: color-mix(in srgb, var(--warning) 38%, transparent); background: color-mix(in srgb, var(--warning) 9%, var(--bg-card)); }
.rh-callout--warning .rh-callout__icon { color: var(--warning); background: color-mix(in srgb, var(--warning) 16%, transparent); }
.rh-callout--warning .rh-callout__title { color: var(--warning); }
.rh-callout--note { border-color: color-mix(in srgb, var(--info) 34%, transparent); background: color-mix(in srgb, var(--info) 8%, var(--bg-card)); }
.rh-callout--note .rh-callout__icon { color: var(--info); background: color-mix(in srgb, var(--info) 16%, transparent); }
.rh-callout--note .rh-callout__title { color: var(--info); }

/* Inline CTA box */
.rh-inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.8rem 0; padding: 1.3rem 1.4rem; border-radius: 1.1rem; border: 1px solid var(--accent-border); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--bg-card)), var(--bg-card)); }
.rh-inline-cta__title { margin: 0 0 0.2rem; font-weight: 800; color: var(--text-primary); font-size: 1.02rem; }
.rh-inline-cta__text { margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }
.rh-inline-cta__btn { flex-shrink: 0; }

.rh-article__disclaimer { display: flex; gap: 0.8rem; margin: 2rem 0 0; padding: 1.1rem 1.2rem; border-radius: 1rem; background: var(--bg-surface); border: 1px solid var(--border-subtle); }
.rh-article__disclaimer i { color: var(--text-faint); margin-top: 0.15rem; }
.rh-article__disclaimer p { margin: 0; color: var(--text-faint); font-size: 0.82rem; line-height: 1.6; }
.rh-article__faq { margin-top: 2.4rem; }
.rh-article__faq .rh-article__h2::before { display: none; }

.rh-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--border-subtle); }
.rh-prevnext__link { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 1.2rem; border-radius: 1rem; text-decoration: none; background: var(--bg-card); border: 1px solid var(--border-subtle); transition: transform .18s ease, border-color .18s ease; }
.rh-prevnext__link:hover { transform: translateY(-3px); border-color: var(--accent-border); }
.rh-prevnext__link--next { text-align: right; }
.rh-prevnext__dir { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.rh-prevnext__title { color: var(--text-primary); font-weight: 700; font-size: 0.94rem; line-height: 1.35; }

/* Sticky sidebar */
.rh-article-aside { min-width: 0; }
.rh-aside-sticky { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 1rem; }
.rh-aside-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 1.1rem; padding: 1.2rem; box-shadow: var(--shadow-sm); }
.rh-aside-card__title { margin: 0 0 0.8rem; font-weight: 800; color: var(--text-primary); font-size: 0.92rem; display: flex; align-items: center; gap: 0.5rem; }
.rh-aside-card__title i { color: var(--accent); }
.rh-aside-cta__title { margin: 0 0 0.35rem; font-weight: 800; color: var(--text-primary); font-size: 1rem; }
.rh-aside-cta__text { margin: 0 0 0.9rem; color: var(--text-muted); font-size: 0.85rem; line-height: 1.55; }
.rh-aside-cta--earn { background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 14%, var(--bg-card)), var(--bg-card)); border-color: var(--accent-border); }

/* ── 16. Illustrations ───────────────────────────────────────────── */
.rh-illus { display: block; background: #0a0f1a; }
.rh-illus__float { animation: rhFloat 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes rhFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ── 17. Page backdrop ───────────────────────────────────────────── */
body:has(.rh) {
    background-color: var(--bg-base);
    background-image:
        radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 30rem),
        radial-gradient(circle at 92% 6%, rgba(124,99,255,0.10), transparent 32rem);
    background-repeat: no-repeat;
}

/* ── 18. Light-mode tweaks (tokens handle most; reshape dark-by-design bits) ── */
[data-theme="light"] .rh-btn--dark { color: #fff; background: #1a2540; border-color: rgba(15,34,80,0.25); }
[data-theme="light"] .rh-btn--dark:hover { background: #0a2540; }
[data-theme="light"] .rh-card__tag { background: rgba(255,255,255,0.86); color: var(--text-primary); }
[data-theme="light"] .rh-banner__icon { background: rgba(15,34,80,0.06); border-color: rgba(15,34,80,0.12); color: var(--text-primary); }
[data-theme="light"] .rh-banner--support { background: linear-gradient(135deg, rgba(5,150,105,0.12), rgba(5,150,105,0.03)); }
[data-theme="light"] .rh-banner--affiliate { background: linear-gradient(135deg, rgba(99,91,255,0.14), rgba(79,70,229,0.04)); }
[data-theme="light"] .rh-btn--light { background: #4f46e5; color: #fff; border-color: transparent; }
[data-theme="light"] .rh-btn--light:hover { background: #4338ca; color: #fff; }
[data-theme="light"] .rh-illus { background: #0a0f1a; } /* keep illustrations dark — they read as art panels */

/* ── 19. Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .rh-cats { grid-template-columns: repeat(2, 1fr); }
    .rh-grid { grid-template-columns: repeat(2, 1fr); }
    .rh-trust { grid-template-columns: repeat(2, 1fr); }
    .rh-article-layout { grid-template-columns: 1fr; }
    .rh-article-aside { display: none; }
    .rh-toc--mobile { display: block; }
    .rh-article { max-width: none; }
}
@media (max-width: 860px) {
    .rh-hero__grid { grid-template-columns: 1fr; }
    .rh-hero__art { order: -1; max-width: 26rem; margin-inline: auto; align-self: auto; min-height: 0; }
    .rh-hero__art .rh-illus { height: auto; min-height: 0; }
    .rh-hero__copy { justify-content: flex-start; }
    .rh-hero__chip--btc { right: 2%; }
    .rh-hero__chip--eth { left: 2%; }
    .rh-cathero__grid { grid-template-columns: 1fr; }
    .rh-cathero__art { max-width: 24rem; }
    .rh-banners { grid-template-columns: 1fr; }
    .rh-cats--related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .rh-cats, .rh-grid, .rh-grid--featured, .rh-trust, .rh-cats--related { grid-template-columns: 1fr; }
    .rh-prevnext { grid-template-columns: 1fr; }
    .rh-prevnext__link--next { text-align: left; }
    .rh-ticker__label span:not(.rh-ticker__pulse) { display: none; }
    .rh-section__head { align-items: flex-start; }
    .rh-inline-cta { flex-direction: column; align-items: flex-start; }
    .rh-inline-cta__btn { width: 100%; }
}

/* Respect reduced motion across the hub */
@media (prefers-reduced-motion: reduce) {
    .rh-ticker__track, .rh-illus__float, .rh-hero__chip, .rh-ticker__pulse { animation: none !important; }
    .rh-card:hover, .rh-cat:hover, .rh-btn:hover, .rh-prevnext__link:hover { transform: none; }
    .rh-card:hover .rh-card__media .rh-illus { transform: none; }
}

/* =====================================================================
 * 20. GLOBAL FOOTER REMODEL (site-wide, all pages)
 * Restructures footer markup in layouts/app.blade.php into a brand block +
 * link columns + bottom bar. New classes (.site-footer__main/__cols/__col/__bar)
 * avoid the legacy inline grid rules; shared shells are overridden here and win
 * by load order (this file loads after the inline <style>).
 * ===================================================================== */
.site-footer__inner { max-width: 1220px; }
.site-footer__main {
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2.6fr);
    gap: clamp(1.6rem, 4vw, 3.5rem); padding-bottom: 2rem;
}
.site-footer__brand { max-width: 30rem; }
.site-footer__brand h3 { display: flex; align-items: center; gap: 0.5rem; }
.site-footer__brand-mark {
    display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem;
    border-radius: 0.55rem; background: linear-gradient(135deg, #0f172a, #10b981); color: #fff; font-weight: 800; font-size: 0.95rem;
}
.site-footer__tagline { color: var(--text-muted) !important; line-height: 1.7; font-size: 0.92rem; margin-top: 0.5rem !important; }
.site-footer__platform { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.site-footer__platform-badge {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; border-radius: 0.7rem;
    background: var(--bg-surface); border: 1px solid var(--border-subtle); color: var(--text-body); font-weight: 700; font-size: 0.82rem;
}
.site-footer__platform-badge i { color: var(--accent); }
.site-footer__trustmini { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; margin-top: 1.1rem; }
.site-footer__trustmini span { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--text-muted); font-size: 0.82rem; font-weight: 600; }
.site-footer__trustmini i { color: var(--accent); }

.site-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; }
.site-footer__col-title { margin: 0 0 0.85rem; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__col a, .site-footer__col button {
    color: var(--text-muted); text-decoration: none; font-size: 0.88rem; font-weight: 600; line-height: 1.3;
    background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; text-align: left; transition: color .15s ease;
}
.site-footer__col a:hover, .site-footer__col button:hover { color: var(--accent); }

.site-footer__bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    padding-top: 1.4rem; border-top: 1px solid var(--border-subtle);
}
.site-footer__bar-left { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.3rem; }
.site-footer__copy { color: var(--text-faint); font-size: 0.84rem; margin: 0; }
.site-footer__lang { position: relative; }
.site-footer__lang > summary {
    display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; list-style: none;
    color: var(--text-muted); font-size: 0.84rem; font-weight: 600; padding: 0.4rem 0.7rem; border-radius: 0.6rem; border: 1px solid var(--border-subtle); background: var(--bg-surface);
}
.site-footer__lang > summary::-webkit-details-marker { display: none; }
.site-footer__lang > summary i { color: var(--accent); }
.site-footer__lang-menu {
    position: absolute; bottom: calc(100% + 0.4rem); left: 0; min-width: 9rem; z-index: 20;
    background: var(--dropdown-bg); border: 1px solid var(--border-subtle); border-radius: 0.7rem; padding: 0.35rem; box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; gap: 0.1rem;
}
.site-footer__lang-menu a { color: var(--text-body); text-decoration: none; font-size: 0.85rem; padding: 0.45rem 0.6rem; border-radius: 0.45rem; }
.site-footer__lang-menu a:hover { background: var(--bg-surface-hover); color: var(--accent); }
.site-footer__bar-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.site-footer__bar-legal a { color: var(--text-faint); text-decoration: none; font-size: 0.8rem; font-weight: 600; }
.site-footer__bar-legal a:hover { color: var(--accent); }
.site-footer__bar .site-footer__socials { margin-top: 0; gap: 0.5rem; }
.site-footer__bar .site-footer__socials a { width: 2.5rem; height: 2.5rem; min-height: 2.5rem; }

@media (max-width: 900px) {
    .site-footer__main { grid-template-columns: 1fr; }
    .site-footer__cols { grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1rem; }
}
@media (max-width: 600px) {
    .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
    .site-footer__bar { flex-direction: column; align-items: flex-start; }
}
