/* 
   大香蕉影院 - 全局样式表 
   风格：淡黑金 (Pale Black Gold) Luxury
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@200;300;400;500;600;700&display=swap');

:root {
    --bg-deep: #050505;
    --bg-card: #121212;
    --gold-primary: #D4AF37;
    --gold-mute: #C5A039;
    --gold-bright: #F9E29B;
    --text-main: #E0E0E0;
    --text-dim: #A0A0A0;
    --border-gold: rgba(212, 175, 55, 0.2);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-mute);
    border-radius: 10px;
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    text-decoration: none;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* 按钮样式 */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-mute), var(--gold-primary));
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright));
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 0.8rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: #000;
}

/* 响应式容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* 章节标题 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 页脚 */
footer {
    background: #000;
    padding: 5rem 5% 2rem;
    border-top: 1px solid var(--border-gold);
}

.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-family: var(--font-serif);
    font-size: 1.4rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    color: #444;
    font-size: 0.8rem;
}

/* 工具类 */
.mt-5 { margin-top: 3rem; }
.mb-5 { margin-bottom: 3rem; }
.text-gold { color: var(--gold-primary); }

/* 动画加载效果 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 图片链接点击效果 */
.img-link {
    display: block;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.img-link:hover img {
    transform: scale(1.1);
}
