/* ========================= */
/* COLOR SYSTEM (Dark‑Lite)  */
/* ========================= */
:root {
  --bg: #0b0c10;
  --bg-lite: #14161c;
  --text: #e2e2e5;
  --accent: #3fc1ff;
  --accent-soft: rgba(63,193,255,0.18);
  --border: rgba(255,255,255,0.06);
  --card: #17191f;
  --highlight: #7df0ff;
}

/* ========================= */
/* GLOBAL                    */
/* ========================= */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ========================= */
/* HERO                      */
/* ========================= */
.channel-hero {
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--border);
}

.channel-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.channel-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

.channel-title {
  font-size: 34px;
  margin: 20px 0 16px;
  line-height: 1.2;
}

.channel-title span {
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 700;
}

.channel-sub {
  max-width: 780px;
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.channel-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  color: #000;
  font-weight: 700;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

/* ========================= */
/* SECTIONS                  */
/* ========================= */
.channel-section {
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

.section-text {
  max-width: 760px;
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  background: var(--bg-lite);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.columns h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}

.columns p {
  font-size: 14px;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .columns {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* CHARTS                    */
/* ========================= */
.chart-box {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
}

.chart-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  color: var(--accent);
}

.chart-placeholder {
  height: 180px;
  background: var(--bg-lite);
  border: 1px dashed var(--accent-soft);
  border-radius: 8px;
}

/* ========================= */
/* HELP PANEL (scroll+close) */
/* ========================= */
.help-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent);
  color: #000;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  z-index: 999;
}

.help-panel-overlay {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100%;
  background: var(--bg-lite);
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 20px rgba(0,0,0,0.4);
  transition: right 0.35s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.help-panel-content {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.help-title {
  font-size: 22px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.help-section {
  background: var(--card);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.help-heading {
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.help-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-link {
  display: block;
  padding: 6px 0;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}

.help-close {
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  margin: 20px;
  flex-shrink: 0;
}

/* ========================= */
/* POPUP WIZARD              */
/* ========================= */
.wizard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10,12,16,0.85);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.wizard-box {
  background: var(--bg-lite);
  border: 1px solid var(--border);
  padding: 30px;
  width: 90%;
  max-width: 520px;
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.wizard-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 28px;
  cursor: pointer;
}

.wizard-title {
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

.wizard-section {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.wizard-heading {
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wizard-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wizard-link {
  display: block;
  padding: 6px 0;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}
