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

    :root {
      --bg-primary: #000000;
      --bg-secondary: #0a0a0a;
      --bg-card: #111111;
      --text-primary: #ffffff;
      --text-secondary: #a0a0a0;
      --accent: #ffffff;
      --border: #222222;
      --hover: #1a1a1a;
    }

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

    .top-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      z-index: 1000;
      padding: 1rem 2rem;
    }

    .nav-container {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 1.25rem;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .nav-brand .material-symbols-outlined {
      font-size: 1.5rem;
    }

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

    .nav-links a {
      color: var(--text-secondary);
      text-decoration: none;
      transition: color 0.3s;
      font-size: 0.95rem;
    }

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

    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      color: var(--text-primary);
      font-size: 1.5rem;
      cursor: pointer;
    }

    .hero {
      margin-top: 80px;
      padding: 4rem 2rem;
      text-align: center;
      background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
      position: relative;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }

    .hero-content {
      max-width: 900px;
      margin: 0 auto;
    }

    .hero h1 {
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 800;
      margin-bottom: 1rem;
      letter-spacing: -0.03em;
      background: linear-gradient(135deg, #ffffff 0%, #808080 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero p {
      font-size: 1.125rem;
      color: var(--text-secondary);
      margin-bottom: 2rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-badges {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1.25rem;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 50px;
      font-size: 0.875rem;
      color: var(--text-secondary);
    }

    .search-container {
      max-width: 600px;
      margin: 0 auto;
      position: relative;
    }

    .search-wrapper {
      display: flex;
      gap: 0.5rem;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0.75rem 1rem;
      transition: border-color 0.3s;
    }

    .search-wrapper:focus-within {
      border-color: var(--accent);
    }

    .search-wrapper .material-symbols-outlined {
      color: var(--text-secondary);
    }

    .search-wrapper input {
      flex: 1;
      background: none;
      border: none;
      color: var(--text-primary);
      font-size: 1rem;
      outline: none;
    }

    .search-wrapper input::placeholder {
      color: var(--text-secondary);
    }

    .search-btn {
      background: var(--text-primary);
      color: var(--bg-primary);
      border: none;
      padding: 0.5rem 1.5rem;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      transition: transform 0.2s;
    }

    .search-btn:hover {
      transform: scale(1.05);
    }

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

    .category-section {
      margin-bottom: 4rem;
    }

    .section-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 2rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--border);
    }

    .section-header i {
      font-size: 1.5rem;
    }

    .section-header h2 {
      font-size: 1.75rem;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .section-header .count {
      color: var(--text-secondary);
      font-size: 0.875rem;
      margin-left: auto;
    }

    .endpoints-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 450px), 1fr));
      gap: 1.5rem;
    }

    @media (min-width: 1200px) {
      .endpoints-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .endpoints-grid {
        grid-template-columns: 1fr;
      }
    }

    .endpoint-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 16px;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
      height: fit-content;
    }

    .endpoint-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .endpoint-card:hover {
      border-color: var(--accent);
    }

    .endpoint-card:hover::before {
      opacity: 1;
    }

    .endpoint-card.active {
      border-color: var(--accent);
    }

    .endpoint-card.active::before {
      opacity: 1;
    }

    .endpoint-card-header {
      padding: 1.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      user-select: none;
      transition: background 0.3s;
    }

    .endpoint-card-header:hover {
      background: var(--hover);
    }

    .endpoint-header-left {
      flex: 1;
      min-width: 0;
    }

    .endpoint-title {
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .endpoint-desc {
      color: var(--text-secondary);
      font-size: 0.875rem;
      line-height: 1.6;
      word-break: break-word;
    }

    .endpoint-chevron {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: 8px;
      transition: all 0.3s;
      flex-shrink: 0;
    }

    .endpoint-chevron .material-symbols-outlined {
      transition: transform 0.3s;
    }

    .endpoint-card.active .endpoint-chevron {
      background: var(--text-primary);
      border-color: var(--text-primary);
    }

    .endpoint-card.active .endpoint-chevron .material-symbols-outlined {
      transform: rotate(180deg);
      color: var(--bg-primary);
    }

    .endpoint-card-body {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .endpoint-card.active .endpoint-card-body {
      max-height: 2000px;
    }

    .endpoint-card-content {
      padding: 0 1.5rem 1.5rem;
      border-top: 1px solid var(--border);
    }

    .endpoint-section {
      margin-top: 1.5rem;
    }

    .endpoint-section-title {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-secondary);
      margin-bottom: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .endpoint-url {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      background: var(--bg-secondary);
      padding: 0.75rem 1rem;
      border-radius: 8px;
      font-family: 'Courier New', monospace;
      font-size: 0.875rem;
      border: 1px solid var(--border);
      flex-wrap: wrap;
    }

    .method-badge {
      padding: 0.25rem 0.75rem;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 700;
      background: var(--text-primary);
      color: var(--bg-primary);
      flex-shrink: 0;
    }

    .endpoint-url code {
      flex: 1;
      color: var(--text-secondary);
      overflow-x: auto;
      white-space: nowrap;
      min-width: 0;
      font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Courier New', monospace;
      font-size: 0.8125rem;
      line-height: 1.5;
    }

    .copy-btn {
      background: none;
      border: none;
      color: var(--text-secondary);
      cursor: pointer;
      padding: 0.25rem;
      display: flex;
      align-items: center;
      transition: color 0.3s;
      flex-shrink: 0;
    }

    .copy-btn:hover {
      color: var(--text-primary);
    }

    .endpoint-actions {
      display: flex;
      gap: 0.75rem;
      margin-top: 1.5rem;
    }

.code-block.request-preview {
  margin-top: 24px;
  padding: 14px;
  background: #0b0b0b;
  border: 1px solid #1f2937;
  border-radius: 14px;
  position: relative;
}

.request-preview-title {
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.request-body {
  background: #020617;
  color: #e5e7eb;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

.request-body::-webkit-scrollbar {
  height: 6px;
}
.request-body::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 6px;
}

.copy-btn.request-copy {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #020617;
  color: #cbd5f5;
  border: 1px solid #1e293b;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
}

.copy-btn.request-copy:hover {
  background: #020617;
  border-color: #475569;
  color: #ffffff;
}

.copy-btn.request-copy:active {
  transform: scale(0.95);
}

.copy-btn.request-copy .material-symbols-outlined {
  font-size: 20px;
}

@media (max-width: 640px) {
  .code-block.request-preview {
    padding: 12px;
  }

  .request-body {
    font-size: 12px;
    padding: 12px;
  }

  .copy-btn.request-copy {
    width: 100%;
    height: auto;
    margin-top: 10px;
    position: static;
    border-radius: 10px;
  }
}

    .action-btn {
      flex: 1;
      padding: 0.75rem;
      border: 1px solid var(--border);
      background: var(--bg-secondary);
      color: var(--text-primary);
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.875rem;
      font-weight: 600;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }

    .action-btn:hover {
      background: var(--hover);
      border-color: var(--accent);
    }

    .action-btn.primary {
      background: var(--text-primary);
      color: var(--bg-primary);
      border-color: var(--text-primary);
    }

    .action-btn.primary:hover {
      background: var(--text-secondary);
    }

    .action-btn .material-symbols-outlined {
      font-size: 1.125rem;
    }

    .param-form {
      margin-top: 1rem;
    }

    .param-input-group {
      margin-bottom: 1rem;
    }

    .param-input-group label {
      display: block;
      font-size: 0.8125rem;
      color: var(--text-primary);
      margin-bottom: 0.5rem;
      font-weight: 600;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    .param-input-group label span {
      color: var(--text-secondary);
      font-weight: 400;
      font-size: 0.8125rem;
    }

    .param-input-group input {
      width: 100%;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      color: var(--text-primary);
      padding: 0.875rem 1rem;
      border-radius: 8px;
      font-size: 0.875rem;
      transition: all 0.3s;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      box-sizing: border-box;
    }

    .param-input-group input:focus {
      outline: none;
      border-color: var(--accent);
      background: var(--bg-card);
    }

    .param-input-group input::placeholder {
      color: var(--text-secondary);
      opacity: 0.6;
      font-style: italic;
    }

    .execute-btn {
      width: 100%;
      padding: 0.875rem;
      background: var(--text-primary);
      color: var(--bg-primary);
      border: none;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 1rem;
    }

    .execute-btn:hover:not(:disabled) {
      background: var(--text-secondary);
      transform: translateY(-1px);
    }

    .execute-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .response-container {
      margin-top: 1.5rem;
      display: none;
    }

    .response-container.active {
      display: block;
    }

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

    .response-header h4 {
      font-size: 0.875rem;
      color: var(--text-secondary);
    }

    .status-badge {
      padding: 0.25rem 0.75rem;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 600;
    }

    .status-badge.success {
      background: rgba(34, 197, 94, 0.1);
      color: #22c55e;
      border: 1px solid rgba(34, 197, 94, 0.2);
    }

    .status-badge.error {
      background: rgba(239, 68, 68, 0.1);
      color: #ef4444;
      border: 1px solid rgba(239, 68, 68, 0.2);
    }

    .loading-spinner {
      display: inline-block;
      width: 14px;
      height: 14px;
      border: 2px solid var(--border);
      border-top-color: var(--text-primary);
      border-radius: 50%;
      animation: spin 0.6s linear infinite;
    }

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

    .footer {
      background: var(--bg-secondary);
      border-top: 1px solid var(--border);
      padding: 3rem 2rem 2rem;
      margin-top: 4rem;
    }

    .footer-container {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 3rem;
      margin-bottom: 2rem;
    }

    .footer-brand h3 {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 1.25rem;
      margin-bottom: 1rem;
    }

    .footer-brand p {
      color: var(--text-secondary);
      font-size: 0.9rem;
      line-height: 1.7;
    }

    .footer-nav {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .footer-nav a {
      color: var(--text-secondary);
      text-decoration: none;
      transition: color 0.3s;
      font-size: 0.9rem;
    }

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

    .footer-social {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .footer-social a {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 8px;
      color: var(--text-secondary);
      transition: all 0.3s;
      text-decoration: none;
    }

    .footer-social a:hover {
      background: var(--hover);
      color: var(--text-primary);
      border-color: var(--accent);
    }

    .footer-bottom {
      max-width: 1400px;
      margin: 0 auto;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
      text-align: center;
      color: var(--text-secondary);
      font-size: 0.875rem;
    }

    #alert-container {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 10000;
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-width: 400px;
    }
    
    .alert-card {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 18px 20px;
      background: var(--bg-card);
      border: 1.5px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      animation: slideInRight 0.3s ease;
      position: relative;
    }
    
    @keyframes slideInRight {
      from {
        transform: translateX(400px);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }
    
    .alert-icon {
      font-size: 28px;
      flex-shrink: 0;
    }
    
    .alert-content {
      flex: 1;
    }
    
    .alert-title {
      font-size: 15px;
      font-weight: 700;
      color: white;
      margin-bottom: 4px;
    }
    
    .alert-desc {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.5;
    }
    
    .alert-close {
      position: absolute;
      top: 8px;
      right: 8px;
      background: none;
      border: none;
      font-size: 24px;
      color: #999;
      cursor: pointer;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      transition: all 0.2s ease;
    }
    
    .alert-close:hover {
      background: #f5f5f5;
      color: #1a1a1a;
    }
    
    .alert-success {
      border-left: 5px solid white;
    }
    
    .alert-success .alert-icon {
      color: white;
    }
    
    .alert-error {
      border-left: 5px solid white;
    }
    
    .alert-error .alert-icon {
      color: white;
    }
    
    .alert-warning {
      border-left: 5px solid white;
    }
    
    .alert-warning .alert-icon {
      color: white;
    }
    
    .alert-info {
      border-left: 5px solid white;
    }
    
    .alert-info .alert-icon {
      color: white;
    }
    
    .alert-welcome {
      border-left: 5px solid white;
    }
    
    .alert-welcome .alert-icon {
      color: white;
    }
    
    @media (max-width: 768px) {
      #alert-container {
        top: 75px;
        right: 10px;
        left: 10px;
        max-width: none;
      }
    
      .alert-card {
        padding: 16px;
      }
    
      .alert-icon {
        font-size: 24px;
      }
    
      .alert-title {
        font-size: 14px;
      }
    
      .alert-desc {
        font-size: 12px;
      }
    }

    .modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(5px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 2000;
      padding: 2rem;
    }

    .modal.active {
      display: flex;
    }

    .modal-content {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 16px;
      max-width: 800px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      padding: 2rem;
      position: relative;
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--border);
    }

    .modal-header h3 {
      font-size: 1.5rem;
    }

    .close-modal {
      background: none;
      border: none;
      color: var(--text-secondary);
      cursor: pointer;
      font-size: 1.5rem;
      padding: 0.25rem;
      transition: color 0.3s;
    }

    .close-modal:hover {
      color: var(--text-primary);
    }

    .modal-section {
      margin-bottom: 1.5rem;
    }

    .modal-section h4 {
      font-size: 1rem;
      margin-bottom: 0.75rem;
      color: var(--text-secondary);
    }

    .param-list {
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 1rem;
    }

    .param-item {
      display: flex;
      gap: 1rem;
      padding: 0.75rem 0;
      border-bottom: 1px solid var(--border);
    }

    .param-item:last-child {
      border-bottom: none;
    }

    .param-name {
      font-family: 'Courier New', monospace;
      color: var(--text-primary);
      font-weight: 600;
      min-width: 120px;
    }

    .param-desc {
      color: var(--text-secondary);
      font-size: 0.875rem;
    }

    .code-block {
      background: #1e1e1e;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 0;
      overflow: hidden;
    }

    .code-block pre {
      margin: 0;
      padding: 1rem;
      font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Courier New', monospace;
      font-size: 0.8125rem;
      line-height: 1.6;
      overflow-x: auto;
    }

    .code-block pre code {
      font-family: inherit;
    }

    .code-block .token.property {
      color: #9cdcfe;
    }

    .code-block .token.string {
      color: #ce9178;
    }

    .code-block .token.number {
      color: #b5cea8;
    }

    .code-block .token.boolean {
      color: #569cd6;
    }

    .code-block .token.null {
      color: #569cd6;
    }

    .code-block .token.punctuation {
      color: #d4d4d4;
    }

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

      .mobile-menu-btn {
        display: block;
      }

      .footer-container {
        grid-template-columns: 1fr;
      }

      .hero {
        padding: 3rem 1rem;
      }

      .container {
        padding: 2rem 1rem;
      }

      .endpoint-card-header {
        padding: 1.25rem;
      }

      .endpoint-card-content {
        padding: 0 1.25rem 1.25rem;
      }

      .endpoint-section {
        margin-top: 1.25rem;
      }
    }

    @media (max-width: 640px) {
      .endpoint-actions {
        flex-direction: column;
      }

      .alert {
        right: 1rem;
        left: 1rem;
      }

      .endpoint-url {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
      }

      .endpoint-url code {
        width: 100%;
        overflow-x: auto;
        font-size: 0.75rem;
      }

      .hero h1 {
        font-size: 2rem;
      }

      .hero p {
        font-size: 1rem;
      }

      .hero-badges {
        gap: 0.5rem;
      }

      .badge {
        font-size: 0.8125rem;
        padding: 0.4rem 1rem;
      }

      .endpoint-title {
        font-size: 1rem;
      }

      .endpoint-desc {
        font-size: 0.8125rem;
      }

      .param-input-group input {
        font-size: 0.8125rem;
        padding: 0.75rem 0.875rem;
      }
    }

    @media (max-width: 480px) {
      .top-nav {
        padding: 0.875rem 1rem;
      }

      .nav-brand {
        font-size: 1.125rem;
      }

      .endpoint-card-header {
        padding: 1rem;
      }

      .endpoint-card-content {
        padding: 0 1rem 1rem;
      }

      .method-badge {
        font-size: 0.6875rem;
        padding: 0.2rem 0.6rem;
      }
    }
