:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #ec4899;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;

  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --border-color: #e5e7eb;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --border-color: #334155;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: var(--transition);
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Disclaimer Banner */
.disclaimer-banner {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-bottom: 2px solid #f59e0b;
  padding: 1rem 0;
  z-index: 1001;
  animation: slideDown 0.3s ease-out;
}

[data-theme="dark"] .disclaimer-banner {
  background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
  border-bottom-color: #f59e0b;
}

.disclaimer-banner .container {
  padding: 0 2rem;
}

.disclaimer-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.disclaimer-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.disclaimer-text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #92400e;
}

[data-theme="dark"] .disclaimer-text {
  color: #fef3c7;
}

.disclaimer-text strong {
  font-weight: 600;
  color: #78350f;
}

[data-theme="dark"] .disclaimer-text strong {
  color: #fde68a;
}

.disclaimer-text p {
  margin: 0.5rem 0 0 0;
}

.disclaimer-text p:first-of-type {
  margin-top: 0.25rem;
}

.disclaimer-text a {
  color: #d97706;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.disclaimer-text a:hover {
  color: #b45309;
  text-decoration: underline;
}

[data-theme="dark"] .disclaimer-text a {
  color: #fbbf24;
}

[data-theme="dark"] .disclaimer-text a:hover {
  color: #fcd34d;
}

.disclaimer-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92400e;
  transition: all 0.2s ease;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: -0.25rem;
}

.disclaimer-close:hover {
  background: rgba(146, 64, 14, 0.1);
  color: #78350f;
  transform: scale(1.1);
}

.disclaimer-close:active {
  transform: scale(0.95);
}

.disclaimer-close:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

[data-theme="dark"] .disclaimer-close {
  color: #fef3c7;
}

[data-theme="dark"] .disclaimer-close:hover {
  background: rgba(254, 243, 199, 0.1);
  color: #fde68a;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design for Disclaimer */
@media (max-width: 768px) {
  .disclaimer-banner .container {
    padding: 0 1rem;
  }

  .disclaimer-content {
    gap: 0.75rem;
  }

  .disclaimer-icon {
    font-size: 1.25rem;
  }

  .disclaimer-text {
    font-size: 0.8125rem;
  }

  .disclaimer-close {
    padding: 0.375rem;
    margin-top: -0.125rem;
  }

  .disclaimer-text p {
    margin: 0.375rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .disclaimer-banner {
    padding: 0.875rem 0;
  }

  .disclaimer-content {
    gap: 0.5rem;
  }

  .disclaimer-icon {
    font-size: 1.125rem;
  }

  .disclaimer-text {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .disclaimer-close {
    padding: 0.25rem;
  }

  .disclaimer-close svg {
    width: 18px;
    height: 18px;
  }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.8);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1;
}

.nav-brand .logo {
  width: 120px;
  height: 40px;
  object-fit: contain;
}

.version-badge {
  background: var(--bg-tertiary);
  color: var(--primary-color);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

[data-theme="dark"] .version-badge {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
}

.version-badge:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

.theme-toggle {
  background: var(--bg-tertiary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--primary-color);
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.search-trigger:hover {
  background: var(--bg-secondary);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.search-trigger svg {
  flex-shrink: 0;
}

.search-hint {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.search-hint kbd {
  padding: 0.15rem 0.4rem;
  font-size: 0.7rem;
  min-width: auto;
}

.github-link {
  display: flex;
  align-items: center;
  color: var(--text-primary);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1100;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: flex !important;
  /* Keep flex to allow transitions */
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 1099;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle,
      rgba(99, 102, 241, 0.15) 0%,
      transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow-effect {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
      rgba(255, 215, 0, 0.3) 0%,
      transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.hero-image img {
  position: relative;
  z-index: 1;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      var(--primary-color),
      var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Quick Start Section */
.quick-start {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

.code-example {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.code-tabs {
  display: flex;
  gap: 0;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  scrollbar-width: none;
  /* Hide scrollbar for cleaner look */
  -ms-overflow-style: none;
}

.code-tabs::-webkit-scrollbar {
  display: none;
}

.code-tabs button {
  flex: 1;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  /* Prevent text wrapping */
  min-width: 120px;
  /* Ensure buttons have minimum width on small screens */
}

.code-tabs button.active {
  color: var(--primary-color);
  background: var(--bg-secondary);
}

.code-tabs button.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
}

.code-content {
  padding: 0;
}

.code-content pre {
  margin: 0;
  padding: 2rem;
  background: #1e293b !important;
  overflow-x: auto;
}

.code-content code {
  font-family: "Fira Code", "Consolas", monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Contributors Section */
.contributors {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.contributors-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contributors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contributor-card {
  background: var(--bg-primary);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.contributor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      var(--primary-color),
      var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.contributor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.contributor-card:hover::before {
  transform: scaleX(1);
}

.contributor-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--border-color);
  transition: var(--transition);
  object-fit: cover;
  flex-shrink: 0;
}

.contributor-card:hover .contributor-avatar {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.contributor-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}

.contributor-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.2;
}

.contributor-login {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contributor-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

.contributor-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stat-icon {
  font-size: 0.9rem;
}

.stat-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.github-link-card {
  background: linear-gradient(135deg,
      rgba(99, 102, 241, 0.1),
      rgba(236, 72, 153, 0.1));
  border: 2px dashed var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.github-link-card:hover {
  background: linear-gradient(135deg,
      rgba(99, 102, 241, 0.2),
      rgba(236, 72, 153, 0.2));
  border-color: var(--primary-color);
}

.view-all-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-secondary);
  width: 100%;
}

.view-all-link svg {
  opacity: 0.6;
  transition: var(--transition);
}

.github-link-card:hover .view-all-link svg {
  opacity: 1;
  color: var(--primary-color);
  transform: scale(1.1);
}

.view-all-text {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Issues Section */
.issues-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.issues-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.issues-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.issue-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.issue-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  transform: scaleY(0);
  transition: var(--transition);
}

.issue-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.issue-card:hover::before {
  transform: scaleY(1);
}

.issue-card.is-pull-request {
  border-left: 4px solid var(--secondary-color);
}

.issue-card.is-pull-request::before {
  background: var(--secondary-color);
}

.issue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.issue-state {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.issue-state.state-open {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.issue-state.state-closed {
  background: rgba(107, 114, 128, 0.1);
  color: var(--text-secondary);
}

.issue-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.issue-number {
  font-weight: 600;
  color: var(--text-secondary);
}

.issue-date {
  color: var(--text-tertiary);
}

.issue-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.issue-card:hover .issue-title {
  color: var(--primary-color);
}

.issue-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.issue-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.issue-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.issue-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.issue-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.issue-comments {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.issue-pr-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.5rem;
  background: var(--secondary-color);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.issue-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.issue-label {
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid;
}

.issues-empty {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 500px;
  margin: 0 auto 3rem;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.empty-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.empty-subtext {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.issues-footer {
  text-align: center;
  margin-top: 3rem;
}

.view-all-issues {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.view-all-issues:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Skeleton loading for issues */
.issues-list .skeleton-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.issues-list .skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  flex-shrink: 0;
  animation: pulse 1.5s ease-in-out infinite;
}

.issues-list .skeleton-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.issues-list .skeleton-text {
  height: 1rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  animation: pulse 1.5s ease-in-out infinite;
}

.issues-list .skeleton-text.title {
  width: 70%;
  height: 1.25rem;
}

.issues-list .skeleton-text.body {
  width: 100%;
}

.issues-list .skeleton-text.meta {
  width: 40%;
  height: 0.875rem;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Skeleton Loader */
.skeleton-card {
  pointer-events: none;
}

.skeleton-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.skeleton-text {
  height: 1rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.skeleton-text.name {
  width: 140px;
}

.skeleton-text.bio {
  width: 200px;
  height: 2.5rem;
}

.skeleton-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

.skeleton-text.stat {
  width: 60px;
  height: 1rem;
}

.skeleton-avatar::after,
.skeleton-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.05),
      transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Documentation Page */
.doc-page {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

.doc-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
}

.doc-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
}

.sidebar-search {
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.doc-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-section h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 0.75rem;
}

.nav-section a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-section a:hover {
  background: var(--bg-primary);
  color: var(--primary-color);
}

.nav-section a.active {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

.doc-content {
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  min-height: 600px;
}

.doc-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.doc-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.doc-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.doc-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.doc-content pre {
  background: #1e293b;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: 1.5rem 0;
}

.doc-content code {
  font-family: "Fira Code", "Consolas", monospace;
  font-size: 0.9rem;
}

.doc-content :not(pre)>code {
  background: var(--bg-tertiary);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--primary-color);
}

.doc-content ul,
.doc-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
  color: var(--text-secondary);
}

.doc-content li {
  margin-bottom: 0.5rem;
}

.doc-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.doc-content a:hover {
  text-decoration: underline;
}

.doc-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.doc-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

.doc-content th,
.doc-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

.doc-content th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}

/* Sidebar Toggle & Overlay */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2001;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-toggle:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.sidebar-toggle.active {
  background: var(--danger-color);
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1999;
  animation: fadeIn 0.3s ease;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-section p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-section a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--text-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Responsive section moved to end */

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page {
  animation: fadeIn 0.5s ease-out;
}

/* Command Palette */
.command-palette {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  animation: fadeIn 0.2s ease-out;
}

.command-palette-content {
  width: 100%;
  max-width: 640px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  overflow: hidden;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.command-palette-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.search-icon {
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.command-palette-input {
  flex: 1;
  border: none;
  background: none;
  font-size: 1.125rem;
  color: var(--text-primary);
  outline: none;
  font-family: inherit;
}

.command-palette-input::placeholder {
  color: var(--text-tertiary);
}

.command-palette-shortcuts {
  display: flex;
  gap: 0.5rem;
}

kbd {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-family: "Fira Code", "Consolas", monospace;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  min-width: 1.5rem;
  text-align: center;
}

.command-palette-body {
  max-height: 400px;
  overflow-y: auto;
}

.command-palette-results {
  padding: 0.5rem;
}

.search-result {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0.25rem;
}

.search-result:hover,
.search-result.selected {
  background: var(--bg-secondary);
}

.search-result.selected {
  border-left: 3px solid var(--primary-color);
  padding-left: calc(1rem - 3px);
}

.result-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.result-snippet {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-palette-footer {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.footer-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer-hint kbd {
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
}

.command-palette-empty {
  padding: 3rem 2rem;
  text-align: center;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.empty-hint {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

/* Command Palette Responsive */
@media (max-width: 768px) {
  .command-palette {
    padding-top: 5vh;
  }

  .command-palette-content {
    max-width: calc(100% - 2rem);
    margin: 0 1rem;
  }

  .command-palette-input {
    font-size: 1rem;
  }

  .command-palette-shortcuts {
    display: none;
  }
}

/* ==========================================================================
   FINAL RESPONSIVE OVERRIDES (Ensure maximum priority)
   ========================================================================== */

@media (max-width: 1200px) {
  .doc-layout {
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .doc-layout {
    display: block !important;
    /* Force block to prevent grid from reserving space */
  }

  aside.doc-sidebar {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    z-index: 9999 !important;
    /* Extremely high z-index to be above everything */
    border-radius: 0 !important;
    border-right: 1px solid var(--border-color) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3) !important;
    background: var(--bg-primary) !important;
    padding: 2rem !important;
    overflow-y: auto !important;
    visibility: visible !important;
  }

  aside.doc-sidebar.open {
    transform: translateX(0) !important;
  }

  .sidebar-toggle {
    display: flex !important;
    z-index: 10000 !important;
    /* Above the sidebar itself */
  }

  .sidebar-overlay {
    display: block !important;
    z-index: 9998 !important;
  }

  .doc-content {
    padding: 1rem 0 !important;
    width: 100% !important;
    margin: 0 !important;
    border: none !important;
  }

  .doc-page .container {
    padding: 0 1.25rem !important;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .mobile-menu {
    /* Always managed by .open class now */
    z-index: 1099 !important;
  }

  .hero-content {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 2rem !important;
  }

  .hero-title {
    font-size: 2rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  .hero-buttons {
    justify-content: center !important;
    flex-direction: column !important;
  }

  .hero-buttons .btn {
    width: 100% !important;
  }

  .hero-image {
    order: -1 !important;
  }

  .hero-image img {
    max-width: 240px !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .sidebar-toggle span {
    display: none !important;
  }

  .sidebar-toggle {
    padding: 0.8rem !important;
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    width: 56px !important;
    height: 56px !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }
}