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

/* 节日色彩方案 */
:root {
    --primary-red: #e74c3c;
    --primary-red-dark: #c0392b;
    --primary-gold: #f1c40f;
    --primary-gold-dark: #f39c12;
    --primary-yellow: #f9ca24;
    --secondary-red: #d35400;
    --background-dark: #1a0f0a;
    --background-light: #fff9c4;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --accent-color: #3498db;
    --border-color: #bdc3c7;
}

/* 全局样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background-image: url('777.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* 烟花背景容器 */
#fireworksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 0.8;
}
/* 灯笼装饰 */
.lantern-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.lantern {
    position: absolute;
    width: 80px;
    height: 100px;
}

.lantern.left {
    left: 5%;
    animation: swing 3s ease-in-out infinite alternate;
}

.lantern.right {
    right: 5%;
    animation: swing 3s ease-in-out infinite alternate-reverse;
}

.lantern-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 50% 50% 40% 40%;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.5);
    border: 2px solid var(--primary-gold);
}

.lantern-rope {
    width: 4px;
    height: 50px;
    background: var(--primary-gold);
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.lantern-light {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    background: var(--primary-yellow);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-yellow);
    animation: lanternLight 2s ease-in-out infinite alternate;
}

/* 头部导航 */
.header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 1.8rem;
    color: var(--primary-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.year {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.festival {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-gold);
    transform: translateY(-2px);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 主页横幅 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.98) 0%, rgba(192, 57, 43, 0.95) 100%);
    overflow: hidden;
}

/* 背景装饰效果 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(231, 76, 60, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(255, 182, 193, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 30% 90%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 10%, rgba(231, 76, 60, 0.15) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    z-index: 1;
}

/* 装饰性文字背景 */
.hero::after {
    content: '元旦快乐 迎新年';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 15rem;
    color: rgba(255, 215, 0, 0.05);
    z-index: 1;
    white-space: nowrap;
    opacity: 0.3;
    animation: decorativeTextMove 30s linear infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-10px) scale(1.02); }
    50% { transform: translateY(-20px) scale(1.05); }
    75% { transform: translateY(-10px) scale(1.02); }
}

@keyframes decorativeTextMove {
    0% { transform: translate(-50%, -50%) rotate(-5deg); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) rotate(5deg); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) rotate(-5deg); opacity: 0.2; }
}



.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    animation: heroContentFadeIn 1.5s ease-out;
    padding: 3rem;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 215, 0, 0.1),
        inset 0 0 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: contentGlowPulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes heroContentFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(50px) scale(0.9); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes contentGlowPulse {
    0% { 
        opacity: 0.5; 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.1) rotate(180deg); 
    }
    100% { 
        opacity: 0.5; 
        transform: scale(1) rotate(360deg); 
    }
}

.hero-title {
    font-family: 'Ma Shan Zheng', cursive;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.2),
        0 0 80px rgba(255, 215, 0, 0.1),
        0 0 100px rgba(255, 215, 0, 0.05);
    line-height: 1.3;
    animation: heroTitleGlow 2s ease-in-out infinite alternate;
    position: relative;
    display: inline-block;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
}

@keyframes heroTitleGlow {
    0% { 
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.4),
            0 0 60px rgba(255, 215, 0, 0.2),
            0 0 80px rgba(255, 215, 0, 0.1);
    }
    100% { 
        text-shadow: 
            0 0 30px rgba(255, 215, 0, 1),
            0 0 60px rgba(255, 215, 0, 0.6),
            0 0 90px rgba(255, 215, 0, 0.4),
            0 0 120px rgba(255, 215, 0, 0.2);
        transform: scale(1.02);
    }
}

.chinese-year {
    display: block;
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 0.3rem;
    animation: chineseYearSlideIn 1.2s ease-out 0.3s both;
}

@keyframes chineseYearSlideIn {
    0% { 
        opacity: 0; 
        transform: translateY(-30px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.new-year {
    display: block;
    font-size: 5.5rem;
    background: linear-gradient(45deg, var(--primary-gold) 0%, var(--primary-yellow) 50%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: newYearColorShift 4s ease-in-out infinite alternate;
    letter-spacing: 0.1em;
}

.festival-theme {
    display: block;
    font-size: 4.5rem;
    background: linear-gradient(45deg, var(--primary-red) 0%, var(--primary-red-dark) 50%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: newYearColorShift 4s ease-in-out infinite alternate-reverse;
    letter-spacing: 0.1em;
    margin-top: 0.3rem;
}

@keyframes newYearColorShift {
    0% { 
        background-position: 0% 50%;
    }
    100% { 
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 500;
    animation: heroSubtitleFadeIn 1.5s ease-out 0.6s both;
}

@keyframes heroSubtitleFadeIn {
    0% { 
        opacity: 0; 
    }
    100% { 
        opacity: 0.95; 
    }
}

/* 节日介绍模块 */
.festival-intro {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    border: 2px solid rgba(255, 215, 0, 0.4);
    animation: festivalIntroSlideIn 1.5s ease-out 0.9s both;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* 节日介绍装饰边框 */
.festival-intro::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-yellow), var(--primary-red), var(--primary-gold));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.7;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { opacity: 0.7; filter: blur(10px); }
    100% { opacity: 1; filter: blur(15px); }
}

@keyframes festivalIntroSlideIn {
    0% { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.intro-title {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.intro-content {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.8;
    opacity: 0.9;
    text-align: justify;
    text-justify: distribute;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(45deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(231, 76, 60, 0.3);
    border: 3px solid var(--primary-gold);
    animation: ctaButtonPulse 2s ease-in-out infinite alternate;
}

@keyframes ctaButtonPulse {
    0% { 
        box-shadow: 
            0 5px 15px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(231, 76, 60, 0.3);
    }
    100% { 
        box-shadow: 
            0 5px 15px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(231, 76, 60, 0.6);
    }
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(231, 76, 60, 0.6);
    background: linear-gradient(45deg, var(--primary-red-dark) 0%, var(--primary-red) 100%);
}

/* 生肖龙元素 */
.zodiac-dragon {
    position: absolute;
    right: 8%;
    bottom: 15%;
    width: 400px;
    height: 300px;
    z-index: 1;
    animation: dragonFloat 8s ease-in-out infinite;
}

.dragon-body {
    width: 100%;
    height: 100%;
    position: relative;
}

/* 龙身 */
.dragon-main-body {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    border: 2px solid var(--primary-gold);
}

/* 龙头 */
.dragon-head {
    width: 150px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 50% 50% 40% 60%;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: rotate(-15deg);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border: 3px solid var(--primary-gold);
    animation: dragonHeadMove 4s ease-in-out infinite alternate;
}

@keyframes dragonHeadMove {
    0% { transform: rotate(-15deg); }
    100% { transform: rotate(-5deg); }
}

/* 龙眼 */
.dragon-eye {
    width: 18px;
    height: 18px;
    background: var(--primary-gold);
    border-radius: 50%;
    position: absolute;
    top: 35%;
    box-shadow: 
        0 0 15px var(--primary-gold),
        inset -3px 0 3px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-red-dark);
}

.dragon-eye.left {
    left: 25%;
}

.dragon-eye.right {
    right: 25%;
}

/* 龙角 */
.dragon-horn {
    width: 10px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    position: absolute;
    top: -40px;
    border-radius: 50% 50% 0 0;
    box-shadow: 0 0 15px var(--primary-gold);
}

.dragon-horn.left {
    left: 20%;
    transform: rotate(-25deg);
}

.dragon-horn.right {
    right: 20%;
    transform: rotate(25deg);
}

/* 龙角装饰 */
.dragon-horn::before {
    content: '';
    position: absolute;
    top: -5px;
    width: 14px;
    height: 14px;
    background: var(--primary-gold);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--primary-gold);
}

/* 龙嘴 */
.dragon-mouth {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 25px;
    background: linear-gradient(45deg, #8B0000 0%, #A52A2A 100%);
    border-radius: 0 0 50% 50%;
    border: 2px solid var(--primary-gold);
    overflow: hidden;
}

/* 龙牙 */
.dragon-tooth {
    position: absolute;
    top: 0;
    width: 8px;
    height: 12px;
    background: var(--primary-gold);
    border-radius: 0 0 4px 4px;
}

.dragon-tooth.left { left: 25%; }
.dragon-tooth.right { right: 25%; }

/* 龙舌 */
.dragon-tongue {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 15px;
    background: #FF6B6B;
    border-radius: 50% 50% 0 0;
    box-shadow: 0 0 10px #FF6B6B;
    animation: dragonTongueMove 3s ease-in-out infinite alternate;
}

@keyframes dragonTongueMove {
    0% { transform: translateX(-50%) translateY(0); }
    100% { transform: translateX(-50%) translateY(5px); }
}

/* 龙胡子 */
.dragon-beard {
    width: 3px;
    height: 35px;
    background: var(--primary-gold);
    position: absolute;
    bottom: -25px;
    box-shadow: 0 0 10px var(--primary-gold);
}

.dragon-beard.left {
    left: 30%;
    transform: rotate(-10deg);
}

.dragon-beard.right {
    right: 30%;
    transform: rotate(10deg);
}

/* 龙鳞 */
.dragon-scale {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 50% 0 50% 0;
    position: absolute;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    border: 1px solid var(--primary-red-dark);
    animation: dragonScaleGlow 2s ease-in-out infinite alternate;
}

@keyframes dragonScaleGlow {
    0% { opacity: 0.7; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* 身体鳞片 */
.dragon-scale.scale1 { top: 60%; left: 20%; animation-delay: 0.2s; }
.dragon-scale.scale2 { top: 55%; left: 40%; animation-delay: 0.4s; }
.dragon-scale.scale3 { top: 65%; left: 35%; animation-delay: 0.6s; }
.dragon-scale.scale4 { top: 70%; left: 25%; animation-delay: 0.8s; }
.dragon-scale.scale5 { top: 60%; left: 50%; animation-delay: 1.0s; }
.dragon-scale.scale6 { top: 75%; left: 40%; animation-delay: 1.2s; }

/* 龙爪 */
.dragon-claw {
    position: absolute;
    width: 60px;
    height: 80px;
    background: transparent;
}

.dragon-claw.front {
    bottom: 10%;
    left: 45%;
    z-index: 2;
}

.dragon-claw.back {
    bottom: 20%;
    left: 20%;
    z-index: 1;
    opacity: 0.8;
}

/* 爪子 */
.claw {
    position: absolute;
    width: 12px;
    height: 30px;
    background: linear-gradient(45deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 50% 50% 0 0;
    border: 2px solid var(--primary-gold);
    transform-origin: bottom;
    animation: dragonClawGrasp 3s ease-in-out infinite alternate;
}

@keyframes dragonClawGrasp {
    0% { transform: rotate(10deg); }
    100% { transform: rotate(-10deg); }
}

.claw:nth-child(1) { left: 20%; bottom: 0; animation-delay: 0.2s; }
.claw:nth-child(2) { left: 40%; bottom: 0; animation-delay: 0.4s; }
.claw:nth-child(3) { left: 60%; bottom: 0; animation-delay: 0.6s; }

/* 爪尖 */
.claw::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid var(--primary-gold);
}

/* 龙尾 */
.dragon-tail {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 100px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    border: 2px solid var(--primary-gold);
    animation: dragonTailWave 2s ease-in-out infinite alternate;
}

@keyframes dragonTailWave {
    0% { transform: rotate(-10deg) scale(0.95); }
    100% { transform: rotate(10deg) scale(1.05); }
}

/* 龙尾尖 */
.dragon-tail-tip {
    position: absolute;
    top: 50%;
    left: -15px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    border: 2px solid var(--primary-red-dark);
}

/* 龙火焰 */
.dragon-fire {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid var(--primary-yellow);
    border-radius: 50%;
    filter: blur(5px);
    opacity: 0.8;
    animation: dragonFireBreath 2s ease-in-out infinite alternate;
}

@keyframes dragonFireBreath {
    0% { 
        opacity: 0.5; 
        transform: translateX(-50%) scale(0.8); 
        border-top-color: var(--primary-yellow);
    }
    100% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1.2); 
        border-top-color: var(--primary-gold-dark);
    }
}

/* 通用节区样式 */
section {
    padding: 6rem 2rem;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    position: relative;
}

.title-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-gold) 0%, var(--primary-yellow) 100%);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.title-decoration::before,
.title-decoration::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-gold);
    border-radius: 50%;
    top: -4px;
}

.title-decoration::before {
    left: -20px;
}

.title-decoration::after {
    right: -20px;
}

/* 新年祝福区 */
.greetings {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
}

.greetings-container {
    width: 100%;
    height: 100vh;
    max-width: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.greeting-image {
    width: 100%;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
}

.greeting-image:hover {
    transform: none;
    box-shadow: none;
}

.greeting-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.greeting-image:hover img {
    transform: scale(1.05);
}



/* 倒计时区 */
.countdown {
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, var(--background-dark) 100%);
    color: #fff;
    text-align: center;
}

.countdown .section-title h2 {
    color: var(--primary-gold);
}

.countdown-container {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-gold);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.countdown-label {
    font-size: 1rem;
    color: #fff;
    opacity: 0.9;
}

.countdown-separator {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    align-self: center;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.countdown-message {
    font-size: 1.5rem;
    margin-top: 2rem;
    opacity: 0.9;
}

/* 留言墙 */
.message-wall {
    background: var(--background-light);
}

.message-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.message-form {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.message-form:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.message-form h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-family: 'Ma Shan Zheng', cursive;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.1);
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--primary-red-dark) 0%, var(--primary-red) 100%);
    border-color: var(--primary-gold);
}

.messages-list {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 600px;
    overflow-y: auto;
}

.messages-list h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-family: 'Ma Shan Zheng', cursive;
}

.messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-item {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.1) 0%, rgba(231, 76, 60, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.message-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.message-name {
    font-weight: 600;
    color: var(--primary-red);
}

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

.message-content {
    color: var(--text-primary);
    line-height: 1.6;
}

/* 页面底部 */
.footer {
    background: var(--background-dark);
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    color: var(--primary-gold);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--primary-yellow);
}

/* 动画效果 */
@keyframes swing {
    0% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(10deg);
    }
}

@keyframes lanternLight {
    0% {
        opacity: 0.7;
        box-shadow: 0 0 10px var(--primary-yellow);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 20px var(--primary-yellow);
    }
}

@keyframes dragonFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .chinese-year {
        font-size: 2.5rem;
    }
    
    .new-year {
        font-size: 4rem;
    }
    
    .zodiac-dragon {
        width: 150px;
        height: 150px;
        right: 5%;
        bottom: 15%;
    }
    
    .message-container {
        grid-template-columns: 1fr;
    }
    
    .messages-list {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        z-index: 99;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .chinese-year {
        font-size: 2rem;
    }
    
    .new-year {
        font-size: 3rem;
    }
    
    .zodiac-dragon {
        display: none;
    }
    
    .lantern {
        width: 60px;
        height: 80px;
    }
    
    .countdown-container {
        gap: 1rem;
    }
    
    .countdown-item {
        padding: 1.5rem;
        min-width: 100px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-separator {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 1rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .chinese-year {
        font-size: 1.8rem;
    }
    
    .new-year {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .countdown-container {
        gap: 0.5rem;
    }
    
    .countdown-item {
        padding: 1rem;
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
    
    .greetings-container {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .year {
        font-size: 2rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-red) 0%, var(--primary-gold) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--primary-red-dark) 0%, var(--primary-gold-dark) 100%);
}

/* 页面加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.8s ease-out;
}

