/* Global Styles */
:root {
    --gold: #d4af37;
    --gold-light: #f1e5ac;
    --black: #0f0f0f;
    --black-light: #1a1a1a;
    --gray: #333333;
    --text: #e0e0e0;
    --text-muted: #a0a0a0;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    transition: var(--transition);
}

img:hover {
    transform: scale(1.05);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

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

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://tse-mm.bing.com/th?q=体育场馆全景') center/cover no-repeat;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1.2s ease;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gold);
    color: var(--black);
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.btn:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-5px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    margin-left: 20px;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background: var(--black-light);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 15px;
}

.card-body p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Stats Section */
.stats {
    background: var(--black-light);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--black-light);
    border-radius: 10px;
    transition: var(--transition);
}

.news-item:hover {
    background: var(--gray);
}

.news-date {
    min-width: 80px;
    text-align: center;
    border-right: 1px solid var(--gold);
    padding-right: 20px;
}

.news-date span {
    display: block;
}

.news-date .day {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
}

.news-date .month {
    font-size: 12px;
    color: var(--text-muted);
}

.news-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.news-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Dynamic List (20 items) */
.dynamic-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.dynamic-container::-webkit-scrollbar {
    width: 5px;
}

.dynamic-container::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.dynamic-item {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}

.dynamic-item span {
    color: var(--gold);
    margin-right: 10px;
}

/* Footer */
footer {
    background: #050505;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    color: var(--text-muted);
}

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

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

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

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

.footer-contact p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--gold);
    margin-right: 10px;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Product Page Specific */
.filter-bar {
    background: var(--black-light);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.filter-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-item select, .filter-item input {
    background: var(--black);
    color: var(--text);
    border: 1px solid var(--gray);
    padding: 10px 15px;
    border-radius: 5px;
    outline: none;
}

.filter-item select:focus, .filter-item input:focus {
    border-color: var(--gold);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background: var(--gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.tag:hover, .tag.active {
    background: var(--gold);
    color: var(--black);
}

/* Contact Page Specific */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--black-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item h4 {
    color: var(--gold);
    margin-bottom: 10px;
}

.contact-form-card {
    background: var(--black-light);
    padding: 40px;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--gold);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    background: var(--black);
    border: 1px solid var(--gray);
    padding: 12px;
    border-radius: 5px;
    color: var(--text);
}

.map-container {
    height: 400px;
    background: var(--gray);
    border-radius: 10px;
    margin-top: 50px;
    overflow: hidden;
}

.online-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 100;
}

/* About Page Specific */
.history-timeline {
    position: relative;
    padding: 40px 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--gold);
    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;
    padding: 20px 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--black);
    border: 3px solid var(--gold);
    border-radius: 50%;
    top: 30px;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    background: var(--black-light);
    padding: 25px;
    border-radius: 10px;
}

.timeline-content h3 {
    color: var(--gold);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .history-timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px;
        text-align: left !important;
    }
    .timeline-item::after {
        left: 10px !important;
    }
}
