:root {
  --bg: #0b0e13;
  --bg-glow: #101624;
  --panel: #141a23;
  --panel-2: #181f2a;
  --text: #e6ebf2;
  --muted: #8d97a7;
  --accent: #4da3ff;
  --accent-2: #7c5cff;
  --border: #222b38;
  --pos: #62d98b;
  --neg: #ff7d7d;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- header ------------------------------------------------------------ */
header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 14, 19, .85);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
nav {
  max-width: 1060px; margin: 0 auto; padding: 12px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; color: var(--text);
}
.brand:hover { text-decoration: none; }
.mark { width: 30px; height: 30px; border-radius: 8px; display: block; }
.links a {
  margin-left: 6px; padding: 7px 12px; border-radius: 8px;
  color: var(--muted); font-weight: 500; font-size: .95rem;
}
.links a:hover { color: var(--text); background: var(--panel); text-decoration: none; }
.links a.active { color: var(--text); background: var(--panel-2); }

/* --- layout ------------------------------------------------------------ */
main { max-width: 1060px; margin: 0 auto; padding: 40px 20px; width: 100%; flex: 1; }
h1 { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; margin: 40px 0 16px; }
section p, main > p { color: var(--muted); margin-bottom: 12px; }
ul { margin: 0 0 12px 22px; color: var(--muted); }
li { margin-bottom: 8px; }
.muted { color: var(--muted); font-size: .9rem; }

/* --- hero ---------------------------------------------------------------- */
.hero {
  padding: 44px 0 20px;
  background:
    radial-gradient(600px 280px at 18% 0%, rgba(77, 163, 255, .13), transparent 70%),
    radial-gradient(520px 260px at 82% 10%, rgba(124, 92, 255, .10), transparent 70%);
}
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.1rem); line-height: 1.14; }
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.12rem; max-width: 640px; margin-top: 6px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 18px; }
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 10px;
  font-weight: 600; font-size: .98rem; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(90deg, #2f7fe0, var(--accent-2));
  color: #fff; box-shadow: 0 6px 22px rgba(77, 123, 255, .30);
}
.btn.ghost { border-color: var(--border); color: var(--text); background: var(--panel); }
.btn.patreon {
  background: #ff424d; color: #fff;
  box-shadow: 0 6px 22px rgba(255, 66, 77, .28);
}
.stat-strip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 30px; padding: 8px 16px; font-size: .9rem; color: var(--muted);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--pos);
  box-shadow: 0 0 0 0 rgba(98, 217, 139, .55); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(98, 217, 139, .55); }
  70% { box-shadow: 0 0 0 7px rgba(98, 217, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(98, 217, 139, 0); }
}

/* --- how it works -------------------------------------------------------- */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.how-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.how-card .step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px; margin-bottom: 10px;
  background: linear-gradient(135deg, #2f7fe0, var(--accent-2));
  color: #fff; font-weight: 700; font-size: .9rem;
}
.how-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.how-card p { font-size: .93rem; }

/* --- subscribe -------------------------------------------------------------- */
.subscribe-card {
  background: linear-gradient(135deg, rgba(47, 127, 224, .10), rgba(124, 92, 255, .08)),
              var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin-top: 34px;
}
.subscribe-card h2 { margin: 0 0 6px; }
.subscribe-card form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.subscribe-card input[type="email"] {
  flex: 1; min-width: 220px; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font: inherit;
}
.subscribe-card input[type="email"]:focus { outline: 2px solid var(--accent); border-color: transparent; }
.subscribe-card .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#sub-msg { margin-top: 10px; }

/* --- video cards ----------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; color: var(--text);
  transition: transform .13s ease, border-color .13s ease, box-shadow .13s ease;
}
.card:hover {
  transform: translateY(-3px); border-color: #2e3d52;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35); text-decoration: none;
}
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card-body { padding: 12px 14px; }
.card-body h3 { font-size: .97rem; line-height: 1.35; margin-bottom: 6px; }
.card-body time { color: var(--muted); font-size: .84rem; }
.empty {
  background: var(--panel); border: 1px dashed var(--border);
  border-radius: var(--radius); padding: 30px; text-align: center;
}
.more { display: inline-block; margin-top: 14px; font-weight: 600; }
.player { position: relative; aspect-ratio: 16/9; margin: 10px 0 16px; }
.player iframe { width: 100%; height: 100%; border-radius: var(--radius); border: 0; }

/* --- dashboard ------------------------------------------------------------ */
.dash-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge {
  background: rgba(98, 217, 139, .12); color: var(--pos);
  border: 1px solid rgba(98, 217, 139, .35);
  font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  padding: 4px 10px; border-radius: 20px;
}
.badge.live {
  background: rgba(255, 176, 66, .12); color: #ffb042;
  border-color: rgba(255, 176, 66, .4);
}
.mode-switch {
  display: inline-flex; gap: 2px; background: var(--panel);
  border: 1px solid var(--border); border-radius: 10px; padding: 3px;
}
.mode-switch a {
  padding: 4px 14px; border-radius: 7px; font-size: .82rem;
  font-weight: 600; color: var(--muted);
}
.mode-switch a:hover { text-decoration: none; color: var(--text); }
.mode-switch a.active { background: var(--panel-2); color: var(--text); }
.tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 14px; margin: 20px 0 10px;
}
.tile {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 15px 17px; display: flex; flex-direction: column; gap: 4px;
}
.tile-label { color: var(--muted); font-size: .78rem; font-weight: 500; letter-spacing: .02em; }
.tile-value {
  font-size: 1.38rem; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.pos { color: var(--pos); }
.neg { color: var(--neg); }
#equity-chart {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px; background: var(--panel);
}
.range-picker { float: right; font-size: .85rem; font-weight: 400; }
.range-picker a { margin-left: 12px; color: var(--muted); }
.range-picker a.active { color: var(--accent); font-weight: 700; }
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.sector-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.sector-card.soon { opacity: .5; border-style: dashed; }
.sector-card .big {
  font-size: 1.28rem; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.sector-card p { margin-bottom: 4px; }
.table-wrap {
  overflow-x: auto; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius);
}
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td {
  text-align: left; padding: 11px 15px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
td { font-variant-numeric: tabular-nums; }
th { color: var(--muted); font-weight: 600; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; }
tbody tr:hover { background: var(--panel-2); }
tbody tr:last-child td { border-bottom: none; }
.empty-row { padding: 18px; text-align: center; }

/* --- footer ------------------------------------------------------------- */
footer { border-top: 1px solid var(--border); background: var(--panel); margin-top: 40px; }
.footer-inner {
  max-width: 1060px; margin: 0 auto; padding: 26px 20px 8px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-brand p { max-width: 420px; margin-top: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--text); }
.disclaimer {
  max-width: 1060px; margin: 0 auto; padding: 10px 20px 22px;
  color: var(--muted); font-size: .78rem; opacity: .85;
}
