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

:root {
  --bg: #0a0c12;
  --bg2: #0f1218;
  --bg3: #141720;
  --border: #1e2330;
  --amber: #00e676;
  --amber-dim: #00602f;
  --text: #e2e8f0;
  --muted: #64748b;
  --green: #22d3ee;
  --red: #f87171;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); line-height: 1.6; }

/* ── TICKER ── */
.ticker-bar {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  height: 36px;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 100;
}
.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 11px;
  gap: 40px;
  padding: 0 20px;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; }
.ticker-sym { color: var(--amber); font-weight: 600; }
.ticker-price { color: var(--text); }
.ticker-up { color: #4ade80; }
.ticker-down { color: var(--red); }
.ticker-loading { color: var(--muted); padding: 0 20px; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 36px;
  z-index: 99;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 12, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 80px; width: auto; display: block; }
.footer-logo-img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--amber) !important;
  color: #000 !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 13px !important;
}
.nav-cta:hover { background: #00ff8c !important; }

/* ── HERO ── */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,230,118,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; position: relative; }
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; line-height: 1.15; margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-accent { color: var(--amber); }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-mono); font-size: 28px; font-weight: 700; color: var(--amber); }
.stat-label { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary { background: var(--amber); color: #000; font-weight: 700; }
.btn-primary:hover { background: #00ff8c; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--amber); color: var(--amber); }
.btn-large { padding: 18px 40px; font-size: 17px; }

/* ── SECTIONS ── */
.section { padding: 100px 24px; }
.section-alt { background: var(--bg2); }
.section-discord {
  background: linear-gradient(135deg, var(--bg3) 0%, #0d1020 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 560px; margin-bottom: 48px; line-height: 1.7; }
.section-discord .section-sub { margin: 0 auto 40px; }
.section-cta { margin-top: 40px; }

/* ── DASHBOARD EMBED ── */
.dashboard-frame-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.dashboard-toolbar {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toolbar-dot { width: 12px; height: 12px; border-radius: 50%; }
.toolbar-dot.red { background: #ff5f57; }
.toolbar-dot.yellow { background: #febc2e; }
.toolbar-dot.green { background: #28c840; }
.toolbar-url { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-left: 12px; flex: 1; }
.toolbar-open { font-family: var(--font-mono); font-size: 11px; color: var(--amber); text-decoration: none; }
.toolbar-open:hover { color: #fbbf24; }
.dashboard-iframe { width: 100%; height: 700px; border: none; display: block; background: #0a0c12; }
.dashboard-offline {
  display: none;
  padding: 80px 24px;
  text-align: center;
  background: var(--bg3);
}
.offline-icon { font-size: 48px; margin-bottom: 16px; }
.offline-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.offline-sub { color: var(--muted); font-size: 15px; }
.offline-sub a { color: var(--amber); }

/* ── VIDEO GRID ── */
.video-grid, .podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 16px;
}
.video-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}
.video-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.video-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg2); display: block; }
.video-info { padding: 16px; }
.video-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.video-skeleton {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 220px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── PODCAST PLATFORMS ── */
.podcast-platforms { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.platform-badge {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.platform-badge:hover { border-color: var(--amber); color: var(--amber); }

/* ── DISCORD NOTE ── */
.discord-note { font-size: 12px; color: var(--muted); margin-top: 16px; }

/* ── FOOTER ── */
.footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-family: var(--font-mono); font-weight: 700; font-size: 18px; color: var(--amber); }
.footer-logo span { color: var(--text); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: var(--muted); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }
.footer-copy { color: var(--muted); font-size: 13px; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .dashboard-iframe { height: 500px; }
}
