/* 基础样式复用原页面体系 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "Hiragino Sans GB", "Comic Sans MS", sans-serif;
}

body {
    background-color: #f9f5ff;
    color: #444;
    line-height: 1.6;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4bfff' fill-opacity='0.15'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464 2.94l-1.414-1.414L38.414 20H14v-2h24.414l-2.828-2.828 1.414-1.414L42.828 20l-7.364 7.364-1.414-1.414L38.414 22H14v-2h24.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* 顶部返回按钮（复用原页面样式） */
header {
    padding: 1rem 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.back-button i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    background: linear-gradient(90deg, #5254e8, #7c4dff);
}

.back-button:active {
    transform: translateY(0);
}

/* 帮助中心Banner（贴合二次元风格） */
.help-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    position: relative;
    overflow: hidden;
}

.help-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236366f1' opacity='0.05'%3E%3Cpath d='M12,2L4,5V11C4,16.55 7.53,21.74 12,23C16.47,21.74 20,16.55 20,11V5L12,2M12,4L18,6.4V11.1C18,15.55 15.39,19.74 12,20.8C8.61,19.74 6,15.55 6,11.1V6.4L12,4Z' /%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 50px;
    z-index: 0;
}

.banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.help-title {
    font-size: 2.5rem;
    color: #6366f1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
}

.help-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

/* 帮助板块容器（网格布局） */
.help-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* 帮助卡片样式（二次元视觉风格） */
.help-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236366f1' opacity='0.1'%3E%3Cpath d='M12,2L4,5V11C4,16.55 7.53,21.74 12,23C16.47,21.74 20,16.55 20,11V5L12,2M12,4L18,6.4V11.1C18,15.55 15.39,19.74 12,20.8C8.61,19.74 6,15.55 6,11.1V6.4L12,4Z' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 10;
}

.help-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: #f0e6ff;
}

/* 卡片图标（二次元配色） */
.help-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-tutorial {
    background: #f0e6ff;
    color: #6366f1;
}

.icon-faq {
    background: #ffe6f2;
    color: #ec4899;
}

.icon-fee {
    background: #e6f7ff;
    color: #0ea5e9;
}

.icon-safety {
    background: #e6ffe6;
    color: #22c55e;
}

.icon-feedback {
    background: #fff2e6;
    color: #f97316;
}

.help-icon i {
    font-size: 1.8rem;
}

/* 卡片内容基础样式 */
.help-card-title {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.help-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 3px;
}

.help-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.help-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #4a5568;
}

.help-list li::before {
    content: '✦';
    color: #6366f1;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.help-link {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.help-link:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

/* ######## 常见问题折叠功能样式 ######## */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 0.8rem;
    border: 1px solid #f0e6ff;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1rem 1.2rem;
    background: #faf5ff;
    color: #4a5568;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f3e8ff;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #6366f1;
}

/* 点击后图标旋转 */
.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-answer p {
    padding: 1rem 0;
    color: #4a5568;
    line-height: 1.7;
    border-top: 1px solid #f9fafb;
}

/* 意见反馈表单样式 */
.feedback-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    background: linear-gradient(90deg, #5254e8, #7c4dff);
}

/* 底部版权（复用原页面样式） */
footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 0;
    margin-top: 6rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 1rem;
}

.beian-info {
    margin-top: 1rem;
}

.beian-link {
    color: #ccc;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.beian-icon {
    width: 18px;
    height: 18px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .help-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .help-title {
        font-size: 2rem;
    }

    .help-card {
        padding: 1.8rem;
    }

    .help-card-title {
        font-size: 1.2rem;
    }

    .submit-btn {
        width: 100%;
    }

    .faq-question {
        font-size: 0.95rem;
    }
}