/* 易游体育官网 style.css - 完整内联CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

body.light {
    background: #f8fafc;
    color: #1e293b;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism base */
.glass {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
}

.light .glass {
    background: rgba(15,23,42,0.03);
    border: 1px solid rgba(15,23,42,0.08);
}

/* Cards */
.card {
    background: linear-gradient(145deg, rgba(30,41,59,0.8), rgba(15,23,42,0.9));
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px -16px rgba(0,0,0,0.7);
}

.light .card {
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    box-shadow: 0 10px 30px -8px rgba(0,0,0,0.1);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.light header {
    background: rgba(248,250,252,0.85);
    border-bottom: 1px solid rgba(15,23,42,0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

nav a:hover {
    color: #38bdf8;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
}

.dark-toggle {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 40px;
    padding: 6px 16px;
    color: inherit;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
}

.dark-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.light .dark-toggle {
    border-color: rgba(15,23,42,0.2);
}

.light .dark-toggle:hover {
    background: rgba(15,23,42,0.05);
}

/* Hero */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.light .hero {
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 50%, #e2e8f0 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #38bdf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 32px;
    max-width: 500px;
}

.light .hero p {
    color: #475569;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: #fff;
    padding: 14px 40px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(56,189,248,0.3);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.light .hero-slider {
    background: rgba(15,23,42,0.02);
    border-color: rgba(15,23,42,0.06);
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    padding: 40px;
}

.slide.active {
    opacity: 1;
}

.slide svg {
    width: 80%;
    height: auto;
    max-height: 260px;
}

/* Section common */
section {
    padding: 100px 0;
}

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

.section-sub {
    text-align: center;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.light .section-sub {
    color: #475569;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

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

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

.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: #94a3b8;
    margin-top: 8px;
}

.light .stat-item p {
    color: #475569;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    cursor: pointer;
}

.light .faq-item {
    border-color: rgba(15,23,42,0.08);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    color: #94a3b8;
}

.light .faq-answer {
    color: #475569;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-top: 16px;
}

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

.light footer {
    background: #e2e8f0;
    border-top: 1px solid rgba(15,23,42,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
}

.light .footer-bottom {
    border-top: 1px solid rgba(15,23,42,0.08);
    color: #64748b;
}

/* Back to top */
.back-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin: 0 auto 32px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    nav { display: none; flex-direction: column; background: rgba(15,23,42,0.95); position: absolute; top: 70px; left: 0; right: 0; padding: 24px; gap: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    nav.open { display: flex; }
    .mobile-toggle { display: block; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Scroll animation base */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Search simulation */
.search-box {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto 40px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: inherit;
    outline: none;
}

.light .search-box input {
    border-color: rgba(15,23,42,0.1);
    background: rgba(15,23,42,0.03);
}

.search-box button {
    padding: 12px 24px;
    border-radius: 40px;
    border: none;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* breadcrumb */
.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    padding: 20px 0 0;
    flex-wrap: wrap;
}

.breadcrumb a { color: #38bdf8; }

.breadcrumb span { color: #94a3b8; }