/* Common Styles for Jisuyingyuan */
:root {
    --gold-light: #f1d592;
    --gold: #d4af37;
    --gold-dark: #aa8a2e;
    --black-rich: #0a0a0a;
    --black-soft: #1a1a1a;
    --text-gray: #e0e0e0;
    --muted-gray: #888888;
}

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

body {
    background-color: var(--black-rich);
    color: var(--text-gray);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: -1px;
}

.logo i {
    color: var(--gold);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--gold);
    cursor: pointer;
}

/* Footer */
footer {
    background: var(--black-rich);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info p {
    color: var(--muted-gray);
    font-size: 14px;
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-gray);
}

.social-links a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 16px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--muted-gray);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.05);
    color: var(--muted-gray);
    font-size: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--black-rich);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Floating Download */
.floating-download {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: var(--gold);
    color: var(--black-rich);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
