/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 按钮重置样式 */
button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* 防止页面加载时自动滚动 */
html.loading {
    scroll-behavior: auto;
}

body {
    font-family: 'Noto Serif SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', serif;
    line-height: 1.7;
    color: #2c2c2c;
    background: linear-gradient(135deg, #f8f6f0 0%, #f2efe7 100%);
    overflow-x: hidden;
}

/* 全局变量 */
:root {
    --primary-gold: #d4a574;
    --secondary-gold: #f4d799;
    --dark-gold: #b8956a;
    --primary-dark: #1a1a1a;
    --secondary-dark: #2d2d2d;
    --text-primary: #2c2c2c;
    --text-secondary: #666;
    --text-light: #999;
    --background-light: #fafafa;
    --background-white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --border-radius-large: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h1 {
    color: var(--primary-gold);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: -3px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo .subtitle {
    color: #bbb;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #d4a574;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a574, #f4d799);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}



.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主页横幅 */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 215, 153, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="%23ffffff" opacity="0.02"/><circle cx="75" cy="25" r="0.8" fill="%23d4a574" opacity="0.01"/><circle cx="50" cy="50" r="0.6" fill="%23ffffff" opacity="0.015"/><circle cx="25" cy="75" r="0.4" fill="%23f4d799" opacity="0.01"/><circle cx="75" cy="75" r="0.7" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    animation: subtle-float 20s ease-in-out infinite;
}

@keyframes subtle-float {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

/* 木鱼容器 */
.wooden-fish-container {
    position: relative;
    margin: 0 auto 40px;
    width: 180px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* 木鱼主体 */
.wooden-fish {
    position: relative;
    width: 140px;
    height: 110px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 15px;
    background: none;
    border: none;
    padding: 0;
    outline: none;
}

.wooden-fish:hover {
    transform: scale(1.05);
}

.wooden-fish:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.3);
}

.wooden-fish:active {
    transform: scale(0.98);
}

/* 电子木鱼身体 */
.fish-body {
    width: 140px;
    height: 90px;
    position: relative;
    border-radius: 70px 70px 35px 35px;
    background: 
        linear-gradient(145deg, #2a1810 0%, #3d2518 20%, #8B4513 40%, #D2691E 60%, #CD853F 80%, #DEB887 100%);
    box-shadow: 
        0 10px 30px rgba(139, 69, 19, 0.5),
        inset 0 3px 12px rgba(255, 255, 255, 0.2),
        inset 0 -3px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    overflow: hidden;
}

/* 发光效果 */
.fish-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 75px 75px 40px 40px;
    background: linear-gradient(145deg, transparent, rgba(212, 165, 116, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* 表面层 */
.fish-surface {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    overflow: hidden;
}

/* 现代化纹理 */
.fish-pattern {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.pattern-line {
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
    border-radius: 1px;
}

.pattern-line:nth-child(2) {
    width: 60%;
}

.pattern-line:nth-child(3) {
    width: 40%;
}

/* 中心区域 */
.fish-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
}

.center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--primary-gold), var(--dark-gold));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.6);
    animation: center-pulse 2s ease-in-out infinite;
}

@keyframes center-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 10px rgba(212, 165, 116, 0.6);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 20px rgba(212, 165, 116, 0.8);
    }
}

/* 中心环形 */
.center-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ring-expand 3s ease-in-out infinite;
}

.ring-1 {
    width: 15px;
    height: 15px;
    animation-delay: 0s;
}

.ring-2 {
    width: 25px;
    height: 25px;
    animation-delay: 1s;
}

.ring-3 {
    width: 35px;
    height: 35px;
    animation-delay: 2s;
}

@keyframes ring-expand {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* 反光效果 */
.fish-reflection {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 60px;
    height: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    border-radius: 30px 30px 15px 15px;
    transform: rotate(-10deg);
    pointer-events: none;
}

/* 粒子效果容器 */
.tap-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 1px;
    pointer-events: none;
}

/* 敲击波纹效果 */
.tap-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.6) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
}

/* 功德计数器 */
.merit-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.9), rgba(244, 215, 153, 0.9));
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(212, 165, 116, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
    position: relative;
}

.merit-text {
    font-size: 0.9rem;
}

.merit-number {
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
    transition: var(--transition);
}

/* 提示文字 */
.tap-hint {
    margin-top: 8px;
    text-align: center;
    animation: hint-pulse 2.5s ease-in-out infinite;
    z-index: 5;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hint-text {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    padding: 6px 12px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 165, 116, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: inherit;
}

.hint-main {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

@keyframes hint-pulse {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.02);
    }
}

/* 敲击动画 */
.wooden-fish.tapping .fish-body {
    animation: fish-electronic-tap 0.4s ease-out;
}

.wooden-fish.tapping .fish-glow {
    opacity: 1;
    animation: glow-flash 0.4s ease-out;
}

.wooden-fish.tapping .tap-ripple {
    animation: electronic-ripple 0.8s ease-out;
}

.wooden-fish.tapping .center-dot {
    animation: center-flash 0.4s ease-out;
}

@keyframes fish-electronic-tap {
    0% { 
        transform: scale(1); 
        box-shadow: 
            0 10px 30px rgba(139, 69, 19, 0.5),
            inset 0 3px 12px rgba(255, 255, 255, 0.2),
            inset 0 -3px 12px rgba(0, 0, 0, 0.3);
    }
    30% { 
        transform: scale(0.95); 
        box-shadow: 
            0 5px 15px rgba(139, 69, 19, 0.8),
            inset 0 3px 12px rgba(255, 255, 255, 0.4),
            inset 0 -3px 12px rgba(0, 0, 0, 0.1),
            0 0 20px rgba(212, 165, 116, 0.6);
    }
    100% { 
        transform: scale(1); 
        box-shadow: 
            0 10px 30px rgba(139, 69, 19, 0.5),
            inset 0 3px 12px rgba(255, 255, 255, 0.2),
            inset 0 -3px 12px rgba(0, 0, 0, 0.3);
    }
}

@keyframes glow-flash {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes electronic-ripple {
    0% { 
        width: 0; 
        height: 0; 
        opacity: 0.9;
        background: radial-gradient(circle, rgba(212, 165, 116, 0.8) 0%, rgba(244, 215, 153, 0.4) 50%, transparent 70%);
    }
    30% { 
        width: 80px; 
        height: 80px; 
        opacity: 0.6;
    }
    60% { 
        width: 140px; 
        height: 140px; 
        opacity: 0.3;
    }
    100% { 
        width: 200px; 
        height: 200px; 
        opacity: 0; 
    }
}

@keyframes center-flash {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 10px rgba(212, 165, 116, 0.6);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.5);
        box-shadow: 0 0 30px rgba(212, 165, 116, 1);
    }
    100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 10px rgba(212, 165, 116, 0.6);
    }
}

/* 功德数字跳动动画 */
.merit-number.counting {
    animation: merit-bounce 0.4s ease-out;
    color: #ff6b35;
}

@keyframes merit-bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 50%, #fff8e7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 0 0 40px rgba(212, 165, 116, 0.4);
    position: relative;
    animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% {
        filter: drop-shadow(0 0 20px rgba(212, 165, 116, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 35px rgba(212, 165, 116, 0.6));
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    color: #d0d0d0;
    margin-bottom: 50px;
    line-height: 1.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    opacity: 0.95;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: var(--primary-dark);
    border: none;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 
        0 8px 25px rgba(212, 165, 116, 0.4),
        0 0 0 0 rgba(212, 165, 116, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(212, 165, 116, 0.5),
        0 0 0 3px rgba(212, 165, 116, 0.2);
    filter: brightness(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #999;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* 通用区块样式 */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 2px;
}

.title-decoration {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), var(--secondary-gold), transparent);
    margin: 15px auto 0;
    border-radius: 1px;
    opacity: 0.6;
}

/* 历史沿革样式 */
.history-section {
    background: linear-gradient(135deg, #ffffff 0%, #fefcf7 100%);
    position: relative;
}

.history-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="temple-pattern" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="100" cy="100" r="1" fill="%23d4a574" opacity="0.03"/><circle cx="50" cy="50" r="0.5" fill="%23f4d799" opacity="0.02"/><circle cx="150" cy="150" r="0.8" fill="%23d4a574" opacity="0.025"/></pattern></defs><rect width="200" height="200" fill="url(%23temple-pattern)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #d4a574, #f4d799);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--primary-dark);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.timeline-date:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.timeline-content {
    flex: 1;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: var(--border-radius-large);
    padding: 35px;
    box-shadow: 
        0 10px 30px var(--shadow-light),
        0 0 0 1px rgba(212, 165, 116, 0.1);
    margin: 0 30px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px var(--shadow-medium),
        0 0 0 1px rgba(212, 165, 116, 0.2);
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content h3 {
    color: #d4a574;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.8;
}

.history-quote {
    margin-top: 80px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.history-quote blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    position: relative;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 15px;
    border-left: 4px solid #d4a574;
}

.history-quote cite {
    display: block;
    margin-top: 20px;
    color: #999;
    font-size: 0.9rem;
    font-style: normal;
}

/* 图片展示样式 - 轮播图 */
.gallery-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #f0f0f0 100%);
    padding: 120px 0;
}

/* 主轮播图容器 */
.main-carousel-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.main-carousel {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 
        0 20px 60px var(--shadow-medium),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    background: #fff;
    margin-bottom: 30px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #f8f6f0;
    display: block;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

/* 导航按钮 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.9), rgba(244, 215, 153, 0.9));
    border: none;
    border-radius: 50%;
    color: var(--primary-dark);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 5px 15px rgba(212, 165, 116, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 8px 25px rgba(212, 165, 116, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* 指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(212, 165, 116, 0.3);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.carousel-indicator.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    transform: scale(1.1);
    border-color: rgba(212, 165, 116, 0.6);
}

/* 缩略图轮播 */
.thumbnail-carousel {
    position: relative;
    margin: 30px 0;
    padding: 0 50px;
}

.thumbnail-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.thumbnail-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    opacity: 0.6;
}

.thumbnail-item.active {
    border-color: var(--primary-gold);
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-item:hover {
    opacity: 1;
    transform: scale(1.02);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* 缩略图导航 */
.thumbnail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border: none;
    border-radius: 50%;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: var(--transition);
    z-index: 5;
    box-shadow: 0 3px 10px rgba(212, 165, 116, 0.3);
    opacity: 0.8;
}

.thumbnail-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
}

.thumbnail-nav.prev {
    left: 10px;
}

.thumbnail-nav.next {
    right: 10px;
}

/* 图片信息 */
.image-info {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 248, 248, 0.9));
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.image-counter {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.image-description {
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: italic;
}

/* 懒加载样式 */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* 立即加载的图片（前三张） */
img:not(.lazy) {
    opacity: 1;
}

/* 加载动画 */
.carousel-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 165, 116, 0.3);
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 图片占位符 */
.image-placeholder {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

/* 性能优化相关样式 */

.carousel-slide img.lazy {
    opacity: 0.3;
    filter: blur(1px);
}

.carousel-slide img.loaded {
    opacity: 1;
    filter: none;
}

.carousel-slide img.loading {
    opacity: 0.7;
    filter: blur(0.5px);
}

/* 视频展示样式 */
.videos-section {
    background: #fff;
}

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

.video-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 
        0 8px 25px var(--shadow-light),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    background: linear-gradient(135deg, #f0f0f0, #ffffff);
}

.video-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px var(--shadow-medium),
        0 0 0 1px rgba(212, 165, 116, 0.15);
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-item:hover .video-overlay {
    opacity: 0;
}

.play-button {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.95), rgba(244, 215, 153, 0.95));
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 
        0 5px 15px rgba(212, 165, 116, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 
        0 8px 25px rgba(212, 165, 116, 0.5),
        inset 0 1px 3px rgba(255, 255, 255, 0.4);
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 18px solid var(--primary-dark);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* 护持功德样式 */
.support-section {
    background: 
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%),
        radial-gradient(circle at 30% 70%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(244, 215, 153, 0.08) 0%, transparent 50%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 150"><defs><pattern id="support-pattern" width="150" height="150" patternUnits="userSpaceOnUse"><circle cx="75" cy="75" r="1" fill="%23d4a574" opacity="0.05"/><circle cx="25" cy="25" r="0.5" fill="%23f4d799" opacity="0.03"/><circle cx="125" cy="125" r="0.8" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="150" height="150" fill="url(%23support-pattern)"/></svg>');
    opacity: 0.6;
    pointer-events: none;
    animation: pattern-float 25s linear infinite;
}

@keyframes pattern-float {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-5px); }
    50% { transform: translateX(5px) translateY(-10px); }
    75% { transform: translateX(-5px) translateY(5px); }
    100% { transform: translateX(0) translateY(0); }
}

.support-section .section-title {
    color: #d4a574;
}

.support-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.support-text h3 {
    color: #d4a574;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.support-text p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.merit-box {
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.merit-box h4 {
    color: #d4a574;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.urgent-notice {
    background: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #ff4444;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin: 30px 0;
}

.gratitude {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 165, 116, 0.3);
}

.gratitude p {
    color: #d4a574;
    font-size: 1.3rem;
    font-weight: 600;
}

.donation-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%),
        linear-gradient(45deg, rgba(212, 165, 116, 0.05) 0%, rgba(244, 215, 153, 0.03) 100%);
    border-radius: 25px;
    padding: 40px;
    border: 1px solid rgba(212, 165, 116, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transition: var(--transition);
}

.donation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.3), rgba(244, 215, 153, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-header h4 {
    color: #d4a574;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-header p {
    color: #999;
}

.donation-amounts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.amount-btn {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(244, 215, 153, 0.05));
    color: var(--primary-gold);
    border: 2px solid rgba(212, 165, 116, 0.4);
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.amount-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.2), transparent);
    transition: left 0.5s ease;
}

.amount-btn:hover::before {
    left: 100%;
}

.amount-btn:hover,
.amount-btn.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--primary-dark);
    border-color: var(--secondary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.custom-amount {
    margin-bottom: 30px;
}

.custom-amount input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
}

.custom-amount input::placeholder {
    color: #999;
}

.donate-btn {
    width: 100%;
    background: linear-gradient(135deg, #d4a574, #f4d799);
    color: #1a1a1a;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.card-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
}

.card-footer p {
    color: #999;
    font-size: 0.9rem;
}

/* 页脚样式 */
.footer {
    background: 
        linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%),
        radial-gradient(circle at center bottom, rgba(212, 165, 116, 0.05) 0%, transparent 70%);
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #d4a574;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* 图片模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    background: #f8f6f0;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    color: #d4a574;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.modal-nav button {
    background: rgba(212, 165, 116, 0.8);
    color: #1a1a1a;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-nav button:hover {
    background: #d4a574;
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
        margin: 3px 0;
        transition: var(--transition);
        border-radius: 2px;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(212, 165, 116, 0.1);
    }
    
    .nav-menu.mobile-active {
        display: flex;
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 15px 0;
        margin: 10px 0;
        width: 200px;
        text-align: center;
        border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    }
    
    .hero-title {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .cta-button {
        padding: 16px 35px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .timeline-content {
        margin: 20px 15px 0 15px;
        padding: 25px 20px;
    }
    
    .timeline-date {
        margin-bottom: 15px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .history-timeline::before {
        display: none;
    }
    
    .history-quote blockquote {
        font-size: 1.1rem;
        padding: 25px 20px;
    }
    
    .support-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .donation-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .donation-amounts {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .amount-btn {
        padding: 12px 10px;
        font-size: 0.95rem;
    }
    
    .donate-btn {
        padding: 14px;
        font-size: 1rem;
    }
    
    /* 轮播图响应式 */
    .main-carousel-container {
        margin: 0 15px;
    }
    
    .carousel-wrapper {
        height: 300px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav.prev {
        left: 10px;
    }
    
    .carousel-nav.next {
        right: 10px;
    }
    
    .carousel-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .thumbnail-carousel {
        padding: 0 40px;
    }
    
    .thumbnail-item {
        width: 50px;
        height: 38px;
    }
    
    .thumbnail-nav {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
    
    .carousel-wrapper {
        height: 250px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .wooden-fish-container {
        width: 160px;
        height: auto;
    }
    
    .wooden-fish {
        width: 120px;
        height: 95px;
    }
    
    .fish-body {
        width: 120px;
        height: 80px;
    }
    
    .fish-pattern {
        width: 80px;
        height: 40px;
        top: 15px;
    }
    
    .fish-center {
        width: 30px;
        height: 30px;
    }
    
    .center-dot {
        width: 6px;
        height: 6px;
    }
    
    .fish-reflection {
        width: 50px;
        height: 25px;
        top: 8px;
        left: 15px;
    }
    
    .merit-counter {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .merit-number {
        font-size: 1rem;
        min-width: 25px;
    }
    
    .hint-text {
        padding: 5px 10px;
    }
    
    .hint-main {
        font-size: 0.75rem;
    }
    
    .tap-hint {
        min-height: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .incense-burner {
        width: 90px;
        height: 90px;
        margin-bottom: 30px;
    }
    
    .burner-body {
        width: 90px;
        height: 60px;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .timeline-content {
        padding: 20px 15px;
        margin: 15px 10px 0 10px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .donation-card {
        padding: 25px 15px;
        margin: 0 10px;
    }
    
    .donation-amounts {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .amount-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button::after {
        border-left-width: 15px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }
    
    .modal-content {
        padding: 10px;
        width: 95%;
    }
    
    .modal-nav {
        padding: 0 10px;
    }
    
    .modal-nav button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    

    
    /* 小屏幕木鱼提示优化 */
    .wooden-fish-container {
        gap: 6px;
    }
    
    .hint-text {
        padding: 4px 8px;
        border-radius: 10px;
    }
    
    .hint-main {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }
    
    .tap-hint {
        min-height: 26px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.fade-in-left {
    animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.fade-in-right {
    animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* 延迟动画 */
.animation-delay-1 { animation-delay: 0.1s; }
.animation-delay-2 { animation-delay: 0.2s; }
.animation-delay-3 { animation-delay: 0.3s; }
.animation-delay-4 { animation-delay: 0.4s; }
.animation-delay-5 { animation-delay: 0.5s; }
.animation-delay-6 { animation-delay: 0.6s; }

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4a574, #f4d799);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b8956a, #e6c785);
}

/* 简化的捐赠卡片预览样式 */
.donation-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(212, 165, 116, 0.2);
    transition: var(--transition);
}

.preview-item:hover {
    background: rgba(212, 165, 116, 0.15);
    transform: translateY(-2px);
}

.preview-icon {
    font-size: 1.5rem;
}

.preview-text {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* 捐赠弹窗样式 */
.donation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.donation-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.donation-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.donation-modal-content {
    position: relative;
    margin: auto;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(40, 40, 40, 0.95));
    border-radius: 20px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.donation-modal.active .donation-modal-content {
    transform: scale(1);
}

.donation-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(244, 215, 153, 0.05));
}

.donation-modal-header h3 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.donation-modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: var(--transition);
    line-height: 1;
}

.donation-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-gold);
    transform: rotate(90deg);
}

.donation-modal-body {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) transparent;
}

.donation-modal-body::-webkit-scrollbar {
    width: 8px;
}

.donation-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.donation-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

.donation-modal-footer {
    padding: 25px 30px;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
}

/* 弹窗内的捐赠分类样式 - 重用之前的样式但调整间距 */
.donation-modal .donation-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

/* 捐赠分类 */
.donation-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.donation-category {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.donation-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 165, 116, 0.4);
}

.category-header {
    text-align: center;
    margin-bottom: 20px;
}

.category-header h4 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.category-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.category-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.option-btn {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(212, 165, 116, 0.05));
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    text-align: center;
}

.option-btn:hover {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(212, 165, 116, 0.1));
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.2);
}

.option-btn.selected {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-color: var(--primary-gold);
    color: var(--primary-dark);
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.4);
}

.category-description {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

.category-description p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    font-style: italic;
}

/* 捐赠汇总 */
.donation-summary {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* 弹窗内的汇总样式 */
.donation-modal .donation-summary {
    position: static;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(244, 215, 153, 0.05));
    border: 1px solid rgba(212, 165, 116, 0.3);
    padding: 25px;
    margin: 0;
}

.selected-items h4 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.selected-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.selected-item {
    background: rgba(212, 165, 116, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.item-info {
    flex: 1;
}

.item-name {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.item-type {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.item-amount {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1rem;
}

.remove-item {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b6b;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 10px;
}

.remove-item:hover {
    background: rgba(255, 107, 107, 0.3);
    transform: scale(1.1);
}

.empty-message {
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
    padding: 20px;
}

.total-amount {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(212, 165, 116, 0.1));
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.total-amount span {
    color: var(--primary-gold);
    font-size: 1.4rem;
    font-weight: 700;
}

.donation-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.clear-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.clear-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.donation-summary .donate-btn {
    flex: 2;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    width: auto;
}

.donation-summary .donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.donation-summary .donate-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.donation-note {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

.donation-note p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 5px 0;
}

/* 弹窗响应式设计 */
@media (max-width: 1024px) {
    .donation-modal-content {
        width: 98%;
        max-height: 95vh;
    }
    
    .donation-modal .donation-categories {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 15px;
    }
    
    .donation-modal-header,
    .donation-modal-body,
    .donation-modal-footer {
        padding: 20px;
    }
    
    .donation-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .donation-modal .donation-categories {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .donation-category {
        padding: 20px;
    }
    
    .category-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donation-modal-header {
        padding: 15px 20px;
    }
    
    .donation-modal-header h3 {
        font-size: 1.5rem;
    }
    
    .donation-modal-body,
    .donation-modal-footer {
        padding: 15px 20px;
    }
    
    .donation-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .preview-item {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .category-options {
        grid-template-columns: 1fr;
    }
    
    .option-btn {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .donation-actions {
        flex-direction: column;
    }
    
    .donation-modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .donation-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .donation-preview {
        grid-template-columns: 1fr;
    }
    
    .preview-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .preview-icon {
        font-size: 1.2rem;
    }
}

/* 详情按钮样式 */
.detail-btn {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(244, 215, 153, 0.1));
    border: 1px solid rgba(212, 165, 116, 0.4);
    border-radius: 6px;
    padding: 6px 12px;
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.detail-btn:hover {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.3), rgba(244, 215, 153, 0.2));
    border-color: var(--primary-gold);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(212, 165, 116, 0.2);
}

/* 项目详情弹窗样式 */
.project-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-detail-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.project-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.project-detail-content {
    position: relative;
    margin: auto;
    width: 95%;
    max-width: 1400px;
    max-height: 95vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(40, 40, 40, 0.98));
    border-radius: 20px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.project-detail-modal.active .project-detail-content {
    transform: scale(1);
}

.project-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(244, 215, 153, 0.08));
}

.project-detail-header h3 {
    color: var(--primary-gold);
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-detail-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 50%;
    transition: var(--transition);
    line-height: 1;
}

.project-detail-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-gold);
    transform: rotate(90deg);
}

.project-detail-body {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) transparent;
}

.project-detail-body::-webkit-scrollbar {
    width: 8px;
}

.project-detail-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.project-detail-body::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

.project-intro {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(244, 215, 153, 0.05));
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.project-intro h4 {
    color: var(--primary-gold);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.project-intro p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.project-media {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.media-tabs {
    display: flex;
    background: rgba(212, 165, 116, 0.1);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.media-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-right: 1px solid rgba(212, 165, 116, 0.2);
}

.media-tab:last-child {
    border-right: none;
}

.media-tab.active,
.media-tab:hover {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--primary-dark);
}

.media-content {
    position: relative;
    min-height: 400px;
}

.media-panel {
    display: none;
    padding: 25px;
}

.media-panel.active {
    display: block;
}

.images-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 165, 116, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.9rem;
}

.gallery-placeholder .icon {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.videos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.video-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-footer {
    padding: 25px 30px;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.project-benefits {
    flex: 1;
}

.project-benefits h4 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.benefit-item {
    background: rgba(212, 165, 116, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid rgba(212, 165, 116, 0.2);
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefit-item .icon {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.project-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.back-to-donation {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
}

.back-to-donation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

/* 项目详情弹窗响应式设计 */
@media (max-width: 1024px) {
    .project-detail-content {
        width: 98%;
        max-height: 98vh;
    }
    
    .images-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .videos-gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .project-detail-footer {
        flex-direction: column;
        gap: 20px;
    }
    
    .benefits-list {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .project-detail-header {
        padding: 20px;
    }
    
    .project-detail-header h3 {
        font-size: 1.6rem;
    }
    
    .project-detail-body {
        padding: 20px;
    }
    
    .project-intro {
        padding: 20px;
    }
    
    .media-tab {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .media-panel {
        padding: 20px;
    }
    
    .images-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .videos-gallery {
        grid-template-columns: 1fr;
    }
    
    .project-detail-footer {
        padding: 20px;
    }
    
    .benefits-list {
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
    }
    
    .benefit-item {
        text-align: center !important;
        justify-content: center !important;
        max-width: 120px;
        width: 100%;
        flex-direction: column !important;
        gap: 6px !important;
        align-items: center !important;
    }
    
    .benefit-item .icon {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .project-detail-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .project-detail-header h3 {
        font-size: 1.4rem;
    }
    
    .media-tabs {
        flex-direction: column;
    }
    
    .media-tab {
        border-right: none;
        border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    }
    
    .media-tab:last-child {
        border-bottom: none;
    }
    
    .images-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .project-actions {
        width: 100%;
    }
    
    .back-to-donation {
        width: 100%;
        padding: 15px;
    }
    
    .benefits-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        justify-items: center;
    }
    
    .benefit-item {
        padding: 8px 6px !important;
        font-size: 0.85rem !important;
        text-align: center !important;
        width: 100%;
        max-width: 100px;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 4px !important;
        align-items: center !important;
    }
    
    .benefit-item .icon {
        align-self: center;
        font-size: 1rem !important;
    }
}

/* 寺院地址样式 */
.temple-address {
    margin-top: 10px;
}

.temple-address p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.temple-address i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
    color: #d4a574;
}

/* 社交媒体链接样式 */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-link:hover {
    color: #d4a574;
    transform: none;
    box-shadow: none;
}

.social-link i {
    font-size: 1.1rem;
    width: 18px;
    text-align: center;
    margin-right: 2px;
}

/* 不同平台的特色颜色 - 简化风格 */
.social-link.whatsapp:hover {
    color: #25d366;
}

.social-link.twitter:hover {
    color: #1da1f2;
}

.social-link.youtube:hover {
    color: #ff0000;
}

.social-link.telegram:hover {
    color: #0088cc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .temple-address p {
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .temple-address i {
        font-size: 0.95rem;
        width: 15px;
    }
    
    .social-links {
        justify-content: center;
        gap: 12px;
    }
    
    .social-link {
        font-size: 0.9rem;
    }
    
    .social-link i {
        font-size: 1rem;
        width: 16px;
    }
}

@media (max-width: 480px) {
    .temple-address p {
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .temple-address i {
        font-size: 0.9rem;
        width: 14px;
    }
    
    .social-links {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        font-size: 0.85rem;
    }
    
    .social-link i {
        font-size: 0.95rem;
        width: 15px;
    }
}
