/* style.css - 开云·体育官方网站 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f4f7fc;
    color: #1a1a2e;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}
body.dark {
    background: #0a0e27;
    color: #e0e6f0;
}
a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #0d47a1;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Header */
header {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26,115,232,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s;
}
body.dark header {
    background: rgba(10,14,39,0.85);
    border-bottom-color: rgba(255,255,255,0.05);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #1a73e8;
}
.logo svg {
    width: 40px;
    height: 40px;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}
nav ul li a {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a2e;
    padding: 8px 0;
    position: relative;
}
body.dark nav ul li a {
    color: #c0c8e0;
}
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a73e8;
    transition: width 0.3s;
}
nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #1a1a2e;
}
body.dark .menu-toggle {
    color: #e0e6f0;
}
.dark-toggle {
    background: none;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #1a1a2e;
    transition: 0.3s;
}
body.dark .dark-toggle {
    border-color: #555;
    color: #e0e6f0;
}
/* Hero Banner */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0e27 0%, #1a3a6a 50%, #0d47a1 100%);
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
}
.hero-slide {
    display: flex;
    transition: transform 0.8s ease;
    width: 100%;
}
.hero-item {
    min-width: 100%;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.hero-text {
    flex: 1;
    min-width: 280px;
    color: white;
}
.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #90caf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
}
.hero-btn {
    display: inline-block;
    background: #1a73e8;
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}
.hero-btn:hover {
    background: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(26,115,232,0.4);
}
.hero-visual {
    flex: 1;
    min-width: 280px;
    text-align: center;
}
.hero-visual svg {
    max-width: 100%;
    height: auto;
}
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}
.hero-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: 0.3s;
}
.hero-dots span.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}
/* Section common */
section {
    padding: 70px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 34px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #1a73e8;
    margin: 12px auto 0;
    border-radius: 4px;
}
.section-subtitle {
    color: #666;
    font-size: 16px;
    margin-top: 8px;
}
body.dark .section-subtitle {
    color: #aaa;
}
/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.2);
}
body.dark .card {
    background: rgba(20,30,60,0.6);
    border-color: rgba(255,255,255,0.05);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.card p {
    color: #555;
    font-size: 15px;
}
body.dark .card p {
    color: #b0b8d0;
}
/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1a73e8;
    border-radius: 3px;
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 16px;
    height: 16px;
    background: #1a73e8;
    border-radius: 50%;
    border: 3px solid white;
}
body.dark .timeline-item::before {
    border-color: #0a0e27;
}
.timeline-year {
    font-weight: 700;
    color: #1a73e8;
    font-size: 18px;
}
/* FAQ */
.faq-item {
    border-bottom: 1px solid #e0e6f0;
    padding: 18px 0;
    cursor: pointer;
}
body.dark .faq-item {
    border-color: #2a3050;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
}
.faq-question span {
    transition: 0.3s;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s;
    color: #555;
    padding-top: 0;
}
body.dark .faq-answer {
    color: #b0b8d0;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 14px;
}
.faq-item.open .faq-question span {
    transform: rotate(45deg);
}
/* Footer */
footer {
    background: #0a0e27;
    color: #b0b8d0;
    padding: 60px 0 30px;
    margin-top: 60px;
    border-radius: 40px 40px 0 0;
}
footer a {
    color: #90caf9;
}
footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
footer h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 18px;
}
footer ul {
    list-style: none;
}
footer ul li {
    margin-bottom: 8px;
    font-size: 14px;
}
footer .copyright {
    text-align: center;
    border-top: 1px solid #1a2a4a;
    padding-top: 24px;
    font-size: 14px;
}
/* Back to top */
.back-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1a73e8;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(26,115,232,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
    z-index: 999;
}
.back-top.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Responsive */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 36px;
    }
}
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 0 0 20px 20px;
        gap: 16px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    body.dark nav ul {
        background: rgba(10,14,39,0.98);
    }
    nav ul.open {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero-item {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .section-title h2 {
        font-size: 28px;
    }
}
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    .card {
        padding: 20px;
    }
}
/* Animation classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.count-up {
    font-size: 40px;
    font-weight: 800;
    color: #1a73e8;
}
body.dark .count-up {
    color: #90caf9;
}
/* Search */
.search-box {
    display: flex;
    max-width: 400px;
    margin: 0 auto 40px;
}
.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 50px 0 0 50px;
    outline: none;
    font-size: 15px;
    background: white;
}
body.dark .search-box input {
    background: #1a2040;
    border-color: #2a3050;
    color: white;
}
.search-box button {
    padding: 12px 24px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: 600;
}
.search-results {
    margin-top: 20px;
}
/* breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: #888;
}
.breadcrumb span {
    margin: 0 6px;
}