* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'NotoSerifSC', 'SimSun', 'STSong', serif;
    background: linear-gradient(135deg, #1a0a0a 0%, #2d1810 50%, #1a0a0a 100%);
    min-height: 100vh;
    overflow-x: hidden;
}
.gold-text {
    background: linear-gradient(135deg, #ffd700 0%, #ffec8b 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.red-glow {
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.5), 0 0 60px rgba(220, 38, 38, 0.3);
}
.gold-border {
    border: 2px solid;
    border-image: linear-gradient(135deg, #ffd700, #ffec8b, #ffd700) 1;
}
.hero-bg {
    background: url('images/banner/banner4a2b840cd896184e4c5020756d0e16421782893902.jpg') center/cover;
    position: relative;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,10,10,0.3) 0%, rgba(26,10,10,0.8) 100%);
}
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.float-animation { animation: float 3s ease-in-out infinite; }
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4); }
}
.pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}
.scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 1rem 0;
}
.scroll-container::-webkit-scrollbar { display: none; }
.scroll-item {
    scroll-snap-align: center;
    flex-shrink: 0;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 8s infinite;
}
@keyframes particle-float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}
.decorative-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}
.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b0000, #dc143c);
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid #ffd700;
}
.download-btn {
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #8b0000 100%);
    position: relative;
    overflow: hidden;
}
.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}
.countdown-box {
    background: linear-gradient(135deg, #2d1810, #1a0a0a);
    border: 2px solid #ffd700;
}
.福利标签 {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a0a0a;
    font-weight: bold;
}
@media (max-width: 768px) {
    .feature-icon { width: 60px; height: 60px; }
    .scroll-item img { width: 280px; height: 200px; }
}
#image-modal {
    transition: opacity 0.3s ease;
}
#modal-image {
    transition: transform 0.3s ease;
}

/* 导航栏样式 - 初始透明 */
#main-nav {
    background: transparent;
    border-bottom: none;
}
#main-nav.nav-scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur-md;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}
#main-nav.mobile-open {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur-md;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

/* PC端导航链接 */
.nav-link {
    color: #e5e7eb;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}
.nav-link:hover {
    color: #fbbf24;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 100%;
}

/* 移动端下载按钮 */
.download-btn-mobile {
    background: linear-gradient(135deg, #8b0000, #dc143c);
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}
.download-btn-mobile:active {
    transform: scale(0.95);
}

/* 移动端菜单样式 */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 汉堡菜单动画 */
#menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
#menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端导航链接 */
.mobile-nav-link {
    display: block;
    padding: 0.875rem 1rem;
    color: #d1d5db;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}
.mobile-nav-link:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #fbbf24;
    border-left-color: #ffd700;
}
.mobile-nav-link:active {
    background: rgba(255, 215, 0, 0.2);
}

/* 移动端菜单打开时导航背景 */
#main-nav.mobile-open .hamburger-line {
    background-color: #fbbf24;
}

/* 滚动时导航栏背景加深 */

/* 首屏下载按钮二维码悬停 */
.download-btn-wrapper {
    position: relative;
    width: 100%;
}
@media (min-width: 640px) {
    .download-btn-wrapper {
        width: auto;
    }
}
.qrcode-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(26, 10, 10, 0.95);
    border: 2px solid #ffd700;
    border-radius: 12px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    width: 160px;
}
.download-btn-wrapper:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
}
.qrcode-container canvas {
    display: block;
    margin: 0 auto;
}
.qrcode-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: #ffd700;
}

/* 下载区域二维码样式 */
.qrcode-box {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qrcode-box canvas,
.qrcode-box img {
    border-radius: 8px;
}

/* 友情链接 */
.friend-links a {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}
.friend-links a:hover {
    color: #facc15;
}



