/* 
  蜜瓜电影网 - 全局样式表
  配色方案：淡黑金
*/

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F1E4C3;
    --black-bg: #121212;
    --black-card: #1E1E1E;
    --text-white: #FFFFFF;
    --text-gray: #A0A0A0;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F1E4C3 50%, #C5A028 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--black-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--gold-primary);
}

.nav-links a.active {
    color: var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-download {
    background: var(--gold-gradient);
    color: #000;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
}

/* 公用组件：标题 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--gold-primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gold-gradient);
}

/* 容器布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* 浮动下载按钮 */
.float-download {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
}

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

/* 页脚 */
footer {
    background: #000;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about p {
    color: var(--text-gray);
    font-size: 14px;
    margin-top: 20px;
}

.footer-links h4 {
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #444;
    font-size: 12px;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
