/* 完美体育·(中国)官方网站-365WM SPORTS style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6ecf7 100%);
    color: #1a1a2e;
    line-height: 1.6;
    transition: background 0.4s ease, color 0.3s ease;
}

body.dark {
    background: linear-gradient(135deg, #0b0b1a 0%, #141428 100%);
    color: #e0e0e0;
}

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

/* 渐变Banner - Hero区域增强 */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d5e 50%, #1e3a5f 100%);
    color: #fff;
    text-align: center;
    padding: 120px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(240, 192, 64, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 70% 30%, rgba(100, 200, 255, 0.06) 0%, transparent 50%);
    animation: heroGlow 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(2%, 1%) scale(1.05); }
    100% { transform: translate(-1%, -2%) scale(1.02); }
}

.dark .hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #15153a 50%, #0f2a4a 100%);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.92;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(2px);
}

.hero .btn {
    display: inline-block;
    background: linear-gradient(135deg, #f0c040, #f5d060);
    color: #1a1a2e;
    padding: 14px 40px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(240, 192, 64, 0.3);
}

.hero .btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(240, 192, 64, 0.5);
    background: linear-gradient(135deg, #f5c830, #f7d870);
}

/* 圆角卡片通用 */
.card, .article-card, .contact-item, .stat-item {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .card, .dark .article-card, .dark .contact-item, .dark .stat-item {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card:hover, .article-card:hover, .contact-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.9);
}

.dark .card:hover, .dark .article-card:hover, .dark .contact-item:hover {
    background: rgba(30, 30, 55, 0.9);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* 响应式布局 - 网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

/* 毛玻璃效果 - 导航header */
header {
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, backdrop-filter 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dark header {
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

header .logo span {
    color: #f0c040;
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    position: relative;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

nav a.active {
    background: rgba(240, 192, 64, 0.2);
    color: #f0c040;
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    padding: 6px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 12px;
    }
    .dark nav {
        background: rgba(10, 10, 20, 0.95);
    }
    nav.open {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}

/* 滚动动画 - 通用淡入效果（结合JavaScript更佳，CSS提供基础） */
section {
    padding: 70px 0;
    animation: fadeInUp 0.6s ease both;
}

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

/* 标题样式 */
h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    text-align: center;
    position: relative;
    font-weight: 700;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f0c040, #f5d060);
    margin: 12px auto 0;
    border-radius: 2px;
}

.card h3, .article-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.dark .card h3, .dark .article-card h3 {
    color: #f0f0f0;
}

.card p, .article-card p {
    color: #555;
    font-size: 0.95rem;
}

.dark .card p, .dark .article-card p {
    color: #bbb;
}

.article-card .meta {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.article-card a {
    color: #f0c040;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.article-card a:hover {
    color: #f5d060;
    text-decoration: underline;
}

/* 统计数字 */
.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 24px 32px;
    min-width: 160px;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f0c040;
    transition: color 0.3s;
}

.stat-label {
    color: #666;
    margin-top: 6px;
    font-size: 0.95rem;
}

.dark .stat-label {
    color: #aaa;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px 0;
    transition: border-color 0.3s;
}

.dark .faq-item {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    padding: 4px 0;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #f0c040;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
    color: #999;
}

.faq-item.open .faq-question::after {
    content: '−';
    color: #f0c040;
}

.faq-answer {
    padding-top: 12px;
    display: none;
    color: #555;
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dark .faq-answer {
    color: #bbb;
}

.faq-item.open .faq-answer {
    display: block;
}

/* 指南步骤 */
.howto-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    transition: background 0.3s, transform 0.2s;
}

.dark .howto-step {
    background: rgba(26, 26, 46, 0.5);
}

.howto-step:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(4px);
}

.dark .howto-step:hover {
    background: rgba(40, 40, 70, 0.6);
}

.howto-step-num {
    background: linear-gradient(135deg, #f0c040, #f5d060);
    color: #1a1a2e;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(240, 192, 64, 0.3);
}

/* 关于区域 */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text p {
    margin-bottom: 16px;
}

.about-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.about-image svg {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.about-image svg:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ccc;
    padding: 40px 0 20px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dark footer {
    background: rgba(10, 10, 20, 0.95);
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

footer .col {
    flex: 1;
    min-width: 180px;
}

footer h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1rem;
}

footer a {
    color: #bbb;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: color 0.2s, transform 0.15s;
}

footer a:hover {
    color: #f0c040;
    transform: translateX(3px);
}

footer .legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    width: 100%;
    font-size: 0.8rem;
    color: #999;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #f0c040, #f5d060);
    color: #1a1a2e;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(240, 192, 64, 0.3);
    transition: opacity 0.3s, transform 0.2s, box-shadow 0.2s;
    opacity: 0;
    pointer-events: none;
    border: none;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(240, 192, 64, 0.4);
}

.dark .back-to-top {
    background: linear-gradient(135deg, #f0c040, #f5d060);
    color: #1a1a2e;
}

/* 选中高亮 */
.scroll-highlight {
    transition: background 0.3s;
    padding: 4px 8px;
    border-radius: 6px;
}

.scroll-highlight.active {
    background: rgba(240, 192, 64, 0.2);
}

/* 响应式微调 */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    section {
        padding: 50px 0;
    }
    h2 {
        font-size: 1.6rem;
    }
    .hero {
        padding: 80px 0 60px;
    }
    .card-grid {
        gap: 20px;
    }
    .grid-2 {
        gap: 20px;
    }
    .stats {
        gap: 14px;
    }
    .stat-item {
        padding: 18px 22px;
        min-width: 130px;
    }
    .stat-num {
        font-size: 2rem;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    .contact-info {
        gap: 16px;
    }
    .howto-step {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 暗色模式额外优化 */
.dark .hero .btn {
    box-shadow: 0 4px 20px rgba(240, 192, 64, 0.25);
}

.dark .hero .btn:hover {
    box-shadow: 0 10px 35px rgba(240, 192, 64, 0.4);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 图片与SVG自适应 */
img, svg {
    max-width: 100%;
    height: auto;
}