/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(92,143,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 80px;
  padding-bottom: 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(62,207,110,0.08);
  border: 1px solid rgba(62,207,110,0.25);
  color: var(--live);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: clamp(64px, 10vw, 110px);
  line-height: 1;
  letter-spacing: -4px;
  margin-bottom: 28px;
}

.hero-voice {
  font-weight: 300;
  font-style: italic;
  color: var(--text);
}

.hero-track {
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  flex-wrap: wrap;
  gap: 0;
}

.hstat {
  padding: 0 32px;
  text-align: center;
}

.hstat:first-child { padding-left: 0; }
.hstat:last-child { padding-right: 0; }

.hstat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1px;
  min-width: 80px;
}

.hstat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hstat-div {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ─── FEATURES ───────────────────────────────────────────────────────────── */
.features-section { padding-top: 80px; }

.features-label {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: rgba(92,143,255,0.1);
  padding: 4px 12px;
  border-radius: 4px;
}

.features-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 48px;
  color: var(--text);
}

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

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92,143,255,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.feat-card--accent {
  background: linear-gradient(135deg, rgba(92,143,255,0.1), rgba(123,94,167,0.1));
  border-color: rgba(92,143,255,0.2);
}

.feat-card--live {
  background: linear-gradient(135deg, rgba(62,207,110,0.06), transparent);
}

.feat-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feat-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feat-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}

/* ─── STATUS ─────────────────────────────────────────────────────────────── */
.status-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--text-dim);
}

.status-indicator.online {
  background: var(--live);
  box-shadow: 0 0 0 4px var(--live-glow);
  animation: pulse-dot 2s infinite;
}

.status-indicator.offline {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.3);
}

.status-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.status-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 400;
}

.status-metrics {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.smetric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.smetric span:first-child {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.smetric span:last-child {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ─── CTA ────────────────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  position: relative;
  padding-bottom: 120px;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(92,143,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 16px;
  position: relative;
}

.cta-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 400;
  position: relative;
}

/* ─── LEADERBOARD ────────────────────────────────────────────────────────── */
.lb-section { max-width: 800px; }

.lb-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.lb-sub {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 36px;
}

.lb-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  background: var(--surface);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--border);
  width: fit-content;
}

.lb-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}

.lb-tab:hover { color: var(--text); background: var(--surface2); }

.lb-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.lb-loading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 60px;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}

.lb-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--surface2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.lb-empty {
  text-align: center;
  padding: 60px;
  color: var(--text-muted);
  font-size: 15px;
}

.lb-list-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 0.35s ease both;
}

.lb-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: all 0.2s;
}

.lb-row:hover {
  border-color: rgba(92,143,255,0.25);
  transform: translateX(4px);
  background: var(--surface2);
}

.lb-row--top {
  border-color: rgba(92,143,255,0.2);
}

.lb-row--top:nth-child(1) { border-color: rgba(255,215,0,0.25); }
.lb-row--top:nth-child(2) { border-color: rgba(192,192,192,0.25); }
.lb-row--top:nth-child(3) { border-color: rgba(205,127,50,0.25); }

.lb-rank {
  font-size: 20px;
  width: 36px;
  text-align: center;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--text-muted);
}

.lb-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.lb-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 700;
}

.lb-info { flex: 1; min-width: 0; }

.lb-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 500;
}

.lb-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lb-time {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

/* ─── ADD BOT ────────────────────────────────────────────────────────────── */
.addbot-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height));
  position: relative;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.addbot-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(92,143,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.addbot-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.addbot-icon {
  font-size: 64px;
  margin-bottom: 24px;
  display: block;
}

.addbot-title {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.voice-light {
  font-weight: 300;
  font-style: italic;
}

.track-bold {
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
}

.addbot-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
}

.addbot-sub strong {
  color: var(--text);
  font-weight: 700;
}

.addbot-perms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.perm-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.addbot-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
}

/* ─── LEGAL ──────────────────────────────────────────────────────────────── */
.legal-section { max-width: 720px; }

.legal-header {
  margin-bottom: 48px;
}

.legal-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.legal-header h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
}

.legal-body {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
}

.legal-body p { margin-bottom: 20px; }

.legal-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 14px;
  letter-spacing: -0.3px;
}

.legal-body ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-body ul li {
  margin-bottom: 8px;
}

.legal-body strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-title { letter-spacing: -2px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; padding: 20px; }
  .hstat-div { width: 48px; height: 1px; }
  .hstat { padding: 0; }
  .status-card { flex-direction: column; align-items: flex-start; }
  .smetric { align-items: flex-start; }
  .lb-tabs { width: 100%; }
  .lb-tab { flex: 1; text-align: center; padding: 9px 10px; font-size: 13px; }
  .addbot-title { font-size: 36px; }
  .cta-title { font-size: 32px; }
  .features-title { font-size: 32px; }
}
