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

:root {
    --black: #0f0f0f;
    --black-light: #1a1a1a;
    --gold: #d4af37;
    --gold-light: #f1d592;
    --white: #ffffff;
    --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;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--black);
    color: var(--text);
    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;
    cursor: pointer;
    transition: var(--transition);
}

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

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

/* Header & Nav */
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: 20px 0;
}

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

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

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

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    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:hover,
.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;
    margin-bottom: 20px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: fadeInUp 1s ease;
}

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

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

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

.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;
    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: 50px;
    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: 15px;
    overflow: hidden;
    transition: var(--transition);
}

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

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

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

.card-body {
    padding: 25px;
}

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

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

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--gold);
}

.stat-item p {
    font-size: 14px;
    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;
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateX(10px);
    background: rgba(212, 175, 55, 0.05);
}

.news-date {
    min-width: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--gold);
    color: var(--black);
    border-radius: 5px;
    padding: 10px;
}

.news-date .day {
    font-size: 24px;
    font-weight: 700;
}

.news-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

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

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

/* Dynamics */
.dynamic-container {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: var(--black-light);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.dynamic-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 14px;
}

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

/* Filter Bar */
.filter-bar {
    background: var(--black-light);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-item {
    flex: 1;
    min-width: 150px;
}

.filter-item select, 
.filter-item input {
    width: 100%;
    padding: 12px 15px;
    background: var(--black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text);
    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;
}

.tag {
    padding: 5px 15px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Timeline */
.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.history-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--gold);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

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

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--black);
    border: 4px solid var(--gold);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

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

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

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

.timeline-content {
    padding: 20px 30px;
    background: var(--black-light);
    position: relative;
    border-radius: 10px;
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
}

.contact-form input, 
.contact-form textarea, 
.contact-form select {
    width: 100%;
    padding: 15px;
    background: var(--black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text);
    border-radius: 5px;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

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

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

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

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

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

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

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

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

/* Online Chat Button */
.online-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.online-chat-btn:hover {
    transform: scale(1.1) rotate(15deg);
}

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

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

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

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .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;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 70px;
    }
    .history-timeline::after {
        left: 31px;
    }
    .timeline-item::after {
        left: 21px;
    }
}
