:root {
  --primary: #5865F2;
  --primary-dark: #4752C4;
  --bg-dark: #202225;
  --bg-darker: #1e1f22;
  --bg-card: #2f3136;
  --border: rgba(88, 101, 242, 0.15);
  --text-primary: #f2f3f5;
  --text-secondary: #b5bac1;
  --text-tertiary: #72767d;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Header */
.docs-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-darker), rgba(30,31,34,0.6));
}

.docs-header i {
  color: var(--primary);
  font-size: 1.6rem;
}

.docs-header h1 {
  font-size: 1.25rem;
  font-weight: 700;
}

.docs-header p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* Layout */
.docs-layout {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
}

/* Sidebar */
.docs-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  position: sticky;
  top: 1.5rem;
  height: fit-content;
}

.docs-sidebar h3 {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.docs-sidebar a {
  display: block;
  padding: 0.5rem 0.6rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
}

.docs-sidebar a:hover {
  background: rgba(88,101,242,0.15);
  color: var(--primary);
}

/* Content */
.docs-content article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.docs-content article + article {
  margin-top: 1.5rem;
}

.docs-content h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.docs-content p,
.docs-content li {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.docs-content ul {
  margin-left: 1.2rem;
}

.docs-content code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-darker);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: var(--primary);
  font-size: 0.85rem;
}

/* Footer */
.docs-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: relative;
    top: 0;
  }
}
