/**
 * Revisola — shared brand design system (Faz 5)
 * Single source of truth: tokens + typography + core components.
 * Import on landing, dashboard chrome, and future site pages.
 */

/* —— Fonts —— */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap");

/* —— Design tokens —— */
:root {
  /* Brand palette (mint on ink) */
  --rv-ink: #0c1412;
  --rv-ink-2: #14201c;
  --rv-ink-3: #1a2a24;
  --rv-mist: #e8f2ec;
  --rv-mute: #adc8bc;
  --rv-mint: #5dffc0;
  --rv-mint-dim: #5cc9a0;
  --rv-mint-glow: rgba(93, 255, 192, 0.22);
  --rv-sky: #7ec8ff;
  --rv-sky-dim: #4a9fd4;
  --rv-gold: #e6c97a;
  --rv-gold-dim: #b89a4a;
  --rv-line: rgba(232, 242, 236, 0.12);
  --rv-line-strong: rgba(232, 242, 236, 0.22);
  --rv-danger: #ff4d6d;
  --rv-danger-dim: rgba(255, 77, 109, 0.14);
  --rv-purple: #b18cff;

  /* Dashboard / instrument aliases (ops UI) */
  --rv-dash-bg: #0a0e12;
  --rv-dash-panel: #11161d;
  --rv-dash-panel-2: #161d26;
  --rv-dash-line: #1f2935;
  --rv-dash-txt: #c9d6e2;
  --rv-dash-muted: #8a9bb0;
  --rv-instrument-bull: var(--rv-mint);
  --rv-instrument-bear: var(--rv-danger);
  --rv-instrument-wait: var(--rv-gold);
  --rv-instrument-structure: var(--rv-sky);

  /* Typography */
  --rv-font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rv-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rv-font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  /* Dashboard type roles — UI sans vs monospace data */
  --rv-font-ui: var(--rv-font-display);
  --rv-font-data: var(--rv-font-mono);
  --rv-fs-label: 0.72rem;
  --rv-fs-value: 0.95rem;
  --rv-fs-title: 0.75rem;
  --rv-fw-label: 700;
  --rv-fw-value: 800;
  --rv-fw-title: 700;

  --rv-text-xs: 0.72rem;
  --rv-text-sm: 0.85rem;
  --rv-text-base: 1rem;
  --rv-text-lg: 1.12rem;
  --rv-text-xl: 1.35rem;
  --rv-text-2xl: 1.9rem;
  --rv-text-3xl: clamp(2.4rem, 8vw, 4.2rem);
  --rv-text-hero: clamp(3.2rem, 11vw, 6.8rem);

  /* Spacing */
  --rv-space-1: 0.25rem;
  --rv-space-2: 0.5rem;
  --rv-space-3: 0.75rem;
  --rv-space-4: 1rem;
  --rv-space-5: 1.25rem;
  --rv-space-6: 1.5rem;
  --rv-space-8: 2rem;
  --rv-space-10: 2.5rem;
  --rv-space-12: 3rem;
  --rv-space-16: 4rem;

  /* Radius */
  --rv-radius-sm: 6px;
  --rv-radius-md: 10px;
  --rv-radius-lg: 14px;
  --rv-radius-xl: 20px;
  --rv-radius-pill: 999px;

  /* Motion & layout */
  --rv-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rv-duration-fast: 0.15s;
  --rv-duration: 0.22s;
  --rv-duration-slow: 0.35s;
  --rv-shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.22);
  --rv-shadow-md: 0 12px 36px rgba(0, 0, 0, 0.28);
  --rv-shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.38);
  --rv-shadow-card: var(--rv-shadow-sm);
  --rv-shadow-card-hover: 0 10px 36px rgba(0, 0, 0, 0.34), 0 0 0 1px var(--rv-line-strong);
  --rv-shadow-mint: 0 0 28px 2px var(--rv-mint-glow);
  --rv-focus-offset: 3px;
  --rv-skeleton-base: var(--rv-ink-3);
  --rv-skeleton-shine: rgba(232, 242, 236, 0.07);
  --rv-max: 1120px;
  --rv-max-wide: 1520px;

  /* Mobile / notch */
  --rv-safe-top: env(safe-area-inset-top, 0px);
  --rv-safe-right: env(safe-area-inset-right, 0px);
  --rv-safe-bottom: env(safe-area-inset-bottom, 0px);
  --rv-safe-left: env(safe-area-inset-left, 0px);
  --rv-touch-min: 44px;

  color-scheme: dark;

  /* Semantic */
  --rv-bg: var(--rv-ink);
  --rv-bg-elevated: var(--rv-ink-2);
  --rv-text: var(--rv-mist);
  --rv-text-muted: var(--rv-mute);
  --rv-accent: var(--rv-mint);
  --rv-focus: var(--rv-mint);
}

/* —— Base reset (marketing pages) —— */
.rv-root,
.rv-root body {
  box-sizing: border-box;
}

.rv-root *,
.rv-root *::before,
.rv-root *::after {
  box-sizing: inherit;
}

.rv-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--rv-text);
  font-family: var(--rv-font-body);
  font-size: var(--rv-text-base);
  line-height: 1.55;
  background: var(--rv-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding:
    var(--rv-safe-top)
    var(--rv-safe-right)
    var(--rv-safe-bottom)
    var(--rv-safe-left);
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  .rv-root {
    scroll-behavior: smooth;
  }
}

.rv-body ::selection {
  background: rgba(93, 255, 192, 0.28);
  color: var(--rv-mist);
}

.rv-body a {
  color: inherit;
}

.rv-body :focus-visible {
  outline: 2px solid var(--rv-focus);
  outline-offset: var(--rv-focus-offset);
}

.rv-body :focus:not(:focus-visible) {
  outline: none;
}

/* —— Skip link (a11y) —— */
.rv-skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 0.65rem 1.1rem;
  font-size: var(--rv-text-sm);
  font-weight: 600;
  color: var(--rv-ink);
  background: var(--rv-mint);
  border-radius: 0 0 var(--rv-radius-md) 0;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform var(--rv-duration-fast) var(--rv-ease);
}

.rv-skip-link:focus,
.rv-skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--rv-mist);
  outline-offset: 2px;
}

/* —— Typography —— */
.rv-display {
  font-family: var(--rv-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.rv-display--gradient {
  background: linear-gradient(105deg, var(--rv-mist) 8%, var(--rv-mint) 52%, var(--rv-sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rv-label {
  display: block;
  font-family: var(--rv-font-display);
  font-size: var(--rv-text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv-mint-dim);
}

.rv-lead {
  font-size: var(--rv-text-lg);
  color: var(--rv-text-muted);
  line-height: 1.6;
  max-width: 36ch;
}

.rv-mono {
  font-family: var(--rv-font-mono);
}

/* —— Logo lockup —— */
.rv-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--rv-mist);
  font-family: var(--rv-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.rv-logo__mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(93, 255, 192, 0.22));
  animation: rv-mark-nav-glow 4.5s ease-in-out infinite;
}

@keyframes rv-mark-nav-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(93, 255, 192, 0.16)); }
  50% { filter: drop-shadow(0 0 14px rgba(126, 200, 255, 0.28)); }
}

.rv-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.rv-logo__name {
  font-size: 1.05rem;
}

.rv-logo__sub {
  font-family: var(--rv-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rv-mute);
  text-transform: none;
}

.rv-logo--hero .rv-logo__mark {
  width: 44px;
  height: 44px;
}

.rv-logo--hero .rv-logo__name {
  font-size: 1.15rem;
}

.rv-logo--inline {
  gap: 0.5rem;
}

.rv-logo--inline .rv-logo__mark {
  width: 28px;
  height: 28px;
}

.rv-logo--inline .rv-logo__name {
  font-size: 0.95rem;
}

/* Dashboard header: mark + name + pair meta on one row */
.rv-logo--dashboard {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  font-family: var(--rv-font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.rv-logo--dashboard .rv-logo__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.rv-logo--dashboard .rv-logo__mark {
  width: 32px;
  height: 32px;
}

.rv-logo--dashboard .rv-logo__meta {
  font-weight: 700;
  color: var(--rv-dash-muted, var(--rv-mute));
}

.rv-logo--dashboard .rv-logo__meta .rv-pair {
  color: var(--rv-instrument-structure, var(--rv-sky));
}

.rv-logo--dashboard .rv-logo__paper {
  color: var(--rv-instrument-bull, var(--rv-mint));
  font-size: 0.92em;
}

body.stream-layout .rv-logo--dashboard {
  font-size: 25px;
  letter-spacing: 0.8px;
}

body.stream-layout .rv-logo--dashboard .rv-logo__mark {
  width: 40px;
  height: 40px;
}

/* Dashboard type roles (shared by classic + stream skins) */
.rv-type-label {
  font-family: var(--rv-font-ui);
  font-size: var(--rv-fs-label);
  font-weight: var(--rv-fw-label);
}
.rv-type-value {
  font-family: var(--rv-font-data);
  font-size: var(--rv-fs-value);
  font-weight: var(--rv-fw-value);
}
.rv-type-title {
  font-family: var(--rv-font-ui);
  font-size: var(--rv-fs-title);
  font-weight: var(--rv-fw-title);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* —— Buttons —— */
.rv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--rv-radius-md);
  font-family: var(--rv-font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--rv-ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.rv-btn--primary {
  background: var(--rv-mint);
  color: #062018;
  box-shadow: 0 0 0 0 rgba(93, 255, 192, 0);
}

.rv-btn--primary:hover {
  transform: translateY(-1px);
  background: #7affd0;
}

.rv-btn--ghost {
  border-color: var(--rv-line);
  color: var(--rv-mist);
  background: rgba(20, 32, 28, 0.5);
  backdrop-filter: blur(8px);
}

.rv-btn--ghost:hover {
  border-color: var(--rv-line-strong);
  background: rgba(20, 32, 28, 0.75);
  color: var(--rv-mist);
}

.rv-btn--ghost:focus-visible {
  border-color: var(--rv-mint-dim);
}

.rv-btn--sm {
  min-height: 36px;
  padding: 0.45rem 0.9rem;
  font-size: var(--rv-text-sm);
  border-radius: var(--rv-radius-sm);
}

/* —— Cards —— */
.rv-card {
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  background: linear-gradient(180deg, var(--rv-ink-3), var(--rv-ink-2));
  box-shadow: var(--rv-shadow-card);
  overflow: hidden;
  transition:
    border-color var(--rv-duration) ease,
    box-shadow var(--rv-duration) var(--rv-ease),
    transform var(--rv-duration) var(--rv-ease);
}

@media (hover: hover) {
  .rv-card:hover {
    border-color: var(--rv-line-strong);
    box-shadow: var(--rv-shadow-card-hover);
    transform: translateY(-2px);
  }
}

.rv-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--rv-space-4);
  padding: var(--rv-space-4) var(--rv-space-5);
  border-bottom: 1px solid var(--rv-line);
}

.rv-card__title {
  margin: 0;
  font-family: var(--rv-font-display);
  font-weight: 700;
  font-size: var(--rv-text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rv-card__body {
  padding: var(--rv-space-5);
}

/* —— Badges —— */
.rv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 2px 8px;
  border-radius: var(--rv-radius-pill);
  font-family: var(--rv-font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.35;
  border: 1px solid transparent;
}

.rv-badge--paper {
  color: var(--rv-mint);
  background: rgba(93, 255, 192, 0.12);
  border-color: rgba(93, 255, 192, 0.4);
}

.rv-badge--warn {
  color: var(--rv-gold);
  background: rgba(230, 201, 122, 0.1);
  border-color: rgba(230, 201, 122, 0.45);
}

.rv-badge--danger {
  color: var(--rv-danger);
  background: var(--rv-danger-dim);
  border-color: rgba(255, 77, 109, 0.45);
}

.rv-badge--sky {
  color: var(--rv-sky);
  background: rgba(126, 200, 255, 0.12);
  border-color: rgba(126, 200, 255, 0.35);
}

/* —— Nav —— */
.rv-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rv-space-4);
  padding: 1.15rem clamp(1.2rem, 4vw, 3rem);
  max-width: calc(var(--rv-max) + 6rem);
  margin: 0 auto;
  width: 100%;
}

.rv-nav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rv-nav__links a {
  text-decoration: none;
  color: var(--rv-mute);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.rv-nav__links a:hover {
  color: var(--rv-mist);
}

.rv-nav__links a:focus-visible {
  color: var(--rv-mist);
  border-radius: var(--rv-radius-sm);
}

/* —— Footer —— */
.rv-footer {
  max-width: calc(var(--rv-max) + 6rem);
  margin: 0 auto;
  padding: 1.25rem clamp(1.2rem, 4vw, 3rem) 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--rv-mute);
  font-size: var(--rv-text-sm);
}

.rv-footer a {
  color: var(--rv-mute);
  text-decoration: none;
}

.rv-footer a:hover {
  color: var(--rv-mist);
}

/* —— Disclaimer strip (prominent paper / NFA) —— */
.rv-disclaimer-strip,
.disclaimer-strip {
  max-width: var(--rv-max-wide);
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(93, 255, 192, 0.22);
  border-radius: var(--rv-radius-md);
  background: rgba(12, 20, 18, 0.94);
  font-size: 11px;
  color: var(--rv-dash-muted, var(--rv-mute));
  line-height: 1.45;
}

.rv-disclaimer-strip .rv-badge,
.disclaimer-strip .disc-badge {
  display: inline-block;
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: var(--rv-radius-sm);
  font-family: var(--rv-font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.35;
}

.disclaimer-strip .disc-text {
  flex: 1;
  min-width: 200px;
}

.disclaimer-strip .disc-text b {
  color: var(--rv-dash-txt, var(--rv-mist));
  font-weight: 700;
}

body.stream-layout .disclaimer-strip {
  position: sticky;
  top: 0;
  z-index: 45;
  backdrop-filter: blur(8px);
  border-color: rgba(126, 200, 255, 0.35);
  box-shadow: var(--rv-shadow-md);
}

body.stream-layout .disclaimer-strip .disc-text {
  font-size: 15px;
}

body.stream-layout .disclaimer-strip .disc-badge {
  font-size: 11px;
  padding: 3px 10px;
}

/* Map legacy disc-badge to brand badges */
.disclaimer-strip .disc-badge:not(.warn) {
  color: var(--rv-mint);
  background: rgba(93, 255, 192, 0.12);
  border: 1px solid rgba(93, 255, 192, 0.4);
}

.disclaimer-strip .disc-badge.warn {
  color: var(--rv-gold);
  background: rgba(230, 201, 122, 0.1);
  border: 1px solid rgba(230, 201, 122, 0.45);
}

/* —— Atmosphere (landing / marketing) —— */
.rv-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 640px at 78% 18%, rgba(93, 255, 192, 0.16), transparent 58%),
    radial-gradient(900px 520px at 12% 72%, rgba(126, 200, 255, 0.1), transparent 55%),
    radial-gradient(700px 480px at 48% 100%, rgba(230, 201, 122, 0.06), transparent 60%),
    linear-gradient(168deg, #08110e 0%, #101c18 45%, var(--rv-ink) 100%);
}

.rv-atmosphere::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    repeating-linear-gradient(
      -16deg,
      transparent 0,
      transparent 52px,
      rgba(232, 242, 236, 0.016) 52px,
      rgba(232, 242, 236, 0.016) 53px
    );
  animation: rv-drift 32s linear infinite;
}

.rv-atmosphere::after {
  content: "";
  position: absolute;
  width: 56vmax;
  height: 56vmax;
  right: -12%;
  top: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 255, 192, 0.18), transparent 68%);
  filter: blur(10px);
  animation: rv-bloom 14s ease-in-out infinite alternate;
}

@keyframes rv-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-52px, 30px, 0); }
}

@keyframes rv-bloom {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.65; }
  to { transform: translate3d(-5%, 7%, 0) scale(1.1); opacity: 1; }
}

.rv-shell {
  position: relative;
  z-index: 1;
}

/* —— Landing sections —— */
.rv-sections {
  border-top: 1px solid var(--rv-line);
  background: rgba(8, 14, 12, 0.55);
}

.rv-section {
  max-width: calc(var(--rv-max) + 6rem);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rv-line);
}

.rv-section:last-child {
  border-bottom: none;
}

.rv-section h2 {
  font-family: var(--rv-font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
  margin: 0 0 0.9rem;
}

.rv-section p {
  color: var(--rv-mute);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0;
}

.rv-section p + p {
  margin-top: 0.85rem;
}

.rv-section strong {
  color: var(--rv-mist);
  font-weight: 600;
}

.rv-section--legal h2 {
  color: var(--rv-gold);
  max-width: 22ch;
}

.rv-section--legal .rv-fine {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  max-width: 62ch;
}

/* —— Hero (landing) —— */
.rv-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  min-height: min(90vh, 880px);
  min-height: min(90dvh, 880px);
  padding:
    clamp(5.75rem, 11vh, 7rem)
    clamp(1.25rem, 4vw, 2.75rem)
    clamp(2.5rem, 6vh, 3.5rem);
  max-width: var(--rv-max-wide);
  margin: 0 auto;
  width: 100%;
}

.rv-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  display: flex;
  flex-direction: column;
}

.rv-hero__brand {
  font-family: var(--rv-font-display);
  font-weight: 800;
  font-size: clamp(2.65rem, 5.2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: rv-rise 0.95s var(--rv-ease) 0.06s forwards;
}

.rv-hero__channel {
  margin: 0.65rem 0 0;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--rv-mute);
  opacity: 0;
  transform: translateY(16px);
  animation: rv-rise 0.9s var(--rv-ease) 0.16s forwards;
}

.rv-hero__channel em {
  font-style: normal;
  color: var(--rv-mist);
  font-weight: 600;
}

.rv-hero__title {
  margin: 1.15rem 0 0;
  font-family: var(--rv-font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.28;
  letter-spacing: -0.022em;
  max-width: 24ch;
  opacity: 0;
  transform: translateY(16px);
  animation: rv-rise 0.9s var(--rv-ease) 0.28s forwards;
}

.rv-hero__support {
  margin: 1rem 0 0;
  max-width: 40ch;
  color: var(--rv-mute);
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(14px);
  animation: rv-rise 0.9s var(--rv-ease) 0.38s forwards;
}

.rv-hero__badges {
  margin-top: 1.35rem;
  gap: 0.5rem 0.6rem;
  opacity: 0;
  transform: translateY(12px);
  animation: rv-rise 0.9s var(--rv-ease) 0.46s forwards;
}

.rv-hero__badges .rv-badge {
  font-size: 0.68rem;
  padding: 0.38rem 0.72rem;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.rv-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: 1.65rem;
  opacity: 0;
  transform: translateY(12px);
  animation: rv-rise 0.9s var(--rv-ease) 0.54s forwards;
}

.rv-hero__cta .rv-btn {
  min-height: 48px;
  height: auto;
  padding: 0.72rem 1.2rem;
  box-sizing: border-box;
  line-height: 1.25;
}

.rv-hero__cta .rv-btn--primary {
  animation: rv-pulse-cta 2.8s ease-in-out 1.3s infinite;
}

.rv-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(240px, 36vw, 380px);
  padding: clamp(0.5rem, 2vw, 1.5rem);
}

.rv-hero__visual::before {
  content: "";
  position: absolute;
  width: min(92%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 255, 192, 0.14) 0%, rgba(93, 255, 192, 0.04) 42%, transparent 72%);
  pointer-events: none;
}

.rv-brand-mark {
  display: block;
  object-fit: contain;
}

.rv-brand-mark--hero {
  position: relative;
  width: min(100%, 400px);
  max-width: 400px;
  height: auto;
  opacity: 0.96;
  filter: drop-shadow(0 12px 48px rgba(93, 255, 192, 0.18));
  animation:
    rv-mark-float 9s ease-in-out infinite alternate,
    rv-mark-hero-glow 6s ease-in-out infinite;
}

@keyframes rv-mark-float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes rv-mark-hero-glow {
  0%, 100% { filter: drop-shadow(0 12px 40px rgba(93, 255, 192, 0.14)); }
  50% { filter: drop-shadow(0 16px 52px rgba(126, 200, 255, 0.24)); }
}

.rv-hero__visual img,
.rv-hero__visual .rv-brand-mark--hero {
  position: relative;
  width: min(100%, 400px);
  max-width: 400px;
  height: auto;
}

@keyframes rv-rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rv-pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(93, 255, 192, 0); }
  50% { box-shadow: var(--rv-shadow-mint); }
}

@media (max-width: 900px) {
  .rv-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.75rem;
    min-height: auto;
    padding-top: 5.25rem;
    padding-bottom: 2.5rem;
  }

  .rv-hero__visual {
    order: -1;
    min-height: 200px;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  .rv-hero__visual img,
  .rv-hero__visual .rv-brand-mark--hero {
    width: min(78vw, 300px);
    max-width: 300px;
  }

  .rv-hero__copy {
    max-width: none;
  }

  .rv-hero__brand {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
  }

  .rv-hero__title {
    max-width: none;
  }

  .rv-hero__cta {
    flex-direction: column;
  }

  .rv-hero__cta .rv-btn {
    width: 100%;
    justify-content: center;
  }

  .rv-nav__links a:first-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv-atmosphere::before,
  .rv-atmosphere::after,
  .rv-hero__brand,
  .rv-hero__channel,
  .rv-hero__title,
  .rv-hero__support,
  .rv-hero__badges,
  .rv-hero__cta,
  .rv-hero__visual img,
  .rv-hero__visual .rv-brand-mark--hero,
  .rv-logo__mark,
  .rv-hero__cta .rv-btn--primary {
    animation: none !important;
  }

  .rv-logo__mark,
  .rv-brand-mark--hero {
    filter: drop-shadow(0 8px 24px rgba(93, 255, 192, 0.12));
  }

  .rv-hero__brand,
  .rv-hero__channel,
  .rv-hero__title,
  .rv-hero__support,
  .rv-hero__badges,
  .rv-hero__cta {
    opacity: 1;
    transform: none;
  }
}

/* —— Faz 6: inner pages, flow, roadmap —— */
.rv-nav--sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--rv-line);
  background: rgba(8, 14, 12, 0.82);
  backdrop-filter: blur(10px);
}

.rv-nav__links a[aria-current="page"] {
  color: var(--rv-mist);
}

.rv-nav__links a.rv-nav__cta {
  color: #062018;
  background: var(--rv-mint);
  padding: 0.45rem 0.9rem;
  border-radius: var(--rv-radius-sm);
  font-weight: 600;
}

.rv-nav__links a.rv-nav__cta:hover {
  background: #7affd0;
  color: #062018;
}

.rv-nav__links a.rv-nav__auth {
  opacity: 0.9;
  font-weight: 500;
}

.rv-nav__links a.rv-nav__auth:hover {
  opacity: 1;
  color: var(--rv-mint);
}

/* Faz 8 — language switcher */
.rv-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--rv-text-xs);
  color: var(--rv-mute);
}

.rv-lang-switcher__label {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rv-lang-switcher select {
  font: inherit;
  color: var(--rv-mist);
  background: var(--rv-ink-2);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-sm);
  padding: 0.25rem 0.45rem;
  cursor: pointer;
}

.rv-lang-switcher select:focus-visible {
  outline: 2px solid var(--rv-focus);
  outline-offset: 2px;
}

.rv-lang-switcher select:hover,
.rv-lang-switcher select:focus {
  border-color: var(--rv-mint-dim);
  outline: none;
}

.rv-lang-switcher--dash {
  margin-left: 2px;
}

.rv-lang-switcher--dash select {
  font-size: 10px;
  padding: 2px 4px;
}

/* Dashboard / ops UI — compact site nav */
.rv-nav--dash {
  max-width: var(--rv-max-wide);
  padding: 0.65rem clamp(0.8rem, 3vw, 1.5rem);
  margin: 0 auto 10px;
  border: 1px solid var(--rv-dash-line, var(--rv-line));
  border-radius: var(--rv-radius-lg);
  background: linear-gradient(180deg, var(--rv-dash-panel-2, var(--rv-ink-3)), var(--rv-dash-panel, var(--rv-ink-2)));
  backdrop-filter: none;
}

.rv-nav--dash .rv-nav__links a {
  font-size: 0.82rem;
}

.rv-nav--dash .rv-logo__name {
  font-size: 0.98rem;
}

body.youtube-stream .rv-nav--dash {
  display: none !important;
}

.rv-page {
  max-width: calc(var(--rv-max) + 6rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 3rem);
}

.rv-page__title {
  font-family: var(--rv-font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.rv-page .rv-lead {
  max-width: 58ch;
  margin-bottom: 2rem;
}

.rv-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.rv-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rv-section ul {
  margin: 0.75rem 0 0 1.25rem;
  color: var(--rv-mute);
  max-width: 62ch;
}

.rv-section li + li {
  margin-top: 0.4rem;
}

.rv-disclaimer-box {
  padding: 1.25rem;
  border-radius: var(--rv-radius-lg);
  border: 1px solid rgba(230, 201, 122, 0.25);
  background: rgba(20, 32, 28, 0.45);
  margin-top: 2rem;
}

.rv-disclaimer-box h2 {
  color: var(--rv-gold);
  font-family: var(--rv-font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  max-width: none;
}

.rv-disclaimer-box p {
  font-size: 0.92rem;
  max-width: 72ch;
}

.rv-footer__disclaimer {
  width: 100%;
  color: var(--rv-mute);
  font-size: var(--rv-text-sm);
  max-width: 72ch;
  margin-bottom: 0.75rem;
}

.rv-flow-wrap {
  margin: 1.25rem 0;
  padding: 1.25rem;
  border-radius: var(--rv-radius-lg);
  border: 1px solid var(--rv-line);
  background: rgba(8, 14, 12, 0.6);
  overflow-x: auto;
}

.rv-flow-ascii {
  font-family: var(--rv-font-mono);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--rv-mint);
  white-space: pre;
  margin: 0;
}

.rv-flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.rv-flow-step {
  padding: 1rem;
  border-radius: var(--rv-radius-md);
  border-left: 3px solid var(--rv-mint);
  background: rgba(20, 32, 28, 0.4);
}

.rv-flow-step h3 {
  font-family: var(--rv-font-display);
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.rv-flow-step p {
  font-size: 0.88rem;
  max-width: none;
  margin: 0;
}

.rv-flow-step--gate { border-left-color: var(--rv-gold); }
.rv-flow-step--trigger { border-left-color: var(--rv-sky); }
.rv-flow-step--paper { border-left-color: var(--rv-mint-dim); }

/* —— How It Works — page hero + story timeline —— */
.rv-hero--page {
  min-height: auto;
  padding: var(--rv-space-10) 0 var(--rv-space-8);
  gap: var(--rv-space-8);
}

.rv-hero__title--page {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  margin: 0.35rem 0 0.75rem;
}

.rv-page--how .rv-sections {
  padding-top: 0;
}

.rv-page--how .rv-lead {
  max-width: 52ch;
}

.rv-story-timeline {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0 0 0 0.25rem;
  counter-reset: rv-chapter;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 42rem;
}

.rv-story-chapter {
  position: relative;
  counter-increment: rv-chapter;
  padding: 0 0 1.75rem 3.25rem;
}

.rv-story-chapter::before {
  content: counter(rv-chapter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rv-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rv-mint);
  background: rgba(20, 32, 28, 0.85);
  border: 1px solid var(--rv-line-strong);
  border-radius: 50%;
  z-index: 1;
}

.rv-story-chapter:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 3.5rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--rv-mint-dim), rgba(90, 200, 170, 0.08));
}

.rv-story-chapter__card {
  padding: 1.15rem 1.25rem;
  border-radius: var(--rv-radius-lg);
  border: 1px solid var(--rv-line);
  background: linear-gradient(145deg, rgba(20, 32, 28, 0.55), rgba(8, 14, 12, 0.75));
  box-shadow: var(--rv-shadow-card);
  transition:
    border-color var(--rv-duration) ease,
    box-shadow var(--rv-duration) var(--rv-ease);
}

@media (hover: hover) {
  .rv-story-chapter__card:hover {
    border-color: var(--rv-line-strong);
    box-shadow: var(--rv-shadow-card-hover);
  }
}

.rv-story-chapter__icon {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--rv-mint-dim);
  opacity: 0.85;
}

.rv-story-chapter__card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--rv-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rv-text);
  letter-spacing: 0.01em;
}

.rv-story-chapter__card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--rv-mute);
  max-width: none;
}

.rv-story-chapter--moment::before {
  color: var(--rv-sky);
  border-color: rgba(120, 190, 230, 0.35);
}

.rv-story-chapter--character::before {
  color: var(--rv-purple);
  border-color: rgba(177, 140, 255, 0.35);
}

.rv-story-chapter--vote::before {
  color: var(--rv-mint);
  border-color: rgba(93, 255, 192, 0.35);
}

.rv-story-chapter--wait::before {
  color: var(--rv-gold);
  border-color: rgba(230, 201, 122, 0.35);
}

.rv-story-chapter--signal::before {
  color: var(--rv-mint);
  background: linear-gradient(135deg, rgba(90, 200, 170, 0.25), rgba(20, 32, 28, 0.9));
}

.rv-story-chapter--paper::before {
  color: var(--rv-mint-dim);
}

.rv-story-chapter--together::before {
  color: var(--rv-sky);
  background: linear-gradient(135deg, rgba(126, 200, 255, 0.2), rgba(20, 32, 28, 0.9));
}

.rv-section--closing {
  margin-top: 0.5rem;
}

.rv-story-cta {
  margin-top: 1.25rem;
}

@media (max-width: 480px) {
  .rv-section {
    padding-left: max(1rem, var(--rv-safe-left));
    padding-right: max(1rem, var(--rv-safe-right));
  }

  .rv-nav__links a,
  .rv-lang-switcher select {
    min-height: var(--rv-touch-min);
  }

  .rv-story-chapter {
    padding-left: 2.75rem;
  }

  .rv-story-chapter::before {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.65rem;
    top: 1.25rem;
  }

  .rv-story-chapter:not(:last-child)::after {
    left: 0.9rem;
    top: 3.25rem;
  }

  .rv-story-chapter__card {
    padding: 1rem;
  }
}

.rv-roadmap {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.rv-roadmap th,
.rv-roadmap td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--rv-line);
  vertical-align: top;
}

.rv-roadmap th {
  color: var(--rv-mute);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rv-roadmap td:first-child {
  font-family: var(--rv-font-display);
  font-weight: 700;
  white-space: nowrap;
}

.rv-status {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.rv-status--done { color: #062018; background: var(--rv-mint); }
.rv-status--partial { color: #1a1408; background: var(--rv-gold); }
.rv-status--planned { color: #081420; background: var(--rv-sky); }
.rv-status--active {
  color: var(--rv-mist);
  background: rgba(93, 255, 192, 0.2);
  border: 1px solid rgba(93, 255, 192, 0.4);
}

@media (max-width: 600px) {
  .rv-roadmap th:nth-child(3),
  .rv-roadmap td:nth-child(3) {
    display: none;
  }
}

/* —— Faz 7: bağış / premium —— */
.rv-donate-notice {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-radius: var(--rv-radius-md);
  border: 1px solid rgba(230, 201, 122, 0.35);
  background: rgba(20, 32, 28, 0.55);
  color: var(--rv-gold);
  font-size: 0.92rem;
}

.rv-donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.rv-donate-card {
  padding: 1.25rem;
  border-radius: var(--rv-radius-lg);
  border: 1px solid var(--rv-line);
  background: rgba(8, 14, 12, 0.65);
}

.rv-donate-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.rv-donate-card__head h3 {
  margin: 0;
  font-family: var(--rv-font-display);
  font-size: 1.05rem;
}

.rv-donate-card__qr {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.rv-donate-card__qr img {
  border-radius: var(--rv-radius-sm);
  background: #fff;
  padding: 6px;
}

.rv-donate-card__addr {
  word-break: break-all;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.rv-donate-ack {
  margin-top: 2rem;
}

.rv-donate-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 36rem;
  margin-top: 1rem;
}

.rv-donate-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.rv-donate-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.rv-donate-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--rv-mint);
}

.rv-muted {
  color: var(--rv-mute);
  font-size: 0.88rem;
}

.rv-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;
}

.rv-btn--success {
  border-color: rgba(93, 255, 192, 0.5);
  color: var(--rv-mint);
}

.rv-tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.rv-tier-card {
  padding: 1.25rem;
  border-radius: var(--rv-radius-lg);
  border: 1px solid var(--rv-line);
  background: rgba(8, 14, 12, 0.55);
}

.rv-tier-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--rv-font-display);
}

.rv-tier-card__price {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.rv-tier-card__price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--rv-mute);
}

.rv-premium-current {
  font-size: 0.95rem;
  color: var(--rv-mint);
  margin-bottom: 0.5rem;
}

.rv-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

.rv-premium-table td:not(:first-child) {
  text-align: center;
  width: 6rem;
}

.rv-premium-yes {
  color: var(--rv-mint);
  font-weight: 800;
}

.rv-premium-no {
  color: var(--rv-mute);
}

/* —— Faz 7 polish: disclaimer strip on support/premium pages —— */
.rv-page-disclaimer {
  margin-bottom: 1.5rem;
  border-color: rgba(230, 201, 122, 0.35);
  background: rgba(24, 18, 8, 0.55);
}

.rv-page-disclaimer .rv-badge--warn {
  background: rgba(255, 120, 87, 0.18);
  border-color: rgba(255, 120, 87, 0.45);
  color: #ffc4a8;
}

.rv-disclaimer-box--prominent {
  border-width: 2px;
  border-color: rgba(230, 201, 122, 0.45);
  background: linear-gradient(135deg, rgba(32, 24, 8, 0.65), rgba(12, 20, 18, 0.75));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.rv-disclaimer-box--prominent h2 {
  font-size: 1.25rem;
}

/* —— QR frame —— */
.rv-qr-frame {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem;
  border-radius: var(--rv-radius-lg);
  border: 1px solid rgba(93, 255, 192, 0.22);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 245, 0.95));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rv-qr-frame img {
  display: block;
  border-radius: 6px;
  background: #fff;
}

.rv-qr-frame__hint {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2a4a40;
  margin: 0;
}

.rv-donate-card {
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rv-donate-card:hover {
  border-color: rgba(93, 255, 192, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.rv-donate-card__qr {
  margin-bottom: 1rem;
}

.rv-donate-card__qr .rv-qr-frame {
  width: 100%;
  max-width: 200px;
}

.rv-donate-card__actions {
  margin-top: auto;
  padding-top: 0.5rem;
}

.rv-donate-status--success {
  color: var(--rv-mint);
  font-weight: 600;
}

.rv-donate-status--muted {
  color: var(--rv-mute);
}

.rv-donate-ack--highlight {
  animation: rv-ack-pulse 1.2s ease;
}

@keyframes rv-ack-pulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 3px rgba(93, 255, 192, 0.35); }
}

/* —— Tier cards —— */
.rv-tier-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.rv-tier-card:hover {
  border-color: rgba(93, 255, 192, 0.3);
}

.rv-tier-card--active {
  border-color: rgba(93, 255, 192, 0.55);
  background: rgba(12, 28, 22, 0.75);
  box-shadow: 0 0 0 1px rgba(93, 255, 192, 0.2);
}

.rv-tier-card--supporter.rv-tier-card--active {
  border-color: rgba(255, 200, 87, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 200, 87, 0.25);
}

.rv-tier-card--premium.rv-tier-card--active {
  border-color: rgba(177, 140, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(177, 140, 255, 0.3);
}

.rv-tier-card__badge-active {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rv-mint);
}

.rv-tier-card__footer {
  margin-top: auto;
  padding-top: 0.75rem;
}

.rv-premium-table-wrap {
  position: relative;
}

.rv-premium-table-hint {
  display: none;
  font-size: 0.8rem;
  color: var(--rv-mute);
  margin: 0 0 0.5rem;
}

.rv-premium-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(8, 14, 12, 0.95);
  backdrop-filter: blur(6px);
}

.rv-premium-table .rv-premium-col--highlight {
  background: rgba(93, 255, 192, 0.06);
}

/* Mobile: feature comparison as stacked cards */
.rv-premium-mobile-cards {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.rv-premium-mcard {
  padding: 1rem;
  border-radius: var(--rv-radius-md);
  border: 1px solid var(--rv-line);
  background: rgba(8, 14, 12, 0.55);
}

.rv-premium-mcard h3 {
  margin: 0 0 0.35rem;
  font-family: var(--rv-font-display);
  font-size: 0.95rem;
}

.rv-premium-mcard p {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  max-width: none;
}

.rv-premium-mcard__tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  font-size: 0.78rem;
  text-align: center;
}

.rv-premium-mcard__tiers span {
  padding: 0.35rem 0.25rem;
  border-radius: 5px;
  background: rgba(20, 32, 28, 0.5);
}

@media (max-width: 720px) {
  .rv-premium-table-hint {
    display: block;
  }

  .rv-premium-table-wrap .rv-table-wrap {
    display: none;
  }

  .rv-premium-mobile-cards {
    display: flex;
  }

  .rv-donate-grid {
    grid-template-columns: 1fr;
  }

  .rv-tier-cards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .rv-premium-table th,
  .rv-premium-table td {
    padding: 0.65rem 0.5rem;
    font-size: 0.85rem;
  }

  .rv-premium-table td:not(:first-child) {
    width: 4.5rem;
  }
}

/* —— UX layer (loading · offline · toasts · empty) —— */
.rv-ux-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(126, 200, 255, 0.2);
  border-top-color: var(--rv-sky);
  border-radius: 50%;
  animation: rv-ux-spin 0.75s linear infinite;
}

.rv-ux-spinner--sm {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@keyframes rv-ux-spin {
  to { transform: rotate(360deg); }
}

.rv-ux-skeleton-group {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  width: min(420px, 100%);
}

.rv-ux-skeleton {
  border-radius: var(--rv-radius-sm);
  background: linear-gradient(
    90deg,
    rgba(232, 242, 236, 0.06) 0%,
    rgba(126, 200, 255, 0.14) 50%,
    rgba(232, 242, 236, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: rv-ux-shimmer 1.35s ease-in-out infinite;
}

.rv-ux-skeleton--line {
  height: 12px;
}

.rv-ux-skeleton--line:nth-child(2) { width: 88%; }
.rv-ux-skeleton--line:nth-child(3) { width: 72%; }

@keyframes rv-ux-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.rv-ux-boot {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(10, 14, 18, 0.82);
  backdrop-filter: blur(6px);
  transition: opacity 0.28s var(--rv-ease);
}

.rv-ux-boot.is-done {
  opacity: 0;
  pointer-events: none;
}

.rv-ux-boot__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  max-width: 28rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--rv-radius-lg);
  border: 1px solid var(--rv-line);
  background: rgba(12, 20, 18, 0.92);
  box-shadow: var(--rv-shadow-md);
}

.rv-ux-boot__inner b {
  font-family: var(--rv-font-display);
  font-size: 1.05rem;
  color: var(--rv-mist);
}

.rv-ux-boot__inner > span {
  font-size: 0.88rem;
  color: var(--rv-mute);
  line-height: 1.5;
}

.rv-ux-offline {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11000;
  padding: 0.55rem 1rem;
  background: linear-gradient(90deg, rgba(255, 77, 109, 0.18), rgba(230, 201, 122, 0.12));
  border-bottom: 1px solid rgba(255, 77, 109, 0.45);
  color: var(--rv-mist);
  font-size: 0.82rem;
  transform: translateY(-110%);
  transition: transform 0.28s var(--rv-ease);
}

.rv-ux-offline.is-visible {
  transform: translateY(0);
}

.rv-ux-offline__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--rv-max-wide);
  margin: 0 auto;
}

.rv-ux-offline__icon {
  font-size: 1rem;
  color: var(--rv-danger);
}

.rv-ux-offline__text {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.rv-ux-offline__text b {
  display: block;
  font-size: 0.84rem;
}

.rv-ux-offline__text span {
  color: var(--rv-mute);
  font-size: 0.78rem;
}

.rv-ux-btn {
  font-family: var(--rv-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--rv-radius-pill);
  border: 1px solid var(--rv-line-strong);
  background: rgba(8, 14, 12, 0.55);
  color: var(--rv-mist);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}

.rv-ux-btn:hover {
  border-color: var(--rv-sky);
  background: rgba(126, 200, 255, 0.1);
}

.rv-ux-btn--retry {
  border-color: rgba(126, 200, 255, 0.45);
  color: var(--rv-sky);
}

.rv-ux-btn--ghost {
  background: transparent;
}

.rv-ux-conn__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.rv-ux-conn__row--loading {
  align-items: center;
}

.rv-ux-toast-root {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 13000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}

.rv-ux-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--rv-radius-md);
  border: 1px solid var(--rv-line);
  background: rgba(12, 20, 18, 0.96);
  box-shadow: var(--rv-shadow-sm);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--rv-mist);
  pointer-events: auto;
  animation: rv-ux-toast-in 0.28s var(--rv-ease);
}

.rv-ux-toast--error {
  border-color: rgba(255, 77, 109, 0.55);
  background: rgba(40, 12, 18, 0.96);
}

.rv-ux-toast--success {
  border-color: rgba(93, 255, 192, 0.45);
}

.rv-ux-toast--info {
  border-color: rgba(126, 200, 255, 0.4);
}

.rv-ux-toast__msg {
  flex: 1;
  min-width: 0;
}

.rv-ux-toast__close {
  border: none;
  background: transparent;
  color: var(--rv-mute);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.15rem;
}

.rv-ux-toast__close:hover {
  color: var(--rv-mist);
}

@keyframes rv-ux-toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.rv-ux-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.35rem 1rem;
  border: 1px dashed var(--rv-line-strong);
  border-radius: var(--rv-radius-md);
  background: rgba(8, 14, 12, 0.35);
  color: var(--rv-mute);
  font-size: 0.88rem;
  line-height: 1.55;
}

.rv-ux-empty__icon {
  font-size: 1.35rem;
  color: var(--rv-sky-dim);
  margin-bottom: 0.15rem;
}

.rv-ux-empty__title {
  color: var(--rv-mist);
  font-family: var(--rv-font-display);
  font-size: 0.95rem;
}

.rv-ux-empty__sub {
  max-width: 26rem;
  font-size: 0.82rem;
}

body.rv-ux-offline-active {
  padding-top: 2.6rem;
}

body.rv-ux-offline-active .rv-nav--sticky {
  top: 2.6rem;
}

/* —— Launch Membership / wallet payment —— */
.rv-launch-banner {
  display: inline-block;
  margin: 0 0 var(--rv-space-3);
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(93, 255, 192, 0.35);
  border-radius: var(--rv-radius-sm);
  background: linear-gradient(120deg, rgba(93, 255, 192, 0.12), rgba(126, 200, 255, 0.08));
  color: var(--rv-mist);
  font-family: var(--rv-font-display);
  font-size: var(--rv-text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: rv-launch-pulse 3.2s ease-in-out infinite;
}
@keyframes rv-launch-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(93, 255, 192, 0.15); }
  50% { box-shadow: 0 0 24px 0 rgba(93, 255, 192, 0.28); }
}
.rv-membership-hero {
  display: grid;
  gap: var(--rv-space-6);
  margin: var(--rv-space-8) 0;
  padding: var(--rv-space-6);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-md, 12px);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(93, 255, 192, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(20, 32, 28, 0.9), rgba(12, 20, 18, 0.95));
}
.rv-membership-price__amount {
  display: block;
  font-family: var(--rv-font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 900;
  color: var(--rv-mint);
  line-height: 1;
}
.rv-membership-price__unit { color: var(--rv-mute); font-size: var(--rv-text-sm); }
.rv-membership-price__later { margin-top: var(--rv-space-2); color: var(--rv-gold); font-size: var(--rv-text-sm); }
.rv-membership-features { margin: 0; padding-left: 1.2rem; color: var(--rv-mist); line-height: 1.7; }
.rv-membership-countdown { font-family: var(--rv-font-mono); color: var(--rv-mint); }
.rv-membership-expired {
  display: flex; flex-wrap: wrap; gap: var(--rv-space-3); align-items: center;
  margin-top: var(--rv-space-3); padding: var(--rv-space-4);
  border: 1px solid rgba(255, 77, 109, 0.35); border-radius: var(--rv-radius-sm); background: var(--rv-danger-dim);
}
.rv-pay-panel {
  margin: var(--rv-space-6) 0; padding: var(--rv-space-6);
  border: 1px solid var(--rv-line-strong); border-radius: var(--rv-radius-md, 12px);
  background: linear-gradient(165deg, #121a18 0%, #0c1412 100%);
}
.rv-pay-panel__selects { display: grid; grid-template-columns: 1fr 1fr; gap: var(--rv-space-4); margin-bottom: var(--rv-space-5); }
.rv-pay-panel__selects label, .rv-pay-form label, .rv-donate-form label {
  display: flex; flex-direction: column; gap: 0.35rem; font-size: var(--rv-text-sm); color: var(--rv-mute);
}
.rv-pay-panel__selects select, .rv-pay-form input, .rv-pay-form textarea, .rv-donate-form input, .rv-donate-form select {
  padding: 0.65rem 0.75rem; border: 1px solid var(--rv-line-strong); border-radius: var(--rv-radius-sm);
  background: var(--rv-ink); color: var(--rv-mist); font-family: var(--rv-font-mono); font-size: 0.9rem;
}
.rv-pay-deposit { display: grid; grid-template-columns: 200px 1fr; gap: var(--rv-space-6); align-items: start; }
@media (max-width: 720px) {
  .rv-pay-deposit, .rv-pay-panel__selects { grid-template-columns: 1fr; }
}
.rv-pay-qr {
  min-height: 200px; display: flex; align-items: center; justify-content: center;
  background: #000; border-radius: var(--rv-radius-sm); padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.rv-pay-qr img { display: block; width: 100%; height: auto; border-radius: 4px; background: #000; }
.rv-pay-address__row { display: flex; gap: var(--rv-space-2); margin-top: 0.35rem; }
.rv-pay-address__row input { flex: 1; min-width: 0; }
.rv-pay-amount { margin-top: var(--rv-space-3); color: var(--rv-mist); }
.rv-pay-equiv-note { margin-top: var(--rv-space-2); color: var(--rv-mist); font-size: var(--rv-text-sm); opacity: 0.9; }
.rv-pay-warn { margin-top: var(--rv-space-3); color: var(--rv-gold); font-size: var(--rv-text-sm); }
.rv-pay-howto { margin-top: var(--rv-space-6); padding-top: var(--rv-space-5); border-top: 1px solid var(--rv-line); }
.rv-pay-howto h3 { margin: 0 0 var(--rv-space-3); font-family: var(--rv-font-display); letter-spacing: 0.06em; color: var(--rv-mint); }
.rv-pay-howto ol { margin: 0; padding-left: 1.2rem; color: var(--rv-mist); line-height: 1.65; }
.rv-pay-form { display: grid; gap: var(--rv-space-4); max-width: 36rem; }
.rv-legal-list { line-height: 1.7; color: var(--rv-mist); padding-left: 1.2rem; }
.rv-legal .rv-section { margin-top: var(--rv-space-6); }
