/* 基础重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* 全局样式 */
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: #f8fafc;
            color: #1e293b;
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        /* 容器 */
        .container {
            width: 100%;
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        
        /* 导航栏 */
        header {
            background-color: #ffffff;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }
        
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #1e293b;
            font-size: 1.125rem;
            font-weight: 700;
        }
        
        .logo-icon {
            width: 2rem;
            height: 2rem;
            border-radius: 0.375rem;
            background-color: #165DFF;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 1rem;
            margin-right: 0.5rem;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }
        
        .nav-links a {
            text-decoration: none;
            color: #64748b;
            font-weight: 500;
            transition: color 0.3s ease;
            font-size: 0.9375rem;
        }
        
        .nav-links a:hover,
        .nav-links a.active {
            color: #165DFF;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.25rem;
            color: #64748b;
            cursor: pointer;
        }
        
        .mobile-menu {
            display: none;
            border-top: 1px solid #e2e8f0;
            padding: 0.75rem 0;
        }
        
        .mobile-menu a {
            display: block;
            padding: 0.5rem 0;
            text-decoration: none;
            color: #64748b;
            font-weight: 500;
            transition: color 0.3s ease;
            font-size: 0.9375rem;
        }
        
        .mobile-menu a:hover,
        .mobile-menu a.active {
            color: #165DFF;
        }
        
        /* 打赏横幅 - 简洁版 */
        .donation-banner {
            background-color: #fffbeb;
            border-bottom: 1px solid #fef3c7;
            padding: 0.75rem 0;
        }
        
        .donation-content {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .donation-text {
            text-align: center;
            font-size: 0.875rem;
            color: #92400e;
            line-height: 1.5;
        }
        
        .donation-text strong {
            color: #78350f;
        }
        
        .donation-qrcodes {
            display: flex;
            gap: 1rem;
            align-items: center;
        }
        
        .qrcode-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .qrcode-item img {
            width: 100px;
            height: 100px;
            border-radius: 0.25rem;
            border: 1px solid #fcd34d;
        }
        
        .qrcode-item span {
            font-size: 0.75rem;
            color: #92400e;
            margin-top: 0.25rem;
        }
        
        /* 主要内容 */
        main {
            flex: 1;
            padding: 2rem 0;
        }
        
        .page-title {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .page-title h1 {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 800;
            margin-bottom: 0.75rem;
            color: #1e293b;
        }
        
        .page-title p {
            font-size: 1rem;
            color: #64748b;
            max-width: 600px;
            margin: 0 auto;
        }
        
        /* 工具卡片 - 占满宽度 */
        .tool-card {
            background-color: #ffffff;
            border-radius: 1rem;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: box-shadow 0.3s ease;
            margin-bottom: 2rem;
        }
        
        .tool-card:hover {
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }
        
        .input-output-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1px;
            background-color: #e2e8f0;
        }
        
        .input-section,
        .output-section {
            padding: 1.5rem;
            background-color: #ffffff;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
        }
        
        .section-title {
            font-size: 1rem;
            font-weight: 600;
            color: #334155;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            background: none;
            border: none;
            color: #64748b;
            font-size: 0.8125rem;
            cursor: pointer;
            transition: color 0.3s ease;
        }
        
        .action-btn:hover {
            color: #F53F3F;
        }
        
        .copy-btn:hover {
            color: #165DFF;
        }
        
        textarea {
            width: 100%;
            height: 180px;
            padding: 0.875rem;
            border: 1px solid #e2e8f0;
            border-radius: 0.5rem;
            font-size: 0.9375rem;
            font-family: inherit;
            resize: none;
            outline: none;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
        
        textarea:focus {
            border-color: #165DFF;
            box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
        }
        
        .output-textarea {
            background-color: #f8fafc;
        }
        
        .stats {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 0.75rem;
            font-size: 0.75rem;
            color: #64748b;
        }
        
        /* 转换按钮区域 */
        .buttons-section {
            background-color: #f8fafc;
            padding: 1rem 1.5rem;
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 0.75rem;
        }
        
        .convert-btn {
            padding: 0.625rem 0.75rem;
            border: none;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.375rem;
            transition: all 0.3s ease;
        }
        
        .primary-btn {
            background-color: #165DFF;
            color: #ffffff;
        }
        
        .secondary-btn {
            background-color: #36CFC9;
            color: #ffffff;
        }
        
        .convert-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        /* 复制成功提示 */
        .success-message {
            display: none;
            margin-top: 0.75rem;
            color: #00B42A;
            font-weight: 500;
            align-items: center;
            gap: 0.375rem;
            font-size: 0.875rem;
        }
        
        .success-message.show {
            display: flex;
        }
        
        /* 字母对照表 */
        .alphabet-table {
            margin-top: 2rem;
            background-color: #ffffff;
            border-radius: 1rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
        }
        
        .alphabet-table h2 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-align: center;
            color: #1e293b;
        }
        
        .table-container {
            overflow-x: auto;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
        }
        
        th, td {
            padding: 0.625rem;
            text-align: center;
            border: 1px solid #e2e8f0;
            font-size: 0.9375rem;
        }
        
        th {
            background-color: #f1f5f9;
            font-weight: 600;
            color: #334155;
        }
        
        .copy-cell-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 0.875rem;
            color: #64748b;
            transition: color 0.3s ease;
        }
        
        .copy-cell-btn:hover {
            color: #165DFF;
        }
        
        /* 功能说明区域 */
        .info-section {
            margin-top: 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }
        
        .info-card {
            background-color: #ffffff;
            border-radius: 1rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            padding: 1.25rem;
            transition: box-shadow 0.3s ease;
        }
        
        .info-card:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }
        
        .info-card h3 {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #1e293b;
        }
        
        .info-card h3 i {
            color: #165DFF;
        }
        
        .info-card ol,
        .info-card ul {
            padding-left: 1.25rem;
            color: #64748b;
            font-size: 0.9375rem;
        }
        
        .info-card li {
            margin-bottom: 0.375rem;
        }
        
        .info-card strong {
            color: #334155;
        }
        
        /* 常见问题 */
        .faq-section {
            margin-top: 2rem;
            background-color: #ffffff;
            border-radius: 1rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
        }
        
        .faq-section h2 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #1e293b;
        }
        
        .faq-section h2 i {
            color: #165DFF;
        }
        
        .faq-item {
            margin-bottom: 1rem;
        }
        
        .faq-item h3 {
            font-weight: 600;
            margin-bottom: 0.375rem;
            color: #334155;
            font-size: 1rem;
        }
        
        .faq-item p {
            color: #64748b;
            line-height: 1.6;
            font-size: 0.9375rem;
        }
        
        /* 页脚 */
        footer {
            background-color: #1e293b;
            color: #ffffff;
            padding: 2rem 0 1rem;
            margin-top: 3rem;
        }
        
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .footer-logo {
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
        }
        
        .footer-logo .logo-icon {
            background-color: #ffffff;
            color: #165DFF;
        }
        
        .footer-logo span {
            font-size: 1.125rem;
            font-weight: 700;
            margin-left: 0.5rem;
        }
        
        .footer-tagline {
            color: #94a3b8;
            font-size: 0.8125rem;
        }
        
        .social-links {
            display: flex;
            gap: 1.25rem;
        }
        
        .social-links a {
            color: #94a3b8;
            font-size: 1.125rem;
            transition: color 0.3s ease;
        }
        
        .social-links a:hover {
            color: #ffffff;
        }
        
        .footer-bottom {
            border-top: 1px solid #334155;
            padding-top: 1rem;
            text-align: center;
            color: #94a3b8;
            font-size: 0.8125rem;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .mobile-menu.show {
                display: block;
            }
            
            main {
                padding: 1.5rem 0;
            }
            
            .input-output-container {
                grid-template-columns: 1fr;
            }
            
            .buttons-section {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .donation-content {
                flex-direction: column;
                gap: 0.75rem;
            }
            
            .alphabet-table,
            .faq-section {
                padding: 1.25rem;
            }
            
            th, td {
                padding: 0.5rem;
            }
            
            .footer-content {
                flex-direction: column;
                text-align: center;
            }
            
            .social-links {
                margin-top: 1rem;
            }
        }
        
        @media (max-width: 480px) {
            .buttons-section {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .stats {
                gap: 0.75rem;
            }
            
            .donation-qrcodes {
                gap: 0.75rem;
            }
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .fade-in {
            animation: fadeIn 0.3s ease;
        }
    /* 内容卡片 */
.content-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-card h2 i {
    color: #165DFF;
}

.content-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #334155;
}

.content-card p {
    margin-bottom: 1rem;
    color: #64748b;
    line-height: 1.7;
}

.content-card ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #64748b;
}

.content-card li {
    margin-bottom: 0.5rem;
}

.content-card strong {
    color: #334155;
}

/* 工具列表 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tool-item {
    background-color: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border-left: 4px solid #165DFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tool-item h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.tool-item p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* 故事结尾打赏区域 */
.story-donation {
    background-color: #fffbeb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid #fef3c7;
    text-align: center;
}

.story-donation h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #92400e;
}

.story-qrcodes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.story-qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-qrcode-item img {
    width: 120px;
    height: 120px;
    border-radius: 0.5rem;
    border: 1px solid #fcd34d;
    margin-bottom: 0.5rem;
}

.story-qrcode-item span {
    font-size: 0.875rem;
    color: #92400e;
    font-weight: 500;
}

.story-qrcode-item .name {
    font-size: 0.75rem;
    color: #b45309;
    margin-top: 0.25rem;
}

/* 联系我们 */
.contact-section {
    background-color: #f0f9ff;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid #bfdbfe;
}

.contact-section h2 {
    color: #1e40af;
}

.contact-section h2 i {
    color: #3b82f6;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #3b82f6;
    width: 2rem;
    text-align: center;
}

.contact-item div {
    flex: 1;
}

.contact-item h4 {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin-bottom: 0;
    color: #475569;
}

.contact-item a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}