* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background: #0a0a2e;
    min-height: 100vh;
    padding: 3rem 2rem;
    color: #f8fafc;
    line-height: 1.6;
}

/* 板块容器 */
.section {
    max-width: 1200px;
    margin: 0 auto 4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* 板块标题 */
.section-title {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
    font-weight: 600;
}

/* 不同板块颜色主题 */
.section-1 .section-title { border-color: #9a6bfe; }
.section-2 .section-title { border-color: #00ff88; }
.section-3 .section-title { border-color: #ff79c6; }

/* 区块网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* 区块卡片样式 */
.block-card {
    background: linear-gradient(145deg, 
        rgba(255,255,255,0.12), 
        rgba(255,255,255,0.08));
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.block-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

/* 区块标题样式 */
.block-title {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 装饰性渐变背景 */
.block-card::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(45deg, 
        rgba(154,107,254,0.2) 0%,
        rgba(100,70,200,0.1) 100%);
    transform: rotate(45deg);
    top: -25%;
    left: -25%;
    z-index: 1;
}

/* 区块颜色定义 */
.block-card:nth-child(1)::before {
    background: linear-gradient(45deg, 
        rgba(255, 0, 0, 0.2) 0%,
        rgba(255, 60, 0, 0.15) 100%);
}
.block-card:nth-child(2)::before {
    background: linear-gradient(45deg, 
        rgba(255, 165, 0, 0.2) 0%,
        rgba(255, 140, 0, 0.15) 100%);
}
.block-card:nth-child(3)::before {
    background: linear-gradient(45deg, 
        rgba(255, 255, 0, 0.2) 0%,
        rgba(230, 230, 0, 0.15) 100%);
}
.block-card:nth-child(4)::before {
    background: linear-gradient(45deg, 
        rgba(0, 255, 0, 0.2) 0%,
        rgba(0, 200, 0, 0.15) 100%);
}
.block-card:nth-child(5)::before {
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.2) 0%,
        rgba(0, 200, 200, 0.15) 100%);
}
.block-card:nth-child(6)::before {
    background: linear-gradient(45deg, 
        rgba(0, 0, 255, 0.2) 0%,
        rgba(0, 0, 200, 0.15) 100%);
}
.block-card:nth-child(7)::before {
    background: linear-gradient(45deg, 
        rgba(75, 0, 130, 0.2) 0%,
        rgba(60, 0, 100, 0.15) 100%);
}
.block-card:nth-child(8)::before {
    background: linear-gradient(45deg, 
        rgba(238, 130, 238, 0.2) 0%,
        rgba(200, 100, 200, 0.15) 100%);
}
.block-card:nth-child(9)::before {
    background: linear-gradient(45deg, 
        rgba(128, 0, 128, 0.2) 0%,
        rgba(100, 0, 100, 0.15) 100%);
}
.block-card:nth-child(10)::before {
    background: linear-gradient(45deg, 
        rgba(255, 192, 203, 0.2) 0%,
        rgba(230, 170, 180, 0.15) 100%);
}
.block-card:nth-child(11)::before {
    background: linear-gradient(45deg, 
        rgba(165, 42, 42, 0.2) 0%,
        rgba(140, 35, 35, 0.15) 100%);
}
.block-card:nth-child(12)::before {
    background: linear-gradient(45deg, 
        rgba(0, 128, 128, 0.2) 0%,
        rgba(0, 100, 100, 0.15) 100%);
}

/* 下载项样式 */
.download-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    margin: 0.5rem 0;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    color: #e2e8f0;
    font-weight: 400;
}

.download-item:hover {
    background: rgba(247,250,252,0.9);
    transform: translateX(10px);
    color: #1a202c;
}

.download-item::before {
    content: '➤';
    margin-right: 12px;
    font-weight: 700;
    color: inherit;
    background: rgba(255,255,255,0.15);
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

/* 工具卡片样式 - 新增 */
.tool-card {
    background: linear-gradient(145deg, 
        rgba(255,255,255,0.12), 
        rgba(255,255,255,0.08));
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.tool-title {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #a0aec0;
    position: relative;
    z-index: 2;
}

.tool-desc {
    color: #cbd5e0;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.tool-link a {
    color: #63b3ed;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 179, 237, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.tool-link a:hover {
    background: rgba(99, 179, 237, 0.2);
    color: #90cdf4;
}

.free { color: #68d391; }
.paid { color: #fc8181; }

/* 响应式设计 */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .block-card, .tool-card {
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 2rem 1.5rem;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .block-card, .tool-card {
        min-height: auto;
        padding: 1.2rem;
    }
}

/* 新增文字强化效果 */
.download-item:hover::before {
    background: rgba(0,0,0,0.1);
}

.block-title::after, .tool-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: rgba(255,255,255,0.3);
}