@charset "UTF-8";

/* 全局样式 */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --card-bg: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    min-height: 100vh;
}

/* 侧边导航栏 */
.sidebar {
    width: 250px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    position: fixed;
    /* height: 100vh; */
    overflow-y: auto;
    transition: var(--transition);
    z-index: 1000;
    padding: 20px 0;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

.logo a:hover {
    color: var(--primary-color);
}

.logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.logo div {
    font-size: 28px;
    font-weight: 700;
}

.nav-menu {
    list-style: none;
    padding: 0 20px;
}

.nav-menu li {
    margin-bottom: 10px;
}

.nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
}

.nav-menu a i {
    margin-right: 12px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.download-btn {
    margin: 30px auto;
    width: calc(100% - 40px);
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), #ff8e8e);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.download-btn-mobile {
    display: none;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 107, 107, 0.3);
}

.download-btn i {
    margin-right: 8px;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 0 20px 0 20px;
    width: calc(100% - 250px);
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 5px;
    padding: 60px 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, rgba(255,107,107,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--text-color);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn i {
    margin-right: 8px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 300px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0);
}

/* 特色功能区域 */
.features {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.section-title p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 5px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    background-color: rgba(255, 107, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* 热门漫画区域 */
.popular-comics {
    margin-bottom: 60px;
}

.comics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.comic-card {
    background-color: var(--card-bg);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.comic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.comic-cover {
    position: relative;
    padding-top: 140%;
    overflow: hidden;
}

.comic-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.comic-card:hover .comic-cover img {
    transform: scale(1.05);
}

.comic-info {
    padding: 15px;
}

.comic-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comic-author {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comic-rating {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 13px;
    color: #ff9800;
}

.comic-rating i {
    margin-right: 4px;
}

/* 用户评价区域 */
.testimonials {
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* 下载中心样式 */
.download-center {
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 15px;
}

.download-center-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.app-card {
    background-color: var(--card-bg);
    border-radius: 5px;
    padding: 5px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.app-card-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 10px;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.app-icon-link {
    display: block;
    text-decoration: none;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: block;
    margin: 0 auto 15px;
    object-fit: cover;
}

.app-name a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.app-name a:hover {
    text-decoration: none;
    color: #ff6b6b;
}

.app-name {
    margin: 10px 0 5px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.app-name a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.app-size {
    font-size: 14px;
    color: var(--text-color-secondary);
    margin: 0;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 5px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: rgba(255, 107, 107, 0.1);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* 常见问题区域 */
.faq {
    margin-bottom: 60px;
    padding: 15px;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* 下载区域 */
/* 最新资讯样式 */
.news-section {
    margin-bottom: 60px;
    padding: 15px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background-color: var(--card-bg);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
    position: relative;
    min-height: 150px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-date {
    font-size: 14px;
    color: var(--text-color-secondary);
    margin-bottom: 15px;
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 40px;
}

.news-read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.news-read-more:hover {
    text-decoration: underline;
}

/* 友情链接 */
.friend-links {
    margin-bottom: 60px;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.friend-links a {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.friend-links a:hover {
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--primary-color);
}

/* 页脚 */
footer {
    background-color: var(--card-bg);
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.copyright {
    text-align: center;
    /* padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05); */
    color: var(--text-light);
    font-size: 14px;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    background-color: #9de160;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-color);
}

/* 侧边栏遮罩 */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 菜单打开时禁止背景滚动 */
body.menu-open {
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%) scale(0.95);
        width: 250px;
        padding: 20px 0;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
    }

    .sidebar.active {
        transform: translateX(0) scale(1);
        opacity: 1;
        visibility: visible;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        width: 250px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0;
        margin: 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn-mobile {
        display: flex;
    }

    .app-btn {
        width: 200px;
    }

    .download-center-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .app-card {
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden;
    }

    .app-icon {
        width: 60px;
        height: 60px;
    }

    .app-name {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .app-name a {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .app-size {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-image img {
        width: 200px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .features-grid,
    .comics-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-image {
        height: 150px;
    }

    .news-title {
        font-size: 16px;
    }
}

/* 应用信息板块样式 */
.app-info-section {
    background-color: white;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.app-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.app-header-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.app-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.app-description {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    line-height: 1.6;
    font-size: 14px;
    color: var(--text-color);
}

.app-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.app-meta {
    margin: 8px 0;
    font-size: 14px;
    color: var(--text-light);
}

.app-status {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.status-badge {
    display: flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    color: white;
}

.status-badge i {
    margin-right: 5px;
    font-size: 10px;
}

.status-badge.official, .status-badge.free, .status-badge.safe {
    background-color: #4CAF50;
}

.status-badge.error {
    background-color: #f44336;
}

.app-details-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    /* margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee; */
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 100px;
}

.detail-label {
    font-size: 12px;
    color: var(--text-light);
}

.detail-value {
    font-size: 13px;
    color: var(--text-color);
}

.view-link {
    color: #2196F3;
    text-decoration: none;
}

.view-link:hover {
    text-decoration: underline;
}

/* 安装教程样式 */
.installation-guide {
    margin-bottom: 60px;
}

.installation-content {
    /* max-width: 800px; */
    margin: 0 auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.installation-paragraph {
    margin: 15px 0;
    line-height: 1.6;
    font-size: 16px;
    color: var(--text-color);
}

.installation-paragraph strong {
    color: var(--primary-color);
    font-weight: 600;
}

.highlight {
    background-color: #fff3cd;
    color: #856404;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    border: 1px solid #ffeaa7;
}

.installation-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    background-color: var(--card-bg);
    border-radius: 5px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #ff8e8e);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.step-content img {
    width: 100%;
    max-width: 500px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 响应式安装教程 */
@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
    
    .step-content img {
        max-width: 100%;
    }
}

/* 截图展示栏样式 */
.screenshot-carousel {
    margin-top: 30px;
}

.screenshot-carousel h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.screenshot-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(0,0,0,0.1);
}

.screenshot-container::-webkit-scrollbar {
    height: 6px;
}

.screenshot-container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 5px;
}

.screenshot-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 200px;
    height: 350px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 移动端横向滚动样式 */
@media (max-width: 768px) {
    .app-details-grid {
        display: flex;
        gap: 0px;
        overflow-x: auto;
        padding: 10px 0;
        scrollbar-width: none;
        justify-content: flex-start;
        flex-wrap: nowrap;
        white-space: nowrap;
        -ms-overflow-style: none;
    }
    
    .app-details-grid::-webkit-scrollbar {
        display: none;
    }
    
    .detail-item {
        flex: 0 0 auto;
        min-width: 120px;
        white-space: normal;
    }
}

/* 弹窗显示时禁止页面滚动 */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

/* 纠错弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.4);
    padding: 10px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background-color: #fefefe;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
    overflow-x: hidden;
    word-wrap: break-word;
    word-break: break-word;
}

/* 确保弹窗内容不会溢出 */
.modal-body {
    overflow-x: hidden;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* 确保列表和段落不会导致溢出 */
.permissions-list,
.privacy-content {
    overflow-x: hidden;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.permissions-list li,
.privacy-content p,
.privacy-content ul {
    overflow-x: hidden;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 15px 0;
}

/* 确保列表项中的文本也能正确换行 */
.privacy-content li {
    overflow-x: hidden;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
    padding: 0 0 0 20px;
    margin: 0 0 5px 0;
}

/* 确保标题也能正确换行 */
.privacy-content h4 {
    overflow-x: hidden;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 20px 0 10px 0;
}

/* 确保弹窗定位一致 */
#privacyModal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 移动端弹窗适配 */
@media (max-width: 768px) {
    #privacyModal .modal-content {
        padding: 15px;
        /*max-height: 60vh;*/
    }
    
    .privacy-content p,
    .permissions-list li p {
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        overflow-x: hidden;
    }
    
    .privacy-content h4,
    .permissions-list li strong {
        font-size: 16px;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        overflow-x: hidden;
    }
    
    .privacy-content li,
    .permissions-list li {
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        overflow-x: hidden;
    }
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translate(-50%, -50%) translateY(-50px);}
    to {opacity: 1; transform: translate(-50%, -50%) translateY(0);}
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--primary-color);
}

.modal-body {
    margin-bottom: 20px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.error-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.error-option {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.error-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 107, 107, 0.1);
}

.error-description {
    margin-bottom: 20px;
}

.error-description p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.5;
}

.error-description textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    font-size: 14px;
}

.contact-info input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.modal-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* 响应式弹窗 */
@media (max-width: 768px) {
    .modal-content {
        /*margin: 20% auto;*/
        width: 85%;
        height: 60%;
    }
    
    .error-options {
        grid-template-columns: 1fr;
    }
}

/* 权限和隐私政策弹窗样式 */
.permissions-list {
    list-style: none;
    padding: 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.permissions-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
}

.permissions-list li:last-child {
    border-bottom: none;
}

.permissions-list li strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    overflow-x: hidden;
    white-space: normal;
}

.permissions-list li p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    overflow-x: hidden;
    white-space: normal;
}

.privacy-content {
    line-height: 1.6;
}

.privacy-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 16px;
}

.privacy-content p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 14px;
}

.privacy-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 5px;
    color: var(--text-light);
    font-size: 14px;
}

.close-btn {
    background-color: #f0f0f0;
    color: var(--text-color);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.close-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}