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

:root {
    --primary-color: #ff4757;
    --secondary-color: #ffa502;
    --success-color: #2ed573;
    --warning-color: #ffa502;
    --danger-color: #ff4757;
    --dark-color: #2d3436;
    --light-color: #ffffff;
    --gold-color: #ffd700;
    --bg-gradient: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c44569 100%);
}

body {
    font-family: 'Microsoft YaHei', 'SimHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* 粒子容器 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 星空背景 */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.star:nth-child(2) { top: 25%; left: 80%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 45%; left: 25%; animation-delay: 1s; }
.star:nth-child(4) { top: 65%; left: 70%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 80%; left: 40%; animation-delay: 2s; }
.star:nth-child(6) { top: 20%; left: 50%; animation-delay: 0.3s; }
.star:nth-child(7) { top: 55%; left: 90%; animation-delay: 1.2s; }
.star:nth-child(8) { top: 75%; left: 10%; animation-delay: 1.8s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* 主容器 */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* 头部 */
.app-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 2.8em;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700 0%, #ff4757 50%, #ffd700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: gradientFlow 3s ease infinite;
    text-shadow: 0 0 30px rgba(255, 71, 87, 0.5);
}

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

.icon {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.subtitle {
    font-size: 1.2em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 许愿树状态 */
.tree-status {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tree-display {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.tree-visual {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tree-crown {
    font-size: 8em;
    animation: treeGrow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(162, 155, 254, 0.5));
}

@keyframes treeGrow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.tree-info {
    flex: 1;
}

.tree-level {
    font-size: 1.5em;
    color: white;
    margin-bottom: 15px;
    font-weight: bold;
}

.level-label {
    color: rgba(255, 255, 255, 0.8);
}

.level-value {
    font-size: 1.5em;
    color: #feca57;
    margin: 0 5px;
}

.tree-exp {
    margin-top: 10px;
}

.exp-bar {
    width: 100%;
    height: 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 8px;
}

.exp-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700 0%, #ff4757 100%);
    border-radius: 15px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.exp-text {
    color: white;
    font-size: 0.9em;
    text-align: center;
}

.tree-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2em;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

/* 快捷功能区 */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.action-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.action-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.25);
}

.action-icon {
    font-size: 3em;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.action-name {
    font-size: 1.3em;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.action-desc {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

/* 愿望分类标签 */
.wish-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.category-btn.active {
    background: linear-gradient(135deg, #ff4757 0%, #ffa502 100%);
    border-color: #ff4757;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

/* 愿望列表 */
.wishes-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 1.8em;
    color: white;
}

.wish-filter select {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 1em;
    cursor: pointer;
}

.wish-filter select option {
    background: #2d3436;
    color: white;
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.wish-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.wish-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--wish-color, #ff4757);
}

.wish-card:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.wish-card.completed {
    opacity: 0.7;
}

.wish-card.completed .wish-content {
    text-decoration: line-through;
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.wish-category-tag {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    font-size: 0.9em;
    color: white;
}

.wish-status {
    font-size: 1.5em;
}

.wish-content {
    color: white;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 60px;
}

.wish-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

.wish-actions {
    display: flex;
    gap: 10px;
}

.wish-action-btn {
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wish-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* 数据统计 */
.stats-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-detail-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-detail-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.stat-detail-value {
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
}

.stat-detail-label {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
}

.chart-container {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.chart-container h3 {
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

#categoryChart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-action {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 2px solid rgba(255, 71, 87, 0.3);
}

.modal-header h3 {
    font-size: 1.8em;
    color: #2d3436;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8em;
    color: #636e72;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #d63031;
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 2px solid rgba(255, 71, 87, 0.3);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d3436;
    font-weight: bold;
}

.form-group textarea,
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 71, 87, 0.3);
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group textarea:focus,
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}

.char-count {
    text-align: right;
    font-size: 0.9em;
    color: #636e72;
    margin-top: 5px;
}

.color-picker {
    display: flex;
    gap: 10px;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-btn:hover {
    transform: scale(1.1);
}

.color-btn.active {
    border-color: white;
    box-shadow: 0 0 0 2px #ff4757;
}

/* 按钮样式 */
.btn-primary,
.btn-secondary {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-primary {
    background: linear-gradient(135deg, #ff4757 0%, #ffa502 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.5);
}

.btn-secondary {
    background: #dfe6e9;
    color: #2d3436;
}

.btn-secondary:hover {
    background: #b2bec3;
}

/* 抽签样式 */
.fortune-container {
    text-align: center;
    padding: 20px;
}

.fortune-stick {
    width: 150px;
    height: 200px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.fortune-stick:hover {
    transform: scale(1.05) rotate(5deg);
}

.btn-draw {
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff4757 0%, #ffa502 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-draw:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4);
}

.fortune-result {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 15px;
}

.fortune-level {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ff4757;
}

.fortune-text {
    font-size: 1.3em;
    color: #2d3436;
    margin-bottom: 15px;
    line-height: 1.6;
}

.fortune-advice {
    font-size: 1.1em;
    color: #636e72;
    font-style: italic;
}

/* 许愿瓶样式 */
.bottle-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.bottle-tab {
    flex: 1;
    padding: 12px;
    background: rgba(255, 71, 87, 0.1);
    border: 2px solid rgba(255, 71, 87, 0.3);
    border-radius: 10px;
    color: #2d3436;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bottle-tab.active {
    background: linear-gradient(135deg, #ff4757 0%, #ffa502 100%);
    color: white;
    border-color: #ff4757;
}

.bottle-panel {
    display: none;
}

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

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

.bottle-item {
    padding: 15px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #ff4757;
}

.bottle-message {
    color: #2d3436;
    margin-bottom: 8px;
}

.bottle-time {
    font-size: 0.9em;
    color: #636e72;
}

/* 祈福样式 */
.blessing-container {
    text-align: center;
    padding: 30px;
}

.blessing-icon {
    font-size: 6em;
    margin-bottom: 20px;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.blessing-text {
    font-size: 1.5em;
    color: #2d3436;
    margin-bottom: 30px;
    line-height: 1.8;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 2000;
    animation: slideInRight 0.4s ease;
}

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

.notification-icon {
    font-size: 2em;
}

.notification-message {
    font-size: 1.1em;
    color: #2d3436;
}

/* 页脚 */
.app-footer {
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 1.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tree-stats,
    .quick-actions,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wishes-grid {
        grid-template-columns: 1fr;
    }

    .tree-display {
        flex-direction: column;
    }

    .wish-categories {
        justify-content: flex-start;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
    }
}

/* 春节装饰样式 */
.decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* 灯笼装饰 */
.lantern {
    position: absolute;
    font-size: 4em;
    animation: swing 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 71, 87, 0.6));
}

.lantern-left {
    top: 50px;
    left: 5%;
}

.lantern-right {
    top: 50px;
    right: 5%;
    animation-delay: 1.5s;
}

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

/* 鞭炮装饰 */
.firecracker {
    position: absolute;
    font-size: 3em;
    animation: blink 1s ease-in-out infinite;
}

.firecracker-left {
    top: 150px;
    left: 3%;
}

.firecracker-right {
    top: 150px;
    right: 3%;
    animation-delay: 0.5s;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

/* 马装饰 */
.horse-decoration {
    position: absolute;
    font-size: 5em;
    animation: gallop 4s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.horse-left {
    top: 30%;
    left: 2%;
}

.horse-right {
    top: 30%;
    right: 2%;
    animation-delay: 2s;
}

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

/* 春联装饰 */
.couplet {
    position: absolute;
    font-size: 3em;
    font-weight: bold;
    color: #ffd700;
    background: linear-gradient(180deg, #ff4757 0%, #c44569 100%);
    padding: 20px 15px;
    border-radius: 10px;
    border: 3px solid #ffd700;
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.5);
    animation: float 3s ease-in-out infinite;
}

.couplet-left {
    top: 250px;
    left: 1%;
}

.couplet-right {
    top: 250px;
    right: 1%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 马蹄印飘落 */
.horseshoe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.horseshoe {
    position: absolute;
    font-size: 2em;
    animation: horseshoeFall linear infinite;
    opacity: 0.7;
}

@keyframes horseshoeFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 马年徽章 */
.horse-year-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: linear-gradient(135deg, #ffd700 0%, #ffa502 100%);
    color: #c44569;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 25px;
    border: 3px solid #ff4757;
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 8px 30px rgba(255, 71, 87, 0.6); }
}

/* 增强许愿树的马年元素 */
.tree-crown {
    font-size: 8em;
    animation: treeGrow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

/* 增强粒子效果 - 添加金色粒子 */
.particle.gold {
    background: radial-gradient(circle, #ffd700 0%, #ffa502 100%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* 红包样式增强 */
.stat-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.3) 0%, rgba(255, 165, 2, 0.3) 100%);
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 71, 87, 0.3) 100%);
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(255, 165, 2, 0.3) 0%, rgba(255, 215, 0, 0.3) 100%);
}

.stat-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.3) 0%, rgba(196, 69, 105, 0.3) 100%);
}

/* 快捷功能卡片增强 */
.action-card:hover {
    transform: translateY(-8px) scale(1.02) rotate(2deg);
    box-shadow: 0 15px 40px rgba(255, 71, 87, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 71, 87, 0.2) 100%);
}

/* 愿望卡片增强 */
.wish-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 215, 0, 0.1) 100%);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.wish-card:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 0 15px 35px rgba(255, 71, 87, 0.3);
    border-color: rgba(255, 71, 87, 0.5);
}

/* 添加马年图案背景 */
.tree-status::before {
    content: '🐴';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 3em;
    opacity: 0.1;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .lantern, .firecracker, .horse-decoration, .couplet {
        font-size: 2em;
    }

    .lantern-left, .firecracker-left, .horse-left, .couplet-left {
        left: 2%;
    }

    .lantern-right, .firecracker-right, .horse-right, .couplet-right {
        right: 2%;
    }
}

