:root {
    --primary-color: #ffacc7; /* 主粉色 */
    --secondary-color: #ffc2d1; /* 浅粉色 */
    --accent-color: #f783ac; /* 深粉色 */
    --text-color: #333;
    --light-bg: #fff5f8; /* 极浅粉色背景 */
    --card-bg: #ffffff;
    --border-radius: 16px;
    --box-shadow: 0 8px 24px rgba(255, 172, 199, 0.15);
    --highlight-color: #fff0f5;
    --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-bg-reverse: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --gradient-accent: linear-gradient(135deg, #ff8e9d, #f783ac);
    --border-color: rgba(255, 172, 199, 0.2);
    --success-color: #ffacc7;
    --error-color: #F44336;
    --info-color: #2196F3;
}

.dark-mode {
    --primary-color: #e695b0; /* 深色模式下的粉色 */
    --secondary-color: #d47a9a;
    --accent-color: #f783ac;
    --text-color: #e0e0e0;
    --light-bg: #1a1a1a;
    --card-bg: #2d2d2d;
    --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    --highlight-color: #3a3235;
    --border-color: rgba(255, 172, 199, 0.2);
}
/* font */
@font-face{
	font-family:GuiguiFontStyle;
	/*src:url("https://jsd.onmicrosoft.cn/gh/cenguigui/cdn@master/fonts/fonts.woff2") format("woff2");*/
	src: url("https://cdn.cenguigui.cn/fonts/fonts.woff2") format("woff2");
	/*src:url("https://cdn.jsdmirror.com/gh/cenguigui/cdn@master/fonts/fonts.woff2") format("woff2");*/
	/*src:url("https://jsd.cdn.zzko.cn/gh/cenguigui/cdn@master/fonts/fonts.woff2") format("woff2");*/
	font-display:swap;
}

html,body,h1,h2,h3,h4,h5,h6,p,code,label,span,code, kbd, pre, div, input, a{
    font-family:GuiguiFontStyle!important;
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 172, 199, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    font-size: 20px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 172, 199, 0.4);
}

/* 通知提示样式 */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    padding: 15px 20px;
    border-radius: 10px;
    background: var(--card-bg);
    color: var(--text-color);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid;
    /* 确保通知在视口外开始 */
    position: relative;
    right: -100%;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
    right: 0;
}

.notification.success {
    border-color: var(--success-color);
}

.notification.error {
    border-color: var(--error-color);
}

.notification.info {
    border-color: var(--primary-color);
}

.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: var(--success-color);
}

.notification.error .notification-icon {
    color: var(--error-color);
}

.notification.info .notification-icon {
    color: var(--primary-color);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-message {
    font-size: 14px;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-color);
    opacity: 0.7;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    opacity: 1;
}

/* 移除之前的动画类 */
.animate__animated,
.animate__fadeInRight {
    animation: none !important;
}

/* 图片响应显示样式 - 修复图片显示问题 */
.response-image-container {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin: 20px 0;
}

.response-image {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    -webkit-user-select: none;
    margin: auto;
    background-color: hsl(0, 0%, 90%);
}

.response-image:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.dark-mode .response-image {
    background-color: hsl(0, 0%, 20%);
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 172, 199, 0.08) 0%, transparent 20%),
                     radial-gradient(circle at 90% 80%, rgba(247, 131, 172, 0.08) 0%, transparent 20%);
    overflow-x: hidden;
    scroll-behavior: smooth; /* 平滑滚动 */
}

/* 卡通装饰元素 */
.cartoon-decoration {
    position: fixed;
    width: 120px;
    height: 120px;
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.5s ease;
}

.cartoon-decoration:hover {
    transform: scale(1.1) rotate(10deg);
    opacity: 0.7;
}

.top-left {
    top: -30px;
    left: -30px;
    animation: float 6s ease-in-out infinite;
}

.top-right {
    top: -20px;
    right: -20px;
    animation: float 7s ease-in-out infinite;
}

.bottom-left {
    bottom: -40px;
    left: -20px;
    animation: float 8s ease-in-out infinite;
}

.bottom-right {
    bottom: -30px;
    right: -30px;
    animation: float 9s ease-in-out infinite;
}

/* 卡通元素样式 */
.cloud {
    width: 100px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50px;
    position: relative;
    opacity: 0.3;
}

.cloud:before, .cloud:after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
}

.cloud:before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 20px;
}

.cloud:after {
    width: 60px;
    height: 60px;
    top: -30px;
    right: 10px;
}

.star {
    width: 0;
    height: 0;
    border-right: 50px solid transparent;
    border-bottom: 35px solid var(--accent-color);
    border-left: 50px solid transparent;
    transform: rotate(35deg);
    opacity: 0.3;
}

.star:before {
    content: '';
    position: absolute;
    border-bottom: 40px solid var(--accent-color);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    top: -22px;
    left: -32px;
    transform: rotate(-35deg);
}

.star:after {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    border-right: 50px solid transparent;
    border-bottom: 35px solid var(--accent-color);
    border-left: 50px solid transparent;
    transform: rotate(-70deg);
}

.sun {
    width: 80px;
    height: 80px;
    background: #FFD166;
    border-radius: 50%;
    position: relative;
    opacity: 0.3;
}

.sun:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #FFD166;
    border-radius: 50%;
    animation: pulse 3s infinite;
}

.heart {
    position: relative;
    width: 60px;
    height: 50px;
    opacity: 0.3;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.heart:before, .heart:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50px 50px 0 0;
}

.heart:before {
    left: 30px;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.heart:after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes slideIn {
    0% { transform: translateX(calc(100% + 20px)); opacity: 0; }
    70% { transform: translateX(-10px); opacity: 1; }
    100% { transform: translateX(0); opacity: 1; }
}

/* 滚动隐藏 */
::-webkit-scrollbar {
    width: 0;
    height: 0;
    background-color: transform;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover {
    background-color: transform !important;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 0 transform !important;
}

.dark-mode ::-webkit-scrollbar-thumb {
    background: rgba(255, 172, 199, 0.2);
}

.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 172, 199, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 40px 20px;
    background: var(--gradient-bg);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    animation: fadeInDown 1s;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

header:hover {
    transform: translateY(-5px);
}

.header-content {
    position: relative;
    z-index: 2;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.api-meta {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease;
}

.meta-item:hover {
    transform: translateY(-3px);
}

.api-section {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.api-section.animate__animated.animate__fadeInUp {
    transform: translateY(0);
    opacity: 1;
}

.api-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(255, 172, 199, 0.2);
}

.detail-card {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.detail-item {
    flex: 1 1 calc(25% - 20px);
    min-width: 200px;
    background: rgba(255, 172, 199, 0.08);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
    box-sizing: border-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    word-break: break-word;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(255, 172, 199, 0.15);
    background: rgba(255, 172, 199, 0.12);
}

.dark-mode .detail-item {
    background: rgba(255, 172, 199, 0.05);
}

.dark-mode .detail-item:hover {
    background: rgba(255, 172, 199, 0.08);
}

.detail-item h3 {
    margin-top: 0;
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-item p {
    margin-bottom: 0;
    color: var(--text-color);
    font-size: 15px;
    word-break: break-word;
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(255, 172, 199, 0.1);
    transition: box-shadow 0.3s ease;
}

.table-responsive:hover {
    box-shadow: 0 6px 18px rgba(255, 172, 199, 0.15);
}

.params-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    font-size: 14px;
    background-color: var(--card-bg);
}

.params-table th {
    background: var(--gradient-bg);
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 10;
}

.params-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
    color: var(--text-color);
}

.params-table tr:nth-child(even) {
    background-color: rgba(255, 172, 199, 0.05);
}

.dark-mode .params-table tr:nth-child(even) {
    background-color: rgba(255, 172, 199, 0.05);
}


.response-data,
pre {
    background: #fff5f8;
    border-radius: 12px;
    padding: 20px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    white-space: pre-wrap;
    border: 1px solid var(--border-color);
    position: relative;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    tab-size: 2;
    max-width: 100%;
    word-wrap: break-word;
    transition: all 0.3s ease;
}

.response-data:hover,
pre:hover {
    box-shadow: 0 6px 16px rgba(255, 172, 199, 0.15);
}

.dark-mode .response-data,
.dark-mode pre {
    background: #2a2a2a;
    color: #e0e0e0;
    border-color: rgba(255, 172, 199, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-bg);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(255, 172, 199, 0.3);
    transition: all 0.2s ease;
    margin: 5px;
    font-size: 14px;
    height: 48px;
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 172, 199, 0.4);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 172, 199, 0.3);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.btn:hover:before {
    left: 100%;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    height: auto;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: rgba(255, 172, 199, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(255, 172, 199, 0.2);
    transition: all 0.2s ease;
}

.btn-sm:hover {
    background: rgba(255, 172, 199, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 172, 199, 0.15);
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 5px;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

:root:not(.dark-mode) .tag {
    color: #333 !important;
    background: rgba(255, 172, 199, 0.1) !important;
    border: 1px solid rgba(255, 172, 199, 0.2);
}

.dark-mode .tag {
    color: white !important;
    background: rgba(255, 172, 199, 0.2) !important;
    border: 1px solid rgba(255, 172, 199, 0.3);
}

.tag-get {
    background-color: rgba(102, 187, 106, 0.2) !important;
    border-color: rgba(102, 187, 106, 0.3) !important;
}

.tag-post {
    background-color: rgba(66, 165, 245, 0.2) !important;
    border-color: rgba(66, 165, 245, 0.3) !important;
}

.tag-json {
    background-color: rgba(247, 131, 172, 0.2) !important;
    border-color: rgba(247, 131, 172, 0.3) !important;
}

h1 {
    font-size: 36px;
    margin: 0 0 10px;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

h1:hover {
    transform: scale(1.02);
}

h2 {
    font-size: 26px;
    margin: 0 0 20px;
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 10px;
    gap: 10px;
    transition: all 0.3s ease;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-bg);
    border-radius: 3px;
    transition: width 0.3s ease;
}

h2:hover::after {
    width: 100px;
}

.api-description {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid white;
    color: var(--text-color);
    line-height: 1.8;
    transition: all 0.3s ease;
}

.api-description:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.dark-mode .api-description {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    border-left-color: var(--primary-color);
}

.dark-mode .api-description:hover {
    background: rgba(0, 0, 0, 0.25);
}

.back-home {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    gap: 8px;
    z-index: 2;
}

.back-home:hover {
    transform: translateX(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    color: white;
    font-size: 18px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.theme-switch:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 底部样式 */
.footer-content {
    background: var(--card-bg);
    border-radius: 24px 24px 0 0;
    padding: 40px 30px 25px;
    margin-top: 80px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.footer-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 172, 199, 0.2);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.footer-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-bg);
    transition: width 0.3s ease;
}

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

.footer-link:hover:after {
    width: 100%;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
}

.footer-icp {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 172, 199, 0.1);
    color: var(--text-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

.icp-badge {
    text-decoration: none;
    color: var(--text-color);
}

.icp-badge:hover {
    background: rgba(255, 172, 199, 0.15);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 172, 199, 0.15);
    border-color: rgba(255, 172, 199, 0.2);
}

.brand-highlight {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

/* 装饰元素 */
.footer-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    gap: 40px;
    z-index: 1;
}

.decoration-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.5;
    position: relative;
    top: -4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-links {
        justify-content: center;
        gap: 15px;
    }
    
    .footer-content {
        padding: 30px 20px 20px;
        margin-top: 60px;
        border-radius: 20px 20px 0 0;
    }
    
    .footer-decoration {
        display: none;
    }
}

/* 深色模式适配 */
.dark-mode .footer-link {
    color: #e0e0e0;
}

.dark-mode .icp-badge {
    background: rgba(255, 172, 199, 0.08);
}

.dark-mode .icp-badge:hover {
    background: rgba(255, 172, 199, 0.12);
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}


/* 代码标签样式 */
.code-tabs {
    margin-top: 15px;
    transition: all 0.3s ease;
}

.code-tabs:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(255, 172, 199, 0.15);
    background: rgba(255, 172, 199, 0.12);
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.tab-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.tab-btn.active {
    color: var(--accent-color);
    font-weight: 500;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-bg);
    border-radius: 2px;
}

.tab-btn:hover:not(.active) {
    color: var(--accent-color);
    background: rgba(255, 172, 199, 0.05);
    transform: translateY(-2px);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.code-actions {
    margin-bottom: 10px;
    text-align: right;
}

/* 响应结果样式 */
.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.response-code {
    font-weight: 600;
    color: #4CAF50;
}

.response-time {
    font-size: 13px;
    color: #777;
}

.dark-mode .response-time {
    color: #aaa;
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active .modal-overlay {
    opacity: 1;
}

.modal-container {
    position: relative;
    background: var(--card-bg);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    margin: 5vh auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active .modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    padding: 20px 25px;
    background: var(--gradient-bg);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-cancel {
    background: var(--highlight-color);
    color: var(--text-color);
    box-shadow: none;
}

.btn-cancel:hover {
    background: var(--highlight-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-send {
    background: var(--gradient-bg);
}

/* 调试器样式 */
.request-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.method-selector {
    flex: 0 0 auto;
}

.method-selector select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.method-selector select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 172, 199, 0.1);
}

.url-input {
    flex: 1;
    min-width: 250px;
}

.url-input input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.url-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 172, 199, 0.2);
}

.param-row, .header-row, .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.param-key, .param-value, .header-key, .header-value, .form-key, .form-value {
    flex: 1;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    transition: all 0.2s ease;
}

.param-key:focus, .param-value:focus, .header-key:focus, .header-value:focus, .form-key:focus, .form-value:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 172, 199, 0.2);
}

#requestBody, #requestBodyText {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    box-sizing: border-box;
    font-family: monospace;
    resize: vertical;
    transition: all 0.2s ease;
}

#requestBody:focus, #requestBodyText:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 172, 199, 0.2);
}

.json-actions {
    margin-bottom: 10px;
    text-align: right;
}

.body-format {
    margin-top: 10px;
    text-align: right;
}

.body-format select {
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    transition: all 0.2s ease;
}

.body-format select:hover {
    border-color: var(--primary-color);
}

.response-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.response-section:hover {
    border-color: var(--primary-color);
}

.response-section h4 {
    margin: 0 0 15px 0;
    color: var(--accent-color);
    font-size: 16px;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-item {
        flex: 1 1 100%;
        min-width: 0;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    .params-table {
        display: block;
        overflow-x: auto;
    }

    .api-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        margin: 5px 0;
    }

    .modal-container {
        width: 95%;
        max-height: 95vh;
        margin: 2.5vh auto;
    }

    .request-header {
        flex-direction: column;
    }

    .method-selector {
        width: 100%;
    }

    .method-selector select {
        width: 100%;
    }
    
    /* 调整卡通装饰大小 */
    .cartoon-decoration {
        width: 80px;
        height: 80px;
    }
    
    /* 调整通知大小 */
    .notification {
        min-width: auto;
        max-width: calc(100vw - 40px);
    }
    
    /* 调整返回顶部按钮大小 */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}
