 :root {
     --primary-color: #FF9A8B;
     --secondary-color: #FF6B95;
     --accent-color: #FF8E53;
     --text-color: #555;
     --light-bg: #fff9f9;
     --card-bg: #ffffff;
     --border-radius: 16px;
     --box-shadow: 0 8px 24px rgba(255, 154, 139, 0.15);
     --highlight-color: #fff0f0;
     --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, #FF8E53, #FF6B95);
 }

 .dark-mode {
     --primary-color: #FF9A8B;
     --secondary-color: #FF6B95;
     --accent-color: #FF8E53;
     --text-color: #e0e0e0;
     --light-bg: #1a1a1a;
     --card-bg: #2d2d2d;
     --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
     --highlight-color: #3a3a3a;
 }

 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, 154, 139, 0.05) 0%, transparent 20%),
         radial-gradient(circle at 90% 80%, rgba(255, 107, 149, 0.05) 0%, transparent 20%);
 }
 
 ::-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;
}

 .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;
 }

 .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 rgba(255, 154, 139, 0.1);
     overflow: hidden;
     position: relative;
 }

 .dark-mode .api-section {
     background-image: none;
 }

 .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, 154, 139, 0.05);
     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;
 }

 .dark-mode .detail-item {
     background: rgba(255, 154, 139, 0.1);
 }

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

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

 .params-table {
     width: 100%;
     border-collapse: collapse;
     margin: 20px 0;
     border-radius: var(--border-radius);
     overflow: hidden;
     box-shadow: 0 4px 12px rgba(255, 154, 139, 0.08);
     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;
 }

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

 .params-table tr:nth-child(even) {
     background-color: rgba(255, 154, 139, 0.03);
 }

 .dark-mode .params-table tr:nth-child(even) {
     background-color: rgba(255, 154, 139, 0.1);
 }

 .params-table tr:hover {
     background-color: var(--highlight-color);
 }

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

 .dark-mode .response-data,
 .dark-mode pre {
     background: #2a2a2a;
     color: #e0e0e0;
     border-color: #444;
 }

 .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, 154, 139, 0.25);
     transition: all 0.2s ease;
     margin: 5px;
     font-size: 14px;
     height: 48px;
     position: relative;
     overflow: hidden;
 }


 .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);
 }


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


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


 .dark-mode .tag-get,
 .dark-mode .tag-post,
 .dark-mode .tag-json,
 .dark-mode .tag-xml {
     color: white !important;
 }

 h1 {
     font-size: 36px;
     margin: 0 0 10px;
     color: white;
     font-weight: 700;
 }

 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;
 }

 .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);
 }

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

 .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;
 }

 .back-home:hover {
     transform: translateX(-5px);
 }

 .theme-switch {
     position: absolute;
     top: 20px;
     right: 20px;
     background: rgba(255, 255, 255, 0.2);
     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;
 }

 .theme-switch:hover {
     background: rgba(255, 255, 255, 0.3);
     transform: rotate(30deg);
 }
 
.footer-content .copy-right {
    height: 50px;
    line-height: 50px;
    margin-top: 10px;
    text-align: center
}

.footer-content .copy-right > * + * {
    margin-left: 14px
}

 .footer-content {
     background: var(--card-bg);
     border-radius: var(--border-radius);
     padding: 30px;
     margin-top: 50px;
     box-shadow: var(--box-shadow);
     text-align: center;
     
 }

.footer-content a,span {
    color: #000;
    text-decoration: none;
}

.footer-content a:hover {
    color: #000;
    border-bottom: solid 1px #fff
}

 .footer-links {
     display: flex;
     justify-content: center;
     gap: 20px;
     margin-bottom: 20px;
     flex-wrap: wrap;
 }

 .footer-links a {
     color: var(--text-color);
     text-decoration: none;
     transition: all 0.3s ease;
 }

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


.footer-icp {
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 5px 0; */
    /* line-height: 10px; */
}

.icp-badge {
    background: rgba(255, 154, 139, 0.1);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.icp-badge:hover {
    background: rgba(255, 154, 139, 0.2);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 154, 139, 0.1);
}
 .particles {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: -1;
     pointer-events: none;
 }

 @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;
     }
 }