/* 更多工具链接样式 */
.more-tools-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.more-tools-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    filter: brightness(1.1);
}

.more-tools-link:active {
    transform: translateY(0);
}

.more-tools-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.more-tools-link:hover i {
    transform: rotate(90deg);
}

/* 分类按钮恢复原始样式 */
.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.category-button {
    padding: 12px 24px;
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 100px;
}

.category-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.category-button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

body.dark-mode .category-button {
    background: var(--card-dark);
    border-color: var(--border-dark);
    color: var(--text-dark);
}

body.dark-mode .category-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

body.dark-mode .category-button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* 工具列表原始样式 */
#tool-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    #tool-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}
/* Hero Section - 全新英雄区域 */
.hero-section {
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 10px;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.05) 0%, 
        rgba(16, 185, 129, 0.03) 50%,
        rgba(59, 130, 246, 0.05) 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-text h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -1.5px;
    animation: slideUp 0.8s ease forwards;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

body.dark-mode .hero-text h1 {
    color: var(--text-dark);
}

.hero-text p {
    font-size: 1rem;
    color: var(--text-secondary-light);
    max-width: 600px;
    margin-bottom: 16px;
    line-height: 1.6;
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
    margin-left: auto;
    margin-right: auto;
}

body.dark-mode .hero-text p {
    color: var(--text-secondary-dark);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
    justify-content: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.hero-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-btn:hover::before {
    transform: translateX(100%);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    animation: slideUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.stat-card {
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

body.dark-mode .stat-card {
    background: var(--card-dark);
    border-color: var(--border-dark);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    animation: pulse 2s infinite;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.dark-mode .stat-label {
    color: var(--text-secondary-dark);
}

.hero-bg-waves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 5%;
    background: 
        radial-gradient(circle at 20% 60%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 70%, rgba(59, 130, 246, 0.04) 0%, transparent 30%);
    z-index: 1;
    opacity: 0.4;
}

/* 改进的通知信息样式 */
.notice {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: center;
    background: var(--card-light);
    border: 1px solid var(--border-light);
    padding: 20px 30px;
    margin: -20px auto 40px;
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.dark-mode .notice {
    background: var(--card-dark);
    border-color: var(--border-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.notice-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notice-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
}

body.dark-mode .notice-text {
    color: var(--text-dark);
}

.notice-text strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero-section {
        min-height: 25vh;
        padding: 15px 20px 8px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 680px) {
    .hero-section {
        min-height: 20vh;
        padding: 12px 20px 6px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-btn {
        padding: 14px 28px;
        font-size: 1rem;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .notice {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
        margin: -10px auto 30px;
    }
}

/* 动画定义 */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 108, 247, 0.3);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 108, 247, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 108, 247, 0);
    }
}

/* 页面标题区域 - 大气简洁 */
.page-header {
    text-align: center;
    padding: 120px 20px 60px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    animation: slideUp 0.8s ease forwards;
    letter-spacing: -1.5px;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary-light);
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
    line-height: 1.8;
    font-weight: 400;
}

body.dark-mode .page-header p {
    color: var(--text-secondary-dark);
}

/* 通知信息样式 - 简洁设计 */
.notice {
    text-align: center;
    background: var(--card-light);
    border: 1px solid var(--border-light);
    padding: 16px 24px;
    font-size: 14px;
    color: var(--text-secondary-light);
    margin: 0 auto 50px;
    width: 90%;
    max-width: 700px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease 0.4s forwards;
    opacity: 0;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notice::before {
    display: none;
}

.notice::after {
    display: none;
}

.notice p {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-weight: 400;
}

.notice p::before {
    content: 'ℹ️';
    margin-right: 12px;
    font-size: 16px;
}

/* 工具卡片容器 */
#tool-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    padding: 20px;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* 工具卡片基础样式 - 简洁大气 */
.tool-card {
    background: var(--card-light);
    border-radius: 16px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.03s + 0.6s);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    border: 1px solid var(--border-light);
}

.tool-card::before {
    display: none;
}

.tool-card::after {
    display: none;
}

body.dark-mode .tool-card {
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
}

.tool-card, .tool-card * {
    text-decoration: none !important;
}

.tool-card .icon-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 12px;
}

.tool-card:hover .icon-wrapper {
    transform: translateY(-4px);
    background: var(--primary-color);
}

.tool-card .icon-bg {
    display: none;
}

.tool-card i {
    font-size: 24px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.tool-card:hover i {
    color: white;
}

.tool-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s;
    position: relative;
    z-index: 2;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

body.dark-mode .tool-card h3 {
    color: var(--text-dark);
}

.tool-card .card-description {
    font-size: 14px;
    color: var(--text-secondary-light);
    margin: 0;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    flex-grow: 1;
}

body.dark-mode .tool-card .card-description {
    color: var(--text-secondary-dark);
}

/* 卡片悬停效果 - 简洁动画 */
.tool-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
}

body.dark-mode .tool-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}

.tool-card:hover h3 {
    color: var(--primary-color);
}

body.dark-mode .tool-card:hover h3 {
    color: var(--primary-light);
}

/* 类别标签 - 简洁设计 */
.tool-card .category-tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    background: transparent;
    color: var(--text-secondary-light);
    font-weight: 500;
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-light);
}

body.dark-mode .tool-card .category-tag {
    background: rgba(74, 108, 247, 0.2);
    color: var(--primary-light);
}

.tool-card:hover .category-tag {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 各工具卡片的独特样式 */
/* JSON格式化工具 */
.tool-card[data-category="format"] i {
    color: #F15A2B;
}

.tool-card[data-category="format"] .icon-bg {
    background: linear-gradient(135deg, rgba(241, 90, 43, 0.1) 0%, rgba(252, 176, 69, 0.1) 100%);
}

.tool-card[data-category="format"] .category-tag {
    background: rgba(241, 90, 43, 0.1);
    color: #F15A2B;
}

.tool-card[data-category="format"]::before {
    background: linear-gradient(90deg, #F15A2B, #FCB045);
}

/* HTML预览工具 */
.tool-card[data-category="preview"] i {
    color: #FF6B6B;
}

.tool-card[data-category="preview"] .icon-bg {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 158, 94, 0.1) 100%);
}

.tool-card[data-category="preview"] .category-tag {
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
}

.tool-card[data-category="preview"]::before {
    background: linear-gradient(90deg, #FF6B6B, #FF9E5E);
}

/* 密码生成工具 */
.tool-card[data-category="security"] i {
    color: #16DB93;
}

.tool-card[data-category="security"] .icon-bg {
    background: linear-gradient(135deg, rgba(22, 219, 147, 0.1) 0%, rgba(126, 217, 87, 0.1) 100%);
}

.tool-card[data-category="security"] .category-tag {
    background: rgba(22, 219, 147, 0.1);
    color: #16DB93;
}

.tool-card[data-category="security"]::before {
    background: linear-gradient(90deg, #16DB93, #7ED957);
}

/* UUID生成工具 */
.tool-card[data-category="generator"] i {
    color: #4DC9F6;
}

.tool-card[data-category="generator"] .icon-bg {
    background: linear-gradient(135deg, rgba(77, 201, 246, 0.1) 0%, rgba(34, 163, 211, 0.1) 100%);
}

.tool-card[data-category="generator"] .category-tag {
    background: rgba(77, 201, 246, 0.1);
    color: #4DC9F6;
}

.tool-card[data-category="generator"]::before {
    background: linear-gradient(90deg, #4DC9F6, #22A3D3);
}

/* 九宫格工具 */
.tool-card[data-category="grid"] i {
    color: #A06AF9;
}

.tool-card[data-category="grid"] .icon-bg {
    background: linear-gradient(135deg, rgba(160, 106, 249, 0.1) 0%, rgba(116, 59, 211, 0.1) 100%);
}

.tool-card[data-category="grid"] .category-tag {
    background: rgba(160, 106, 249, 0.1);
    color: #A06AF9;
}

.tool-card[data-category="grid"]::before {
    background: linear-gradient(90deg, #A06AF9, #743BD3);
}

/* Base64转换工具 */
.tool-card[data-category="converter"] i {
    color: #FF9E5E;
}

.tool-card[data-category="converter"] .icon-bg {
    background: linear-gradient(135deg, rgba(255, 158, 94, 0.1) 0%, rgba(255, 179, 64, 0.1) 100%);
}

.tool-card[data-category="converter"] .category-tag {
    background: rgba(255, 158, 94, 0.1);
    color: #FF9E5E;
}

.tool-card[data-category="converter"]::before {
    background: linear-gradient(90deg, #FF9E5E, #FFB340);
}

/* Emoji选择器 */
.tool-card[data-category="emoji"] i {
    color: #FFD93D;
}

.tool-card[data-category="emoji"] .icon-bg {
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.1) 0%, rgba(255, 189, 46, 0.1) 100%);
}

.tool-card[data-category="emoji"] .category-tag {
    background: rgba(255, 217, 61, 0.1);
    color: #EB9E1D;
}

.tool-card[data-category="emoji"]::before {
    background: linear-gradient(90deg, #FFD93D, #FFBD2E);
}

/* 趣味数学大冒险 */
.tool-card[data-category="math"] i {
    color: #6C63FF;
}

.tool-card[data-category="math"] .icon-bg {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(63, 81, 181, 0.1) 100%);
}

.tool-card[data-category="math"] .category-tag {
    background: rgba(108, 99, 255, 0.1);
    color: #6C63FF;
}

.tool-card[data-category="math"]::before {
    background: linear-gradient(90deg, #6C63FF, #3F51B5);
}

/* 封面图制作 */
.tool-card[data-category="image"] i {
    color: #F86E6E;
}

.tool-card[data-category="image"] .icon-bg {
    background: linear-gradient(135deg, rgba(248, 110, 110, 0.1) 0%, rgba(255, 89, 89, 0.1) 100%);
}

.tool-card[data-category="image"] .category-tag {
    background: rgba(248, 110, 110, 0.1);
    color: #F86E6E;
}

.tool-card[data-category="image"]::before {
    background: linear-gradient(90deg, #F86E6E, #FF5959);
}

/* 字幕截图生成器 */
.tool-card[data-category="subtitle"] i {
    color: #20BFA9;
}

.tool-card[data-category="subtitle"] .icon-bg {
    background: linear-gradient(135deg, rgba(32, 191, 169, 0.1) 0%, rgba(44, 216, 213, 0.1) 100%);
}

.tool-card[data-category="subtitle"] .category-tag {
    background: rgba(32, 191, 169, 0.1);
    color: #20BFA9;
}

.tool-card[data-category="subtitle"]::before {
    background: linear-gradient(90deg, #20BFA9, #2CD8D5);
}

/* 游戏类别样式 */
/* 无限射击游戏 - 红色主题 */
.tool-card[style*="--card-index: 12"] i {
    color: #FF4757;
}

.tool-card[style*="--card-index: 12"] .icon-bg {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(255, 99, 99, 0.1) 100%);
}

.tool-card[style*="--card-index: 12"] .category-tag {
    background: rgba(255, 71, 87, 0.1);
    color: #FF4757;
}

.tool-card[style*="--card-index: 12"]::before {
    background: linear-gradient(90deg, #FF4757, #FF6B6B);
}

/* 无限防守游戏 - 绿色主题 */
.tool-card[style*="--card-index: 13"] i {
    color: #2ED573;
}

.tool-card[style*="--card-index: 13"] .icon-bg {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.1) 0%, rgba(0, 206, 201, 0.1) 100%);
}

.tool-card[style*="--card-index: 13"] .category-tag {
    background: rgba(46, 213, 115, 0.1);
    color: #2ED573;
}

.tool-card[style*="--card-index: 13"]::before {
    background: linear-gradient(90deg, #2ED573, #00CEC9);
}

/* 符文法师游戏 - 紫色主题 */
.tool-card[style*="--card-index: 14"] i {
    color: #A55EEA;
}

.tool-card[style*="--card-index: 14"] .icon-bg {
    background: linear-gradient(135deg, rgba(165, 94, 234, 0.1) 0%, rgba(116, 59, 211, 0.1) 100%);
}

.tool-card[style*="--card-index: 14"] .category-tag {
    background: rgba(165, 94, 234, 0.1);
    color: #A55EEA;
}

.tool-card[style*="--card-index: 14"]::before {
    background: linear-gradient(90deg, #A55EEA, #743BD3);
}

/* 生态瓶工程师（经典版）- 橙色主题 */
.tool-card[style*="--card-index: 15"] i {
    color: #FF9F43;
}

.tool-card[style*="--card-index: 15"] .icon-bg {
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.1) 0%, rgba(255, 177, 43, 0.1) 100%);
}

.tool-card[style*="--card-index: 15"] .category-tag {
    background: rgba(255, 159, 67, 0.1);
    color: #FF9F43;
}

.tool-card[style*="--card-index: 15"]::before {
    background: linear-gradient(90deg, #FF9F43, #FFB12B);
}

/* 生态瓶工程师（增强版）- 青色主题 */
.tool-card[style*="--card-index: 16"] i {
    color: #26D0CE;
}

.tool-card[style*="--card-index: 16"] .icon-bg {
    background: linear-gradient(135deg, rgba(38, 208, 206, 0.1) 0%, rgba(0, 184, 169, 0.1) 100%);
}

.tool-card[style*="--card-index: 16"] .category-tag {
    background: rgba(38, 208, 206, 0.1);
    color: #26D0CE;
}

.tool-card[style*="--card-index: 16"]::before {
    background: linear-gradient(90deg, #26D0CE, #00B8A9);
}

/* 特色卡片指示器 - 简洁徒章 */
.featured-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 4px 10px;
    font-size: 10px;
    border-radius: 4px;
    font-weight: 600;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tool-card:hover .featured-indicator {
    transform: scale(1.05);
}

.featured-indicator i {
    color: white !important;
    font-size: 11px !important;
    margin-right: 4px;
}

/* 工具分类区域 - 简洁风格 */
.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 60px;
    max-width: 900px;
    padding: 0 20px;
}

.category-button {
    background: transparent;
    color: var(--text-secondary-light);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    animation: slideUp 0.5s ease forwards;
    opacity: 0;
    animation-delay: calc(var(--btn-index, 0) * 0.05s + 0.5s);
}

.category-button::before {
    display: none;
}

.category-button:hover {
    background: var(--card-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.category-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-button.active::before {
    display: none;
}

body.dark-mode .category-button {
    color: var(--text-secondary-dark);
    border-color: var(--border-dark);
}

body.dark-mode .category-button:hover {
    background: var(--card-dark);
    color: var(--primary-light);
    border-color: var(--primary-light);
}

body.dark-mode .category-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 工具卡片下方的提示 */
.card-tooltip {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.tool-card:hover .card-tooltip {
    opacity: 1;
    animation: float 2s ease-in-out infinite;
}

/* 空状态 */
.empty-state {
    width: 100%;
    padding: 50px 20px;
    text-align: center;
    display: none;
}

.empty-state img {
    width: 200px;
    height: auto;
    opacity: 0.7;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.empty-state p {
    color: var(--text-secondary-light);
    max-width: 500px;
    margin: 0 auto;
}

body.dark-mode .empty-state h3 {
    color: var(--text-dark);
}

body.dark-mode .empty-state p {
    color: var(--text-secondary-dark);
}

/* 工具列表上方的统计信息 - 简洁风格 */
.tools-stats {
    display: none;
}

/* 装饰元素 - 简化 */
.decoration {
    display: none;
}

/* 响应式布局 */
@media (max-width: 1200px) {
    #tool-list {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .notice {
        font-size: 13px;
        width: 95%;
        padding: 12px 10px;
    }
    
    .notice p::before {
        font-size: 18px;
        margin-right: 8px;
    }
    
    #tool-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .tool-card {
        min-height: auto;
        padding: 24px 20px;
    }
    
    .tool-card .icon-wrapper {
        width: 56px;
        height: 56px;
    }
    
    .tool-card i {
        font-size: 24px;
    }
    
    .tool-card h3 {
        font-size: 17px;
    }
    
    .tool-card .card-description {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .category-button {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .tools-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stats-item {
        padding: 12px 15px;
    }
    
    .stats-count {
        font-size: 22px;
    }
    
    .stats-label {
        font-size: 12px;
    }
    
    .decoration {
        opacity: 0.3;
        transform: scale(0.7);
    }
    
    .featured-indicator {
        top: 20px;
        right: 20px;
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .tool-card .category-tag {
        bottom: 20px;
        left: 20px;
        font-size: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #tool-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}
