/* 基础样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}

.container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 标题样式 */
h1 {
    color: #2d3748;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    
    &::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 4px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 2px;
    }
}

h2 {
    color: #4a5568;
    font-size: 1.8em;
    font-weight: 600;
    margin: 40px 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #667eea;
}

h3 {
    color: #718096;
    font-size: 1.3em;
    font-weight: 500;
    margin: 30px 0 15px 0;
}

/* 链接样式 */
a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    
    &:hover {
        color: #764ba2;
        border-bottom-color: #764ba2;
        transform: translateY(-1px);
    }
}

/* 列表样式 */
ul {
    padding-left: 20px;
    list-style: none;
}

li {
    margin: 12px 0;
    position: relative;
    padding-left: 25px;
    
    &::before {
        content: '✦';
        position: absolute;
        left: 0;
        color: #667eea;
        font-weight: bold;
    }
}

/* 内联代码 */
code:not(pre code) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Fira Code', 'Monaco', 'Cascadia Code', monospace;
    font-size: 0.9em;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 代码块容器 */
pre {
    background: #1a1b26;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2b3a;
    position: relative;
    
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 40px;
        background: #2a2b3a;
        border-radius: 12px 12px 0 0;
    }
    
    code {
        background: none;
        padding: 0;
        color: #c0caf5;
        font-family: 'Fira Code', 'Monaco', 'Cascadia Code', monospace;
        font-size: 0.95em;
        line-height: 1.5;
        display: block;
        margin-top: 20px;
    }
}

/* 代码高亮颜色 */
.language-json .key { color: #7dcfff; }
.language-json .string { color: #9ece6a; }
.language-json .number { color: #ff9e64; }
.language-json .boolean { color: #ff9e64; }
.language-json .null { color: #bb9af7; }
.language-json .p {color: white;}
.language-json .s2{color: #056eaa;}
.language-json .s2{color: #65b6db;}

/* 版本链接网格 */
.version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.version-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    &:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
        
        &::before {
            opacity: 1;
        }
        
        a {
            letter-spacing: 1px;
        }
    }
    
    a {
        color: white;
        font-weight: 600;
        font-size: 1.1em;
        display: block;
        position: relative;
        z-index: 2;
        transition: letter-spacing 0.3s ease;
    }
}

/* 信息框样式 */
.info-box {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.warning-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
        margin: 10px 0;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .version-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    pre {
        padding: 15px;
        margin: 15px 0;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #056eaa 0%, #65b6db 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4b95a2 0%, #667eea 100%);
}