/* 
  老牛影视 - 全局样式表
  风格：淡黑金 (Light Black & Gold)
*/

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

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --gold-primary: #c5a059;
    --gold-secondary: #e6c17a;
    --text-main: #e5e5e5;
    --text-muted: #999999;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 导航栏 */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--white);
}

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

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

.nav-links a.active {
    color: var(--gold-primary);
    font-weight: 500;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #222;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.search-bar input {
    background: transparent;
    border: none;
    color: white;
    padding-left: 0.5rem;
    outline: none;
}

/* 按钮样式 */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--black);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

/* 页脚 */
footer {
    background: var(--bg-card);
    padding: 4rem 5% 2rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

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

.footer-section h4 {
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p, .footer-section li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* 浮漂下载按钮 */
.floating-download {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 999;
    cursor: pointer;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* 通用容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::before {
    content: '';
    display: block;
    width: 5px;
    height: 30px;
    background: var(--gold-primary);
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .section-title {
        font-size: 1.8rem;
    }
}
