:/* 买球站 - 完整样式表 */
:root {
    --primary: #e94560;
    --primary-dark: #c23152;
    --secondary: #0f3460;
    --accent: #16213e;
    --bg: #1a1a2e;
    --bg-card: #1e2a45;
    --text: #e0e0e0;
    --text-light: #a0a0b0;
    --glass: rgba(255,255,255,0.05);
    --shadow: 0 8px 32px rgba(0,0,0,0.3);
    --radius: 16px;
    --transition: 0.3s ease;
    --gradient-banner: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    --card-hover-transform: translateY(-5px);
}

[data-theme="light"] {
    --bg: #f5f7fa;
    --bg-card: #ffffff;
    --text: #1a1a2e;
    --text-light: #555;
    --glass: rgba(0,0,0,0.03);
    --shadow: 0 8px 32px rgba(0,0,0,0.08);
    --gradient-banner: linear-gradient(135deg, #f5f7fa 0%, #e0e5ec 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background var(--transition), color var(--transition);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-dark);
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26,26,46,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background var(--transition);
}

[data-theme="light"] header {
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo span {
    color: var(--text);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text);
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    font-size: 0.95rem;
}

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

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
}

.theme-toggle {
    background: var(--glass);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary);
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: var(--gradient-banner);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(233,69,96,0.1) 0%, transparent 60%);
    animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0,0); }
    100% { transform: translate(5%,5%); }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(233,69,96,0.3);
}

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

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

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

[data-theme="light"] .card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: var(--card-hover-transform);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.card-icon {
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Brand Story */
.brand-story {
    background: var(--secondary);
}

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

.stat-item h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-item p {
    color: var(--text-light);
}

/* Testimonials */
.testimonial-card {
    background: var(--glass);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}

.testimonial-card p {
    font-style: italic;
}

.testimonial-author {
    margin-top: 16px;
    font-weight: 600;
}

/* FAQ */
.faq-item {
    background: var(--glass);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(233,69,96,0.05);
}

.faq-question .icon {
    font-size: 1.4rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 18px;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background: var(--accent);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

footer h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 8px;
}

footer a {
    color: var(--text-light);
}

footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 100px 0 20px;
    background: var(--bg);
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb span {
    color: var(--primary);
}

/* Back to top */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(233,69,96,0.3);
    z-index: 999;
    transition: var(--transition);
}

.back-top.show {
    display: flex;
}

.back-top:hover {
    transform: scale(1.1);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 20px 0;
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .header-inner {
        flex-wrap: wrap;
    }
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    padding: 20px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.carousel-btn {
    background: var(--glass);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Article cards */
.article-card {
    background: var(--glass);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.05);
}

.article-card h4 {
    margin-bottom: 8px;
}

.article-card .date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.article-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* HowTo */
.howto-step {
    background: var(--glass);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.howto-step h4 {
    color: var(--primary);
}

/* Partners */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

/* Dark mode override */
[data-theme="light"] .hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e5ec 100%);
}

[data-theme="light"] .brand-story {
    background: #e8ecf1;
}

[data-theme="light"] footer {
    background: #e8ecf1;
    border-top: 1px solid rgba(0,0,0,0.05);
}