/* 新春主题样式 */
:root {
    /* 新春主题颜色 */
    --spring-primary: #D93600;
    --spring-secondary: #FFD700;
    --spring-accent: #E63946;
    --spring-bg: #FFF5E6;
    --spring-text: #2C1810;
    --spring-card-bg: #FFF8F0;
    --spring-border: #FFB84D;
    --spring-shadow: rgba(217, 54, 0, 0.15);

    /* 红色系 */
    --spring-red: #D93600;
    --spring-red-light: #FF6B35;
    --spring-red-dark: #A52A2A;
    --spring-red-bg: #FFF0EB;

    /* 金色系 */
    --spring-gold: #FFD700;
    --spring-gold-light: #FFE44D;
    --spring-gold-dark: #B8860B;
    --spring-gold-bg: #FFFAF0;

    /* 火焰色 */
    --spring-flame: #FF6B35;
    --spring-flame-light: #FF8C42;
    --spring-flame-dark: #D93600;

    /* 传统纹样 */
    --spring-pattern: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 215, 0, 0.1) 10px,
        rgba(255, 215, 0, 0.1) 20px
    );
}

/* 新春主题激活时的全局样式 */
body.spring-theme {
    background-color: var(--spring-bg);
    color: var(--spring-text);
    background-image: var(--spring-pattern);
}

/* 新春主题 - 导航栏 */
body.spring-theme .navbar {
    background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-red-light) 100%);
    box-shadow: 0 2px 10px var(--spring-shadow);
}

body.spring-theme .navbar .logo h1 {
    color: var(--spring-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

body.spring-theme .nav-links ul li a {
    color: var(--spring-card-bg);
    transition: var(--transition);
}

body.spring-theme .nav-links ul li a:hover,
body.spring-theme .nav-links ul li a.active {
    color: var(--spring-gold);
}

/* 新春主题 - 按钮 */
body.spring-theme .btn-primary {
    background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-flame) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px var(--spring-shadow);
}

body.spring-theme .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--spring-shadow);
}

body.spring-theme .btn-secondary {
    background: linear-gradient(135deg, var(--spring-gold) 0%, var(--spring-gold-light) 100%);
    color: var(--spring-red-dark);
    border: none;
}

body.spring-theme .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

/* 新春主题 - Hero区域 */
body.spring-theme .hero {
    background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-flame) 50%, var(--spring-gold) 100%);
}

body.spring-theme .hero h1,
body.spring-theme .hero h2 {
    color: var(--spring-card-bg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.spring-theme .hero p {
    color: rgba(255, 255, 255, 0.95);
}

body.spring-theme .welcome-card {
    background: var(--spring-card-bg);
    border: 2px solid var(--spring-gold);
    box-shadow: 0 8px 25px var(--spring-shadow);
}

/* 新春主题 - 功能卡片 */
body.spring-theme .feature-card {
    background: var(--spring-card-bg);
    border: 1px solid var(--spring-border);
    border-radius: var(--card-radius);
    transition: var(--transition);
}

body.spring-theme .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--spring-shadow);
    border-color: var(--spring-gold);
}

body.spring-theme .feature-icon {
    background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-flame) 100%);
    color: white;
}

/* 新春主题 - 截图区域 */
body.spring-theme .screenshot img {
    border: 3px solid var(--spring-gold);
    border-radius: var(--card-radius);
}

/* 新春主题 - 下载卡片 */
body.spring-theme .download-card {
    background: var(--spring-card-bg);
    border: 1px solid var(--spring-border);
    transition: var(--transition);
}

body.spring-theme .download-card:hover {
    border-color: var(--spring-gold);
    box-shadow: 0 8px 25px var(--spring-shadow);
    transform: translateY(-5px);
}

body.spring-theme .download-icon {
    color: var(--spring-red);
}

/* 新春主题 - 页脚 */
body.spring-theme footer {
    background: linear-gradient(135deg, var(--spring-red-dark) 0%, var(--spring-red) 100%);
    color: var(--spring-card-bg);
}

/* 新春主题 - 表单 */
body.spring-theme .auth-card {
    background: var(--spring-card-bg);
    border: 2px solid var(--spring-gold);
    box-shadow: 0 8px 25px var(--spring-shadow);
}

body.spring-theme .form-control {
    border: 1px solid var(--spring-border);
    background: white;
}

body.spring-theme .form-control:focus {
    border-color: var(--spring-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* 新春主题 - 春节音乐播放器 */
body.spring-theme .music-player-container {
    background: var(--spring-bg);
}

body.spring-theme .player-controls .btn-control {
    background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-flame) 100%);
    color: white;
}

body.spring-theme .player-controls .btn-control:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--spring-shadow);
}

/* 新春主题 - 排行榜 */
body.spring-theme .ranking-item {
    background: var(--spring-card-bg);
    border: 1px solid var(--spring-border);
}

body.spring-theme .ranking-item.top-1,
body.spring-theme .ranking-item.top-2,
body.spring-theme .ranking-item.top-3 {
    border: 2px solid var(--spring-gold);
}

/* 新春主题 - 社区规定 */
body.spring-theme .rule-card {
    background: var(--spring-card-bg);
    border: 1px solid var(--spring-border);
}

/* 新春主题 - 时间胶囊 */
body.spring-theme .capsule-item {
    background: var(--spring-card-bg);
    border: 1px solid var(--spring-border);
}

/* 新春主题 - 春节横幅增强 */
body.spring-theme .spring-festival-banner {
    background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-flame) 50%, var(--spring-gold) 100%);
    animation: festival-glow 3s ease-in-out infinite;
}

@keyframes festival-glow {
    0%, 100% {
        box-shadow: 0 0 30px var(--spring-shadow);
    }
    50% {
        box-shadow: 0 0 50px var(--spring-gold);
    }
}

body.spring-theme .festival-icon {
    animation: dragon-dance 2s ease-in-out infinite;
}

@keyframes dragon-dance {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(3deg); }
    75% { transform: translateY(5px) rotate(-3deg); }
}

/* 新春主题 - 装饰元素 */
body.spring-theme .spring-decoration {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

body.spring-theme .lantern {
    width: 40px;
    height: 50px;
    background: linear-gradient(180deg, var(--spring-red) 0%, var(--spring-red-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--spring-gold);
}

body.spring-theme .lantern::before {
    content: '福';
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--spring-gold);
    font-size: 20px;
    font-weight: bold;
}

/* 主题切换按钮 */
.theme-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.theme-switcher-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-flame) 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--spring-shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.theme-switcher-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px var(--spring-gold);
}

.theme-switcher-btn.spring-active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217, 54, 0, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(217, 54, 0, 0); }
}

/* 主题切换菜单 */
.theme-switcher-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: 0 4px 20px var(--shadow-color);
    overflow: hidden;
    display: none;
    min-width: 180px;
}

.theme-switcher-menu.show {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-option {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: white;
    width: 100%;
    text-align: left;
    font-size: 14px;
    color: var(--text-color);
}

.theme-option:hover {
    background: var(--bg-color);
}

.theme-option.active {
    background: var(--bg-color);
    font-weight: 600;
}

.theme-option .theme-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.theme-option .theme-indicator.default {
    background: var(--primary-color);
}

.theme-option .theme-indicator.spring {
    background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-gold) 100%);
}

/* 新春主题 - 响应式优化 */
@media (max-width: 768px) {
    .theme-switcher {
        bottom: 20px;
        right: 20px;
    }

    .theme-switcher-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    body.spring-theme .hero h1 {
        font-size: var(--font-size-h1-mobile);
    }

    body.spring-theme .hero h2 {
        font-size: var(--font-size-h2-mobile);
    }

    /* 新春主题 - 移动端导航栏适配 */
    body.spring-theme .navbar {
        background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-red-light) 100%) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    body.spring-theme .navbar .logo h1 {
        color: var(--spring-gold) !important;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5) !important;
    }

    body.spring-theme .nav-links {
        background-color: rgba(255, 245, 230, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }

    body.spring-theme .nav-links ul li a {
        color: var(--spring-text) !important;
        border-radius: 10px !important;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    body.spring-theme .nav-links ul li a:hover,
    body.spring-theme .nav-links ul li a:active {
        background-color: rgba(217, 54, 0, 0.1) !important;
        color: var(--spring-red) !important;
        transform: translateX(-3px) !important;
    }

    body.spring-theme .nav-links ul li a.active {
        background-color: rgba(217, 54, 0, 0.15) !important;
        color: var(--spring-red) !important;
        font-weight: 600 !important;
    }

    body.spring-theme .fa-bars,
    body.spring-theme .fa-times {
        color: var(--spring-gold) !important;
    }

    body.spring-theme .nav-user-info {
        background: rgba(255, 215, 0, 0.1) !important;
        border: 1px solid var(--spring-gold) !important;
    }

    body.spring-theme .nav-user-info .user-name {
        color: var(--spring-text) !important;
    }

    body.spring-theme .nav-user-info .btn-logout {
        color: var(--spring-red) !important;
    }
}

/* 新春主题烟花效果（可选） */
.firework {
    position: fixed;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
}

@keyframes firework-explode {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

/* 新春主题特殊效果 - 红包雨 */
.red-envelope {
    position: fixed;
    top: -50px;
    font-size: 30px;
    animation: envelope-fall linear forwards;
    pointer-events: none;
    z-index: 9997;
}

@keyframes envelope-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.7;
    }
}

/* 新年倒计时 */
.new-year-countdown {
    background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-flame) 50%, var(--spring-gold) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.new-year-countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFD700' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.countdown-content {
    position: relative;
    z-index: 1;
}

.countdown-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-main {
    text-align: center;
    flex: 1;
    min-width: 300px;
}

.countdown-badge {
    display: inline-block;
    background: var(--spring-gold);
    color: var(--spring-red-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.countdown-main h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.timer-block {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    min-width: 80px;
    border: 2px solid var(--spring-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.timer-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--spring-gold);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.timer-label {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.timer-separator {
    font-size: 40px;
    color: var(--spring-gold);
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.countdown-message {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.countdown-message .celebrate {
    font-size: 24px;
    font-weight: bold;
    color: var(--spring-gold);
    animation: celebrate-glow 1s ease-in-out infinite;
}

@keyframes celebrate-glow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.countdown-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-actions .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-festival {
    background: var(--spring-gold);
    color: var(--spring-red-dark);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-festival:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.btn-annual {
    background: white;
    color: var(--spring-red);
    border: 2px solid var(--spring-gold);
}

.btn-annual:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

/* 灯笼 */
.lantern {
    width: 80px;
    height: 100px;
    background: linear-gradient(180deg, var(--spring-red) 0%, var(--spring-red-dark) 100%);
    border-radius: 40px;
    box-shadow: 0 0 20px var(--spring-gold), inset 0 0 30px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: lantern-swing 3s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s;
}

.lantern::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background: var(--spring-gold);
}

.lantern::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, var(--spring-gold) 0%, var(--spring-gold-light) 100%);
}

.lantern span {
    color: var(--spring-gold);
    font-size: 32px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.lantern:hover {
    transform: scale(1.1);
}

.lantern.left {
    animation-delay: 0s;
}

.lantern.right {
    animation-delay: 0.5s;
}

@keyframes lantern-swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* 新春互动游戏 */
.spring-games {
    background: var(--spring-bg);
    padding: 80px 0;
}

.spring-games .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.spring-games .section-header h2 {
    color: var(--spring-red);
    font-size: 36px;
    margin-bottom: 15px;
}

.spring-games .section-header p {
    color: var(--spring-text);
    font-size: 18px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--spring-card-bg);
    border: 2px solid var(--spring-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--spring-shadow);
    border-color: var(--spring-gold);
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-flame) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.game-card h3 {
    color: var(--spring-red);
    font-size: 24px;
    margin-bottom: 15px;
}

.game-card p {
    color: var(--spring-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-game {
    background: linear-gradient(135deg, var(--spring-gold) 0%, var(--spring-gold-light) 100%);
    color: var(--spring-red-dark);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-game:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--spring-card-bg);
    border: 3px solid var(--spring-gold);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 2px solid var(--spring-border);
}

.modal-header h3 {
    color: var(--spring-red);
    font-size: 24px;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--spring-red);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 15px 25px 25px;
    border-top: 1px solid var(--spring-border);
    text-align: center;
}

/* 摇签结果 */
.fortune-result {
    text-align: center;
    padding: 20px;
}

.fortune-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--spring-gold) 0%, var(--spring-gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--spring-red-dark);
}

.fortune-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.fortune-title.great {
    color: var(--spring-red);
    text-shadow: 0 0 10px var(--spring-gold);
}

.fortune-title.good {
    color: var(--spring-flame);
}

.fortune-title.normal {
    color: var(--spring-text);
}

.fortune-message {
    font-size: 18px;
    color: var(--spring-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.fortune-tips {
    color: var(--spring-flame);
    font-size: 16px;
}

/* 春联结果 */
.couplet-result {
    text-align: center;
    padding: 20px;
}

.couplet-horizontal {
    font-size: 32px;
    font-weight: bold;
    color: var(--spring-red);
    margin-bottom: 30px;
    padding: 10px;
    border: 3px solid var(--spring-gold);
    border-radius: 10px;
    display: inline-block;
}

.couplet-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.couplet-left,
.couplet-right {
    writing-mode: vertical-rl;
    font-size: 24px;
    font-weight: bold;
    color: var(--spring-red);
    padding: 15px 20px;
    border: 2px solid var(--spring-gold);
    border-radius: 10px;
    letter-spacing: 5px;
}

/* 祝福语结果 */
.wishes-result {
    text-align: center;
    padding: 20px;
}

.wishes-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--spring-red) 0%, var(--spring-flame) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.wishes-text {
    font-size: 24px;
    color: var(--spring-red);
    line-height: 1.8;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--spring-bg);
    border-radius: 15px;
}

.btn-copy {
    background: var(--spring-gold);
    color: var(--spring-red-dark);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* 鞭炮容器 */
.firecracker-container {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.firecracker-box {
    text-align: center;
    transition: all 0.3s ease;
}

.firecracker-box.exploding {
    animation: explode 0.5s ease-out;
}

@keyframes explode {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(0.9); }
}

.firecracker-body {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.firecracker-bamboo {
    width: 20px;
    height: 100px;
    background: linear-gradient(180deg, #ff6b35 0%, #d93600 100%);
    border-radius: 10px;
    position: relative;
}

.firecracker-bamboo::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 80%;
    background: var(--spring-gold);
}

.btn-ignite {
    background: linear-gradient(135deg, var(--spring-flame) 0%, var(--spring-red) 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-ignite:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px var(--spring-shadow);
}

.firework {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: fireworkBurst 1s ease-out forwards;
}

@keyframes fireworkBurst {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.fireworks-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .new-year-countdown {
        padding: 40px 0;
    }

    .countdown-decoration {
        gap: 15px;
    }

    .lantern {
        width: 60px;
        height: 75px;
    }

    .lantern span {
        font-size: 24px;
    }

    .countdown-main h2 {
        font-size: 28px;
    }

    .timer-block {
        min-width: 60px;
        padding: 15px 10px;
    }

    .timer-number {
        font-size: 32px;
    }

    .timer-label {
        font-size: 12px;
    }

    .timer-separator {
        font-size: 28px;
    }

    .countdown-message {
        font-size: 16px;
    }

    .countdown-actions .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .couplet-wrapper {
        gap: 10px;
    }

    .couplet-left,
    .couplet-right {
        font-size: 20px;
    }
}
