/* 小熊闹闹 V4 - 性能优化平衡版：暗黑霓虹 + 优化性能 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 暗黑霓虹配色 */
    --neon-pink: #ff00ff;
    --neon-cyan: #00ffff;
    --neon-purple: #9d4edd;
    --neon-green: #39ff14;
    --neon-yellow: #ffff00;
    --neon-blue: #0080ff;
    
    /* 背景色 */
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-card: rgba(20, 20, 30, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    /* 文字色 */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* 边框和阴影 */
    --border-neon: rgba(255, 0, 255, 0.5);
    --shadow-neon-pink: 0 0 20px rgba(255, 0, 255, 0.5),
                       0 0 40px rgba(255, 0, 255, 0.3),
                       0 0 60px rgba(255, 0, 255, 0.2);
    --shadow-neon-cyan: 0 0 20px rgba(0, 255, 255, 0.5),
                        0 0 40px rgba(0, 255, 255, 0.3),
                        0 0 60px rgba(0, 255, 255, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 500;
    background: var(--bg-darker);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ========== 粒子背景 ========== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: none; /* 初始隐藏，延迟加载后显示 */
}

/* ========== 3D导航栏 ========== */
.nav-3d {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-neon);
    box-shadow: var(--shadow-neon-pink);
    overflow: visible;
}

.nav-container-3d {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}


.nav-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.nav-brand-3d {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.nav-brand-3d:hover {
    transform: scale(1.05);
}

.brand-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--neon-pink));
    animation: pulse-glow 2s ease-in-out infinite;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-brand-3d:hover .brand-logo-img {
    filter: drop-shadow(0 0 15px var(--neon-pink)) drop-shadow(0 0 25px var(--neon-cyan));
    transform: scale(1.05);
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 8px var(--neon-pink)); }
    50% { filter: drop-shadow(0 0 15px var(--neon-pink)) drop-shadow(0 0 25px var(--neon-cyan)); }
}

.nav-menu-3d {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu-3d a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.2); /* 20%透明度的黑色背景，让文字更明显 */
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.nav-menu-3d a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu-3d a:hover::before {
    opacity: 1;
}

.nav-menu-3d a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    box-shadow: var(--shadow-neon-pink);
    transition: width 0.3s;
}

.nav-menu-3d a:hover::after {
    width: 100%;
}

/* ========== 导航栏跑马灯效果 ========== */
/* 跑马灯只在LOGO右侧显示，不进入导航区域 */
.nav-marquee-3d {
    position: relative;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    pointer-events: none;
}

.marquee-item {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    transition: filter 0.3s ease;
    display: block;
}

.nav-toggle-3d {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle-3d span {
    width: 25px;
    height: 3px;
    background: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink);
    border-radius: 3px;
    transition: all 0.3s;
}

/* ========== Hero 区域 ========== */
.hero-3d {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    z-index: 1;
}

.hero-content-3d {
    text-align: center;
    max-width: 1000px;
    position: relative;
    z-index: 10;
}

.logo-3d-container {
    margin-bottom: 3rem;
    perspective: 1000px;
}

.logo-3d-wrapper {
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
    /* 性能优化：简化动画，降低复杂度 */
    animation: float-3d 8s ease-in-out infinite;
    will-change: transform;
}

@keyframes float-3d {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(5deg); }
    /* 降低移动距离和旋转角度 */
}

.logo-3d-bubble {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    box-shadow: 
        0 0 60px rgba(255, 0, 255, 0.4),
        0 0 100px rgba(0, 255, 255, 0.3),
        inset 0 0 80px rgba(255, 0, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8%;
    box-sizing: border-box;
    background: 
        radial-gradient(circle at 30% 30%, 
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 15%,
            transparent 30%),
        radial-gradient(circle, 
            rgba(255, 0, 255, 0.2) 0%,
            rgba(0, 255, 255, 0.15) 50%,
            transparent 100%);
}

.logo-3d {
    width: 110%;
    height: 110%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px var(--neon-pink)) 
            drop-shadow(0 0 60px var(--neon-cyan));
    position: relative;
    z-index: 1;
    opacity: 0.85;
    transform: translateY(5px);
    transition: opacity 0.3s ease;
    pointer-events: none; /* 图片不阻止点击事件 */
}

.logo-3d-bubble.playing .logo-3d {
    opacity: 0;
}

.logo-gradient-mask {
    pointer-events: none; /* 遮罩不阻止点击事件 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, 
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 15%,
            transparent 30%),
        radial-gradient(circle, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(0, 0, 0, 0) 20%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0.5) 65%,
            rgba(0, 0, 0, 0.75) 85%,
            rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
    pointer-events: none;
    border-radius: 50%;
}

.logo-3d-bubble::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 0, 255, 0.3) 0%,
        rgba(0, 255, 255, 0.2) 25%,
        transparent 50%);
    z-index: 3;
    pointer-events: none;
    animation: bubble-glow 3s ease-in-out infinite;
}

@keyframes bubble-glow {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

.logo-glow-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 380px;
    height: 380px;
    border: 3px solid var(--neon-pink);
    border-radius: 50%;
    box-shadow: var(--shadow-neon-pink),
                inset 0 0 50px rgba(255, 0, 255, 0.3);
    /* 性能优化：降低旋转速度 */
    animation: rotate-ring 15s linear infinite;
    will-change: transform;
}

@keyframes rotate-ring {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* ========== 装饰性小泡泡 ========== */
.decorative-bubble {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 255, 0.4);
    /* 优化：减少box-shadow层数以降低CPU消耗 */
    box-shadow: 
        0 0 15px rgba(255, 0, 255, 0.3),
        0 0 30px rgba(0, 255, 255, 0.2);
    animation: float-bubble 10s ease-in-out infinite;
    overflow: hidden;
    z-index: 1;
    opacity: 0; /* 初始完全透明，从暗开始 */
    background: 
        radial-gradient(circle at 30% 30%, 
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.08) 20%,
            transparent 40%),
        radial-gradient(circle, 
            rgba(255, 0, 255, 0.2) 0%,
            rgba(0, 255, 255, 0.15) 50%,
            transparent 100%);
    pointer-events: none;
    /* 优化：使用transform代替top/left，启用GPU加速 */
    will-change: transform, opacity;
    transform: translateZ(0);
    display: flex;
    align-items: center;
    justify-content: center;
    /* 页面初始化时立即应用初始状态（透明），然后动画开始 */
    animation-fill-mode: both;
    /* 每个气泡有不同的动画时长，创造异步效果 */
    animation-duration: 8s; /* 默认值，会被各个气泡覆盖 */
}

/* 小气泡中的礼物图标 - 淡淡的，居中显示，和气泡一样大小 */
.decorative-bubble::after {
    content: attr(data-icon);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(40px, 85%, 150px); /* emoji大小：使用clamp确保在不同气泡尺寸下都尽可能大 */
    opacity: 0.15; /* 非常淡，不突出 */
    z-index: 1;
    pointer-events: none;
    filter: blur(0.5px); /* 轻微模糊，更柔和 */
    line-height: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: visible; /* emoji可以稍微超出，但会被气泡的overflow: hidden裁剪 */
}

/* 优化：重新分布气泡位置，确保不重叠且均匀不规则分布 */
.bubble-1 {
    width: 85px;
    height: 85px;
    top: 12%;
    left: 8%;
    animation-delay: 0s;
    animation-duration: 8.5s;
}

.bubble-2 {
    width: 115px;
    height: 115px;
    top: 8%;
    right: 10%;
    animation-delay: 0.3s;
    animation-duration: 11s;
}

.bubble-3 {
    width: 155px;
    height: 155px;
    bottom: 10%;
    left: 5%;
    animation-delay: 0.6s;
    animation-duration: 9.2s;
}

.bubble-4 {
    width: 95px;
    height: 95px;
    bottom: 15%;
    right: 8%;
    animation-delay: 0.5s;
    animation-duration: 12s;
}

.bubble-5 {
    width: 135px;
    height: 135px;
    top: 50%;
    right: 12%;
    animation-delay: 0.15s;
    animation-duration: 7.8s;
}

.bubble-6 {
    width: 105px;
    height: 105px;
    top: 25%;
    left: 15%;
    animation-delay: 0.8s;
    animation-duration: 10.5s;
}

.bubble-7 {
    width: 125px;
    height: 125px;
    top: 32%;
    right: 18%;
    animation-delay: 0.4s;
    animation-duration: 9.8s;
}

.bubble-8 {
    width: 110px;
    height: 110px;
    bottom: 22%;
    left: 18%;
    animation-delay: 0.25s;
    animation-duration: 11.5s;
}

.bubble-9 {
    width: 100px;
    height: 100px;
    top: 42%;
    left: 12%;
    animation-delay: 0.6s;
    animation-duration: 8.2s;
}

.bubble-10 {
    width: 90px;
    height: 90px;
    top: 20%;
    right: 22%;
    animation-delay: 0.1s;
    animation-duration: 10.8s;
}

.bubble-11 {
    width: 120px;
    height: 120px;
    bottom: 28%;
    right: 20%;
    animation-delay: 0.7s;
    animation-duration: 9.5s;
}

.bubble-12 {
    width: 80px;
    height: 80px;
    top: 38%;
    left: 25%;
    animation-delay: 0.2s;
    animation-duration: 11.2s;
}

.bubble-13 {
    width: 110px;
    height: 110px;
    bottom: 32%;
    left: 22%;
    animation-delay: 0.45s;
    animation-duration: 10.2s;
}

.bubble-14 {
    width: 95px;
    height: 95px;
    top: 52%;
    right: 25%;
    animation-delay: 0.9s;
    animation-duration: 8.8s;
}

.bubble-15 {
    width: 105px;
    height: 105px;
    top: 18%;
    left: 30%;
    animation-delay: 0.35s;
    animation-duration: 11.8s;
}

.bubble-16 {
    width: 115px;
    height: 115px;
    bottom: 25%;
    right: 15%;
    animation-delay: 0.2s;
    animation-duration: 9.3s;
}

.bubble-17 {
    width: 88px;
    height: 88px;
    top: 35%;
    left: 28%;
    animation-delay: 0.75s;
    animation-duration: 10.7s;
}

.bubble-18 {
    width: 102px;
    height: 102px;
    bottom: 30%;
    left: 35%;
    animation-delay: 0.55s;
    animation-duration: 8.5s;
}

@keyframes float-bubble {
    0% { 
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0; /* 从完全透明开始 */
    }
    10% { 
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.12; /* 快速变亮到初始状态 */
    }
    25% { 
        transform: translate3d(8px, -15px, 0) scale(1.03);
        opacity: 0.75;
    }
    50% { 
        transform: translate3d(-12px, -8px, 0) scale(0.97);
        opacity: 0.15;
    }
    75% { 
        transform: translate3d(4px, -20px, 0) scale(1.01);
        opacity: 0.8;
    }
    100% { 
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.12; /* 回到初始状态 */
    }
}

.hero-title-3d {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', 'Arial Black', 'Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.title-word {
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
}

.title-word.highlight-neon {
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan), var(--neon-pink));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neon-flow 3s linear infinite;
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
}

@keyframes neon-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.hero-subtitle-3d {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-cta-3d {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-hint-3d {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    z-index: 2;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    pointer-events: none;
    font-size: 0.85rem;
}

.scroll-hint-3d.fade-out {
    opacity: 0;
}

.scroll-hint-3d span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.scroll-text {
    display: block !important;
}

.swipe-text {
    display: none !important;
}

/* 桌面端显示鼠标，隐藏触屏提示 */
.mouse-3d {
    display: block !important;
    width: 24px;
    height: 40px;
    border: 1.5px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    margin: 0 auto 0.8rem;
    position: relative;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
}

.swipe-hint-3d {
    display: none !important;
    width: 40px;
    height: 40px;
    margin: 0 auto 0.8rem;
    position: relative;
}

.swipe-hint-3d::before {
    content: '👆';
    font-size: 2rem;
    display: block;
    animation: swipe-up 2s infinite;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.4));
}

@keyframes swipe-up {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

.mouse-3d::before {
    content: '';
    width: 3px;
    height: 8px;
    background: rgba(0, 255, 255, 0.4);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-down 2s infinite;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

@keyframes scroll-down {
    0% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ========== 霓虹按钮 ========== */
.btn-neon,
.btn-outline-neon {
    position: relative;
    z-index: 10;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-neon {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    color: var(--text-primary);
    box-shadow: var(--shadow-neon-pink);
}

.btn-neon:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-neon-pink),
                0 0 80px rgba(255, 0, 255, 0.6);
}

.btn-neon:disabled,
.btn-neon.btn-loading {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.btn-neon:disabled::after,
.btn-neon.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    transition: width 0.6s, height 0.6s;
}

.btn-neon:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.btn-outline-neon {
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-outline-neon:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: var(--shadow-neon-cyan);
    transform: translateY(-3px);
}

.btn-large-neon {
    padding: 1.5rem 4rem;
    font-size: 1.3rem;
}

/* ========== 通用区块 ========== */
.section-3d {
    padding: 8rem 2rem;
    position: relative;
    z-index: 1;
}

.section-header-3d {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge-3d {
    display: inline-block;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--neon-pink));
    animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.section-title-3d {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.section-desc-3d {
    font-size: 1.25rem;
    color: var(--text-secondary);
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.7;
}

/* ========== 简化卡片（去掉3D翻转，避免网络卡顿导致内容反转） ========== */
.ceremony-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* 移动端：保持网格布局，自适应换行 */
@media (max-width: 768px) {
    .ceremony-grid-3d {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        margin: 0 auto;
    }
    
    .ceremony-grid-3d .card-3d {
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }
    
    .card-content-3d {
        min-height: 350px;
    }
    
    /* 蛋糕展示区域保持横向滚动（因为卡片较少） */
    .cake-showcase-3d {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--neon-pink) transparent;
        gap: 1.5rem;
        padding: 0 1rem;
        margin: 0;
    }
    
    .cake-showcase-3d::-webkit-scrollbar {
        height: 6px;
    }
    
    .cake-showcase-3d::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .cake-showcase-3d::-webkit-scrollbar-thumb {
        background: var(--neon-pink);
        border-radius: 3px;
    }
    
    .cake-showcase-3d .cake-item-3d {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
        min-height: auto;
    }
}

.card-3d {
    min-height: 400px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-content-3d {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    border: 2px solid var(--border-neon);
    box-shadow: var(--shadow-neon-pink);
    transition: all 0.3s ease;
}

/* 桌面端：简单的hover效果（提升阴影和轻微上移） */
@media (min-width: 769px) {
    .card-3d:hover .card-content-3d {
        transform: translateY(-8px);
        box-shadow: var(--shadow-neon-pink),
                    0 0 60px rgba(255, 0, 255, 0.4);
        border-color: var(--neon-cyan);
    }
}

/* 移动端：简单的点击反馈 */
@media (max-width: 768px) {
    .card-3d:active .card-content-3d {
        transform: scale(0.98);
    }
}

.card-icon-3d {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--neon-pink));
}

.card-title-3d {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.card-desc-3d {
    color: var(--text-secondary);
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word;
}

.card-details-3d {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 0, 255, 0.3);
    width: 100%;
}

.card-details-3d h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--neon-cyan);
    font-weight: 600;
}

.card-details-3d p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.card-tag-3d {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-dark);
    color: var(--neon-cyan);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* ========== 优化背景（去掉视差） ========== */
/* V4版本：去掉视差滚动，使用静态渐变背景提升性能 */

.cake-showcase-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 桌面端隐藏装饰元素（移动端显示） */
@media (max-width: 768px) {
    .music-decor-left-3d,
    .music-decor-right-3d {
        display: none;
    }
    
    .merchandise-music-section-3d {
        flex-direction: column;
        gap: 0;
    }
}

.cake-item-3d {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-neon);
    box-shadow: var(--shadow-neon-cyan);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /* 性能优化：只在hover时使用will-change */
}

/* 桌面端：hover效果（优化性能） */
@media (min-width: 769px) {
    .cake-item-3d:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: var(--shadow-neon-cyan),
                    0 0 60px rgba(0, 255, 255, 0.3);
        will-change: transform;
    }
    
    .cake-item-3d:not(:hover) {
        will-change: auto;
    }
}

/* 移动端：简单的点击反馈 */
@media (max-width: 768px) {
    .cake-item-3d {
        transform: none !important;
    }
    
    .cake-item-3d:active {
        transform: scale(0.98) !important;
    }
}

.cake-image-3d {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cake-emoji-3d {
    font-size: 6rem;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

.cake-glow-3d {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    /* 性能优化：使用CSS动画替代JS，降低复杂度 */
    animation: pulse-glow-cake 4s ease-in-out infinite;
    will-change: opacity;
}

@keyframes pulse-glow-cake {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
    /* 去掉transform scale，减少重绘 */
}

.cake-info-3d {
    padding: 2rem;
}

.cake-name-3d {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.cake-specs-3d {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.cake-quote-3d {
    background: rgba(0, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--neon-cyan);
    font-style: italic;
    color: var(--text-primary);
    margin: 0;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

/* ========== 周边模块 - 音乐与产品融合 ========== */
.merchandise-music-section-3d {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 4rem;
    position: relative;
    gap: 2rem;
}

.music-decor-left-3d,
.music-decor-right-3d {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0.6;
    pointer-events: none;
}

.music-decor-item-3d {
    font-size: 2.5rem;
    animation: float-music-decor 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.music-decor-item-3d:nth-child(1) {
    animation-delay: 0s;
}

.music-decor-item-3d:nth-child(2) {
    animation-delay: 0.5s;
}

.music-decor-item-3d:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float-music-decor {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) scale(1.1);
        opacity: 0.9;
    }
}

.music-card-3d {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-neon);
    box-shadow: var(--shadow-neon-cyan);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
    width: 100%;
}

.merchandise-divider-3d {
    text-align: center;
    margin: 4rem 0 2rem;
    position: relative;
}

.merchandise-divider-3d::before,
.merchandise-divider-3d::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
}

.merchandise-divider-3d::before {
    left: 0;
}

.merchandise-divider-3d::after {
    right: 0;
}

.divider-text-3d {
    display: inline-block;
    padding: 0.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-neon);
    border-radius: 20px;
    color: var(--neon-cyan);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

@media (min-width: 769px) {
    .music-card-3d:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: var(--shadow-neon-cyan),
                    0 0 60px rgba(0, 255, 255, 0.3);
    }
}

.music-info-3d {
    padding: 2rem;
    text-align: center;
}

.music-title-3d {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
}

.music-desc-3d {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.music-player-wrapper-3d {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.music-fallback-3d {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.music-fallback-3d p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.music-platforms-3d {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.platform-link-3d {
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 20px;
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.platform-link-3d:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--neon-cyan);
    transform: translateY(-2px);
}

/* 音乐播放器占位符和加载状态 */
.music-player-placeholder-3d {
    width: 330px;
    height: 450px;
    max-width: 100%;
    border-radius: 12px;
    background: var(--bg-card);
    border: 2px solid var(--border-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.music-player-loading-3d {
    text-align: center;
    color: var(--text-secondary);
}

.music-player-loading-3d p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.loading-spinner-small {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 255, 255, 0.3);
    border-top: 3px solid var(--neon-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== 周边产品展示 ========== */
.merchandise-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.merchandise-item-3d {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-neon);
    box-shadow: var(--shadow-neon-pink);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

@media (min-width: 769px) {
    .merchandise-item-3d:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: var(--shadow-neon-pink),
                    0 0 60px rgba(255, 0, 255, 0.3);
    }
}

.merchandise-image-3d {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.merchandise-emoji-3d {
    font-size: 6rem;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

.merchandise-glow-3d {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    animation: pulse-glow-cake 4s ease-in-out infinite;
    will-change: opacity;
}

.merchandise-info-3d {
    padding: 2rem;
}

.merchandise-name-3d {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--neon-pink);
    text-shadow: 0 0 20px var(--neon-pink);
}

.merchandise-specs-3d {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.merchandise-quote-3d {
    background: rgba(255, 0, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--neon-pink);
    font-style: italic;
    color: var(--text-primary);
    margin: 0;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

/* ========== 文化模块 - 核心品质与招聘融合 ========== */
.culture-divider-3d {
    text-align: center;
    margin: 4rem 0 2rem;
    position: relative;
}

.culture-divider-3d::before,
.culture-divider-3d::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.culture-divider-3d::before {
    left: 0;
}

.culture-divider-3d::after {
    right: 0;
}

.culture-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

/* 招聘区域 */
.recruitment-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.recruitment-card-3d {
    min-height: 400px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recruitment-content-3d {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    border: 2px solid var(--border-neon);
    box-shadow: var(--shadow-neon-cyan);
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .recruitment-card-3d:hover .recruitment-content-3d {
        transform: translateY(-8px);
        box-shadow: var(--shadow-neon-cyan),
                    0 0 60px rgba(0, 255, 255, 0.4);
        border-color: var(--neon-pink);
    }
}

.recruitment-icon-3d {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--neon-cyan));
}

.recruitment-title-3d {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.recruitment-desc-3d {
    color: var(--text-secondary);
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word;
}

.recruitment-details-3d {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    width: 100%;
}

.recruitment-details-3d h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--neon-cyan);
    font-weight: 600;
}

.recruitment-details-3d p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.recruitment-tag-3d {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-dark);
    color: var(--neon-cyan);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.culture-card-3d {
    min-height: 400px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture-content-3d {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    border: 2px solid var(--border-neon);
    box-shadow: var(--shadow-neon-cyan);
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .culture-card-3d:hover .culture-content-3d {
        transform: translateY(-8px);
        box-shadow: var(--shadow-neon-cyan),
                    0 0 60px rgba(0, 255, 255, 0.4);
        border-color: var(--neon-pink);
    }
}

@media (max-width: 768px) {
    .culture-card-3d:active .culture-content-3d {
        transform: scale(0.98);
    }
}

.culture-icon-3d {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--neon-cyan));
}

.culture-title-3d {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.culture-desc-3d {
    color: var(--text-secondary);
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word;
}

.culture-details-3d {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    width: 100%;
}

.culture-details-3d h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--neon-cyan);
    font-weight: 600;
}

.culture-details-3d p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.culture-tag-3d {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-dark);
    color: var(--neon-cyan);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* ========== 案例模块 - 客户案例与异业合作融合 ========== */
.cases-divider-3d {
    text-align: center;
    margin: 4rem 0 2rem;
    position: relative;
}

.cases-divider-3d::before,
.cases-divider-3d::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
}

.cases-divider-3d::before {
    left: 0;
}

.cases-divider-3d::after {
    right: 0;
}

/* 视频播放区域 */
.cases-video-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.case-video-item-3d {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.case-video-item-3d:hover {
    transform: translateY(-8px) scale(1.02);
}

.case-video-thumbnail-3d {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border-neon);
    box-shadow: var(--shadow-neon-pink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-video-play-btn-3d {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    font-size: 1.5rem;
    z-index: 2;
    transition: all 0.3s;
}

.case-video-item-3d:hover .case-video-play-btn-3d {
    background: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px var(--neon-cyan);
    transform: scale(1.1);
}

.case-video-overlay-3d {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1rem;
    z-index: 1;
}

.case-video-title-3d {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.case-video-desc-3d {
    font-size: 0.9rem;
    color: var(--neon-cyan);
}

/* 客户反馈区域 */
.cases-feedback-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.case-feedback-card-3d {
    min-height: 350px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-feedback-content-3d {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    border: 2px solid var(--border-neon);
    box-shadow: var(--shadow-neon-pink);
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .case-feedback-card-3d:hover .case-feedback-content-3d {
        transform: translateY(-8px);
        box-shadow: var(--shadow-neon-pink),
                    0 0 60px rgba(255, 0, 255, 0.4);
        border-color: var(--neon-cyan);
    }
}

.case-feedback-icon-3d {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--neon-pink));
}

.case-feedback-title-3d {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.case-feedback-desc-3d {
    color: var(--text-secondary);
    line-height: 1.8;
}

.case-feedback-details-3d {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 0, 255, 0.3);
    width: 100%;
}

.case-feedback-details-3d h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--neon-pink);
    font-weight: 600;
}

.case-feedback-details-3d p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.case-feedback-tag-3d {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-dark);
    color: var(--neon-pink);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

/* 异业合作区域 */
.cases-cooperation-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.case-cooperation-card-3d {
    min-height: 350px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-cooperation-content-3d {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    border: 2px solid var(--border-neon);
    box-shadow: var(--shadow-neon-cyan);
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .case-cooperation-card-3d:hover .case-cooperation-content-3d {
        transform: translateY(-8px);
        box-shadow: var(--shadow-neon-cyan),
                    0 0 60px rgba(0, 255, 255, 0.4);
        border-color: var(--neon-pink);
    }
}

.case-cooperation-icon-3d {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--neon-cyan));
}

.case-cooperation-title-3d {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.case-cooperation-desc-3d {
    color: var(--text-secondary);
    line-height: 1.8;
}

.case-cooperation-details-3d {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    width: 100%;
}

.case-cooperation-details-3d h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--neon-cyan);
    font-weight: 600;
}

.case-cooperation-details-3d p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.case-cooperation-tag-3d {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-dark);
    color: var(--neon-cyan);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* 大客户案例区域 */
.cases-vip-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.case-vip-card-3d {
    min-height: 300px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-vip-content-3d {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    border: 2px dashed var(--border-neon);
    box-shadow: var(--shadow-neon-pink);
    transition: all 0.3s ease;
    opacity: 0.7;
}

@media (min-width: 769px) {
    .case-vip-card-3d:hover .case-vip-content-3d {
        transform: translateY(-8px);
        box-shadow: var(--shadow-neon-pink),
                    0 0 60px rgba(255, 0, 255, 0.4);
        border-color: var(--neon-cyan);
        opacity: 1;
    }
}

.case-vip-icon-3d {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--neon-pink));
}

.case-vip-title-3d {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.case-vip-desc-3d {
    color: var(--text-secondary);
    line-height: 1.8;
}

.case-vip-details-3d {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 0, 255, 0.3);
    width: 100%;
}

.case-vip-details-3d h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--neon-pink);
    font-weight: 600;
}

.case-vip-details-3d p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.case-vip-tag-3d {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-dark);
    color: var(--neon-pink);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

/* ========== 社区氛围展示 ========== */
.cases-community-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.case-community-card-3d {
    min-height: 350px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-community-content-3d {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    border: 2px solid var(--border-neon);
    box-shadow: var(--shadow-neon-cyan);
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .case-community-card-3d:hover .case-community-content-3d {
        transform: translateY(-8px);
        box-shadow: var(--shadow-neon-cyan),
                    0 0 60px rgba(0, 255, 255, 0.4);
        border-color: var(--neon-pink);
    }
}

.case-community-icon-3d {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px var(--neon-cyan));
}

.case-community-title-3d {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.case-community-desc-3d {
    color: var(--text-secondary);
    line-height: 1.8;
}

.case-community-details-3d {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    width: 100%;
}

.case-community-details-3d h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--neon-cyan);
    font-weight: 600;
}

.case-community-details-3d p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.case-community-tag-3d {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-dark);
    color: var(--neon-cyan);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}


/* ========== 非对称布局 ========== */
.section-asymmetric {
    padding: 8rem 2rem;
}

.asymmetric-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.asymmetric-left {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.franchise-title-3d {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 2rem 0 1rem;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.franchise-desc-3d {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits-grid-3d {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-item-3d {
    background: var(--bg-card);
    border: 2px solid var(--border-neon);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.benefit-item-3d::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.benefit-item-3d:hover {
    transform: translateY(-5px);
    border-color: var(--neon-pink);
    box-shadow: var(--shadow-neon-pink);
}

.benefit-item-3d:hover::before {
    opacity: 1;
}

.benefit-icon-3d {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px var(--neon-cyan));
}

.benefit-item-3d h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--neon-cyan);
}

.benefit-item-3d p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== 页脚 ========== */
.footer-3d {
    position: static;
    text-align: center;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    background: transparent;
    pointer-events: auto; /* 允许点击事件 */
}

.footer-content-3d {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-text-3d {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    letter-spacing: 0.05rem;
}

/* 彩蛋入口链接 - 完全隐藏链接样式，看起来和普通文字一样 */
.easter-egg-link-3d {
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer !important;
    display: inline !important;
    transition: none !important;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1000 !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    user-select: none !important;
}

.easter-egg-link-3d:hover,
.easter-egg-link-3d:active,
.easter-egg-link-3d:visited,
.easter-egg-link-3d:focus,
.easter-egg-link-3d:link {
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: auto !important;
}

/* 客户管理后台入口 - 右下角10x10像素 */
.admin-entry-trigger {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: transparent;
    cursor: pointer;
    z-index: 9999;
    /* 添加一个稍微大一点的点击区域，但视觉上仍然是10x10 */
    padding: 5px;
    margin: 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.admin-entry-trigger:hover {
    opacity: 0.3;
    background: rgba(255, 255, 255, 0.1);
}

/* ========== 弹窗 ========== */
.modal-3d {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-3d.show {
    display: flex;
}

.modal-overlay-3d {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content-3d {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--border-neon);
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-neon-pink);
    z-index: 1;
    animation: modal-appear 0.3s;
}

@keyframes modal-appear {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-close-3d {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--neon-pink);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close-3d:hover {
    background: rgba(255, 0, 255, 0.2);
    transform: rotate(90deg);
    box-shadow: 0 0 20px var(--neon-pink);
}

.modal-header-3d {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon-3d {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px var(--neon-cyan));
}

.modal-title-3d {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body-3d {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-body-3d p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.contact-info-3d {
    background: rgba(0, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    border: 1px solid var(--neon-cyan);
}

.contact-item-3d {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem; /* 更紧凑的间距 */
    margin: 1rem 0;
    font-size: 1.2rem;
    flex-wrap: wrap;
}

.contact-item-3d strong {
    color: var(--neon-cyan);
    font-weight: 700;
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* 联系信息操作按钮 */
.contact-action-btn {
    background: rgba(255, 0, 255, 0.2);
    border: 1px solid rgba(255, 0, 255, 0.4);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 36px;
}

.contact-action-btn:hover {
    background: rgba(255, 0, 255, 0.3);
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.4);
    transform: scale(1.05);
}

.contact-action-btn:active {
    transform: scale(0.95);
}

.modal-footer-3d {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ========== 移动端菜单 ========== */
@media (max-width: 768px) {
    /* 只针对导航菜单，不影响其他元素 */
    .nav-3d .nav-menu-3d {
        display: flex;
        flex-direction: row;
        gap: 0.3rem;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-3d .nav-menu-3d::-webkit-scrollbar {
        display: none;
    }
    
    .nav-3d .nav-menu-3d li {
        margin: 0;
        flex-shrink: 0;
    }
    
    .nav-3d .nav-menu-3d a {
        display: inline-block;
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        position: relative;
        white-space: nowrap;
    }
    
    .nav-3d .nav-menu-3d a::before {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-toggle-3d {
        display: none;
    }
    
    .nav-container-3d {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.8rem 0.5rem 0.5rem;
        position: relative;
    }
    
    .nav-3d .nav-menu-3d {
        order: 3;
    }
    
    /* 确保导航栏不遮挡大气泡 */
    .nav-3d {
        z-index: 1000;
    }
    
    .hero-3d {
        padding-top: 10rem;
        z-index: 1;
    }
    
    .logo-3d-container {
        z-index: 10;
        position: relative;
    }
    
    .brand-logo-img {
        height: 40px;
        width: auto;
    }
    
    .nav-brand-3d {
        gap: 0;
    }
    
    .logo-3d-bubble {
        width: 280px;
        height: 280px;
        padding: 6%;
    }
    
    .logo-3d {
        width: 120%;
        height: 120%;
        transform: translateY(4px);
    }
    
    .bubble-play-btn {
        width: 60px;
        height: 60px;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .bubble-play-btn:hover {
        background: rgba(0, 0, 0, 0.4);
    }
    
    .logo-glow-ring {
        width: 280px;
        height: 280px;
    }
    
    .bubble-1 {
        width: 55px;
        height: 55px;
        top: 18%;
        left: 15%;
    }
    
    .bubble-2 {
        width: 70px;
        height: 70px;
        top: 12%;
        right: 12%;
    }
    
    .bubble-3 {
        width: 100px;
        height: 100px;
        bottom: 12%;
        left: 10%;
    }
    
    .bubble-4 {
        width: 65px;
        height: 65px;
        bottom: 18%;
        right: 15%;
    }
    
    .bubble-5 {
        width: 85px;
        height: 85px;
        top: 48%;
        right: 12%;
    }
    
    .bubble-6 {
        width: 60px;
        height: 60px;
        top: 28%;
        left: 20%;
    }
    
    .bubble-7 {
        width: 75px;
        height: 75px;
        top: 32%;
        right: 18%;
    }
    
    .bubble-8 {
        width: 68px;
        height: 68px;
        bottom: 22%;
        left: 18%;
    }
    
    .bubble-9 {
        width: 65px;
        height: 65px;
        top: 42%;
        left: 15%;
    }
    
    .bubble-10 {
        width: 58px;
        height: 58px;
        top: 24%;
        right: 20%;
    }
    
    .bubble-11 {
        width: 75px;
        height: 75px;
        bottom: 28%;
        right: 20%;
    }
    
    .bubble-12 {
        width: 52px;
        height: 52px;
        top: 38%;
        left: 25%;
    }
    
    .bubble-13 {
        width: 70px;
        height: 70px;
        bottom: 32%;
        left: 23%;
    }
    
    .bubble-14 {
        width: 62px;
        height: 62px;
        top: 52%;
        right: 25%;
    }
    
    .bubble-15 {
        width: 68px;
        height: 68px;
        top: 20%;
        left: 30%;
    }
    
    .bubble-16 {
        width: 72px;
        height: 72px;
        bottom: 25%;
        right: 23%;
    }
    
    .bubble-17 {
        width: 56px;
        height: 56px;
        top: 36%;
        left: 27%;
    }
    
    .bubble-18 {
        width: 66px;
        height: 66px;
        bottom: 30%;
        left: 25%;
    }
    
    .nav-container-3d {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1rem 0.5rem;
        position: relative;
    }
    
    .nav-brand-wrapper {
        order: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }
    
    .nav-brand-3d {
        margin-bottom: 0;
    }
    
    .nav-marquee-3d {
        position: relative;
        width: 40px;
        height: 40px;
    }
    
    .nav-menu-3d {
        order: 1;
        margin-top: 0.5rem;
    }
    
    .nav-menu-3d a {
        background: rgba(0, 0, 0, 0.2);
        padding: 0.3rem 0.8rem;
        border-radius: 4px;
    }
    
    .marquee-item {
        width: 40px;
        height: 40px;
    }
    
    
    .scroll-hint-3d {
        bottom: 1rem;
        font-size: 0.8rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* 移动端显示触屏提示，隐藏鼠标 */
    .mouse-3d {
        display: none !important;
    }
    
    .swipe-hint-3d {
        display: block !important;
    }
    
    .scroll-text {
        display: none !important;
    }
    
    .swipe-text {
        display: block !important;
        margin-top: 0.5rem;
    }
    
    .hero-cta-3d {
        margin-bottom: 5rem;
        gap: 1rem;
    }
    
    .hero-cta-3d .btn-neon,
    .hero-cta-3d .btn-outline-neon {
        margin-bottom: 0;
    }
    
    /* 移动端横向滚动已在上面定义，这里不再重复 */
    
    .cake-item-3d {
        transform: none !important;
    }
    
    .cake-item-3d:active {
        transform: scale(0.98) !important;
    }
    
    .asymmetric-content {
        grid-template-columns: 1fr;
    }
    
    .asymmetric-left {
        position: static;
    }
    
    .benefits-grid-3d {
        grid-template-columns: 1fr;
    }
    
    .hero-cta-3d {
        flex-direction: column;
    }
    
    /* 音乐播放器移动端适配 */
    .music-player-wrapper-3d iframe {
        width: 100% !important;
        max-width: 330px;
        height: 400px !important;
    }
    
    /* 案例模块移动端 */
    .cases-video-grid-3d {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1.5rem;
        padding: 0 1rem;
        margin: 0 auto 2rem;
    }
    
    .cases-video-grid-3d::-webkit-scrollbar {
        height: 6px;
    }
    
    .cases-video-grid-3d::-webkit-scrollbar-thumb {
        background: var(--neon-pink);
        border-radius: 3px;
    }
    
    .case-video-item-3d {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
    }
    
    .cases-feedback-grid-3d,
    .cases-cooperation-grid-3d,
    .cases-community-grid-3d,
    .cases-vip-grid-3d,
    .recruitment-grid-3d {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-video-thumbnail-3d {
        height: 180px;
    }
    
    .culture-divider-3d,
    .cases-divider-3d,
    .merchandise-divider-3d {
        margin: 3rem 0 1.5rem;
    }
    
    .divider-text-3d {
        font-size: 0.9rem;
        padding: 0.4rem 1.5rem;
    }
    
    .btn-neon,
    .btn-outline-neon {
        width: 100%;
    }
    
    /* 修复移动端滚动条 */
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    * {
        max-width: 100%;
    }
    
    .hero-3d,
    .section-3d {
        width: 100%;
        max-width: 100vw;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* ========== 移动端文字换行优化 ========== */
    
    /* Hero 标题 */
    .hero-title-3d {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.3;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .title-word {
        word-break: keep-all;
        overflow-wrap: break-word;
        hyphens: none;
        white-space: normal;
    }
    
    .hero-subtitle-3d {
        font-size: 1.1rem;
        line-height: 1.6;
        padding: 0 1rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 区块标题 */
    .section-title-3d {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.3;
        padding: 0 1rem;
        word-break: keep-all;
        overflow-wrap: break-word;
        letter-spacing: 0.05em;
    }
    
    .section-desc-3d {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0 1rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 卡片标题和描述 */
    .card-title-3d {
        font-size: 1.4rem;
        line-height: 1.4;
        word-break: keep-all;
        overflow-wrap: break-word;
        padding: 0 0.5rem;
    }
    
    .card-desc-3d {
        font-size: 0.95rem;
        line-height: 1.7;
        word-break: break-word;
        overflow-wrap: break-word;
        padding: 0 0.5rem;
    }
    
    /* 蛋糕名称和规格 */
    .cake-name-3d {
        font-size: 1.3rem;
        line-height: 1.4;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .cake-specs-3d {
        font-size: 0.9rem;
        line-height: 1.6;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .cake-quote-3d {
        font-size: 0.9rem;
        line-height: 1.7;
        word-break: break-word;
        overflow-wrap: break-word;
        padding: 0.8rem;
    }
    
    /* 加盟标题 */
    .franchise-title-3d {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        line-height: 1.4;
        word-break: keep-all;
        overflow-wrap: break-word;
        padding: 0 1rem;
    }
    
    .franchise-desc-3d {
        font-size: 1rem;
        line-height: 1.7;
        word-break: break-word;
        overflow-wrap: break-word;
        padding: 0 1rem;
    }
    
    /* 优势卡片 */
    .benefit-item-3d h4 {
        font-size: 1.1rem;
        line-height: 1.4;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .benefit-item-3d p {
        font-size: 0.9rem;
        line-height: 1.7;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 通用文字换行规则 */
    p, span, div, li {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* 中文优先不断行 - 使用更通用的选择器 */
    body, html {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    /* 长单词可以断行 */
    p, span, div {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 标题保持不断行 */
    h1, h2, h3, h4, h5, h6, .title-word, .section-title-3d, .card-title-3d, .cake-name-3d {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

