* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e63946;
    --secondary-color: #f4a261;
    --gold-color: #d4af37;
    --dark-bg: #0a0a0f;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --gradient-primary: linear-gradient(135deg, #e63946 0%, #f4a261 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4e4ba 50%, #d4af37 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: url('/assets/bg3.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 添加背景覆盖层，确保文字可读性 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(30, 5, 5, 0.75) 0%, rgba(10, 10, 15, 0.7) 50%, rgba(30, 5, 5, 0.75) 100%);
    z-index: -1;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(230, 57, 70, 0.3);
    z-index: 1000;
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

.logo-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(230, 57, 70, 0.3));
}

.logo-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--gold-color);
}

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 3rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(30, 10, 15, 0.7) 0%, rgba(20, 5, 10, 0.65) 100%),
        url('/assets/nianshou.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
    animation: breathe 4s ease-in-out infinite;
}

/* 呼吸效果动画 */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.03);
        filter: brightness(1.05);
    }
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    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='%23ffffff' fill-opacity='0.03'%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");
    animation: float 60s linear infinite;
}

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

.hero-content {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-text {
    display: block;
    margin-bottom: 0.5rem;
}

.title-highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Hero Section 装饰元素 */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

/* 鞭炮装饰 - 旧的已不用，保留兼容 */
.firecracker-decoration {
    display: none;
}

.firecracker-decoration::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    width: 30px;
    height: 8px;
    border-radius: 4px;
    top: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.firecracker-decoration::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    width: 30px;
    height: 8px;
    border-radius: 4px;
    bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.firecracker-left {
    left: 2%;
    top: 12%;
    animation-delay: 0s;
}

.firecracker-right {
    right: 2%;
    top: 12%;
    animation-delay: 1.5s;
}

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

/* 新的马年剪纸logo - 旧的已不用 */
.new-horse-logo {
    display: none;
}

.new-horse-logo.top-left {
    top: 12%;
    left: 4%;
    animation-delay: 0s;
}

.new-horse-logo.top-right {
    top: 12%;
    right: 4%;
    animation-delay: 2s;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-20px) rotate(2deg) scale(1.05);
    }
    50% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    75% {
        transform: translateY(20px) rotate(-2deg) scale(0.95);
    }
}

/* 中国元素平铺区域 */
.chinese-elements-tile {
    position: absolute;
    left: 0;
    bottom: 5%;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 10px;
    padding: 0 5%;
    z-index: 0;
}

.chinese-element {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.25;
    animation: chineseElementFloat 4s ease-in-out infinite;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.chinese-element svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 6px rgba(230, 57, 70, 0.3));
}

.red-packet-1 { animation-delay: 0s; }
.red-packet-2 { animation-delay: 0.5s; }
.red-packet-3 { animation-delay: 1s; }
.lantern-1 { animation-delay: 1.5s; }
.lantern-2 { animation-delay: 2s; }
.coin-1 { animation-delay: 2.5s; }
.coin-2 { animation-delay: 3s; }

@keyframes chineseElementFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) scale(1.05);
        opacity: 0.9;
    }
}



/* 烟花效果 */
.firework-decoration {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffd700;
    animation: fireworkBurst 4s ease-in-out infinite;
}

.firework-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
    background: #e63946;
}

.firework-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
    background: #ffd700;
}

.firework-3 {
    bottom: 35%;
    left: 20%;
    animation-delay: 2s;
    background: #f4a261;
}

.firework-4 {
    bottom: 25%;
    right: 20%;
    animation-delay: 3s;
    background: #e63946;
}

@keyframes fireworkBurst {
    0%, 100% {
        transform: scale(0);
        opacity: 0;
        box-shadow: 0 0 0 rgba(244, 162, 97, 0);
    }
    50% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 60px rgba(244, 162, 97, 0.8),
                    0 0 120px rgba(244, 162, 97, 0.6),
                    0 0 180px rgba(244, 162, 97, 0.4);
    }
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* 按钮 */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-gold {
    background: var(--gradient-gold);
    color: #0a0a0f;
    font-size: 1.2rem;
    padding: 1rem 3rem;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 3rem;
}

.btn-block {
    width: 100%;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Stages Section */
.stages-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(20, 10, 15, 0.95) 0%, rgba(15, 5, 10, 0.93) 100%),
                url('/assets/allred.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stage-card {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 180px;
}

.stage-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-color);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.15), 0 0 20px rgba(212, 175, 55, 0.1);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(212, 175, 55, 0.15) 100%);
}

.stage-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    animation: stageCardIconPulse 2s ease-in-out infinite;
}

@keyframes stageCardIconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
    }
}

.stage-card:hover .stage-card-icon {
    animation: stageCardIconGlow 0.5s ease-in-out;
}

@keyframes stageCardIconGlow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1);
    }
}

.stage-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.stage-card-status {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.stage-card-status.active {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success-color);
}

.stage-card-status.not_started {
    background: rgba(243, 156, 18, 0.2);
    color: var(--warning-color);
}

.stage-card-status.ended {
    background: rgba(231, 76, 60, 0.2);
    color: var(--error-color);
}

.stage-card-status.disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Stage Sections */
.stage-section {
    padding: 3rem 0;
    background: rgba(230, 57, 70, 0.02);
    border-top: 1px solid rgba(230, 57, 70, 0.1);
    position: relative;
}

.stage-section:nth-child(even) {
    background: rgba(212, 175, 55, 0.02);
}

/* 各阶段背景图片 - 古风古色，随滚动移动 */
#stage1 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(30, 10, 15, 0.92) 0%, rgba(20, 5, 10, 0.9) 100%),
                url('/assets/bg1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
}

/* 第一阶段特殊布局 */
#stage1 .container {
    max-width: 1400px;
    width: 100%;
}

#stage1 .stage-header {
    text-align: center;
    flex-direction: column;
    margin-bottom: 3rem;
}

#stage1 .stage-title {
    font-size: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#stage1 .stage-desc {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

#stage1 .info-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

#stage1 .stage-content {
    grid-template-columns: 1fr;
    gap: 3rem;
}

#stage1 .stage-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 第一阶段的 action-card 更大更突出 */
#stage1 .action-card {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.18) 0%, rgba(10, 10, 15, 0.95) 100%);
    border: 3px solid rgba(230, 57, 70, 0.4);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(230, 57, 70, 0.2);
}

#stage1 .action-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 15px 50px rgba(230, 57, 70, 0.3);
    transform: translateY(-5px);
}

#stage1 .action-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--gold-color);
    text-align: center;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* 签到按钮特别突出 */
#stage1 .action-card .btn {
    font-size: 1.3rem;
    padding: 1.2rem 2.5rem;
    font-weight: 700;
}

/* 发压岁钱输入框和按钮更大 */
#stage1 .action-card .input-field {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

#stage1 .action-card .amount-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

#stage1 .action-card .amount-btn {
    font-size: 1.1rem;
    padding: 1rem;
    font-weight: 600;
}

#stage1 .action-note {
    font-size: 1rem;
    margin-top: 1rem;
}

/* 第一阶段响应式布局 */
@media (max-width: 968px) {
    #stage1 .stage-title {
        font-size: 2rem;
    }
    
    #stage1 .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    #stage1 .stage-actions {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    #stage1 .action-card {
        padding: 2rem 1.5rem;
    }
    
    #stage1 .action-card h3 {
        font-size: 1.5rem;
    }
    
    #stage1 .action-card .btn {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    
    #stage1 .action-card .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

#stage2 {
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.92) 0%, rgba(10, 10, 20, 0.9) 100%),
                url('/assets/bg2.png') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
}

#stage3 {
    background: linear-gradient(135deg, rgba(30, 20, 10, 0.92) 0%, rgba(20, 15, 5, 0.9) 100%),
                url('/assets/bg3.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
}

#stage4 {
    background: linear-gradient(135deg, rgba(40, 10, 10, 0.92) 0%, rgba(30, 5, 5, 0.9) 100%),
                url('/assets/nianshou.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
}

#stage5 {
    background: linear-gradient(135deg, rgba(30, 25, 15, 0.92) 0%, rgba(20, 15, 10, 0.9) 100%),
                url('/assets/ma.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
}

.stage-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stage-icon {
    font-size: 3rem;
    display: inline-block;
    animation: stageIconPulse 2s ease-in-out infinite;
}

.stage-header:hover .stage-icon {
    animation: stageIconGlow 0.5s ease-in-out;
}

@keyframes stageIconGlow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes stageIconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
    }
}

.stage-title {
    font-size: 2rem;
    font-weight: 700;
    flex: 1;
}

.stage-status {
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.stage-status.active {
    background: var(--success-color);
    color: white;
}

.stage-status.not_started {
    background: var(--warning-color);
    color: white;
}

.stage-status.ended {
    background: var(--error-color);
    color: white;
}

.stage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.stage-info {
    color: var(--text-secondary);
}

.stage-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(212, 175, 55, 0.15) 100%);
    border: 2px solid rgba(230, 57, 70, 0.3);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.info-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.25);
    transform: translateY(-5px);
}

.info-card:nth-child(1) .card-icon {
    animation-delay: 0s;
}

.info-card:nth-child(2) .card-icon {
    animation-delay: 0.5s;
}

.info-card:nth-child(3) .card-icon {
    animation-delay: 1s;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: cardIconPulse 2s ease-in-out infinite;
}

@keyframes cardIconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
    }
}

.info-card:hover .card-icon {
    animation: cardIconGlow 0.5s ease-in-out;
}

@keyframes cardIconGlow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3) rotate(5deg);
    }
    100% {
        transform: scale(1);
    }
}

.card-title {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.card-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-color);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(244, 162, 97, 0.1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.highlight-icon {
    font-size: 3rem;
}

.highlight-text {
    flex: 1;
}

.highlight-text strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Fee Breakdown */
.fee-breakdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.fee-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.fee-label {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.fee-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-color);
}

/* Stage Actions */
.stage-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.action-card {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12) 0%, rgba(10, 10, 15, 0.95) 100%);
    border: 2px solid rgba(230, 57, 70, 0.25);
    border-radius: 25px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.action-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.15);
    transform: translateY(-3px);
}

.action-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--gold-color);
    text-align: center;
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.amount-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.amount-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-color);
}

.action-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Form Elements */
.input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: var(--gold-color);
    background: rgba(255, 255, 255, 0.1);
}

/* 自定义下拉框样式 */
.custom-select {
    position: relative;
    margin-bottom: 1rem;
    width: 100%;
}

.select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1001;
}

.select-header:hover {
    border-color: var(--gold-color);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.select-header.open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: var(--gold-color);
}

.select-value {
    font-size: 1rem;
    flex: 1;
}

.select-icon {
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.select-header.open .select-icon {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    border: 1px solid var(--card-border);
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    display: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    -webkit-overflow-scrolling: touch;
}

.select-options.show {
    display: block;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid var(--card-border);
}

.option-item:last-child {
    border-bottom: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.option-item.selected {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--gold-color);
}

.option-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    min-width: 24px;
}

.option-text {
    flex: 1;
    font-size: 1rem;
    color: var(--text-primary);
}

.option-effect {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.option-rarity {
    font-size: 0.75rem;
    color: #9b59b6;
    font-weight: 600;
    margin-left: 0.5rem;
    background: rgba(155, 89, 182, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.option-item.legendary {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, rgba(155, 89, 182, 0.05) 100%);
}

.option-item.legendary:hover {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2) 0%, rgba(155, 89, 182, 0.1) 100%);
}

/* 下拉框滚动条样式 */
.select-options::-webkit-scrollbar {
    width: 6px;
}

.select-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

.select-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.select-options::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 攻击按钮样式 */
.attack-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.attack-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.4);
}

.attack-btn:active {
    transform: translateY(0);
}

.attack-btn .btn-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.attack-btn.loading {
    background: linear-gradient(90deg, var(--gradient-primary), #f4a261, var(--gradient-primary));
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    pointer-events: none;
}

.attack-btn.loading .btn-text {
    position: relative;
}

.attack-btn.loading .btn-text::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 攻击特效样式 */
.attack-effects {
    position: relative;
    margin-top: 1rem;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
    display: none;
}

.attack-effects.active {
    display: block;
}

.explosion-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, #f4a261 0%, #e76f51 50%, #e63946 100%);
    opacity: 0;
    pointer-events: none;
}

.explosion-effect.active {
    animation: explosion 1s ease-out;
}

.damage-numbers {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 700;
    color: #e63946;
    opacity: 0;
    pointer-events: none;
    font-family: monospace;
}

.damage-numbers.active {
    animation: damageFloat 1.5s ease-out;
}

/* 年兽受击特效 */
.nian-shou-visual {
    position: relative;
}

.nian-shou-visual.hit {
    animation: nianShouHit 0.5s ease-in-out;
}

.nian-shou-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.3) 0%, transparent 70%);
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
}

.nian-shou-visual.hit::after {
    animation: nianShouGlow 0.5s ease-out;
}

/* 动画效果 */
@keyframes explosion {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

@keyframes damageFloat {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -100px) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -150px) scale(1);
        opacity: 0;
    }
}

@keyframes nianShouHit {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px) rotate(-2deg);
    }
    75% {
        transform: translateX(10px) rotate(2deg);
    }
}

@keyframes nianShouGlow {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
    }
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

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

.radio-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1.5rem;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    accent-color: var(--gold-color);
}

.trade-options {
    margin-bottom: 1rem;
}

.result-box {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 10px;
    color: var(--success-color);
    font-size: 0.95rem;
    display: none;
}

.result-box.show {
    display: block;
    animation: fadeIn 0.3s;
}

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

/* 年兽显示 */
.nian-shou-display {
    margin-bottom: 3rem;
}

.nian-shou-visual {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.nian-shou-custom-logo {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(139, 0, 0, 0.15) 100%);
    border-color: rgba(230, 57, 70, 0.4);
}

.nian-shou-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nian-shou-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
    animation: nianShouPulse 2s ease-in-out infinite;
}

@keyframes nianShouPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 4px 8px rgba(230, 57, 70, 0.5));
    }
}

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

.nian-shou-health {
    max-width: 400px;
    margin: 0 auto;
}

.health-bar {
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.health-fill {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c 0%, #f39c12 100%);
    transition: width 0.5s;
}

.health-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
}



/* 抽奖信息 */
.lottery-info {
    margin-bottom: 2rem;
}

.lottery-info h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.lottery-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.lottery-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.item-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.item-name {
    font-weight: 600;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.05) 0%, rgba(0, 0, 0, 0.6) 100%);
    padding: 2.5rem 0;
    margin-top: 3rem;
    border-top: 2px solid rgba(230, 57, 70, 0.3);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--gold-color);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1rem 2rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    border-color: var(--success-color);
}

.toast.error {
    border-color: var(--error-color);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .stage-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .stat-item {
        min-width: auto;
        width: 100%;
    }
    
    .stage-header {
        flex-direction: column;
        text-align: center;
    }
    
    .info-cards,
    .fee-breakdown {
        grid-template-columns: 1fr;
    }
    
    .amount-options {
        grid-template-columns: 1fr;
    }
    
    .stages-grid {
        grid-template-columns: 1fr;
    }
}

/* 用户卷轴列表样式 */
.scrolls-list {
    margin-top: 1rem;
}

.scrolls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.scroll-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.scroll-item:hover {
    border-color: var(--gold-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.1);
}

.scroll-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.scroll-info {
    flex: 1;
    min-width: 0;
}

.scroll-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scroll-id {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.no-scrolls {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    background: var(--card-bg);
    border: 1px dashed var(--card-border);
    border-radius: 12px;
}

.loading-text {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

/* Loading */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* 只读模式 */
.stage-readonly {
    opacity: 0.7;
}

.stage-readonly .stage-content {
    pointer-events: none;
}

.stage-readonly .stage-info {
    filter: grayscale(30%);
}

.readonly-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    background: rgba(243, 156, 18, 0.2);
    color: var(--warning-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 1rem;
}

.stage-readonly button.disabled,
.stage-readonly input.disabled,
.stage-readonly select.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(50%);
}

.stage-readonly button.disabled:hover,
.stage-readonly input.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 隐藏模式 - 未开始的阶段 */
.stage-hidden {
    opacity: 0.6;
}

.stage-hidden .stage-content {
    display: none !important;
}

.stage-hidden .stage-header {
    border-color: var(--card-border);
    background: rgba(255, 255, 255, 0.02);
}

.stage-hidden .stage-title {
    color: var(--text-secondary);
}

.stage-hidden .stage-status {
    background: rgba(128, 128, 128, 0.2);
    color: var(--text-secondary);
}

.stage-active {
    opacity: 1;
}

/* VRF 奖励样式 */
.participation-stats {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--card-border);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.stat-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.stat-value.highlight {
    color: var(--gold-color);
    font-size: 1.3rem;
}

/* 排行榜样式 */
.rankings-card .rankings-list {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--card-border);
    transition: background 0.3s;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.ranking-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.ranking-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ranking-item.top-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.3);
}

.ranking-item.top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15) 0%, rgba(192, 192, 192, 0.05) 100%);
    border-color: rgba(192, 192, 192, 0.3);
}

.ranking-item.top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15) 0%, rgba(205, 127, 50, 0.05) 100%);
    border-color: rgba(205, 127, 50, 0.3);
}

.ranking-rank {
    font-size: 1.2rem;
    font-weight: 700;
    width: 40px;
    text-align: center;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-item.top-1 .ranking-rank {
    color: #FFD700;
    font-size: 1.4rem;
}

.ranking-item.top-2 .ranking-rank {
    color: #C0C0C0;
    font-size: 1.3rem;
}

.ranking-item.top-3 .ranking-rank {
    color: #CD7F32;
    font-size: 1.2rem;
}

.ranking-address {
    flex: 1;
    font-family: monospace;
    color: var(--text-secondary);
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.75rem;
    border-radius: 10px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-icon {
    font-size: 0.9rem;
    color: var(--gold-color);
}

.badge-count {
    color: var(--text-primary);
    font-weight: 500;
}

.ranking-score {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-color);
    min-width: 70px;
    text-align: right;
    font-family: monospace;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px dashed var(--card-border);
}

/* 排行榜卡片样式 */
.rankings-card {
    margin-top: 1.5rem;
}

.rankings-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rankings-card h3::before {
    content: "🏆";
    font-size: 1.1rem;
}

/* 优化滚动条样式 */
.rankings-list::-webkit-scrollbar {
    width: 6px;
}

.rankings-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

.rankings-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.rankings-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 奖励显示样式 */
.reward-success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(46, 204, 113, 0.05) 100%);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.reward-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.reward-details {
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.reward-details > div {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reward-details > div:last-child {
    border-bottom: none;
}

.reward-error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    color: var(--error-color);
}

/* 加载页面样式 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    overflow: hidden;
}

.loading-content {
    text-align: center;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95) 0%, rgba(30, 10, 15, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: loadingContentIn 1s ease-out;
}

@keyframes loadingContentIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.loading-logo {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading-logo-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
    animation: breathe 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(230, 57, 70, 0.5));
}

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

.loading-logo .logo-text {
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.loading-logo .logo-subtitle {
    font-size: 0.95rem;
    color: rgba(230, 57, 70, 0.9);
    font-weight: 600;
    letter-spacing: 0.3em;
}

.loading-animation {
    margin-bottom: 0.8rem;
    position: relative;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.firecracker-container {
    position: relative;
    width: 100px;
    height: 150px;
}

.firecracker {
    position: relative;
    width: 20px;
    height: 80px;
    margin: 0 auto;
    animation: firecrackerFloat 3s ease-in-out infinite;
}

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

.firecracker-body {
    width: 20px;
    height: 80px;
    background: linear-gradient(180deg, #e63946 0%, #c1121f 100%);
    border-radius: 4px;
    position: relative;
}

.firecracker-body::before,
.firecracker-body::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    width: 12px;
    height: 3px;
    border-radius: 2px;
}

.firecracker-body::before {
    top: 10px;
}

.firecracker-body::after {
    bottom: 10px;
}

.firecracker-fuse {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: #f4a261;
    border-radius: 1px;
}

.firecracker-spark {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #f4a261;
    border-radius: 50%;
    animation: spark 1s ease-in-out infinite;
    box-shadow: 0 0 10px #f4a261, 0 0 20px #f4a261;
}

@keyframes spark {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.2);
    }
}

.firecracker-explosion {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, #f4a261 0%, #e63946 50%, transparent 70%);
    opacity: 0;
    animation: explosion 3s ease-in-out infinite;
}

@keyframes explosion {
    0%, 80% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    85% {
        width: 100px;
        height: 100px;
        opacity: 1;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
    }
}

.loading-progress {
    margin-bottom: 0.8rem;
}

.progress-bar {
    width: 100%;
    max-width: 400px;
    height: 10px;
    background: rgba(230, 57, 70, 0.15);
    border-radius: 5px;
    overflow: hidden;
    margin: 0 auto 0.5rem;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e63946 0%, #d4af37 50%, #ffd700 100%);
    border-radius: 5px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.5), 0 0 5px rgba(212, 175, 55, 0.5);
}

.progress-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.loading-features {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(230, 57, 70, 0.25);
    width: 100%;
    max-width: 560px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    animation: featureFadeIn 1s ease-out;
    min-height: 80px;
    min-width: 100px;
    padding: 0.7rem 0.6rem;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(212, 175, 55, 0.08) 100%);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    flex: 1;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(212, 175, 55, 0.15) 100%);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.2), 0 0 20px rgba(212, 175, 55, 0.15);
}

.feature-item:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(1) .feature-icon,
.feature-item:nth-child(1) .custom-logo {
    animation-delay: 0s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-item:nth-child(2) .feature-icon {
    animation-delay: 0.5s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-item:nth-child(3) .feature-icon {
    animation-delay: 1s;
}

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

.feature-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
    padding: 0.6rem;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.4);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconPulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3), inset 0 0 15px rgba(212, 175, 55, 0.1);
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    }
}

/* 自定义logo样式 */
.custom-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
    padding: 0;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.4);
    animation: logoPulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3), inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.sign-in-logo {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(244, 162, 97, 0.15) 100%);
    border-color: rgba(230, 57, 70, 0.4);
}

.stage-logo {
    width: 50px;
    height: 50px;
    padding: 0.3rem;
}

.stage-header:hover .stage-logo {
    animation: stageLogoGlow 0.5s ease-in-out;
}

@keyframes stageLogoGlow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1);
    }
}

.card-logo {
    width: 3rem;
    height: 3rem;
    padding: 0;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: stageCardIconPulse 2s ease-in-out infinite;
}

.stage-card:hover .card-logo {
    animation: stageCardIconGlow 0.5s ease-in-out;
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    }
}

.feature-item:hover .custom-logo {
    animation: logoGlow 0.5s ease-in-out;
}

.feature-item:hover .feature-icon {
    animation: iconGlow 0.5s ease-in-out;
}

@keyframes iconGlow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes logoGlow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1);
    }
}

.feature-text {
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.loading-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.bg-fireworks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(230, 57, 70, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: bgMove 60s linear infinite;
}

@keyframes bgMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(-10%, -10%) rotate(360deg);
    }
}

.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bg-particles::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='%23ffffff' fill-opacity='0.03'%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");
    animation: particlesFloat 30s linear infinite;
}

@keyframes particlesFloat {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-60px);
    }
}

/* 加载页面退出动画 */
.loading-screen.fade-out {
    animation: loadingFadeOut 1s ease-in-out forwards;
}

@keyframes loadingFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loading-content.fade-out {
    animation: loadingContentOut 1s ease-in-out forwards;
}

@keyframes loadingContentOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .loading-content {
        margin: 0;
        padding: 0.8rem 1rem;
    }
    
    .loading-logo .logo-text {
        font-size: 1.8rem;
    }

    .loading-logo .logo-icon {
        font-size: 2.5rem;
    }
    
    .loading-features {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        max-width: 100%;
    }
    
    .feature-item {
        flex-direction: row;
        justify-content: flex-start;
        min-height: auto;
        min-width: auto;
        width: 100%;
        max-width: 280px;
        padding: 0.5rem 1rem;
        gap: 0.6rem;
    }

    .feature-icon,
    .feature-item .custom-logo {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .feature-icon {
        font-size: 1.3rem;
        padding: 0.5rem;
    }
}

/* 背景音乐控件 */
.music-controls {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: musicControlsIn 1s ease-out;
}

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

.music-icon {
    font-size: 1.2rem;
    animation: musicPulse 2s ease-in-out infinite;
}

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

.music-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.music-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.music-button {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.music-button:hover {
    color: var(--gold-color);
}

.music-volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: var(--card-border);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--gold-color);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--gold-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* 节日动态背景效果 */
.festival-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.firework {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f4a261;
    animation: firework 3s ease-out infinite;
}

@keyframes firework {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold-color);
    animation: confetti 5s ease-in-out infinite;
}

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

.lantern {
    position: absolute;
    font-size: 2rem;
    animation: lanternFloat 8s ease-in-out infinite;
}

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

/* 烟花效果增强 */
.firework-burst {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #f4a261;
    border-radius: 50%;
    animation: fireworkBurst 2s ease-out infinite;
}

@keyframes fireworkBurst {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1) translateX(50px) translateY(-50px);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) translateX(100px) translateY(-100px);
        opacity: 0;
    }
}

/* ========== 加载页面 - 小孩点炮场景 (8s同步循环) ========== */
.scene-container {
    position: relative;
    width: 340px;
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.3) 20%, rgba(212, 175, 55, 0.5) 50%, rgba(212, 175, 55, 0.3) 80%, transparent 100%);
    border-radius: 2px;
}

/* 鞭炮串 - 摇晃⇒爆炸消失⇒复原 */
.big-firecracker-string {
    position: absolute;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    width: 70px;
    height: 160px;
    z-index: 2;
    transform-origin: top center;
    filter: drop-shadow(0 3px 8px rgba(230, 57, 70, 0.5));
    animation: fcAction 8s ease-in-out infinite;
}

.firecracker-string-svg {
    width: 100%;
    height: 100%;
}

.fuse-line {
    stroke-dasharray: 8 4;
    animation: fuseBurn 0.4s linear infinite;
}

@keyframes fuseBurn {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 12; }
}

@keyframes fcAction {
    0%, 32% { transform: translateX(-50%) rotate(0deg); opacity: 1; }
    /* 引线点燃，轻微摇晃 */
    38% { transform: translateX(-50%) rotate(-1deg); }
    42% { transform: translateX(-50%) rotate(1.5deg); }
    46% { transform: translateX(-50%) rotate(-2deg); }
    50% { transform: translateX(-50%) rotate(2.5deg); }
    /* 剧烈抖动 */
    53% { transform: translateX(-50%) rotate(-3deg); }
    55% { transform: translateX(-50%) rotate(4deg); }
    57% { transform: translateX(-50%) rotate(-5deg); }
    /* 爆炸 - 消失 */
    59% { transform: translateX(-50%) scale(1.1); opacity: 1; }
    62% { transform: translateX(-50%) scale(1.4); opacity: 0; }
    /* 保持隐藏 */
    88% { transform: translateX(-50%) scale(0); opacity: 0; }
    /* 淡入复原 */
    96% { transform: translateX(-50%) scale(1); opacity: 0; }
    100% { transform: translateX(-50%) scale(1) rotate(0deg); opacity: 1; }
}

/* 爆炸闪光 - 强烈白金色光球 */
.explosion-flash {
    position: absolute;
    left: 50%;
    bottom: 50px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #ffd700 30%, #ff6600 60%, transparent 70%);
    transform: translate(-50%, 50%) scale(0);
    z-index: 10;
    animation: flashBurst 8s ease-out infinite;
    pointer-events: none;
}

.explosion-flash::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,0,0.5) 0%, rgba(255,100,0,0.3) 40%, transparent 70%);
    transform: translate(-50%, -50%);
}

@keyframes flashBurst {
    0%, 58% { transform: translate(-50%, 50%) scale(0); opacity: 0; }
    60% { transform: translate(-50%, 50%) scale(4); opacity: 1; }
    64% { transform: translate(-50%, 50%) scale(8); opacity: 0.6; }
    72% { transform: translate(-50%, 50%) scale(12); opacity: 0.15; }
    78% { transform: translate(-50%, 50%) scale(14); opacity: 0; }
    100% { transform: translate(-50%, 50%) scale(0); opacity: 0; }
}

/* 爆炸火花粒子 */
.explosion-sparks {
    position: absolute;
    left: 50%;
    bottom: 60px;
    width: 0;
    height: 0;
    z-index: 8;
}

.spark {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 0 6px 2px #ffd700, 0 0 12px rgba(255,100,0,0.5);
    opacity: 0;
}

.sp1 { animation: spk1 8s ease-out infinite; }
.sp2 { animation: spk2 8s ease-out infinite; background: #ff4500; box-shadow: 0 0 6px 2px #ff4500; }
.sp3 { animation: spk3 8s ease-out infinite; }
.sp4 { animation: spk4 8s ease-out infinite; background: #ff6347; box-shadow: 0 0 6px 2px #ff6347; }
.sp5 { animation: spk5 8s ease-out infinite; width: 4px; height: 4px; }
.sp6 { animation: spk6 8s ease-out infinite; background: #ff4500; box-shadow: 0 0 6px 2px #ff4500; width: 4px; height: 4px; }
.sp7 { animation: spk7 8s ease-out infinite; }
.sp8 { animation: spk8 8s ease-out infinite; background: #e63946; box-shadow: 0 0 6px 2px #e63946; }
.sp9 { animation: spk9 8s ease-out infinite; width: 3px; height: 3px; background: #ffec8b; box-shadow: 0 0 4px 1px #ffec8b; }
.sp10 { animation: spk10 8s ease-out infinite; width: 3px; height: 3px; background: #ff6347; box-shadow: 0 0 4px 1px #ff6347; }

@keyframes spk1 { 0%,58% { transform: translate(0,0) scale(1); opacity:0; } 59% { opacity:1; } 68% { transform: translate(-65px,-85px) scale(0.8); opacity:0.9; } 78% { transform: translate(-85px,-115px) scale(0); opacity:0; } 100% { opacity:0; } }
@keyframes spk2 { 0%,58% { transform: translate(0,0) scale(1); opacity:0; } 59% { opacity:1; } 68% { transform: translate(60px,-95px) scale(0.8); opacity:0.9; } 78% { transform: translate(80px,-125px) scale(0); opacity:0; } 100% { opacity:0; } }
@keyframes spk3 { 0%,58% { transform: translate(0,0) scale(1); opacity:0; } 59% { opacity:1; } 68% { transform: translate(-85px,-35px) scale(0.7); opacity:0.8; } 78% { transform: translate(-110px,-45px) scale(0); opacity:0; } 100% { opacity:0; } }
@keyframes spk4 { 0%,58% { transform: translate(0,0) scale(1); opacity:0; } 59% { opacity:1; } 68% { transform: translate(75px,-50px) scale(0.7); opacity:0.8; } 78% { transform: translate(100px,-65px) scale(0); opacity:0; } 100% { opacity:0; } }
@keyframes spk5 { 0%,58% { transform: translate(0,0) scale(1); opacity:0; } 59% { opacity:1; } 68% { transform: translate(-35px,-105px) scale(0.6); opacity:0.7; } 78% { transform: translate(-45px,-135px) scale(0); opacity:0; } 100% { opacity:0; } }
@keyframes spk6 { 0%,58% { transform: translate(0,0) scale(1); opacity:0; } 59% { opacity:1; } 68% { transform: translate(45px,-100px) scale(0.6); opacity:0.7; } 78% { transform: translate(55px,-130px) scale(0); opacity:0; } 100% { opacity:0; } }
@keyframes spk7 { 0%,58% { transform: translate(0,0) scale(1); opacity:0; } 59% { opacity:1; } 68% { transform: translate(-95px,-65px) scale(0.5); opacity:0.6; } 78% { transform: translate(-125px,-85px) scale(0); opacity:0; } 100% { opacity:0; } }
@keyframes spk8 { 0%,58% { transform: translate(0,0) scale(1); opacity:0; } 59% { opacity:1; } 68% { transform: translate(90px,-30px) scale(0.5); opacity:0.6; } 78% { transform: translate(120px,-40px) scale(0); opacity:0; } 100% { opacity:0; } }
@keyframes spk9 { 0%,59% { transform: translate(0,0) scale(1); opacity:0; } 60% { opacity:1; } 70% { transform: translate(-50px,-120px) scale(0.5); opacity:0.7; } 80% { transform: translate(-60px,-150px) scale(0); opacity:0; } 100% { opacity:0; } }
@keyframes spk10 { 0%,59% { transform: translate(0,0) scale(1); opacity:0; } 60% { opacity:1; } 70% { transform: translate(70px,-110px) scale(0.5); opacity:0.7; } 80% { transform: translate(85px,-140px) scale(0); opacity:0; } 100% { opacity:0; } }

/* 爆炸烟雾 */
.explosion-smoke {
    position: absolute;
    left: 50%;
    bottom: 35px;
    transform: translateX(-50%);
    z-index: 5;
}

.smoke-puff {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 50, 0.35) 0%, rgba(150, 100, 50, 0.2) 50%, transparent 70%);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: smokePuff 8s ease-out infinite;
}

.pf1 { animation-delay: 0s; }
.pf2 { animation-delay: 0.2s; }
.pf3 { animation-delay: 0.4s; }

@keyframes smokePuff {
    0%, 58% { width: 0; height: 0; opacity: 0; }
    62% { width: 35px; height: 35px; opacity: 0.6; }
    70% { width: 70px; height: 70px; opacity: 0.3; }
    80% { width: 90px; height: 90px; opacity: 0; }
    100% { width: 0; height: 0; opacity: 0; }
}


/* ========== Hero 剪纸马年 Logo ========== */
.papercutHorse-logo {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    animation: papercutFloat 6s ease-in-out infinite;
    z-index: 0;
    filter: drop-shadow(0 0 20px rgba(230, 57, 70, 0.5)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.3));
}

.papercutHorse-logo.top-left {
    top: 8%;
    left: 3%;
    animation-delay: 0s;
}

.papercutHorse-logo.top-right {
    top: 8%;
    right: 3%;
    animation-delay: 3s;
}

.papercut-svg {
    width: 100%;
    height: 100%;
}

@keyframes papercutFloat {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-12px) rotate(2deg) scale(1.03); }
    50% { transform: translateY(0) rotate(0deg) scale(1); }
    75% { transform: translateY(12px) rotate(-2deg) scale(0.97); }
}

/* ========== Hero 鞭炮串 ========== */
.hero-firecracker-left,
.hero-firecracker-right {
    position: absolute;
    width: 70px;
    height: 260px;
    z-index: 0;
    animation: heroFcSwing 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(230, 57, 70, 0.5));
}

.hero-firecracker-left {
    left: 6%;
    top: 20%;
    animation-delay: 0s;
}

.hero-firecracker-right {
    right: 6%;
    top: 20%;
    animation-delay: 2s;
}

.hero-fc-svg {
    width: 100%;
    height: 100%;
}

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

/* 响应式 - 加载场景 */
@media (max-width: 768px) {
    .scene-container {
        width: 260px;
        height: 140px;
    }
    .big-firecracker-string {
        width: 55px;
        height: 125px;
    }
    .papercutHorse-logo {
        width: 100px;
        height: 100px;
    }
    .hero-firecracker-left,
    .hero-firecracker-right {
        width: 45px;
        height: 170px;
    }
}
