/* 3377体育官方网站 style.css - 完整样式文件 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    background: #f4f6f9;
    color: #1a1a2e;
    line-height: 1.6;
    transition: background .3s, color .3s;
}

body.dark {
    background: #0f0f1a;
    color: #e0e0e0;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    transition: background .3s, box-shadow .3s;
}

.dark .header {
    background: rgba(15, 15, 26, .85);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.dark .header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #e63946, #f4a261);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color .3s;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #e63946, #f4a261);
    transition: width .3s;
}

.nav a:hover,
.nav a.active {
    color: #e63946;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all .3s;
}

.dark .menu-toggle span {
    background: #e0e0e0;
}

.theme-toggle {
    background: none;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background .3s, color .3s;
    color: #1a1a2e;
}

.dark .theme-toggle {
    color: #f1c40f;
    border-color: #555;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 70px;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #2d2d44 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(230, 57, 70, .15) 0%, transparent 50%), radial-gradient(circle at 70% 60%, rgba(244, 162, 97, .1) 0%, transparent 50%);
    animation: heroGlow 12s ease-in-out infinite alternate;
}

.dark .hero {
    background: linear-gradient(135deg, #0a0a14 0%, #141428 50%, #1e1e30 100%);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #f4a261);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark .hero h1 {
    background: linear-gradient(135deg, #f0f0f0, #f4a261);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e63946, #f4a261);
    border-radius: 50px;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 8px 30px rgba(230, 57, 70, .3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(230, 57, 70, .4);
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
}

.dark .section-subtitle {
    color: #aaa;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
    transition: transform .3s, box-shadow .3s;
    border: 1px solid rgba(0, 0, 0, .04);
}

.dark .card {
    background: #1c1c2e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    border-color: rgba(255, 255, 255, .05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .1);
}

.dark .card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e63946, #f4a261);
    color: #fff;
    font-size: 28px;
}

.card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.dark .card p {
    color: #bbb;
}

.glassy {
    background: rgba(255, 255, 255, .6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .2);
}

.dark .glassy {
    background: rgba(20, 20, 40, .6);
    border-color: rgba(255, 255, 255, .1);
}

.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 400px;
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .8s;
    padding: 40px;
    text-align: center;
    color: #fff;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
}

.banner-slide p {
    font-size: 18px;
    max-width: 600px;
    opacity: .85;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: background .3s;
}

.banner-dots span.active {
    background: #e63946;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    cursor: pointer;
}

.dark .faq-item {
    border-color: #333;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

.faq-question span {
    font-size: 24px;
    transition: transform .3s;
}

.faq-item.open .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    padding-top: 0;
}

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

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-top: 15px;
}

.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 30px;
}

.dark .footer {
    background: #0a0a14;
}

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

.footer h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer a {
    display: block;
    color: #aaa;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color .3s;
}

.footer a:hover {
    color: #e63946;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
    color: #888;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e63946, #f4a261);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(230, 57, 70, .3);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #888;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #e63946;
}

.breadcrumb span {
    color: #888;
}

.number-animate {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #e63946, #f4a261);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item {
    text-align: center;
}

.stat-item p {
    font-size: 16px;
    color: #666;
    margin-top: 8px;
}

.dark .stat-item p {
    color: #aaa;
}

.article-card .date {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
}

.article-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.article-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

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

.article-card .read-more {
    color: #e63946;
    font-weight: 600;
    font-size: 14px;
}

.howto-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.howto-step .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e63946, #f4a261);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.howto-step .step-content h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.howto-step .step-content p {
    color: #555;
    font-size: 15px;
}

.dark .howto-step .step-content p {
    color: #bbb;
}

.team-card {
    text-align: center;
}

.team-card .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #e63946, #f4a261);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
}

.team-card h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-card p {
    color: #888;
    font-size: 14px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    min-height: 80px;
    font-weight: 600;
    color: #555;
    transition: background .3s;
}

.dark .partner-item {
    background: #1c1c2e;
    color: #aaa;
}

.partner-item:hover {
    background: #e9ecef;
}

.dark .partner-item:hover {
    background: #2a2a3e;
}

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-modal.show {
    display: flex;
}

.search-modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
}

.dark .search-modal-content {
    background: #1c1c2e;
}

.search-modal input {
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    border: 2px solid #eee;
    border-radius: 12px;
    outline: none;
    transition: border .3s;
}

.dark .search-modal input {
    background: #2a2a3e;
    border-color: #444;
    color: #e0e0e0;
}

.search-modal input:focus {
    border-color: #e63946;
}

.search-modal-close {
    float: right;
    cursor: pointer;
    font-size: 24px;
    color: #888;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, .95);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    }
    .dark .nav {
        background: rgba(15, 15, 26, .95);
    }
    .nav.open {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .banner-slider {
        height: 300px;
    }
    .banner-slide h2 {
        font-size: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .number-animate {
        font-size: 36px;
    }
    .stat-item p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    .hero-btn {
        padding: 14px 36px;
        font-size: 16px;
    }
    .section-title {
        font-size: 24px;
    }
    .banner-slider {
        height: 250px;
    }
    .banner-slide h2 {
        font-size: 22px;
    }
    .card {
        padding: 20px;
    }
}