/* Landing Page End */

.creators-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 24px;
}

.creator-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  text-decoration: none;
  width: 280px;
  max-width: 280px;
  color: inherit;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.creator-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.creator-info h3 {
  margin: 0;
  font-size: 1.1rem;
}

.creator-info p {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
  color: var(--text-secondary)
}

.creator-links a {
  margin-right: 0.5rem;
  color: var(--accent);
  font-size: 1.1rem;
}

/* 404 */
.error-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.15), transparent 60%), linear-gradient(180deg, #0a0a0c, #060608);
  color: #fff;
}

.error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.error-title {
  font-size: 1.75rem;
  margin-top: -1rem;
  opacity: 0.9;
}

.error-subtitle {
  max-width: 600px;
  margin: 1rem auto 2rem;
  color: #a1a1aa;
}

.error-subtitle code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2em 0.45em;
  border-radius: 6px;
  color: #93c5fd;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn i {
  margin-right: 0.4rem;
}

.btn-primary {
  background: #3b82f6;
  color: #fff !important;
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: #3b82f6;
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.error-referrer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #71717a;
}

.error-referrer span {
  color: #cbd5f5;
  word-break: break-all;
}

.category-hero {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.15), transparent 60%);
  color: #fff;
  margin: 0;
  overflow: hidden;
}

.category-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.category-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.category-hero .hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin: 0;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.category-hero .hero-subtitle {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: #a1a1aa;
}

.filter-switch-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.filter-switch {
  display: flex;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 4px;
  gap: 4px;
}

.filter-switch-item {
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: calc(var(--radius) - 2px);
  transition: all 0.2s ease;
}

.filter-switch-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.filter-switch-item.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px var(--accent),
    0 0 12px var(--accent-glow);
}

.documentation-index {
  padding-bottom: 1.5rem;
}

.doc-hero {
  margin: 3rem 0 2.5rem;
}

.doc-header {
  position: relative;
  min-height: 250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.doc-subtitle {
  max-width: 760px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
  opacity: 0.85;
}

.documentation-index h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.documentation-index p {
  line-height: 1.65;
  opacity: 0.9;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}

.doc-card {
  display: block;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.doc-card:hover {
  border-color: rgba(120, 180, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.doc-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0;
  padding-bottom: 12px;
}

.doc-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  color: var(--text-secondary);
  padding-bottom: 12px;
}

.doc-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #7ab8ff;
}

.doc-getting-started p strong {
  color: #9fd1ff;
}

code {
  display: inline-block;
  background-color: #1f1f23;
  color: #60a5fa;
  font-family: 'Fira Code', monospace;
  font-size: 0.875rem;
  padding: 2px 6px;
  border-radius: var(--radius);
  border: 1px solid #3b82f6;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 768px) {
  .doc-title {
    font-size: 2.2rem;
  }

  .doc-subtitle {
    font-size: 1rem;
  }
}

.doc-header {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
}

.doc-subtitle {
  max-width: 760px;
  margin: 1rem auto 2rem;
  font-size: 1.05rem;
  opacity: 0.85;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 24px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.meta-value {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 4px;
}

.bot-status-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
  justify-content: center;
}

.bot-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.bot-details p {
  margin: 0.25rem 0;
  color: var(--text-secondary)
}

.status-online {
  color: #3bff7f;
  font-weight: bold;
}

.status-offline {
  color: #ff3b3b;
  font-weight: bold;
}
