/* ========== 响应式基础 ========== */
    * { margin:0; padding:0; box-sizing:border-box;}
    body { font-family:'Microsoft YaHei',sans-serif; overflow-x:hidden; background:#fff; color:#222;}

    /* ========== 加载动画 ========== */
        #loading-ink {
            position: fixed;
            top: 0; left: 0;
            width: 100vw; height: 100vh;
            background: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            font-family: "KaiTi", "SimHei", serif;
            opacity: 1;
            transition: opacity 0.8s ease-out;
        }

        /* 加载内容容器 - 确保垂直居中排列 */
        #loading-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 20px; /* 元素之间的间距 */
            width: 100%;
            max-width: 500px;
            padding: 20px;
            margin-top: 20vh; /* 向下移动20% */
        }

        #loading-message {
            margin-bottom: 30px;
            font-size: 1.8rem;
            font-weight: bold;
            color: #333;
            text-align: center;
        }

        /* 加载进度条样式 */
        #loading-progress {
            width: 300px;
            height: 4px;
            background: rgba(0,0,0,0.1);
            border-radius: 2px;
            margin: 20px auto;
            overflow: hidden;
        }

        #loading-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #0078ff, #00d4ff);
            border-radius: 2px;
            width: 0%;
            transition: width 0.3s ease;
        }

        /* 跳过按钮样式 */
        #skip-loading {
            margin-top: 20px;
            padding: 8px 20px;
            background: rgba(0,0,0,0.1);
            border: 1px solid rgba(0,0,0,0.2);
            border-radius: 20px;
            color: #666;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        #skip-loading:hover {
            background: rgba(0,0,0,0.2);
            color: #333;
        }

        .floating-text {
            position: absolute;
            font-size: 20px;
            opacity: 0;
            white-space: nowrap;
            pointer-events: none;
            user-select: none;
            transition: transform 1s linear, opacity 0.4s linear;
            color: rgba(0, 0, 0, 0.6);
            font-family: "KaiTi", "SimHei", serif;
        }

        #loading-ink.hidden {
            opacity: 0;
            transition: opacity 0.8s ease-out;
            pointer-events: none;
        }

        .page-content {
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.6s ease;
            /* 确保页面内容完全隐藏，防止闪烁 */
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

        .page-content.show {
            opacity: 1;
            visibility: visible;
            /* 显示时恢复正常定位 */
            position: static;
            top: auto;
            left: auto;
        }

        /* Hello动画容器样式 - 固定在进度条上方 */
        #hello-animation-container {
            position: fixed;
            top: 30%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 9999;
            pointer-events: none;
        }

        .hello-svg {
            width: 100%;
            max-width: 600px;
            height: auto;
        }

    /* ========== 响应式布局 ========== */
    .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    }

    .small-text {
    font-size: 1.2rem;
    }

    /* 响应式图片和视频 */
    img, video {
    max-width: 100%;
    height: auto;
    }

    /* 顶部全屏大图板块 */
    #hero {
    width: 100%;
    height: 100vh;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease-in-out;
    }

    /* 顶部导航 */
    header, .nav-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    }

    /* 本杰明文段 */
    .quote-author {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
    }

    /* 顶部全屏区 */
    .fullscreen {
        position: relative;
        width: 100%;
        height: 100vh;
        min-height: 600px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-image: url('../images/he.webp'); /* 已更换为 he.webp，注意路径调整 */
        background-color: #333; /* 添加默认背景色，防止图片加载失败时文字不可见 */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* 主标题 */
    .main-title {
        font-size: 8.5rem;
        font-weight: 900;
        letter-spacing: 3px;
        color: rgba(255, 255, 255, 0.8);
        position: relative;
        text-align: center;
        margin: 0 auto;
        transition: transform 0.1s linear;
    }

    /* 欢迎语容器 */
    .welcome-text {
        font-size: 3.5rem;
        font-weight: 600;
        text-align: center;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        white-space: nowrap;
    }

    /* 左上角：logo + 联系作者（并排） - 调整位置与右侧菜单对齐 */
    .logo-container {
        position: fixed;
        top: 22px; /* 向下移动，使中心点与右侧菜单对齐 */
        left: 30px;
        z-index: 101;
        display: flex;
        align-items: center;
        gap: 15px; /* 减小间距，防止旋转圆圈与联系冠恩重叠 */
    }

    /* 联系作者样式 */
    .logo-author {
        cursor: pointer;
        display: inline-block;
        margin-left: 50px;
        font-weight: bold;
        color: #333;
        transition: color 0.3s;
    }

    .logo-author:hover {
        color: #ff6600;
    }

    /* 文章按钮（以及导航栏内其他按钮） */
    .logo-article {
        cursor: pointer;
        display: inline-block;
        margin-left: 10px;
        font-weight: bold;
        color: #333;
        transition: color 0.3s;
        text-decoration: none; /* ！！！已添加：去除下划线！！！ */
    }

    .logo-article:hover {
        color: #ff6600;
    }

    /* logo 样式 */
    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        transition: transform 0.3s ease;
        position: relative;
    }
    .logo:hover { transform: scale(1.05); }

    .logo-img {
        width:42px; height:42px; border-radius:50%; overflow:hidden;
        box-shadow:0 2px 6px rgba(0,0,0,0.2); display:flex;
        justify-content:center; align-items:center; background:#f0f0f0;
        transition: transform 0.3s ease;
    }
    .logo:hover .logo-img { transform: scale(1.1); }
    .logo-img img{ width:100%; height:100%; object-fit:cover; }

    .logo-text {
        font-size:1.2rem; font-weight:700; color:#111; letter-spacing:2px;
        transition: transform 0.3s ease;
    }
    .logo:hover .logo-text { transform: scale(1.05); }

    /* logo tooltip */
    .logo-tooltip {
        position: absolute;
        top: 60px;
        left: 0;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 0.9rem;
        white-space: nowrap;
        opacity: 0;
        transform: translateY(6px);
        transition: opacity 0.25s ease, transform 0.25s ease;
        pointer-events: none;
        z-index: 150;
    }
    .logo:hover .logo-tooltip {
        opacity: 1;
        transform: translateY(0);
    }

    /* 独立的"联系作者"文本 */
    .logo-author {
        font-size: 1.05rem;
        font-weight: 600;
        color: #333;
        cursor: pointer;
        position: relative;
        padding: 6px 10px;
        border-radius: 6px;
        transition: color .18s ease, background .18s ease, transform .12s ease;
        user-select: none;
    }
    .logo-author:hover {
        color: #0078ff;
        background: rgba(0,0,0,0.02);
        transform: translateY(-1px);
    }

    /* 弹窗样式已移除，联系作者按钮直接跳转到页面底部 */

    /* 右上角菜单 */
    .menu { position:fixed; top:22px; right:30px; z-index:100; display:flex; gap:12px; }
    .menu-btn {
        cursor: pointer;
        display: inline-block;
        font-weight: bold;
        color: #333;
        transition: transform 0.3s ease;
        background: none;
        border: none;
        padding: 6px 10px;
        font-size: 1.05rem;
    }
    .menu-btn:hover { transform: scale(1.1); }

    /* 移动端响应式按钮优化 */
    @media (max-width: 768px) {
        /* 主头部布局调整 - 保持两边排列 */
        .main-header {
            padding: 8px 12px !important;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: nowrap;
            background: transparent !important;
            background-color: transparent !important;
        }
        
        /* 左侧logo容器 - 保持在左侧 */
        .logo-container {
            position: static !important;
            display: flex !important;
            align-items: center !important;
            gap: 6px !important; /* 进一步减小间距，防止旋转圆圈与联系冠恩重叠 */
            flex-wrap: nowrap !important;
            margin: 0 !important;
        }
        
        .logo {
            display: flex !important;
            align-items: center !important;
            gap: 6px !important; /* 减小间距更紧凑 */
        }
        
        .logo-text {
            font-size: 0.9rem; /* 略微减小字体 */
            white-space: nowrap;
        }
        
        /* 联系冠恩和冠恩书屋 - 横向并排且更紧凑 */
        .logo-author, .logo-article {
            font-size: 0.8rem; /* 减小字体 */
            padding: 4px 6px; /* 减小内边距 */
            white-space: nowrap;
            margin: 0 !important;
        }
        
        /* 右侧菜单按钮 - 保持在右侧 */
        .menu {
            position: static !important;
            display: flex !important;
            align-items: center !important;
            gap: 4px !important; /* 减小间距更紧凑 */
        }
        
        .menu-btn {
            padding: 4px 6px; /* 减小内边距 */
            font-size: 0.8rem; /* 减小字体 */
            min-width: 40px; /* 减小最小宽度 */
            text-align: center;
        }
        
        /* 超小屏幕下的优化 - 仍然保持两边排列，更加紧凑 */
        @media (max-width: 480px) {
            .main-header {
                padding: 6px 8px !important;
                flex-wrap: nowrap;
                background: transparent !important;
                background-color: transparent !important;
            }
            
            .logo-container {
                gap: 6px !important;
            }
            
            .logo {
                gap: 4px !important;
            }
            
            .logo-text {
                font-size: 0.8rem;
            }
            
            .logo-author, .logo-article {
                font-size: 0.7rem;
                padding: 3px 5px;
            }
            
            .menu {
                gap: 3px !important;
            }
            
            .menu-btn {
                padding: 3px 5px;
                font-size: 0.7rem;
                min-width: 35px;
            }
        }
    }

    /* ========== 横向滚动展示区 ========== */
    .horizontal-scroll-section {
        padding: 80px 0;
        background: linear-gradient(to bottom, #fff);
        overflow: hidden;
        position: relative;
        z-index: 1;
    }
    #decorativeHellos {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        overflow: hidden;
        z-index: 1;
    }
    .hello-bubble {
        position: absolute;
        font-size: 1rem;
        color: rgba(0,0,0,0.45);
        white-space: nowrap;
        pointer-events: none;
        user-select: none;
        animation: floatUp 5s linear;
    }
    @keyframes floatUp {
        0% { transform: translateY(0) scale(1); opacity: 1; }
        100% { transform: translateY(-100px) scale(1.12); opacity: 0; }
    }

    .scroll-container { max-width: 100%; margin: 0 auto; padding-top: 20px; }
    .scroll-title {
        text-align: center;
        font-size: 2.8rem;
        margin-bottom: 50px;
        color: #333;
        position: relative;
    }
    .scroll-title:after {
        content: '';
        display: block;
        width: 80px;
        height: 5px;
        background: #333;
        margin: 20px auto;
        border-radius: 3px;
    }

    .horizontal-scroll {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 30px 20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }
    .horizontal-scroll::-webkit-scrollbar { display: none; }

    .scroll-content { display:flex; gap: 35px; padding: 0 50px; }

    .photo-item {
        scroll-snap-align: start;
        flex: 0 0 auto;
        width: 600px;
        height: 400px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 12px 35px rgba(0,0,0,0.15);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        background: #f5f5f5;
        position: relative;
    }
    .photo-item img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s ease; }
    .photo-item:hover { transform: translateY(-12px) scale(1.03); box-shadow: 0 20px 45px rgba(0,0,0,0.25); }
    .photo-item:hover img { transform: scale(1.12); }

    /* 图片标题 */
    .photo-caption {
        position: absolute; bottom: 0; left:0; right:0; color:#fff; padding:15px;
        transform: translateY(100%); transition: transform 0.4s ease; text-align:center;
        font-size:16px; font-weight:500; text-shadow: 0 2px 4px rgba(0,0,0,0.8); z-index: 2;
    }

    .photo-item:hover .photo-caption { transform: translateY(0); }

    /* 版权归作者所有*/
    .copyright-note {
        text-align: center;
        font-size: 0.85rem;
        color: rgba(0,0,0,0.5);
        margin-top: 25px;
        margin-bottom: 1px;
    }

    /* 渐变覆盖 */
    .photo-item::after {
        content:''; position:absolute; bottom:0; left:0; right:0; height:40%;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
        opacity:0; transition:opacity .4s ease; z-index: 1;
    }
    .photo-item:hover::after { opacity: 1; }

    /* 自定义滚动条 */
    .custom-scrollbar { width: 80%; height: 6px; background: rgba(0,0,0,0.08); border-radius:3px; margin:30px auto 0; position:relative; overflow:hidden; 
        display:block; /* ！！！已添加：将none改为block，让其显示出来！！！ */
    }
    .scroll-track { width:100%; height:100%; position:relative; }
    .scroll-thumb {
        position:absolute; height:100%; background: rgba(0,0,0,0.5); border-radius:3px; cursor:pointer; transition:background .3s ease; min-width:50px;
    }
    .scroll-thumb:hover { background: rgba(0,0,0,0.7); }

    /* 小光标样式 */
    .cursor { display:inline-block; width:2px; height:1.2em; background:#111; margin-left:4px; vertical-align:middle; animation: blink 1s steps(2,start) infinite; }
    @keyframes blink { 50% { opacity:0; } }

    /* ========= 中心文字展示 ========= */
    .center-text-section {
        width: 100%;
        min-height: 60vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 60px 20px;
        background-color: #fefefe;
    }

    .center-text-container {
        max-width: 900px;
    }

    .center-text {
        font-size: 2rem;
        font-weight: 600;
        line-height: 1.8;
        color: #222;
        opacity: 0;
        transform: scale(0.7);
        transition: opacity 1s ease, transform 1s ease;
        word-break: break-word;
        white-space: normal;
        text-align: left;
    }

    /* 激活状态：淡入放大 */
    .center-text.show {
        opacity: 1;
        transform: scale(1);
    }

    /* 新增引用区块样式 */
    .quote-section {
        width: 100%;
        padding: 60px 20px;
        background-color: #f9f9f9;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .quote-container {
        max-width: 1000px;
        width: 100%;
        text-align: center;
    }

    .highlight-quote {
        font-size: 2rem;
        font-weight: bold;
        color: #333;
        line-height: 1.6;
        margin: 0;
        font-family: "Microsoft YaHei", Arial, sans-serif;
    }

    /* 用户评价模块样式 */
    .bg-background {
        background-color: #f9f9f9;
        position: relative;
        overflow: hidden;
    }

    /* 横三竖三布局 */
    .testimonials-grid-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        animation: scrollUp 30s linear infinite;
        position: relative;
        will-change: transform;
    }

    /* 设置一个容器来实现无缝循环滚动 */
    .testimonials-wrapper {
        position: relative;
        height: 500px; /* 设置固定高度，显示3行 */
        overflow: hidden;
        margin: 0 auto;
    }

    .testimonial-row {
        display: flex;
        justify-content: center;
        gap: 30px;
    }

    /* 实现更流畅、更慢的永久反复滚动效果 */
    @keyframes scrollUp {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(-50%);
        }
    }

    /* 调整响应式布局 */
    @media (max-width: 1024px) {
        .testimonials-wrapper {
            height: 450px;
        }
        .testimonial-item {
            width: 280px;
        }
    }

    @media (max-width: 768px) {
        .testimonials-wrapper {
            height: 400px;
        }
        .testimonial-item {
            width: 220px;
        }
        .testimonial-row {
            gap: 20px;
        }
    }

    .testimonial-item {
        background: white;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        width: 320px; /* 设置固定宽度，确保三列布局 */
    }

    .testimonial-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
        color: #333;
        margin-bottom: 20px;
        font-family: "Microsoft YaHei", Arial, sans-serif;
    }

    .testimonial-author {
        display: flex;
        justify-content: center;
        padding-top: 15px;
    }

    /* 额外的动画优化 */
    .testimonials-wrapper {
        position: relative;
        height: 500px; /* 设置固定高度，显示3行 */
        overflow: hidden;
        margin: 0 auto;
        perspective: 1000px;
    }

    /* 响应式设计 - 针对用户评价模块的优化 */
    /* 桌面端（永久滚动动画） */
    @media (min-width: 769px) {
        .testimonials-wrapper {
            position: relative;
            height: 500px; /* 设置固定高度，显示3行 */
            overflow: hidden;
            margin: 0 auto;
            perspective: 1000px;
        }
        
        /* 自动滚动动画 */
        @keyframes scrollUp {
            0% { transform: translateY(0); }
            100% { transform: translateY(-50%); }
        }
        
        .testimonials-grid-container {
            will-change: transform;
            backface-visibility: hidden;
            transform: translateZ(0);
            animation: scrollUp 30s linear infinite;
        }
    }

    .testimonial-name {
        font-weight: bold;
        color: #111;
        font-size: 0.95rem;
    }

    .testimonial-role {
        color: #666;
        font-size: 0.85rem;
        margin-top: 2px;
    }

    /* InteractiveHoverButton基础样式 */
    .interactive-hover-button {
        background-color: #fff;
        color: #333;
        border: 1px solid #ddd;
    }

    .interactive-hover-button:hover {
        background-color: #f5f5f5;
    }

    /* 优雅样式的按钮 - 更长的UI和增强的动画效果 */
    .elegantly-styled-button {
        /* 增加按钮长度 - 使UI更长 */
        width: 220px !important;
        padding: 12px 24px !important;
        
        /* 更优雅的外观 */
        border-radius: 30px;
        border: 2px solid #333;
        background: linear-gradient(135deg, #ffffff, #f5f5f5);
        box-shadow: 0 6px 12px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
        color: #333;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        
        /* 增强的过渡动画 */
        transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        overflow: hidden;
    }

    /* 添加装饰性元素 */
    .elegantly-styled-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
        transition: all 0.6s;
    }

    .elegantly-styled-button:hover::before {
        left: 100%;
    }

    .elegantly-styled-button:hover {
        /* 悬停时的缩放和阴影效果 */
        transform: translateY(-4px) scale(1.03);
        box-shadow: 0 12px 20px rgba(0,0,0,0.18), 0 3px 6px rgba(0,0,0,0.12);
        border-color: #444;
        background: linear-gradient(135deg, #f5f5f5, #ffffff);
    }

    .elegantly-styled-button:active {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

    /* 添加波纹动画效果 */
    .elegantly-styled-button span {
        position: relative;
        z-index: 2;
    }

    /* 点击波纹效果样式 */
    .elegantly-styled-button .ripple {
        position: absolute;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.1);
        transform: scale(0);
        animation: buttonRipple 0.6s ease-out;
        pointer-events: none;
        z-index: 1;
    }

    /* 波纹效果的关键帧动画 */
    @keyframes buttonRipple {
        0% {
            transform: scale(0);
            opacity: 0.7;
        }
        100% {
            transform: scale(4);
            opacity: 0;
        }
    }

    /* 主标题栏样式 - 确保完全透明 */
    .main-header {
        background: transparent !important;
        backdrop-filter: none !important;
        border-bottom: none !important;
        background-color: transparent !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 101 !important;
        padding: 15px 30px !important;
        background-image: none !important;
        -webkit-background-clip: border-box !important;
        background-clip: border-box !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
    }

    /* 确保所有元素对齐 */
    .logo-container,
    .menu {
        display: flex !important;
        align-items: center !important;
        background: transparent !important;
    }

    /* 修复logo容器和menu容器的样式冲突 */
    .logo-container {
        position: static !important;
        z-index: auto !important;
        background: transparent !important;
    }

    /* 确保所有顶部容器都是透明的 */
    header,
    .nav-container,
    .logo,
    .rotating-logo-wrapper,
    .central-logo {
        background: transparent !important;
        background-color: transparent !important;
    }

    /* 确保logo图片容器也是透明的 */
    .logo-img {
        background: transparent !important;
        background-color: transparent !important;
    }

    /* 额外的波纹效果 */
    .elegantly-styled-button::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 5px;
        background: rgba(0,0,0,0.1);
        opacity: 0;
        border-radius: 100%;
        transform: scale(1, 1) translate(-50%, -50%);
        transform-origin: 50% 50%;
    }

    @keyframes ripple {
        0% {
            transform: scale(0, 0);
            opacity: 0.5;
        }
        100% {
            transform: scale(100, 100);
            opacity: 0;
        }
    }

    .elegantly-styled-button:focus:not(:active)::after {
        animation: ripple 0.6s ease-out;
    }

    /* 底部图标样式 */
    .footer-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    }

    .footer-icon {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    }

    .footer-icons a,
    .footer-icons #wechat-icon {
        display: inline-block;
        margin: 0 12px;
        vertical-align: middle;
    }

    .footer-icons .footer-icon {
        width: 32px;
        height: 32px;
        display: block;
    }

    .footer-icons .footer-icon:hover {
    transform: scale(1.2) translateY(-3px);
    filter: brightness(1.2);
    }

    /* 底部图标链接样式 */
    .footer-icon-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 12px;
        transition: transform 0.3s ease, filter 0.3s ease;
    }

    .footer-icon-link:hover {
        transform: scale(1.2) translateY(-3px);
        filter: brightness(1.2);
    }

    /* 微信容器样式 */
    .wechat-container {
        position: relative;
        cursor: pointer;
    }

    /* 微信弹出框样式 */
    .wechat-popup {
        display: none;
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 12px;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        font-family: Microsoft YaHei, Arial, sans-serif;
        font-size: 14px;
        white-space: nowrap;
        margin-bottom: 8px;
        z-index: 1000;
    }

    .wechat-popup::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 6px;
        border-style: solid;
        border-color: #fff transparent transparent transparent;
    }

    .wechat-container:hover .wechat-popup {
        display: block;
    }

    /* 备案信息样式 */
    footer {
        width: 100%;
        padding: 12px 8px;
        box-sizing: border-box;
        text-align: center;
        font-family: "Microsoft YaHei", Arial, sans-serif;
        color: #555;
        font-size: 0.8rem;
    }
    .beian-link {
        color: #555;
        text-decoration: none;
    }
    .beian-link:hover {
        text-decoration: underline;
    }
    .beian-icon {
        height: 16px;
        vertical-align: -3px;
        margin-right: 4px;
    }
    .divider {
        margin: 0 6px;
    }

    /* 页面底部按钮 */
    .to-bottom-btn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(0,0,0,0.8);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 99;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .to-bottom-btn:hover {
        transform: translateY(-5px);
        background: rgba(0,0,0,0.9);
    }

    /* ========== 响应式设计 ========== */
    /* 平板设备 */
    @media (max-width: 1024px) {
        .main-title {
            font-size: 6rem;
        }
        
        .welcome-text {
            font-size: 2.5rem;
        }
        
        .photo-item {
            width: 500px;
            height: 350px;
        }
        
        .scroll-title {
            font-size: 2.2rem;
        }
        
        .center-text {
            font-size: 1.8rem;
        }
        
        .logo-container {
            left: 20px;
            gap: 15px;
        }
        
        .menu {
            right: 20px;
        }
    }

    /* 大屏手机 */
    @media (max-width: 768px) {
        .main-title {
            font-size: 4rem;
        }
        
        .welcome-text {
            font-size: 2rem;
            white-space: normal;
        }
        
        .photo-item {
            width: 400px;
            height: 280px;
        }
        
        .scroll-title {
            font-size: 1.8rem;
            margin-bottom: 30px;
        }
        
        .center-text {
            font-size: 1.5rem;
            text-align: center;
        }
        
        .logo-container {
            top: 15px;
            left: 15px;
            gap: 10px;
        }
        
        .logo-text {
            font-size: 1rem;
        }
        
        /* 优化手机端导航栏 - 保持透明背景 */
        .main-header {
            padding: 10px !important;
            background-color: transparent !important;
            backdrop-filter: none !important;
            box-shadow: none !important;
        }
        
        /* 优化logo和导航按钮布局 */
        .logo-container {
            flex-wrap: wrap;
            justify-content: center;
        }
        
        /* 调整导航按钮尺寸和间距 */
        .menu-btn {
            padding: 6px 10px;
            font-size: 0.9rem;
        }
        
        /* 隐藏桌面端的一些元素 */
        .logo-author, .logo-article {
            display: none;
        }
        
        /* 在小屏幕上显示更多空间 */
        .fullscreen {
            padding-top: 80px;
        }
        
        /* 用户评价模块在手机端的优化 */
        .testimonials-wrapper {
            height: auto !important;
            overflow-x: hidden !important; /* 自动滚动时通常隐藏手动滚动条，或者允许手动干预 */
            overflow-y: hidden !important;
            padding: 20px 0 !important;
            display: block !important;
        }
        
        .testimonials-grid-container {
            display: flex !important;
            flex-direction: row !important;
            gap: 15px !important;
            padding: 0 15px !important;
            width: max-content !important;
            animation: scrollLeft 80s linear infinite !important; /* 慢速自动滚动，从 60s 调整为 80s */
        }
        
        /* 鼠标悬停或触摸时暂停滚动 */
        .testimonials-wrapper:hover .testimonials-grid-container,
        .testimonials-wrapper:active .testimonials-grid-container {
            animation-play-state: paused !important;
        }
        
        .testimonial-row {
            display: flex !important;
            flex-direction: row !important;
            gap: 15px !important;
            width: auto !important;
        }

        /* 显示所有行（共9个卡片及其副本） */
        .testimonial-row:not(:first-child) {
            display: flex !important;
        }
        
        .testimonial-item {
            width: 280px !important;
            flex-shrink: 0 !important;
            margin: 0 !important;
            max-width: none !important;
        }
        
        @keyframes scrollLeft {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%); /* 滚动到一半，因为后半部分是副本 */
            }
        }
        
        .testimonial-text {
            font-size: 0.9rem;
        }
        
        .menu {
            top: 20px;
            right: 15px;
        }
        
        .horizontal-scroll-section {
            padding: 50px 0;
        }
        
        .to-bottom-btn {
            bottom: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
        }
    }

    /* 小屏手机 */
    @media (max-width: 480px) {
        .main-title {
            font-size: 2.8rem;
        }
        
        .welcome-text {
            font-size: 1.5rem;
        }
        
        .photo-item {
            width: 320px;
            height: 220px;
        }
        
        .scroll-title {
            font-size: 1.5rem;
        }
        
        .center-text {
            font-size: 1.2rem;
            line-height: 1.6;
            word-break: keep-all; /* 防止单个汉字换行 */
            word-wrap: break-word;
            hyphens: auto;
        }
        
        /* 移动端文字换行优化 */
        .mobile-break {
            display: inline;
            white-space: nowrap;
        }
        
        .logo-container {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }
        
        .logo-author, .logo-article {
            margin-left: 0;
        }
        
        .menu {
            flex-direction: column;
            gap: 8px;
        }
        
        #loading-message {
            font-size: 1.4rem;
        }
        
        .floating-text {
            font-size: 16px;
        }
        
        .footer-icons {
            gap: 10px;
        }
        
        .footer-icon {
            width: 24px;
            height: 24px;
        }
        
        footer {
            font-size: 0.7rem;
        }
        
        .to-bottom-btn {
            bottom: 15px;
            right: 15px;
            width: 35px;
            height: 35px;
        }
    }

    /* 超小屏设备 */
    @media (max-width: 360px) {
        .main-title {
            font-size: 2.2rem;
        }
        
        .welcome-text {
            font-size: 1.2rem;
        }
        
        .photo-item {
            width: 280px;
            height: 200px;
        }
        
        .scroll-title {
            font-size: 1.3rem;
        }
        
        .center-text {
            font-size: 1rem;
        }
        
        .logo-text {
            font-size: 0.9rem;
        }
        
        .logo-author, .logo-article {
            font-size: 0.8rem;
        }
    }

    /* 横屏模式 */
    @media (max-height: 500px) and (orientation: landscape) {
        .fullscreen {
            height: auto;
            min-height: 100vh;
            padding: 0;
        }
        
        .main-title {
            font-size: 4rem;
            margin: 20px 0;
        }
        
        .welcome-text {
            font-size: 1.8rem;
        }
    }

    /* 高分辨率设备 */
    @media (min-width: 1600px) {
        .container {
            max-width: 1400px;
        }
        
        .main-title {
            font-size: 10rem;
        }
        
        .welcome-text {
            font-size: 4rem;
        }
        
        .photo-item {
            width: 700px;
            height: 450px;
        }
    }

    /* ========= 移动端体验优化 ========= */

    /* 触摸目标优化 */
    @media (max-width: 768px) {
        /* 增强触摸目标大小 */
        a, button, .footer-icon-link, .photo-item, .menu-btn, .logo-author, .logo-article {
            touch-action: manipulation;
            min-height: 44px;
            min-width: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        /* 防止移动端双击缩放 */
        * {
            -webkit-tap-highlight-color: transparent;
        }
        
        /* 优化横向滚动体验 */
        .horizontal-scroll-wrapper {
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        
        .horizontal-scroll-wrapper::-webkit-scrollbar {
            display: none;
        }
        
        /* 优化触摸反馈 */
        .interactive-hover-button:active {
            transform: scale(0.95);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        /* 优化图片触摸效果 */
        .photo-item:active {
            transform: translateY(-2px);
        }
        
        /* 优化按钮触摸效果 */
        .menu-btn:active {
            transform: scale(0.95);
        }
        
        /* 优化打字机效果在小屏幕上的显示 */
        .cursor {
            height: 1.2em !important;
            width: 3px !important;
        }
        
        /* 优化悬浮文字在小屏幕上的显示 */
        .floating-text {
            font-size: 14px !important;
            padding: 8px 15px !important;
        }
    }

    /* 小屏幕设备优化 */
    @media (max-width: 480px) {
        /* 优化顶部区域布局 */
        .main-header {
            padding: 10px !important;
        }
        
        /* 优化欢迎语容器 */
        #welcomeContainer {
            font-size: 16px !important;
            padding: 15px;
            text-align: center;
        }
        
        /* 优化横向滚动容器 */
        .scroll-content {
            padding: 0 10px !important;
            gap: 15px !important;
        }
        
        /* 优化中心文字区域间距 */
        #centerText {
            margin-top: 80px !important;
            margin-bottom: 80px !important;
            padding: 0 15px;
            line-height: 1.8 !important;
        }
        
        /* 优化底部图标布局 */
        .footer-icons {
            gap: 15px;
            padding: 10px;
        }
        
        /* 优化备案信息显示 */
        footer {
            padding: 20px 10px !important;
            line-height: 1.8;
        }
        
        /* 优化分割线显示 */
        .divider {
            display: block !important;
            margin: 5px auto !important;
            width: 50px;
            height: 1px;
            background: #ddd;
        }
        
        /* 优化底部按钮位置 */
        .to-bottom-btn {
            bottom: 20px !important;
            right: 20px !important;
            z-index: 999;
        }
    }

    /* 超小屏幕设备优化 */
    @media (max-width: 360px) {
        /* 进一步优化文字大小 */
        #welcomeContainer {
            font-size: 14px !important;
        }
        
        #centerText {
            font-size: 1.1rem !important;
            margin-top: 50px !important;
            margin-bottom: 50px !important;
        }
        
        /* 优化滚动条显示 */
        .custom-scrollbar {
            width: 90% !important;
        }
        
        /* 优化图片尺寸 */
        .photo-item {
            min-width: 240px !important;
            height: 180px !important;
        }
        
        /* 优化底部图标大小 */
        .footer-icon {
            width: 28px !important;
            height: 28px !important;
        }
        
        /* 优化备案信息字体 */
        footer {
            font-size: 0.65rem !important;
        }
    }

    /* 横屏模式优化 */
    @media (max-height: 500px) and (orientation: landscape) {
        /* 优化顶部区域高度 */
        .fullscreen {
            height: 100vh !important;
            min-height: 300px;
        }
        
        /* 优化欢迎语容器位置 */
        #welcomeContainer {
            transform: translateY(-20%) !important;
        }
        
        /* 优化横向滚动区 */
        .horizontal-scroll-section {
            margin-top: 10px;
        }
        
        .photo-item {
            height: 120px !important;
        }
        
        /* 优化中心文字区域 */
        #centerText {
            margin-top: 40px !important;
            margin-bottom: 40px !important;
        }
    }

    /* 高分辨率设备优化 */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        /* 确保图像在高DPI屏幕上清晰显示 */
        .photo-item img {
            image-rendering: -webkit-optimize-contrast;
        }
        
        /* 优化SVG图标显示 */
        .footer-icon {
            image-rendering: optimizeQuality;
        }
    }

    /* 性能优化 */
    @media (max-width: 768px) {
        /* 减少动画复杂度 */
        .photo-item {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .photo-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        }
        
        /* 减少过渡效果复杂度 */
        .elegantly-styled-button {
            transition: all 0.3s ease;
        }
        
        /* 优化渲染性能 */
        * {
            will-change: auto;
        }
        
        .main-title, .welcome-text, .photo-item {
            will-change: transform;
        }
    }
    