/* ===========================================================
   The Dark's Side — Crypto Analysis
   By @defenddark
   =========================================================== */

:root {
  --bg-0: #06070b;
  --bg-1: #0b0d14;
  --bg-2: #11141d;
  --bg-3: #181c28;
  --line: #232938;
  --text: #e9ecf3;
  --text-dim: #8a93a8;
  --text-mute: #5b6478;
  --accent: #5865F2;       /* blurple */
  --accent-2: #8B5CF6;     /* electric purple */
  --accent-3: #57F287;     /* discord green (action / live) */
  --accent-ink: #ffffff;   /* text colour on accent backgrounds */
  --green: #21d07a;
  --red: #ff4d6d;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-1: 0 10px 40px rgba(0,0,0,.45);
  --shadow-2: 0 4px 18px rgba(0,0,0,.55);
  --max: 1240px;
  --font-display: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Background ambience */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(800px 500px at 80% -10%, rgba(88,101,242,.10), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(92,240,196,.08), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(255,91,110,.07), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6,7,11,.6);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .3px;
}

.brand-mark {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: #0b0d14;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(88,101,242,.4);
  flex-shrink: 0;
}
.nav { height: 168px; }
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.55);
  transform-origin: center;
}
.brand-name { font-size: 26px; }

.brand-name {
  font-size: 20px;
}
.brand-name span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(88,101,242,.35); color: #fff !important; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(88,101,242,.35); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--text-dim); background: rgba(255,255,255,.03); }

.btn-x {
  background: #0b0d14;
  color: #fff;
  border-color: #2a2f3d;
}
.btn-x:hover { border-color: #fff; }

/* ===== Hero ===== */

.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 22px;
  background: rgba(255,255,255,.02);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(33,208,122,.18);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.stat .n {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.stat .n .unit { color: var(--accent); }
.stat .l {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 4px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 240px at 80% 20%, rgba(88,101,242,.18), transparent 70%),
    radial-gradient(360px 220px at 10% 90%, rgba(92,240,196,.18), transparent 70%);
  pointer-events: none;
}
.hero-visual .ticker {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 18px;
  background: rgba(6,7,11,.75);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  gap: 22px;
  white-space: nowrap;
  overflow: hidden;
}
.hero-visual .ticker span b { color: var(--text); font-weight: 600; margin-right: 6px; }
.hero-visual .ticker .up { color: var(--green); }
.hero-visual .ticker .down { color: var(--red); }

.hero-chart-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  filter: contrast(1.05) saturate(1.05);
}

.hero-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11,13,20,.7);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ===== Market dashboard (XRP card + video) ===== */

.market-dash {
  padding: 24px 0 12px;
}
.market-dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* Mini coin grid (4×2) */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
}
.mini-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
  cursor: pointer;
}
.mini-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 120px at 100% 0%, rgba(88,101,242,.10), transparent 70%);
  pointer-events: none;
}
.mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(88,101,242,.45);
  box-shadow: 0 10px 28px rgba(0,0,0,.5);
}
.mini-card .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  position: relative;
}
.mini-card .sym {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .04em;
  color: var(--text);
}
.mini-card .ch {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
  line-height: 1.2;
  white-space: nowrap;
}
.mini-card .ch.up { color: var(--green); background: rgba(33,208,122,.14); }
.mini-card .ch.down { color: var(--red);  background: rgba(255,77,109,.14); }
.mini-card .px {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  margin: 6px 0 10px;
  letter-spacing: -.01em;
  color: var(--text);
  position: relative;
}
.mini-card .spark {
  margin-top: auto;
  height: 38px;
  position: relative;
}
.mini-card .spark svg { width: 100%; height: 100%; display: block; }

@media (max-width: 1100px) {
  .market-dash-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-card .px { font-size: 22px; }
  .mini-card .sym { font-size: 17px; }
}

/* XRP price card */
.xrp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.xrp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 220px at 100% 0%, rgba(88,101,242,.14), transparent 70%);
  pointer-events: none;
}
.xrp-card .row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.xrp-card .pair {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.xrp-card .trade-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-3);
  color: #06160f;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .12em;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease;
}
.xrp-card .trade-pill:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(87,242,135,.3); }
.xrp-card .big-price-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin: 14px 0 6px;
  position: relative;
}
.xrp-card .big-sym {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--text);
  text-shadow: 0 4px 24px rgba(88,101,242,.35);
}
.xrp-card .big-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6.2vw, 80px);
  line-height: 1;
  background: linear-gradient(180deg, #cfd6ff 0%, var(--accent) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.025em;
}
.xrp-card .price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
}
.xrp-card .change-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.xrp-card .change-pill.up { color: var(--green); background: rgba(33,208,122,.12); }
.xrp-card .change-pill.down { color: var(--red); background: rgba(255,77,109,.12); }
.xrp-card .hilo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text-dim);
  font-size: 12px;
  align-items: flex-end;
  margin-left: auto;
}
.xrp-card .hilo .up { color: var(--green); }
.xrp-card .hilo .down { color: var(--red); }

.xrp-card .sparkline {
  position: relative;
  margin: 18px -24px -6px;
  padding: 0 24px;
  flex: 1;
  min-height: 120px;
}
.xrp-card .sparkline svg { width: 100%; height: 100%; display: block; }

.xrp-card .trade-cta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(88,101,242,.1);
  border: 1px solid rgba(88,101,242,.4);
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  transition: background .15s ease, border-color .15s ease;
}
.xrp-card .trade-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.xrp-card .trade-cta .aff { font-size: 10px; color: var(--text-mute); letter-spacing: .1em; text-transform: uppercase; }
.xrp-card .trade-cta:hover .aff { color: rgba(255,255,255,.7); }

/* Video panel */
.video-panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow-1);
  min-height: 360px;
}
.video-panel video,
.video-panel img.poster-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-panel .video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6,7,11,.7);
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
  backdrop-filter: blur(6px);
}

@media (max-width: 980px) {
  .market-dash-grid { grid-template-columns: 1fr; }
  .video-panel { aspect-ratio: 16/9; min-height: auto; }
}

/* ===== Live price ticker ===== */

.live-ticker {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(88,101,242,.06), rgba(0,0,0,.2));
  overflow: hidden;
}
.live-ticker .ticker-strip {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0;
  line-height: 1;
  white-space: nowrap;
  width: max-content;
  animation: marquee 40s linear infinite;
  -webkit-animation: marquee 40s linear infinite;
  will-change: transform;
}
.live-ticker:hover .ticker-strip { animation-play-state: paused; }
.live-ticker .ticker-strip a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  color: var(--text);
  transition: color .15s ease;
}
.live-ticker .news-strip {
  display: flex;
  align-items: center;
  padding: 0;
  line-height: 1;
  white-space: nowrap;
  width: max-content;
  animation: marquee 203s linear infinite;
  -webkit-animation: marquee 203s linear infinite;
  will-change: transform;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.25);
}
.live-ticker:hover .news-strip { animation-play-state: paused; }
.live-ticker .news-strip span.news-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: 50px;
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 1;
  color: var(--text-dim);
  letter-spacing: .01em;
  flex-shrink: 0;
}
.live-ticker .news-strip span.news-item::before {
  content: "●";
  color: var(--accent);
  font-size: 8px;
}
.live-ticker .news-strip a {
  color: var(--text);
  transition: color .15s ease;
}
.live-ticker .news-strip a:hover { color: var(--accent); }
.live-ticker .ticker-strip a:hover { color: var(--accent); }
.live-ticker .sym {
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
}
.live-ticker .px { color: var(--text-dim); }
.live-ticker .chg { font-size: 22px; padding: 2px 8px; border-radius: 8px; line-height: 1; }
.live-ticker .chg.up { color: var(--green); background: rgba(33,208,122,.1); }
.live-ticker .chg.down { color: var(--red); background: rgba(255,77,109,.1); }
.live-ticker .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 3px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.live-ticker .affiliate-tag {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: rgba(6,7,11,.85);
  border: 1px solid var(--line);
  color: var(--text-mute);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(6px);
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
/* Safari iOS prefix */
@-webkit-keyframes marquee {
  from { -webkit-transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); }
}

/* ===== Hero video ===== */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Testimonials ===== */

.testimonial-grid {
  columns: 3;
  column-gap: 22px;
}
.testimonial-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 22px;
  break-inside: avoid;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, border-color .2s ease, box-shadow .25s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(88,101,242,.4);
  box-shadow: var(--shadow-2);
}
.testimonial-card img {
  width: 100%;
  height: auto;
  display: block;
}
.testimonial-card .who {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.testimonial-card .nick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.testimonial-card .nick .x-tag {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
}
.testimonial-card .when {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
}

@media (max-width: 980px) {
  .testimonial-grid { columns: 2; }
}
@media (max-width: 640px) {
  .testimonial-grid { columns: 1; }
}

.testimonials-empty {
  text-align: center;
  padding: 80px 30px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--text-mute);
}
.testimonials-empty h3 { color: var(--text); margin-bottom: 10px; }
.testimonials-empty code {
  font-family: var(--font-mono);
  background: var(--bg-3);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--accent);
}

/* ===== Latest from Patreon ===== */

.patreon-feed {
  padding: 20px 0 30px;
}
.patreon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.patreon-post {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .2s ease, box-shadow .25s ease;
  overflow: hidden;
}
.patreon-post::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 160px at 100% 0%, rgba(88,101,242,.12), transparent 70%);
  pointer-events: none;
}
.patreon-post:hover {
  transform: translateY(-4px);
  border-color: rgba(88,101,242,.45);
  box-shadow: 0 14px 32px rgba(0,0,0,.5);
}
.patreon-post .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: rgba(88,101,242,.15);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  position: relative;
}
.patreon-post h3 {
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--text);
  position: relative;
}
.patreon-post .excerpt {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}
.patreon-post .meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  position: relative;
}
.patreon-post .read {
  color: var(--accent);
  font-weight: 700;
}
.patreon-empty {
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--text-mute);
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .patreon-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .patreon-grid { grid-template-columns: 1fr; }
}

/* ===== Brand banner ===== */

.brand-banner {
  position: relative;
  padding: 30px 0 10px;
}
.brand-banner .banner-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
}
.brand-banner img,
.brand-banner video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}
.intro-video-wrap {
  background: #000;
  aspect-ratio: 16 / 9;
  min-height: auto;
  max-width: 1100px;
  margin: 0 auto;
}
.intro-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-banner .banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(6,7,11,.35) 100%);
  pointer-events: none;
}

/* ===== Sections ===== */

section { padding: 80px 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  max-width: 720px;
}
.section-head .kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-dim);
  max-width: 520px;
  margin: 0;
}

/* ===== Value props ===== */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(88,101,242,.4); }
.value-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(88,101,242,.12);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
  font-size: 20px;
}
.value-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.value-card p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
}

/* ===== Showcase ===== */

.showcase {
  position: relative;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.chart-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  aspect-ratio: 16/11;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.chart-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.chart-card:hover { transform: translateY(-4px); border-color: rgba(88,101,242,.4); box-shadow: var(--shadow-2); }
.chart-card:hover img { transform: scale(1.04); }

.chart-card .meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(6,7,11,.92));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.chart-card .coin {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  letter-spacing: .04em;
}
.chart-card .date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.chart-card .tf {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11,13,20,.75);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .04em;
}
.chart-card .verdict {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(33,208,122,.15);
  color: var(--green);
  border: 1px solid rgba(33,208,122,.4);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ===== Pricing / CTA ===== */

.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.tiers.tiers-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tier-logo {
  width: 168px;
  height: 168px;
  margin: 0 auto 24px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 26px rgba(88,101,242,.22));
}
.tier.featured .tier-logo {
  filter: drop-shadow(0 10px 32px rgba(88,101,242,.45));
}
.tier.tier-templar .tier-logo {
  width: 218px;   /* 30% bigger than 168 */
  height: 218px;
  filter: drop-shadow(0 12px 36px rgba(88,101,242,.5));
}
@media (max-width: 980px) {
  .tier-logo { width: 200px; height: 200px; }
  .tier.tier-templar .tier-logo { width: 260px; height: 260px; }
}

/* 𝕏 subscription banner */
.x-banner {
  margin-top: 36px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 26px 32px;
  background: linear-gradient(120deg, #0b0d14, #181c28);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.x-banner .x-mark {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: #000;
  border: 1px solid #2a2f3d;
  display: grid; place-items: center;
  font-size: 26px;
  color: #fff;
  font-weight: 700;
}
.x-banner h3 {
  font-size: 22px;
  margin: 0 0 4px;
}
.x-banner p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}
.x-banner .x-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  margin-right: 8px;
  white-space: nowrap;
}
.x-banner .actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tier {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.tier.featured {
  border-color: rgba(88,101,242,.45);
  box-shadow: 0 0 0 1px rgba(88,101,242,.08), 0 24px 60px rgba(88,101,242,.08);
}
.tier .badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.tier h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.tier .lead {
  color: var(--text-dim);
  margin: 0 0 24px;
  font-size: 15px;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tier ul li {
  padding-left: 28px;
  position: relative;
  color: var(--text);
  font-size: 15px;
}
.tier ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(88,101,242,.12);
  border: 1px solid rgba(88,101,242,.4);
}
.tier ul li::after {
  content: "";
  position: absolute;
  left: 5px; top: 11px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.tier .price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
}
.tier .price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
}
.tier .per { color: var(--text-mute); font-size: 14px; }

/* ===== Filter bar ===== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding: 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.filter-bar button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-dim);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s ease;
  font-family: var(--font-body);
}
.filter-bar button:hover { color: var(--text); border-color: var(--text-dim); }
.filter-bar button.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.filter-bar .count {
  margin-left: auto;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 12px;
  align-self: center;
  padding-right: 8px;
}

/* ===== Gallery ===== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery .chart-card { aspect-ratio: 4/3; }

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-mute);
}

/* ===== Lightbox ===== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: var(--shadow-1);
}
.lightbox .close,
.lightbox .open-new {
  position: absolute;
  top: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.lightbox .close { right: 24px; font-size: 22px; }
.lightbox .open-new { right: 78px; }
.lightbox .close:hover, .lightbox .open-new:hover {
  background: rgba(255,255,255,.16);
  border-color: var(--accent);
}
.lightbox .caption {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: rgba(11,13,20,.85);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== Final CTA ===== */

.final-cta {
  position: relative;
  border-radius: 28px;
  padding: 70px 40px;
  text-align: center;
  background:
    radial-gradient(800px 300px at 50% -10%, rgba(88,101,242,.18), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  overflow: hidden;
}
.final-cta h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 16px;
}
.final-cta p {
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 17px;
}
.final-cta .hero-actions { justify-content: center; }

/* ===== Contact ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
}
.contact-form {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 140px; }

.contact-side .card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
}
.contact-side h3 { font-size: 19px; margin-bottom: 14px; }
.contact-side p { color: var(--text-dim); margin: 0 0 18px; font-size: 15px; }
.contact-side .social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-side .social a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.contact-side .social a:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-side .social a .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  font-size: 14px;
  font-weight: 800;
}

/* ===== FAQ ===== */

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  color: var(--text-dim);
  margin: 12px 0 0;
  font-size: 15px;
}

/* ===== Footer ===== */

.footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 30px;
  margin-top: 60px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.footer p { color: var(--text-mute); font-size: 13px; margin: 0; }
.footer .links { display: flex; gap: 22px; }
.footer .links a { color: var(--text-dim); font-size: 14px; }
.footer .links a:hover { color: var(--accent); }
.footer .disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.7;
}

/* ===== Reveal animations ===== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */

@media (max-width: 980px) {
  .hero { padding: 50px 0 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .values { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .tiers, .tiers.tiers-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .x-banner { grid-template-columns: 1fr; text-align: center; }
  .x-banner .x-mark { margin: 0 auto; }
  .x-banner .actions { justify-content: center; }
  section { padding: 60px 0; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .stat .n { font-size: 26px; }
  .showcase-grid, .gallery { grid-template-columns: 1fr; }
  .final-cta { padding: 50px 22px; }
  .hero h1 { font-size: 44px; }
}

/* ===== Ticker: prevent first-paint flicker ===== */
.live-ticker .ticker-strip,
.live-ticker .news-strip {
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
}
/* Prices ticker starts running once price data is in */
.live-ticker.is-ready .ticker-strip {
  animation-play-state: running;
  -webkit-animation-play-state: running;
}
/* News strip starts running once headlines are in (independent of prices) */
.live-ticker.is-news-ready .news-strip {
  animation-play-state: running;
  -webkit-animation-play-state: running;
}
/* Stop ticker layout shifting when prices update widths */
.live-ticker .ticker-strip .px {
  display: inline-block;
  min-width: 110px;
  text-align: left;
}
.live-ticker .ticker-strip .sym {
  display: inline-block;
  min-width: 70px;
  text-align: left;
}
.live-ticker .chg {
  display: inline-block;
  min-width: 90px;
  text-align: center;
}

/* ===== OKX referral section ===== */

.mexc-section {
  padding: 70px 0;
}
.mexc-card {
  position: relative;
  border-radius: 28px;
  padding: 56px 48px;
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(88,101,242,.22), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(139,92,246,.18), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  overflow: hidden;
}
.mexc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(88,101,242,.05) 1px, transparent 1px),
    linear-gradient(rgba(88,101,242,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.mexc-card .eyebrow {
  margin-bottom: 18px;
}
.mexc-card h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  max-width: 800px;
}
.mexc-card h2 .hl {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mexc-card .lede {
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 760px;
  position: relative;
}

.mexc-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 36px;
  position: relative;
}
.mexc-perk {
  background: rgba(11,13,20,.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.mexc-perk .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(88,101,242,.15);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 14px;
}
.mexc-perk h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
}
.mexc-perk p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

.mexc-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
}
.mexc-cta-row .btn-primary {
  font-size: 17px;
  padding: 18px 32px;
}
.mexc-cta-row .code-box {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  background: rgba(0,0,0,.3);
}
.mexc-cta-row .code-box b {
  color: var(--accent);
  font-weight: 700;
}

.mexc-disclosure {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-size: 12px;
  line-height: 1.7;
  position: relative;
}
.mexc-disclosure strong { color: var(--text-dim); }

@media (max-width: 980px) {
  .mexc-card { padding: 40px 28px; }
  .mexc-perks { grid-template-columns: 1fr; }
}

.mexc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.mexc-card.compact {
  padding: 44px 36px;
}
.mexc-card.compact h2 {
  font-size: clamp(28px, 3.5vw, 40px);
}
.mexc-card.compact .lede { font-size: 16px; }
.mexc-fee-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 24px;
  position: relative;
}
.mexc-fee {
  background: rgba(11,13,20,.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.mexc-fee .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mexc-fee .value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.mexc-fee .value .small {
  color: var(--accent-3);
  font-size: 14px;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-left: 4px;
}

@media (max-width: 980px) {
  .mexc-grid { grid-template-columns: 1fr; }
  .mexc-fee-row { grid-template-columns: 1fr 1fr; }
}

/* OKX trade card — same size/shape as XRP card, right side of dashboard */
.trade-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.trade-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 220px at 0% 0%, rgba(139,92,246,.16), transparent 70%);
  pointer-events: none;
}
.trade-card .row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.trade-card .label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trade-card .join-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-3);
  color: #06160f;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .12em;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.trade-card .big-sym-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0 6px;
}
.trade-card .big-sym {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1;
  color: var(--text);
  letter-spacing: -.01em;
}
.trade-card .big-offer {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1;
  letter-spacing: -.02em;
  background: linear-gradient(180deg, #cfd6ff 0%, var(--accent) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
  position: relative;
}
.trade-card .offer-sub {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 18px;
  position: relative;
}
.trade-card .feat-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  flex: 1;
}
.trade-card .feat-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.trade-card .feat-list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(88,101,242,.18);
  border: 1px solid rgba(88,101,242,.45);
  position: relative;
}
.trade-card .feat-list li b {
  color: var(--accent-3);
  font-family: var(--font-mono);
  font-weight: 700;
}
.trade-card .trade-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(88,101,242,.1);
  border: 1px solid rgba(88,101,242,.4);
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  transition: background .15s ease, border-color .15s ease;
  text-decoration: none;
  position: relative;
}
.trade-card .trade-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.trade-card .trade-cta .aff {
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.trade-card .trade-cta:hover .aff { color: rgba(255,255,255,.7); }

/* OKX referral — half-size variant */
.mexc-section.half {
  padding: 36px 0;
}
.mexc-section.half .mexc-card {
  padding: 26px 24px;
  border-radius: 18px;
}
.mexc-section.half .mexc-card .eyebrow {
  font-size: 10px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.mexc-section.half .mexc-card h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0 0 12px;
}
.mexc-section.half .mexc-card .lede {
  font-size: 13px;
  margin: 0 0 16px;
  line-height: 1.55;
}
.mexc-section.half .mexc-perks {
  margin-bottom: 16px;
}
.mexc-section.half .mexc-perk {
  padding: 14px;
}
.mexc-section.half .mexc-perk .ic {
  width: 28px;
  height: 28px;
  font-size: 14px;
  margin-bottom: 8px;
  border-radius: 8px;
}
.mexc-section.half .mexc-perk h3 {
  font-size: 13px;
  margin: 0 0 4px;
}
.mexc-section.half .mexc-perk p {
  font-size: 12px;
  line-height: 1.45;
}
.mexc-section.half .mexc-fee-row {
  gap: 8px;
  margin: 0 0 16px;
}
.mexc-section.half .mexc-fee {
  padding: 12px 14px;
}
.mexc-section.half .mexc-fee .label {
  font-size: 10px;
  margin-bottom: 4px;
}
.mexc-section.half .mexc-fee .value {
  font-size: clamp(16px, 2vw, 20px);
}
.mexc-section.half .mexc-fee .value .small {
  font-size: 11px;
}
.mexc-section.half .mexc-cta-row {
  gap: 10px;
  margin-bottom: 14px;
}
.mexc-section.half .mexc-cta-row .btn-primary {
  font-size: 13px;
  padding: 10px 16px;
}
.mexc-section.half .mexc-cta-row .code-box {
  font-size: 11px;
  padding: 6px 10px;
}
.mexc-section.half .mexc-disclosure {
  margin-top: 14px;
  padding-top: 12px;
  font-size: 10px;
  line-height: 1.55;
}

/* ===== Patreon section — alternating Blurple / orange cards ===== */
.patreon-feed .kicker {
  color: #FF6B35;
}
.patreon-feed .section-head h2 {
  background: linear-gradient(120deg, #5865F2 0%, #ffffff 50%, #FF6B35 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* White titles on every card */
.patreon-post h3 { color: #ffffff; }

/* Date stays a calm neutral grey on every card */
.patreon-post .meta-row span:first-child {
  color: #b4b6c0;
}

/* Odd cards — Blurple accent (1st, 3rd, 5th…) */
.patreon-post:nth-child(odd) .tag {
  background: rgba(88,101,242,.16);
  color: #5865F2;
  border: 1px solid rgba(88,101,242,.4);
}
.patreon-post:nth-child(odd) .read { color: #5865F2; }
.patreon-post:nth-child(odd)::before {
  background: radial-gradient(360px 160px at 100% 0%, rgba(88,101,242,.16), transparent 70%);
}
.patreon-post:nth-child(odd):hover {
  border-color: rgba(88,101,242,.5);
  box-shadow: 0 14px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(88,101,242,.25);
}
.patreon-post:nth-child(odd):hover .read { color: #ffffff; }

/* Even cards — orange accent (2nd, 4th, 6th…) */
.patreon-post:nth-child(even) .tag {
  background: rgba(255,107,53,.16);
  color: #FF6B35;
  border: 1px solid rgba(255,107,53,.4);
}
.patreon-post:nth-child(even) .read { color: #FF6B35; }
.patreon-post:nth-child(even)::before {
  background: radial-gradient(360px 160px at 100% 0%, rgba(255,107,53,.14), transparent 70%);
}
.patreon-post:nth-child(even):hover {
  border-color: rgba(255,107,53,.5);
  box-shadow: 0 14px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(255,107,53,.25);
}
.patreon-post:nth-child(even):hover .read { color: #ffffff; }

/* ===== Welcome hero — 2-column with Instagram card ===== */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.welcome-text { max-width: 100%; }

.ig-card {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  padding: 22px 22px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ig-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px 220px at 100% 0%, rgba(220,39,67,.18), transparent 70%),
              radial-gradient(380px 220px at 0% 100%, rgba(240,148,51,.14), transparent 70%);
  pointer-events: none;
}
.ig-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
}
.ig-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 3px;
  flex-shrink: 0;
}
.ig-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--bg-1);
}
.ig-meta { flex: 1; min-width: 0; }
.ig-meta .handle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -.01em;
}
.ig-meta .platform {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 2px;
}
.ig-follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ig-follow:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(220,39,67,.4); }

.ig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  position: relative;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.ig-grid::-webkit-scrollbar { width: 6px; }
.ig-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.ig-post {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(240,148,51,.14), rgba(188,24,136,.14));
  transition: transform .2s ease, border-color .2s ease;
  text-decoration: none;
  display: block;
}
.ig-post:hover {
  transform: translateY(-2px);
  border-color: rgba(220,39,67,.4);
}
.ig-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ig-post .placeholder-ic {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.35);
  font-size: 24px;
}
.ig-footer {
  margin-top: 14px;
  text-align: center;
  position: relative;
}
.ig-footer a {
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: none;
}
.ig-footer a:hover { color: var(--text); }

@media (max-width: 980px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 30px; }
  .ig-grid { max-height: 420px; }
}

/* ===== Testimonials preview (homepage) ===== */
.testimonials-preview { padding: 50px 0; }
.t-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.t-preview-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, border-color .2s ease, box-shadow .25s ease;
}
.t-preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(88,101,242,.45);
  box-shadow: var(--shadow-2);
}
.t-preview-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
}
.t-preview-card .who {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.t-preview-card .nick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.t-preview-card .nick .x-tag {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
}
.t-preview-card .when {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
}
@media (max-width: 980px) {
  .t-preview-grid { grid-template-columns: 1fr; }
  .t-preview-card img { height: 280px; }
}

/* ===== Bigger conversion CTA buttons ===== */
.btn.btn-xl {
  padding: 20px 36px;
  font-size: 17px;
  border-radius: 14px;
  font-weight: 800;
}

/* Tier section emphasis */
.tiers .tier { padding: 36px; }
.tiers .tier.featured { transform: scale(1.03); }
@media (max-width: 980px) {
  .tiers .tier.featured { transform: none; }
}

/* ===== Ticker logos ===== */
.live-ticker .ticker-strip a .logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-right: 2px;
  vertical-align: middle;
}
.live-ticker .ticker-strip a .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.live-ticker .ticker-strip a .logo .logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
  padding: 0 2px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
}
.live-ticker .ticker-strip a .logo.logo-yh {
  background: linear-gradient(135deg, rgba(88,101,242,.18), rgba(139,92,246,.18));
}

/* ===== OKX brand styling override ===== */
/* OKX palette: pure black + lime green #C8FF00 + white */

:root {
  --okx-black: #000000;
  --okx-lime:  #C8FF00;
  --okx-line:  #1a1a1a;
}

/* Mini trade card on dashboard — OKX black with lime accent */
.trade-card {
  background: linear-gradient(160deg, #0a0a0a 0%, #000000 100%);
  border-color: #1a1a1a;
}
.trade-card .label,
.trade-card .join-pill {
  color: var(--okx-lime) !important;
  border-color: rgba(200, 255, 0, .35) !important;
  background: rgba(200, 255, 0, .08) !important;
}
.trade-card .big-sym {
  color: #ffffff;
  letter-spacing: -0.02em;
}
.trade-card .big-offer {
  color: var(--okx-lime);
}
.trade-card .feat-list li b {
  color: var(--okx-lime);
}
.trade-card .trade-cta {
  background: var(--okx-lime);
  color: var(--okx-black) !important;
}
.trade-card .trade-cta span:first-child {
  color: var(--okx-black) !important;
  font-weight: 700;
}
.trade-card .trade-cta .aff {
  color: rgba(0,0,0,.65);
}

/* OKX referral section CTA buttons */
.mexc-section .btn-primary.btn-xl {
  background: var(--okx-lime) !important;
  color: var(--okx-black) !important;
  border-color: var(--okx-lime) !important;
}
.mexc-section .btn-primary.btn-xl:hover {
  background: #d4ff33 !important;
  border-color: #d4ff33 !important;
}

/* Highlight colour on the OKX pitch h2 */
.mexc-section .mexc-card h2 .hl {
  color: var(--okx-lime);
}

/* Eyebrow dot accent for OKX section */
.mexc-section .eyebrow .dot {
  background: var(--okx-lime) !important;
  box-shadow: 0 0 12px rgba(200, 255, 0, .6);
}

/* Live ticker pill — OKX style */
.live-ticker a .pill {
  background: rgba(200, 255, 0, .12) !important;
  color: var(--okx-lime) !important;
  border: 1px solid rgba(200, 255, 0, .35) !important;
}

/* ===== Music credit under intro video ===== */
.video-credit {
  margin: 22px auto 0;
  max-width: 1100px;
  text-align: center;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .01em;
}
.video-credit .credit-eyebrow {
  display: block;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-style: normal;
  font-family: var(--font-mono);
  margin-bottom: 6px;
  opacity: .85;
}
.video-credit a {
  display: inline-block;
  font-size: 32px;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity .2s ease, transform .2s ease;
}
.video-credit a:hover {
  opacity: .85;
  transform: translateY(-1px);
}
.video-credit .credit-handle {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--text-dim);
  font-style: italic;
  letter-spacing: .04em;
  font-family: var(--font-mono);
}

@media (max-width: 720px) {
  .video-credit a { font-size: 26px; }
  .video-credit .credit-eyebrow { font-size: 12px; }
  .video-credit .credit-handle { font-size: 13px; }
}

/* ========== GDPR cookie consent banner ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(11, 13, 20, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 40px rgba(0,0,0,.5);
  animation: cookieSlideUp .4s ease;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes cookieSlideDown {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}
.cookie-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.cookie-text h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.cookie-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 760px;
}
.cookie-text p a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(88,101,242,.4);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.cookie-text p a:hover {
  text-decoration-color: var(--accent);
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
  letter-spacing: .005em;
}
.cookie-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.cookie-btn.cookie-accept {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.cookie-btn.cookie-accept:hover {
  background: #4954d6;
  border-color: #4954d6;
  color: white;
}

@media (max-width: 880px) {
  .cookie-inner { grid-template-columns: 1fr; gap: 16px; padding: 18px 18px 20px; }
  .cookie-actions { width: 100%; gap: 8px; }
  .cookie-btn { flex: 1 1 0; padding: 12px 8px; font-size: 13px; }
}
@media (max-width: 480px) {
  .cookie-btn { font-size: 12px; padding: 11px 6px; }
}
