/* ============================================================
   FLEXFAM — Social Exchange Platform
   Design system: deep-space dark, iridescent gradients, glass UI
   Full responsive optimization for Mobile, Tablet, Laptop & Desktop
   ============================================================ */

:root {
  /* ---- Light "earn money" palette, TimeBucks-style ----
     Clean white/grey surfaces, one strong orange action colour, and
     dark slate text. The old neon tokens are kept as names so every
     existing rule keeps working, they just point at light values now. */
  --bg: #f4f6f9;
  --bg-2: #ffffff;
  --bg-3: #eef1f6;
  --ink: #1b2330;
  --ink-dim: #4a5568;
  --ink-mute: #626d80;
  --line: rgba(16, 27, 48, 0.1);
  --line-2: rgba(16, 27, 48, 0.17);
  --glass: #ffffff;
  --glass-2: #f7f9fc;
  --card: #ffffff;
  --card-2: #f7f9fc;
  --shadow: 0 1px 2px rgba(16, 27, 48, 0.06), 0 6px 18px rgba(16, 27, 48, 0.07);
  --shadow-lg: 0 2px 4px rgba(16, 27, 48, 0.06), 0 18px 44px rgba(16, 27, 48, 0.12);

  /* brand */
  --orange: #f7941d;
  --orange-2: #ff7a18;
  --orange-3: #ffb547;
  --orange-soft: #fff4e3;
  --violet: #f7941d;
  --fuchsia: #d97005;
  --pink: #ff7a18;
  --cyan: #0f7ea8;
  --blue: #2f6fed;
  --green: #0f7a48;
  --amber: #9a6410;
  --gold: #f7941d;
  --gold-2: #e07c0b;
  --gold-3: #b9660a;
  --danger: #e5484d;

  --grad: linear-gradient(100deg, #ff8a1f, #f7941d 55%, #ffa93d);
  --grad-cool: linear-gradient(100deg, #2f6fed, #1c9fd8 60%, #17b26a);
  --grad-gold: linear-gradient(135deg, #ffd08a 0%, #f7941d 45%, #e07c0b 100%);
  --grad-text: linear-gradient(100deg, #e06d00, #d97005 55%, #f0871a);
  --grad-text-cool: linear-gradient(100deg, #1554c7, #0f7ea8 60%, #0f7a48);
  --grad-rainbow: linear-gradient(100deg, #e5484d, #ff7a18, #f7941d, #17b26a, #1c9fd8, #2f6fed, #7c5cff);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --font-display: "Sora", "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --ff-youtube: #ff0000;
  --ff-instagram: #e1306c;
  --ff-x: #15202b;
  --ff-tiktok: #010101;
  --ff-facebook: #1877f2;
  --ff-telegram: #2aabee;
  --ff-twitch: #7c5cff;
  --ff-pinterest: #e60023;
  --ff-website: #17b26a;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* Ambient aurora background */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  transform: translateZ(0);
  contain: layout paint style;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  opacity: 1;
  will-change: auto;
  pointer-events: none;
}
.aurora span:nth-child(1) {
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  left: -10vw; top: -10vh;
  background: radial-gradient(circle, rgba(247, 148, 29, 0.14), rgba(247, 148, 29, 0.04) 45%, transparent 70%);
}
.aurora span:nth-child(2) {
  width: 45vw; height: 45vw;
  max-width: 550px; max-height: 550px;
  right: -8vw; top: 12vh;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.1), rgba(255, 122, 24, 0.03) 45%, transparent 70%);
}
.aurora span:nth-child(3) {
  width: 45vw; height: 45vw;
  max-width: 550px; max-height: 550px;
  left: 25vw; bottom: -20vh;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.08), rgba(47, 111, 237, 0.02) 45%, transparent 70%);
}

/* Floating crypto background — USDT & BTC coins */
.crypto-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.crypto-bg .coin {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  opacity: 0.10;
  box-shadow: 0 10px 30px rgba(16, 27, 48, 0.12);
  animation: coinFloat 16s ease-in-out infinite;
}
.crypto-bg .coin-usdt {
  background: linear-gradient(135deg, #26a17b, #4fd1a5);
}
.crypto-bg .coin-btc {
  background: linear-gradient(135deg, #f7931a, #ffb84d);
}
.crypto-bg .c1 { width: 120px; height: 120px; font-size: 60px; top: 12%; left: 6%; animation-delay: 0s; }
.crypto-bg .c2 { width: 90px;  height: 90px;  font-size: 46px; top: 24%; right: 9%; animation-delay: -3s; }
.crypto-bg .c3 { width: 70px;  height: 70px;  font-size: 36px; top: 58%; left: 12%; animation-delay: -6s; }
.crypto-bg .c4 { width: 140px; height: 140px; font-size: 70px; bottom: 10%; right: 6%; animation-delay: -9s; }
.crypto-bg .c5 { width: 60px;  height: 60px;  font-size: 30px; bottom: 22%; left: 44%; animation-delay: -12s; }
.crypto-bg .c6 { width: 100px; height: 100px; font-size: 52px; top: 46%; right: 40%; animation-delay: -7s; }
@keyframes coinFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-26px) rotate(8deg); }
}
@media (max-width: 720px) {
  .crypto-bg .coin { opacity: 0.07; }
  .crypto-bg .c3, .crypto-bg .c5, .crypto-bg .c6 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .crypto-bg .coin { animation: none; }
}

/* USDT / BTC chip icons */
.float-chip .ic-usdt {
  background: linear-gradient(135deg, #26a17b, #4fd1a5);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.float-chip .ic-btc {
  background: linear-gradient(135deg, #f7931a, #ffb84d);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

::selection {
  background: rgba(247, 148, 29, 0.28);
  color: var(--ink);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #e9edf3; }
::-webkit-scrollbar-thumb {
  background: #c2cad8;
  border-radius: 99px;
  border: 2px solid #e9edf3;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ============ typography ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 7px 15px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  background: var(--card);
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.grad-text-cool {
  background: var(--grad-text-cool);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 4.5vw, 50px);
  margin: 16px 0 12px;
  font-weight: 800;
}
.section-head p {
  color: var(--ink-dim);
  font-size: 16.5px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============ buttons ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 14px;
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 1px 2px rgba(16, 27, 48, 0.08);
}
.btn-primary:hover {
  background: var(--orange-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(247, 148, 29, 0.35);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  background: var(--orange-soft);
  border-color: var(--orange);
  color: #b9660a;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
  border-radius: 11px;
}
.btn-lg {
  padding: 16px 34px;
  font-size: 16px;
  border-radius: 16px;
}
.btn-block { width: 100%; }
.btn[disabled], button[disabled] {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

/* ============ header ============ */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
  background: #fff;
  border-bottom: 1px solid transparent;
}
.site-head .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  transition: padding 0.3s;
}
.site-head.scrolled {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 12px rgba(16, 27, 48, 0.08);
}
.site-head.scrolled .bar {
  padding: 12px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo svg {
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.logo b {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dim);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--glass-2);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  color: var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  z-index: 105;
}
.burger i {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.burger.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 96px 24px 40px;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  max-height: 100vh;
  transition: opacity 0.3s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(20px, 5.5vw, 26px);
  font-weight: 700;
  padding: 10px 20px;
  color: var(--ink-dim);
  transition: color 0.2s, transform 0.2s;
  text-align: center;
  width: 100%;
  max-width: 320px;
  border-radius: 14px;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--ink);
  background: var(--glass-2);
}
.mobile-nav .btn {
  margin-top: 12px;
  font-size: 16px;
  padding: 14px 28px;
}

/* ============ hero ============ */
.hero {
  position: relative;
  padding: 160px 0 30px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  margin: 20px 0 18px;
  letter-spacing: -0.03em;
}
.hero .sub {
  color: var(--ink-dim);
  font-size: 16.5px;
  max-width: 540px;
  margin-bottom: 30px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -9px;
  background: var(--grad-cool);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #0b0714;
}
.avatars span:first-child { margin-left: 0; }
.hero-proof p { font-size: 13.5px; color: var(--ink-dim); }
.hero-proof p b { color: var(--ink); }

/* hero visual */
.hero-visual {
  position: relative;
  width: 100%;
}
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
  z-index: 2;
}
.hero-card .hc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.hc-top .hc-user { display: flex; align-items: center; gap: 12px; }
.hc-top .hc-user .av {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.hc-top h4 { font-size: 15.5px; }
.hc-top p { font-size: 12px; color: var(--ink-mute); }

.credit-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid #f6d3a0;
  background: var(--orange-soft);
  color: #b9660a;
  font-weight: 800;
  font-size: 13.5px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(16, 27, 48, 0.1);
}
.credit-chip svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
}
.credit-chip [data-credits] { color: #8a4c06; }

.mini-feed { display: flex; flex-direction: column; gap: 10px; }
.mini-feed .mf-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--card-2);
  border: 1px solid var(--line);
}
.mf-row .pf {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mf-row .pf svg { width: 18px; height: 18px; }
.mf-row .grow { flex: 1; min-width: 0; }
.mf-row h5 {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mf-row p { font-size: 11.5px; color: var(--ink-mute); }
.mf-row .pay {
  font-weight: 800;
  font-size: 12.5px;
  color: var(--gold-3);
  background: linear-gradient(135deg, rgba(255, 243, 176, 0.18), rgba(245, 162, 35, 0.12));
  border: 1px solid rgba(255, 209, 102, 0.35);
  padding: 5px 10px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 15px;
  border: 1px solid var(--line-2);
  background: rgba(12, 9, 22, 0.88);
  box-shadow: 0 8px 18px rgba(16, 27, 48, 0.10);
  font-size: 12.5px;
  font-weight: 700;
}
.float-chip .ic {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.float-chip .ic svg { width: 16px; height: 16px; }
.float-chip small { display: block; color: var(--ink-mute); font-weight: 600; font-size: 11px; }
.fc-1 { top: -20px; right: 16px; }
.fc-2 { bottom: -18px; left: -10px; }

.orbit {
  position: absolute;
  inset: -30px;
  z-index: 1;
  pointer-events: none;
}
.orbit i {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 15px;
  border: 1px solid var(--line-2);
  background: rgba(12, 9, 22, 0.9);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 15px rgba(16, 27, 48, 0.10);
}
.orbit i svg { width: 22px; height: 22px; }
.orbit i:nth-child(1) { top: -10px; left: 45%; }
.orbit i:nth-child(2) { top: 40%; right: -16px; }
.orbit i:nth-child(3) { bottom: -10px; left: 20%; }
.orbit i:nth-child(4) { top: 30%; left: -20px; }

/* marquee */
.marquee-wrap {
  margin-top: 70px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}
.marquee-wrap:hover .marquee {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.m-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.m-item:hover {
  transform: translateY(-2px);
  background: var(--glass-2);
  border-color: var(--line-2);
}
.m-item .m-ico {
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  color: var(--pf, var(--cyan));
}
.m-item .m-ico svg { width: 20px; height: 20px; }

/* ============ stats band ============ */
.stats-band { padding: 80px 0 10px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: none !important;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
}
.stats-grid .stat-card:nth-child(1) .num { color: #6d3fd4; }
.stats-grid .stat-card:nth-child(2) .num { color: #0f7ea8; }
.stats-grid .stat-card:nth-child(3) .num { color: #0f7a48; }
.stats-grid .stat-card:nth-child(4) .num { color: #b97309; }
.stat-card .lbl {
  color: var(--ink-dim);
  font-size: 13.5px;
  margin-top: 6px;
  line-height: 1.4;
}

/* ============ platform grid ============ */
.platforms { padding: 100px 0 20px; }
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pf-card {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s;
}
.pf-card:hover {
  transform: translateY(-2px);
  border-color: var(--pf, var(--violet));
  box-shadow: 0 10px 22px rgba(16, 27, 48, 0.10);
}
.pf-card .ico {
  width: 50px; height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: color-mix(in srgb, var(--pf, var(--orange)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--pf, var(--orange)) 35%, transparent);
  color: var(--pf, var(--orange));
}
.pf-card .ico svg { width: 24px; height: 24px; }
.pf-card h3 { font-size: 18px; margin-bottom: 6px; }
.pf-card p { font-size: 13.5px; color: var(--ink-dim); line-height: 1.55; }
.pf-card .tag {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 99px;
  border: 1px solid transparent;
}

/* ============ how it works ============ */
.how { padding: 100px 0 30px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.how-card {
  position: relative;
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--glass-2), transparent);
  overflow: hidden;
}
.how-card .step-num {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, rgba(16,27,48,0.14), rgba(16,27,48,0.02));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.how-card h3 { font-size: 19px; margin-bottom: 8px; }
.how-card p { color: var(--ink-dim); font-size: 14px; line-height: 1.6; }

/* ============ feature split ============ */
.split { padding: 90px 0; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-grid.flip > .split-media { order: -1; }
.split h2 { font-size: clamp(28px, 3.8vw, 44px); margin: 16px 0 14px; font-weight: 800; }
.split p.lead { color: var(--ink-dim); font-size: 16px; margin-bottom: 24px; line-height: 1.6; }
.tick-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 28px;
}
.tick-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink);
}
.tick-list .tk {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 8px;
  background: rgba(52, 229, 165, 0.12);
  border: 1px solid rgba(52, 229, 165, 0.35);
  display: grid;
  place-items: center;
  color: var(--green);
  margin-top: 1px;
}
.tick-list .tk svg { width: 13px; height: 13px; }
.tick-list b { font-weight: 700; }
.tick-list span { color: var(--ink-dim); display: block; font-size: 13px; margin-top: 2px; }

.split-media { position: relative; width: 100%; }
.split-media .frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--card);
  box-shadow: 0 15px 40px rgba(16, 27, 48, 0.14);
  padding: 22px;
}
.glow-behind {
  position: absolute;
  inset: 5% 5%;
  z-index: -1;
  background: radial-gradient(ellipse, rgba(154, 91, 244, 0.2), rgba(224, 72, 159, 0.08) 45%, transparent 70%);
  opacity: 0.7;
  border-radius: 50%;
  pointer-events: none;
}

/* ============ testimonials ============ */
.testi { padding: 90px 0; overflow: hidden; }
.testi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.t-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, border-color 0.3s;
}
.t-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}
.t-card p {
  font-size: 14px;
  color: var(--ink-dim);
  margin-bottom: 20px;
  line-height: 1.6;
}
.t-user { display: flex; align-items: center; gap: 12px; }
.t-user .av {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.t-user h5 { font-size: 14px; }
.t-user span { font-size: 12px; color: var(--ink-mute); }

/* ============ pricing ============ */
.pricing { padding: 90px 0; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--glass);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}
.price-card:hover { transform: translateY(-2px); }
.price-card.featured {
  border: 1px solid rgba(224, 72, 159, 0.45);
  background: linear-gradient(170deg, rgba(124, 58, 237, 0.12), rgba(224, 72, 159, 0.08) 50%, rgba(10, 8, 18, 0.95));
  box-shadow: var(--shadow-lg);
}
.price-card .plan {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  margin: 12px 0 4px;
  line-height: 1.1;
}
.price-card .amount small { font-size: 14px; color: var(--ink-mute); font-weight: 600; }
.price-card .desc { color: var(--ink-dim); font-size: 13.5px; margin-bottom: 22px; }
.price-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.price-card ul li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-dim); }
.price-card ul li svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }
.popular-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  box-shadow: 0 4px 14px rgba(247, 148, 29, 0.35);
  white-space: nowrap;
}

/* ============ CTA ============ */
.cta { padding: 50px 0 100px; }
.cta-box {
  position: relative;
  text-align: center;
  padding: 80px 30px;
  border-radius: 36px;
  border: 1px solid var(--line-2);
  background: linear-gradient(170deg, rgba(124, 58, 237, 0.14), rgba(224, 72, 159, 0.06) 50%, rgba(34, 211, 238, 0.06));
  overflow: hidden;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(30px, 4.5vw, 52px); margin-bottom: 14px; font-weight: 800; }
.cta-box p { color: var(--ink-dim); font-size: 16px; max-width: 520px; margin: 0 auto 30px; line-height: 1.6; }

/* ============ footer ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  background: #fff;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.foot-grid p.about { color: var(--ink-mute); font-size: 13.5px; margin-top: 14px; max-width: 300px; line-height: 1.6; }
.foot-grid h5 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-grid ul a { color: var(--ink-mute); font-size: 13.5px; transition: color 0.2s, transform 0.2s; display: inline-block; }
.foot-grid ul a:hover { color: var(--ink); transform: translateX(3px); }
.foot-grid ul a.sup { display: inline-flex; align-items: center; gap: 8px; }
.foot-grid ul a.sup svg { width: 16px; height: 16px; flex-shrink: 0; }
.foot-grid ul a.sup em { font-style: normal; font-weight: 700; color: var(--ink); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 13px;
  flex-wrap: wrap;
}
.socials { display: flex; gap: 9px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--glass);
  display: grid;
  place-items: center;
  color: var(--ink-dim);
  transition: color 0.2s, transform 0.2s, border-color 0.2s;
}
.socials a:hover { color: var(--ink); transform: translateY(-2px); border-color: var(--line-2); }
.socials svg { width: 16px; height: 16px; }

/* ============================================================
   APP PAGES (earn / add / dashboard / auth / admin)
   ============================================================ */
.app-body { min-height: 100vh; display: flex; flex-direction: column; }
.app-main { flex: 1; padding: 110px 0 60px; }
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.page-head h1 { font-size: clamp(26px, 3.6vw, 38px); margin-top: 10px; font-weight: 800; }
.page-head p.sub { color: var(--ink-dim); margin-top: 4px; font-size: 14.5px; }

/* side nav */
.app-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 26px;
  align-items: start;
}
.side-nav {
  position: sticky;
  top: 90px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dim);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.side-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.side-nav a:hover { color: var(--ink); background: var(--glass-2); }
.side-nav a.active {
  color: var(--ink);
  background: linear-gradient(100deg, rgba(124, 58, 237, 0.22), rgba(224, 72, 159, 0.14));
  border: 1px solid rgba(124, 58, 237, 0.4);
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  padding: 24px;
}

/* filter chips */
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink-dim);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s, transform 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.chip svg { width: 14px; height: 14px; flex-shrink: 0; }
.chip:hover { color: var(--ink); transform: translateY(-2px); }
.chip.active {
  color: var(--ink);
  border-color: var(--pf, var(--violet));
  background: color-mix(in srgb, var(--pf, var(--orange)) 16%, transparent);
}

/* earn task list */
.task-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.task-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--glass-2), var(--glass));
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s, border-color 0.25s;
  overflow: hidden;
}
.task-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--pf, var(--orange)) 45%, transparent); }
.task-card.done { opacity: 0.55; }
.task-top { display: flex; align-items: center; gap: 12px; }
.task-top .pf-badge {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--pf, var(--orange)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--pf, var(--orange)) 35%, transparent);
  color: var(--pf, #fff);
}
.task-top .pf-badge svg { width: 22px; height: 22px; }
.task-top h4 { font-size: 15px; }
.task-top p { font-size: 12px; color: var(--ink-mute); }
.task-top .pay-bubble {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}
.pay-bubble b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold-3);
}
.pay-bubble span { font-size: 10.5px; color: var(--ink-mute); letter-spacing: 0.06em; text-transform: uppercase; }
.task-card .task-action { display: flex; align-items: center; gap: 8px; }
.task-card .btn { flex: 1; }
.done-tag {
  position: absolute;
  top: 14px; right: -34px;
  transform: rotate(38deg);
  background: rgba(52, 229, 165, 0.9);
  color: #04140c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 38px;
  text-transform: uppercase;
}
.hint { font-size: 11.5px; color: var(--ink-mute); display: flex; align-items: center; gap: 5px; }
.hint svg { width: 13px; height: 13px; flex-shrink: 0; }

.quick-earn { margin-bottom: 16px; }
.panel-sub { color: var(--ink-mute); font-size: 13px; margin-top: 3px; line-height: 1.45; }
.bonus-head { align-items: flex-start; }
.bonus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bonus-card {
  min-height: 190px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--pf, var(--orange)) 28%, var(--line));
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--pf, var(--orange)) 18%, transparent), transparent 42%),
    var(--card);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.bonus-card.done { opacity: 0.6; }
.bonus-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--pf, var(--violet));
  background: color-mix(in srgb, var(--pf, var(--orange)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--pf, var(--orange)) 34%, transparent);
  flex-shrink: 0;
}
.bonus-ico svg { width: 20px; height: 20px; }
.bonus-card h4 { font-size: 14.5px; margin-bottom: 2px; }
.bonus-card p { color: var(--ink-dim); font-size: 12px; line-height: 1.4; }
.bonus-meta { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.bonus-meta b { font-family: var(--font-display); color: var(--gold-3); font-size: 20px; line-height: 1; }
.bonus-meta span { color: var(--ink-mute); font-size: 11px; text-align: right; }
.bonus-card .btn { width: 100%; }

.mode-list { display: flex; flex-direction: column; gap: 8px; }
.mode-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card-2);
  transition: border-color 0.2s, background 0.2s;
}
.mode-row:hover {
  background: var(--glass-2);
  border-color: var(--line-2);
}
.mode-row .mode-ico {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--pf, var(--green));
  background: color-mix(in srgb, var(--pf, var(--green)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--pf, var(--green)) 35%, transparent);
}
.mode-row svg { width: 17px; height: 17px; }
.mode-row h5 { font-size: 13.5px; color: var(--ink); }
.mode-row p { font-size: 12px; color: var(--ink-mute); line-height: 1.35; }
.mode-row b { margin-left: auto; color: var(--gold-3); font-family: var(--font-display); white-space: nowrap; font-size: 15px; }

.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--ink-mute);
}
.empty-state .big-ico {
  width: 68px; height: 68px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-mute);
}
.empty-state h3 { color: var(--ink); margin-bottom: 6px; font-size: 18px; }
.empty-state p { font-size: 14px; color: var(--ink-dim); max-width: 440px; margin: 0 auto; }

/* dashboard stats */
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.dash-stat {
  padding: 22px 18px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--c, #f7941d) 26%, var(--line));
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--c, #f7941d) 12%, transparent), transparent 44%),
    var(--card);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dash-stat::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--c, var(--orange));
  opacity: 1;
}
.dash-stat .ds-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--c, #f7941d) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--c, #f7941d) 34%, transparent);
  color: var(--c, #b9660a);
}
.dash-stat .ds-ico svg { width: 19px; height: 19px; }
.dash-stat .ds-num {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: none !important;
  color: var(--c, var(--orange));
  -webkit-text-fill-color: currentColor;
}
.dash-stat .ds-lbl { color: var(--ink-dim); font-size: 12.5px; font-weight: 600; margin-top: 4px; }

.dash-cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; align-items: start; }
.dash-cols .panel + .panel { margin-top: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.panel-head h3 { font-size: 16.5px; font-weight: 700; }
.panel-head a { font-size: 13px; font-weight: 700; color: var(--fuchsia); }

/* campaign table */
.camp-rows { display: flex; flex-direction: column; gap: 9px; }
.camp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: var(--card-2);
  transition: border-color 0.2s, background 0.2s;
}
.camp-row:hover { border-color: var(--line-2); background: var(--glass-2); }
.camp-row .cr-pf {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--pf, var(--orange)) 14%, transparent);
  color: var(--pf, #fff);
}
.camp-row .cr-pf svg { width: 18px; height: 18px; }
.camp-row .cr-info { flex: 1; min-width: 0; }
.camp-row .cr-info h5 { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.camp-row .cr-info p { font-size: 11.5px; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.camp-row .cr-meta { text-align: right; font-size: 12px; color: var(--ink-mute); flex-shrink: 0; }
.camp-row .cr-meta b { display: block; color: var(--ink); font-size: 13.5px; }
.icon-btn {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink-dim);
  display: grid;
  place-items: center;
  transition: transform 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.icon-btn:hover { color: var(--ink); transform: translateY(-2px); border-color: var(--line-2); }
.icon-btn.danger:hover { color: var(--danger); border-color: rgba(255, 93, 110, 0.5); }
.icon-btn svg { width: 15px; height: 15px; }
.status-pill {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  flex-shrink: 0;
}
.status-pill.on { color: #0f7a48; background: #e6f7ef; border: 1px solid #a9e3c7; }
.status-pill.off { color: #9a6410; background: var(--orange-soft); border: 1px solid #f6d3a0; }

/* activity */
.act-list { display: flex; flex-direction: column; gap: 4px; }
.act-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  transition: background 0.2s;
}
.act-row:hover { background: var(--card-2); }
.act-row .a-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(52, 229, 165, 0.1);
  color: var(--green);
}
.act-row .a-ico.a-minus { background: rgba(255, 93, 110, 0.1); color: var(--danger); }
.act-row .a-ico svg { width: 15px; height: 15px; }
.act-row p { flex: 1; font-size: 13px; min-width: 0; line-height: 1.35; }
.act-row p small { display: block; color: var(--ink-mute); font-size: 11.5px; margin-top: 1px; }
.act-row .a-amount { font-weight: 800; font-size: 13.5px; flex-shrink: 0; }
.a-amount.plus { color: var(--green); }
.a-amount.minus { color: var(--danger); }

/* mini bar chart */
.mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding-top: 14px; }
.mini-chart .mcol { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.mini-chart .mbar {
  width: 100%;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--orange-3), var(--orange));
  min-height: 6px;
  transition: height 0.4s ease, filter 0.2s;
  position: relative;
}
.mini-chart .mbar:hover { filter: brightness(1.25); }
.mini-chart span { font-size: 10.5px; color: var(--ink-mute); }

/* referral */
.ref-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border-radius: 13px;
  border: 1px dashed var(--line-2);
  background: var(--card-2);
  margin-top: 14px;
}
.ref-box code {
  flex: 1;
  font-size: 12.5px;
  color: var(--ink-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* forms */
.form-card {
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--card);
  padding: 34px;
  box-shadow: 0 15px 40px rgba(16, 27, 48, 0.14);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  color: var(--ink-dim);
}
.field .control { position: relative; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.18);
  background: #fff;
}
.field .control .pick-caret {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--ink-mute);
  display: flex;
}

/* platform picker */
.pf-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pf-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--ink-dim);
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s, color 0.2s, border-color 0.2s, background 0.2s;
}
.pf-pick svg { width: 22px; height: 22px; }
.pf-pick:hover { transform: translateY(-2px); border-color: var(--line-2); color: var(--ink); }
.pf-pick.selected {
  color: var(--pf, var(--violet));
  border-color: var(--pf, var(--violet));
  background: color-mix(in srgb, var(--pf, var(--orange)) 12%, transparent);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--pf, var(--orange)) 20%, transparent);
}
.pf-pick .check-dot {
  position: absolute;
  top: 7px; right: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--pf, var(--violet));
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pf-pick.selected .check-dot { opacity: 1; transform: scale(1); }
.check-dot svg { width: 9px; height: 9px; }

/* range slider */
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row output {
  min-width: 86px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-3);
  border: 1px solid rgba(255, 209, 102, 0.45);
  background: linear-gradient(135deg, rgba(255, 243, 176, 0.16), rgba(245, 162, 35, 0.1));
  border-radius: 12px;
  padding: 8px 6px;
}
input[type="range"] {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg,
    var(--violet) 0%,
    var(--fuchsia) var(--range-progress, 16%),
    #dde3ec var(--range-progress, 16%),
    #dde3ec 100%);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--fuchsia);
  box-shadow: 0 2px 6px rgba(16, 27, 48, 0.2);
  transition: transform 0.15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--fuchsia);
  box-shadow: 0 2px 6px rgba(16, 27, 48, 0.2);
}

.est-box {
  border-radius: 15px;
  border: 1px solid var(--line);
  background: var(--card-2);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.est-box .est { text-align: center; }
.est-box .est b { display: block; font-family: var(--font-display); font-size: 20px; }
.est-box .est span { font-size: 11px; color: var(--ink-mute); letter-spacing: 0.05em; text-transform: uppercase; }

.form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-mute);
  padding: 13px 15px;
  border-radius: 13px;
  background: rgba(255, 209, 102, 0.06);
  border: 1px solid rgba(255, 209, 102, 0.25);
  margin-bottom: 22px;
}
.form-note svg { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; margin-top: 2px; }

/* auth */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 100px 20px 50px;
}
.auth-card {
  width: min(440px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--card);
  padding: 36px 32px;
  box-shadow: 0 15px 40px rgba(16, 27, 48, 0.14);
}
.auth-card .logo { margin-bottom: 24px; justify-content: center; }
.auth-card h1 { font-size: 26px; text-align: center; margin-bottom: 6px; font-weight: 800; }
.auth-card p.sub { text-align: center; color: var(--ink-mute); font-size: 14px; margin-bottom: 26px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--ink-mute); }
.auth-alt a { color: var(--fuchsia); font-weight: 700; }
.auth-security {
  margin-top: 14px;
  padding: 9px 12px;
  border: 1px solid rgba(52, 229, 165, 0.22);
  border-radius: 12px;
  background: rgba(52, 229, 165, 0.055);
  color: #a7f6d6;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--ink-mute);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* modal — keep task forms visually consistent with the light app surface. */
body.modal-open { overflow: hidden; }
.modal-veil {
  position: fixed;
  inset: 0;
  /* Above the support chip (250); notifications intentionally stay above it. */
  z-index: 300;
  background: rgba(27, 35, 48, 0.46);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-veil.open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(470px, 100%);
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
  color: var(--ink);
  padding: 30px 26px;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 58px rgba(16, 27, 48, 0.26);
  position: relative;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 24px 24px 0 0;
  background: var(--pf, var(--orange));
}
.modal-veil.open .modal { transform: translateY(0) scale(1); }
.modal .m-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink-dim);
  display: grid;
  place-items: center;
  transition: color 0.2s, background 0.2s;
}
.modal .m-close:hover { color: var(--ink); background: var(--glass-2); }
.modal-pos { position: relative; }
.modal .m-ico {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--pf, var(--orange)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--pf, var(--orange)) 35%, transparent);
  color: var(--pf, #fff);
}
.modal .m-ico svg { width: 28px; height: 28px; }
.modal h3 { font-size: 20px; margin-bottom: 6px; padding-right: 32px; font-weight: 800; }
.modal .m-sub { color: var(--ink-dim); font-size: 13.5px; margin-bottom: 20px; }
.modal .m-sub b { color: var(--ink); }
.m-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.m-steps div {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.45;
}
.m-steps .n {
  width: 24px; height: 24px;
  border-radius: 8px;
  background: var(--glass-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink);
  flex-shrink: 0;
  margin-top: 1px;
}
.progress-shell {
  height: 8px;
  border-radius: 99px;
  background: #eef1f6;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 20px;
}
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), #1c9fd8);
  transition: width 0.4s linear;
}

/* toasts */
.toast-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: #fff !important;
  color: #172033;
  box-shadow: 0 8px 20px rgba(16, 27, 48, 0.10);
  font-size: 13.5px;
  font-weight: 600;
  animation: toast-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 360px;
}
.toast.leaving { animation: toast-out 0.25s forwards; }
.toast span {
  color: #172033;
}
.toast .t-ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.toast .t-ic svg { width: 15px; height: 15px; }
.toast.ok .t-ic { background: rgba(52, 229, 165, 0.14); color: var(--green); }
.toast.err .t-ic { background: rgba(255, 93, 110, 0.14); color: var(--danger); }
.toast.info .t-ic { background: rgba(124, 58, 237, 0.16); color: #7c3aed; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(0.92); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(0.92); } }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* live ticker */
.live-ticker {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-radius: 13px;
  border: 1px solid rgba(52, 229, 165, 0.25);
  background: rgba(52, 229, 165, 0.05);
  font-size: 13px;
  margin-top: 24px;
  overflow: hidden;
}
.live-ticker .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);

  flex-shrink: 0;
}
#ticker-text {
  color: var(--ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease;
}
#ticker-text b { color: var(--green); }

/* utilities */
.text-dim { color: var(--ink-dim); }
.text-mute { color: var(--ink-mute); }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.flex { display: flex; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.center { align-items: center; } .between { justify-content: space-between; } .wrap { flex-wrap: wrap; }
.hidden { display: none !important; }

/* ============================================================
   RESPONSIVE MEDIA QUERIES (Mobile, Tablet, Laptop, Desktop)
   ============================================================ */

/* Laptop / Desktop (1025px - 1200px) */
@media (max-width: 1200px) {
  .hero-grid { gap: 32px; }
  .split-grid { gap: 40px; }
  .foot-grid { gap: 20px; }
}

/* Tablet / Small Laptop (1024px and down) */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .head-actions .btn:not(.always) { display: none; }
  .burger { display: flex; }

  .hero { padding: 130px 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 520px; margin: 20px auto 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .split-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-grid.flip > .split-media { order: 0; }
  .testi-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 22px; }

  .app-shell { grid-template-columns: 1fr; gap: 20px; }
  .side-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px;
    gap: 6px;
  }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav a { padding: 9px 13px; font-size: 13px; }

  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
  .task-list { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* Mobile Devices (768px and down) */
@media (max-width: 768px) {
  .container { width: min(1180px, calc(100% - 32px)); }
  .hero { padding: 110px 0 16px; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 44px); }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(26px, 7vw, 36px); }
  .platforms, .how, .split, .testi, .pricing { padding: 60px 0 20px; }
  .cta { padding: 40px 0 70px; }
  .cta-box { padding: 50px 20px; border-radius: 24px; }

  .app-main { padding: 90px 0 40px; }
  .panel { padding: 18px 16px; }
  .form-card { padding: 24px 18px; }
  .pf-picker { grid-template-columns: repeat(2, 1fr); }

  .testi-row { grid-template-columns: 1fr; }

  /* iOS input zoom prevention */
  .field input[type="text"],
  .field input[type="email"],
  .field input[type="password"],
  .field input[type="url"],
  .field select,
  .field textarea {
    font-size: 16px;
  }
}

/* Phones (560px and down) */
@media (max-width: 560px) {
  .site-head .bar { padding: 10px 0; }
  .logo { font-size: 19px; gap: 8px; }
  .logo svg { width: 28px; height: 28px; }
  .head-actions { gap: 6px; }
  .head-actions .credit-chip { padding: 7px 10px; font-size: 12.5px; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .hero-card { padding: 18px 14px; }
  .float-chip { display: none; }
  .orbit { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 18px 14px; }
  .stat-card .num { font-size: 26px; }
  .stat-card .lbl { font-size: 12px; }

  .pf-grid { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }

  .dash-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dash-stat { padding: 16px 13px; }
  .dash-stat .ds-num { font-size: 24px; }
  .dash-stat .ds-lbl { font-size: 11.5px; }

  .camp-row {
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 12px;
  }
  .camp-row .cr-info { flex: 1 1 calc(100% - 50px); }
  .camp-row .cr-meta { display: none; }

  .range-row { flex-direction: column; align-items: stretch; }
  .range-row output { width: 100%; }

  .est-box { grid-template-columns: 1fr 1fr; }
  .est-box .est:last-child { grid-column: span 2; }

  .toast-root { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; width: 100%; }

  .modal { padding: 24px 16px 18px; border-radius: 20px; }
}

/* Very compact phones (380px and down) */
@media (max-width: 380px) {
  .container { width: calc(100% - 20px); }
  .stats-grid, .dash-grid { grid-template-columns: 1fr; }
  .pf-picker { grid-template-columns: 1fr; }
  .est-box { grid-template-columns: 1fr; }
  .est-box .est:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   USDT WALLET + TASK MARKETPLACE
   ============================================================ */
.usdt-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 13.5px;
  color: #0f7a48; background: #e6f7ef;
  border: 1px solid #a9e3c7;
  text-decoration: none; white-space: nowrap;
}
.usdt-chip svg { width: 15px; height: 15px; }
.usdt-chip b { color: #0a5c36; }

/* balance hero */
.bal-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.bal-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: 22px;
  border: 1px solid var(--line-2);
  background: var(--card);
}
.bal-card.main {
  background: linear-gradient(140deg, rgba(52,229,165,.18), rgba(34,211,238,.08) 55%, rgba(124,58,237,.14));
  border-color: rgba(52,229,165,.35);
}
.bal-card .cap {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute); display: flex; align-items: center; gap: 7px;
}
.bal-card .cap svg { width: 14px; height: 14px; }
.bal-card .amt { font-family: var(--font-display); font-size: 34px; font-weight: 800; margin-top: 8px; letter-spacing: -.02em; }
.bal-card.main .amt { color: #0f7a48; }
.bal-card .amt small { font-size: 15px; color: var(--ink-dim); font-weight: 700; margin-left: 5px; }
.bal-card .note { font-size: 12.5px; color: var(--ink-mute); margin-top: 6px; }
.bal-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tab-btn {
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--card);
  color: var(--ink-dim); font-weight: 700; font-size: 13.5px; font-family: var(--font-body);
  transition: .2s;
}
.tab-btn:hover { color: var(--ink); border-color: var(--line-2); background: var(--orange-soft); }
.tab-btn.active { background: var(--orange); color: #fff; border-color: transparent; box-shadow: 0 2px 8px rgba(247,148,29,.3); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* data table */
.ff-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ff-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 13.5px; }
.ff-table th {
  text-align: left; padding: 11px 12px; color: var(--ink-mute);
  font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
.ff-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--ink-dim); vertical-align: middle; }
.ff-table tr:last-child td { border-bottom: none; }
.ff-table tbody tr:hover td { background: var(--card-2); }
.ff-table td b, .ff-table td strong { color: var(--ink); }
.ff-table .num { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.ff-table .pos { color: var(--green); }
.ff-table .neg { color: #b42318; }
.mono-cut { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
.badge.pending  { color: #9a6410; background: var(--orange-soft); border: 1px solid #f6d3a0; }
.badge.approved, .badge.completed, .badge.active { color: #0f7a48; background: #e6f7ef; border: 1px solid #a9e3c7; }
.badge.rejected, .badge.cancelled { color: #b42318; background: #fde9e7; border: 1px solid #f4bdb7; }
.badge.info { color: #175cd3; background: #e8f1fe; border: 1px solid #b4d0f8; }

.btn-ghost.danger { color: #b42318; border-color: #f4bdb7; }
.btn-ghost.danger:hover { background: rgba(255,93,110,.12); border-color: rgba(255,93,110,.55); }

/* network / address blocks */
.addr-box {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px;
  border-radius: 13px; border: 1px dashed var(--line-2); background: var(--card-2); margin-top: 10px;
}
.addr-box code { flex: 1; font-size: 12.5px; color: #0f7a48; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.net-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.net-pick {
  padding: 12px 8px; border-radius: 13px; cursor: pointer; text-align: center;
  border: 1px solid var(--line-2); background: var(--card);
  color: var(--ink-dim); font-size: 12.5px; font-weight: 700; transition: .18s;
}
.net-pick:hover { color: var(--ink); background: var(--orange-soft); }
.net-pick.on { border-color: var(--orange); color: #b9660a; background: var(--orange-soft); box-shadow: 0 0 0 3px rgba(247,148,29,.15); }

.summary-rows { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.summary-rows .row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; color: var(--ink-dim); }
.summary-rows .row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.summary-rows .row.total { border-top: 1px dashed var(--line-2); margin-top: 8px; padding-top: 12px; font-size: 15px; }
.summary-rows .row.total b { color: #0f7a48; font-size: 17px; }

/* job cards */
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.job-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: var(--card);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.job-card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; height: 3px; width: 100%;
  background: var(--pf, var(--violet)); opacity: .65; border-radius: var(--radius) var(--radius) 0 0;
}
.job-card:hover { transform: translateY(-2px); border-color: var(--pf, var(--line-2)); box-shadow: 0 11px 25px rgba(16, 27, 48, 0.14); }
.job-card .j-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.job-card h4 { font-size: 15.5px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.job-card .j-cat { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--pf, var(--violet)); margin-bottom: 5px; display: block; }
.job-card .j-pay {
  flex-shrink: 0; text-align: center; padding: 8px 12px; border-radius: 12px;
  background: rgba(52,229,165,.12); border: 1px solid rgba(52,229,165,.28);
}
.job-card .j-pay b { display: block; font-size: 17px; color: #0f7a48; font-family: var(--font-display); }
.job-card .j-pay span { font-size: 10.5px; color: var(--ink-mute); font-weight: 700; letter-spacing: .05em; }
.job-card p.j-desc { font-size: 13.2px; color: var(--ink-dim); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job-card .j-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; color: var(--ink-mute); }
.job-card .j-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-card .j-meta svg { width: 13px; height: 13px; }
.slot-bar { height: 5px; border-radius: 999px; background: var(--orange-soft); overflow: hidden; }
.slot-bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad); }
.job-card .j-foot { display: flex; gap: 9px; margin-top: auto; }
.job-card .j-foot .btn { flex: 1; }

.fee-hint {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 15px; border-radius: 13px; font-size: 12.8px; line-height: 1.55;
  background: rgba(34,211,238,.06); border: 1px solid rgba(34,211,238,.22); color: var(--ink-dim);
}
.fee-hint svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--cyan); margin-top: 1px; }
.fee-hint.warn { background: rgba(255,209,102,.06); border-color: rgba(255,209,102,.22); }
.fee-hint.warn svg { color: var(--amber); }

.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.mini-stat { padding: 16px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--card); }
.mini-stat b { display: block; font-family: var(--font-display); font-size: 23px; font-weight: 800; color: var(--ink); }
.mini-stat span { font-size: 11.5px; color: var(--ink-mute); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.empty-mini { text-align: center; padding: 44px 18px; color: var(--ink-mute); font-size: 14px; }
.empty-mini b { display: block; color: var(--ink-dim); font-size: 15.5px; margin-bottom: 5px; }

@media (max-width: 1024px) {
  .bal-grid { grid-template-columns: 1fr 1fr; }
  .bal-card.main { grid-column: 1 / -1; }
  .mini-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bal-grid { grid-template-columns: 1fr; }
  .net-picker { grid-template-columns: repeat(2, 1fr); }
  .job-grid { grid-template-columns: 1fr; }
  .bal-card .amt { font-size: 28px; }
  .bal-actions .btn { flex: 1; }
}

/* ---- deposit QR + risk warnings ---- */
.warn-banner {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 18px; border-radius: 16px; margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(255,93,110,.12), rgba(255,209,102,.07));
  border: 1px solid rgba(255,93,110,.32);
}
.warn-banner > svg { width: 21px; height: 21px; flex-shrink: 0; color: #b42318; margin-top: 1px; }
.warn-banner b { display: block; color: #912018; font-size: 14.5px; margin-bottom: 8px; }
.warn-banner ul { margin: 0; padding-left: 17px; }
.warn-banner li { font-size: 13px; line-height: 1.65; color: var(--ink-dim); margin-bottom: 4px; }
.warn-banner li b { display: inline; color: #912018; font-size: inherit; }

.qr-block {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  padding: 22px; border-radius: 18px; margin-bottom: 12px;
  border: 1px solid var(--line-2); background: var(--card);
}
.qr-shell { background: #fff; padding: 12px; border-radius: 16px; line-height: 0; border: 1px solid var(--line); box-shadow: var(--shadow); }
.qr-shell img { display: block; width: 200px; height: 200px; image-rendering: pixelated; }
.qr-side { min-width: 0; }
.qr-net {
  display: inline-block; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
  font-size: 12px; font-weight: 800; color: #9a6410;
  background: rgba(240,185,11,.12); border: 1px solid rgba(240,185,11,.35);
}
.qr-lbl { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.qr-addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14.5px; line-height: 1.5; color: #0f7a48; word-break: break-all;
  margin-bottom: 14px; font-weight: 600;
}
.qr-warn { margin-top: 12px; font-size: 12px; font-weight: 700; color: #b42318; letter-spacing: .03em; }

@media (max-width: 680px) {
  .qr-block { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .qr-side { text-align: center; }
  .qr-shell img { width: 168px; height: 168px; }
  .qr-addr { font-size: 13px; }
}

/* =========================================================
   CLOUD MINING
   ========================================================= */
.rig-hero {
  display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: center;
  padding: 24px; border-radius: var(--radius); margin-bottom: 18px;
  border: 1px solid var(--line-2);
  background: radial-gradient(120% 140% at 0% 0%, rgba(124,58,237,.18), transparent 60%),
              var(--card);
}
.rig-core { display: flex; justify-content: center; }
.rig-ring { position: relative; width: 236px; height: 236px; display: grid; place-items: center; }
.rig-ring span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #e4e9f0; border-top-color: var(--orange);
}
.rig-ring span:nth-child(2) { inset: 18px; border-top-color: rgba(224,72,159,.5); }
.rig-ring span:nth-child(3) { inset: 36px; border-top-color: rgba(52,229,165,.5); }
.rig-core.on .rig-ring span { animation: rig-spin 5.5s linear infinite; }
.rig-core.on .rig-ring span:nth-child(2) { animation-duration: 3.8s; animation-direction: reverse; }
.rig-core.on .rig-ring span:nth-child(3) { animation-duration: 2.6s; }
@keyframes rig-spin { to { transform: rotate(360deg); } }
.rig-core-in { text-align: center; padding: 0 20px; }
.rig-core-in .cap { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-mute); }
.rig-core-in b { display: block; font-family: var(--font-display); font-size: 27px; font-weight: 800; margin: 6px 0 4px; color: #6d3fd4; }
.rig-core-in small { font-size: 11.5px; color: var(--ink-mute); }
.rig-core.on .rig-core-in small { color: var(--green); }

.rig-info .cap { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-mute); }
.rig-amt { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: #0f7a48; letter-spacing: -.02em; margin: 4px 0 16px; font-variant-numeric: tabular-nums; }
.rig-amt small { font-size: 15px; color: var(--ink-dim); font-weight: 700; }
.rig-ticks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.rig-ticks div { padding: 11px 12px; border-radius: 13px; background: var(--card-2); border: 1px solid var(--line); }
.rig-ticks b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.rig-ticks span { font-size: 10.5px; color: var(--ink-mute); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.rig-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rig-note { font-size: 12.5px; color: var(--ink-mute); margin-top: 12px; }

/* plan cards */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.plan-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: var(--card);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.plan-card:hover { transform: translateY(-2px); border-color: var(--pf, var(--line-2)); box-shadow: 0 11px 25px rgba(16, 27, 48, 0.14); }
.plan-card.featured { border-color: color-mix(in srgb, var(--pf, var(--orange)) 55%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf, var(--orange)) 12%, transparent); }
.plan-card .p-tag {
  align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; color: var(--pf, var(--violet));
  background: color-mix(in srgb, var(--pf, var(--orange)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--pf, var(--orange)) 35%, transparent);
}
.plan-card h4 { font-size: 17px; font-weight: 800; }
.plan-card .p-hash { font-family: var(--font-display); font-size: 25px; font-weight: 800; color: var(--pf, var(--ink)); letter-spacing: -.02em; }
.plan-card .p-price { display: flex; align-items: baseline; gap: 8px; }
.plan-card .p-price b { font-family: var(--font-display); font-size: 21px; color: #0f7a48; }
.plan-card .p-price span { font-size: 12px; color: var(--ink-mute); font-weight: 700; }
.plan-card .p-perks { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.plan-card .p-perks li { position: relative; padding-left: 17px; font-size: 12.8px; color: var(--ink-dim); line-height: 1.45; }
.plan-card .p-perks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--pf, var(--violet)); }
.plan-card .p-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-card .p-stats b { display: block; font-size: 13.5px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-card .p-stats span { font-size: 10.5px; color: var(--ink-mute); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plan-card .btn { margin-top: auto; }

/* my rigs */
.rig-list { display: flex; flex-direction: column; gap: 10px; }
.rig-row {
  display: flex; align-items: center; gap: 14px; padding: 15px 16px;
  border-radius: 15px; border: 1px solid var(--line); background: var(--card-2);
}
.rig-row.live { border-color: rgba(52,229,165,.32); background: rgba(52,229,165,.05); }
.rig-row .rr-ic {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center;
  background: rgba(124,58,237,.14); color: #c4a7ff; border: 1px solid rgba(124,58,237,.3);
}
.rig-row.live .rr-ic { background: rgba(52,229,165,.13); color: #7ff0c3; border-color: rgba(52,229,165,.32); }
.rig-row .rr-ic svg { width: 21px; height: 21px; }
.rig-row .rr-main { flex: 1; min-width: 0; }
.rig-row h5 { font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.rig-row p { font-size: 12px; color: var(--ink-mute); margin: 4px 0 8px; }
.rig-row .rr-time { margin: 7px 0 0; font-size: 11.5px; }
.rig-row .rr-earn { text-align: right; flex-shrink: 0; }
.rig-row .rr-earn b { display: block; font-family: var(--font-display); font-size: 15.5px; color: #0f7a48; font-variant-numeric: tabular-nums; }
.rig-row .rr-earn span { font-size: 10.5px; color: var(--ink-mute); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

@media (max-width: 900px) {
  .rig-hero { grid-template-columns: 1fr; }
  .rig-ticks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .rig-amt { font-size: 32px; }
  .rig-ring { width: 200px; height: 200px; }
  .rig-actions .btn { flex: 1; }
  .rig-row { flex-wrap: wrap; }
}

.side-support { margin: 14px 12px 4px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: 12px; }
.side-support a { color: var(--violet); font-weight: 800; }
.app-shell, .app-main { min-width: 0; }

/* animated assets in the live mining rig */
.rig-core { position: relative; }
.rig-coins { position: absolute; inset: 8px; pointer-events: none; z-index: 2; }
.rig-coins .coin { position: absolute; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-weight: 900; font-size: 20px; box-shadow: 0 8px 18px rgba(16,27,48,.18); animation: coin-float 2.8s ease-in-out infinite; }
.coin-btc { top: 4px; left: 12px; color: #7b4600; background: linear-gradient(145deg,#ffd166,#f7931a); }
.coin-usdt { right: 8px; bottom: 8px; color: #075e49; background: linear-gradient(145deg,#9af5d0,#26a17b); animation-delay: -1.25s !important; }
@keyframes coin-float { 0%,100% { transform: translateY(0) rotate(-7deg); } 50% { transform: translateY(-9px) rotate(7deg); } }

.global-support { position: fixed; left: 16px; bottom: 16px; z-index: 250; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.94); color: var(--violet); box-shadow: 0 6px 18px rgba(16,27,48,.1); font-size: 11px; font-weight: 800; }
.global-support:hover { color: var(--pink); transform: translateY(-1px); }
@media (max-width: 560px) { .global-support { bottom: 12px; left: 12px; } }
