body {
  background-image: url(https://xz.illlt.com/ecy.php?type=ycy);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}
  .api-card {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }
  .api-card-cover {
    position: relative;
    width: 100%;
    height: 160px;
    background-image: url('https://xz.illlt.com/ecy.php?type=ycy');
    background-size: cover;
    background-position: center;
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .api-card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 100%);
    border-radius: inherit;
    mix-blend-mode: multiply;
  }
  .api-card-cover-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    z-index: 1;
  }
  .api-card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  }
  .api-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }
  .api-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .announcement-bar {
    background-color: #e9f5ff;
    border-left: 4px solid #4a69bd;
  }
  .api-search-box {
    border-radius: 50px;
    padding-left: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }
 .search-icon {
  position: absolute;
  z-index: 10;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}
  .glass-card {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
  }
  .overview-section {
    position: relative;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    background-image: url('https://xz.illlt.com/ecy.php?type=fj');
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }
  .overview-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.55), rgba(30, 64, 175, 0.35));
    z-index: 0;
  }
  .overview-section > * {
    position: relative;
    z-index: 1;
  }
  .endpoint-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px dashed #cbd5e1;
    color: #475569;
    background: #f8fafc;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
  }
  .api-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
  }
  .meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    border: 1px solid transparent;
    white-space: nowrap;
  }
  .meta-chip i { font-size: 14px; opacity: .9; }
  .meta-calls { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
  .meta-format { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
  .meta-price { background: #fce7f3; color: #be185d; border-color: #fbcfe8; }
  .meta-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
  }
  .meta-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid transparent;
  }
  .meta-badges .badge i { font-size: 14px; opacity: .9; }
  .badge-category {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
  }
  .badge-category i { color: #334155; }
  .bg-purple { background: #f3e8ff !important; color: #6b21a8 !important; border-color: #e9d5ff !important; }
  .api-actions .left-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 12px;
  }
.floating-sidebar-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
}

.offcanvas-start {
    width: 300px;
}

.search-box {
    border-bottom: 1px solid #dee2e6;
}

.sidebar-categories {
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.sidebar-category {
    border-bottom: 1px solid #f1f1f1;
}

.sidebar-category-header {
    padding: 12px 16px;
    background-color: #f8f9fa;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-category-header:hover {
    background-color: #e9ecef;
}

.sidebar-category-header i {
    transition: transform 0.3s;
}

.sidebar-category-header.collapsed i {
    transform: rotate(-90deg);
}

.sidebar-category-content {
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-category-content.show {
    max-height: 1000px;
}

.sidebar-api-item {
    padding: 10px 16px 10px 30px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.sidebar-api-item:hover {
    background-color: #f8f9fa;
    border-left-color: #4a69bd;
}

.sidebar-api-item.active {
    background-color: #e9f5ff;
    border-left-color: #4a69bd;
}

.sidebar-api-name {
    font-size: 14px;
    margin-bottom: 2px;
}

.sidebar-api-endpoint {
    font-size: 12px;
    color: #6c757d;
}

.no-sidebar-category {
    padding: 16px;
    color: #6c757d;
    text-align: center;
}
.pagination {
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.pagination .page-link {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #4a69bd;
    margin: 0 3px;
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    min-width: 42px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.pagination .page-link:hover:not(.disabled) {
    background: rgba(74, 105, 189, 0.15);
    border-color: #4a69bd;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(74, 105, 189, 0.25);
    color: #3d5aa3;
}
.pagination .page-link:active:not(.disabled) {
    transform: translateY(0) scale(0.98);
}
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #4a69bd 0%, #5a7acd 100%);
    border-color: #4a69bd;
    color: #fff;
    box-shadow: 0 4px 14px rgba(74, 105, 189, 0.4);
    font-weight: 600;
    transform: scale(1.1);
}
.pagination .page-item.active .page-link:hover {
    background: linear-gradient(135deg, #3d5aa3 0%, #4a69bd 100%);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 18px rgba(74, 105, 189, 0.5);
}
.pagination .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}
.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}
.pagination-lg .page-link {
    padding: 0.65rem 0.9rem;
    font-size: 1rem;
    min-width: 46px;
}
.pagination-lg .page-link i {
    font-size: 1.1rem;
    line-height: 1;
}
@media (max-width: 768px) {
    .pagination {
        margin-bottom: 1rem;
    }
    .pagination .page-link {
        margin: 0 2px;
        padding: 0.4rem 0.55rem;
        min-width: 36px;
        font-size: 0.875rem;
    }
    .pagination-lg .page-link {
        padding: 0.5rem 0.65rem;
        min-width: 38px;
        font-size: 0.9rem;
    }
    /* 移动端紧凑显示 */
    .pagination .page-item {
        margin: 0 1px;
    }
}
/* 彩色流动文字效果 */
.pagination-info-text {
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #fd79a8, #fdcb6e, #e17055, #ff6b6b);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 4s ease infinite;
    font-weight: 500;
}
.pagination-info-text .gradient-text {
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #fd79a8, #fdcb6e, #e17055, #ff6b6b);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 4s ease infinite;
    font-weight: 600;
}
@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}