/* 
   新国潮大促风 (Modern Chinese Cyber-Red) 公共样式表
   核心配色：赛博红 (#D32F2F) 与 皇家暗金 (#D4AF37)
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
    --cyber-red: #D32F2F;
    --cyber-red-hover: #B71C1C;
    --cyber-red-glow: rgba(211, 47, 47, 0.4);
    --royal-gold: #D4AF37;
    --royal-gold-hover: #AA841C;
    --neon-yellow: #FFD700;
    --dark-bg: #121212;
    --card-bg: #1A1A1A;
    --text-light: #F5F5F7;
    --text-muted: #B0B0B0;
    --border-color: #2A2A2A;
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏 - 响应式且不使用 sticky 导航 */
.navbar {
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.8) 100%);
    border-bottom: 2px solid var(--royal-gold);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--neon-yellow);
    font-size: 1.5rem;
    font-weight: 900;
    text-shadow: 0 0 10px var(--cyber-red-glow);
}

.nav-logo span {
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--neon-yellow);
    background-color: rgba(211, 47, 47, 0.2);
    border-bottom: 2px solid var(--neon-yellow);
}

/* 面包屑导航 */
.breadcrumb-container {
    background-color: #181818;
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--royal-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--neon-yellow);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

/* 顶部跑马灯 */
.marquee-container {
    background-color: var(--cyber-red);
    color: var(--neon-yellow);
    padding: 0.5rem 1rem;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 1px solid var(--royal-gold);
    font-size: 0.9rem;
    font-weight: bold;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* 底部免责声明与条款 SEO 填充区 */
.footer-seo {
    background-color: #0A0A0A;
    border-top: 3px solid var(--royal-gold);
    padding: 4rem 2rem 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-seo-section h3 {
    color: var(--royal-gold);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    border-left: 3px solid var(--cyber-red);
    padding-left: 0.5rem;
}

.footer-seo-links {
    list-style: none;
}

.footer-seo-links li {
    margin-bottom: 0.6rem;
}

.footer-seo-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-seo-links a:hover {
    color: var(--neon-yellow);
}

.footer-rules-text {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    line-height: 1.8;
    text-align: justify;
}

.footer-rules-text h4 {
    color: var(--royal-gold);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-rules-text p {
    margin-bottom: 1rem;
}

.footer-copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
}

/* 悬浮客服按钮 */
.floating-cs {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    background: linear-gradient(135deg, var(--cyber-red) 0%, #B71C1C 100%);
    border: 2px solid var(--royal-gold);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--cyber-red-glow);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
}

.floating-cs:hover {
    transform: scale(1.1) rotate(5deg);
}

.floating-cs-icon {
    font-size: 1.5rem;
    color: var(--neon-yellow);
}

.floating-cs-text {
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: bold;
    margin-top: -2px;
}

/* 通用组件 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyber-red) 0%, #B71C1C 100%);
    color: var(--neon-yellow);
    border: 2px solid var(--royal-gold);
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px var(--cyber-red-glow);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B71C1C 0%, #880E4F 100%);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-gold {
    background: linear-gradient(135deg, var(--royal-gold) 0%, #AA841C 100%);
    color: #121212;
    border: 2px solid var(--neon-yellow);
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 900;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--neon-yellow) 0%, var(--royal-gold) 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-gold:active {
    transform: scale(0.97);
}

/* 倒计时与进度条 */
.countdown-box {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--royal-gold);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--neon-yellow);
}

.countdown-num {
    background-color: var(--cyber-red);
    color: var(--text-light);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: bold;
}

.progress-bar-container {
    width: 100%;
    background-color: #333;
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    border: 1px solid var(--royal-gold);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyber-red) 0%, var(--neon-yellow) 100%);
    width: 75%;
    border-radius: 10px;
    animation: progressPulse 2s infinite alternate;
}

@keyframes progressPulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* 滚动弹幕（领取通知） */
.danmaku-container {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
    overflow: hidden;
    z-index: 5;
}

.danmaku-item {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.75);
    border: 1px solid var(--royal-gold);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transform: translateX(100vw);
}

.danmaku-item span {
    color: var(--neon-yellow);
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }
    
    .footer-seo {
        padding: 2rem 1rem;
    }
}
