/* style.css - C7娱乐中国官方网站 - 完整内联样式 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #6c63ff; --primary-dark: #4a42d4; --primary-light: #8b83ff;
    --bg: #0f0c29; --bg2: #1a1740; --bg3: #242150; --text: #f0f0ff;
    --text2: #c0c0e0; --glass: rgba(255,255,255,0.06); --border: rgba(255,255,255,0.1);
    --shadow: 0 8px 32px rgba(0,0,0,0.4); --radius: 20px;
    --gradient: linear-gradient(135deg, #6c63ff, #e040a0);
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.dark-mode { --bg: #f5f5ff; --bg2: #e8e8ff; --bg3: #ddddf5; --text: #1a1a2e; --text2: #4a4a6a; --glass: rgba(0,0,0,0.04); --border: rgba(0,0,0,0.1); --shadow: 0 8px 32px rgba(0,0,0,0.1); }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; transition: background var(--transition), color var(--transition); overflow-x: hidden; }
a { color: var(--primary-light); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.5rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; }
.glass-card { background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: transform 0.4s, box-shadow 0.4s; }
.glass-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(108,99,255,0.2); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; border: none; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; background: var(--gradient); color: #fff; box-shadow: 0 4px 20px rgba(108,99,255,0.4); }
.btn:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(108,99,255,0.6); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
/* Header */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(15,12,41,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: background var(--transition); }
.dark-mode header { background: rgba(245,245,255,0.85); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; max-width: 1280px; margin: 0 auto; }
.logo { font-size: 1.6rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.5px; }
nav { display: flex; align-items: center; gap: 8px; }
nav a { padding: 8px 16px; border-radius: 30px; font-size: 0.9rem; font-weight: 500; color: var(--text2); transition: all 0.3s; position: relative; }
nav a:hover, nav a.active { color: var(--text); background: var(--glass); }
.dark-toggle { background: var(--glass); border: 1px solid var(--border); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; color: var(--text); transition: all 0.3s; margin-left: 8px; }
.dark-toggle:hover { background: var(--primary); color: #fff; }
.menu-toggle { display: none; background: var(--glass); border: 1px solid var(--border); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.mobile-nav { display: none; position: fixed; top: 70px; left: 0; width: 100%; background: var(--bg); backdrop-filter: blur(20px); padding: 20px; border-bottom: 1px solid var(--border); z-index: 999; }
.mobile-nav a { display: block; padding: 12px 16px; border-radius: 12px; font-size: 1rem; }
/* Hero Banner */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 120px 24px 80px; background: radial-gradient(ellipse at 30% 20%, rgba(108,99,255,0.15), transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(224,64,160,0.1), transparent 50%); }
.hero-content { text-align: center; max-width: 800px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5rem); margin-bottom: 1rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.2rem; color: var(--text2); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-badge { display: inline-block; padding: 8px 20px; border-radius: 50px; background: var(--glass); border: 1px solid var(--border); font-size: 0.85rem; color: var(--text2); margin-bottom: 1.5rem; }
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s ease; background: radial-gradient(circle at 50% 50%, rgba(108,99,255,0.08), transparent 70%); }
.hero-slide.active { opacity: 1; }
/* SVG illustrations */
.svg-illustration { width: 100%; height: auto; max-width: 400px; margin: 0 auto; display: block; }
.svg-icon { width: 48px; height: 48px; fill: var(--primary); }
/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.stat-item { text-align: center; padding: 24px; }
.stat-number { font-size: 2.8rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--text2); font-size: 0.95rem; margin-top: 8px; }
/* FAQ */
.faq-item { background: var(--glass); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s; }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.05rem; }
.faq-question span { transition: transform 0.3s; }
.faq-item.open .faq-question span { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; padding: 0 24px; color: var(--text2); }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
/* HowTo */
.howto-step { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.howto-step:last-child { border-bottom: none; }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; flex-shrink: 0; }
/* Search */
.search-box { display: flex; max-width: 500px; margin: 0 auto; background: var(--glass); border: 1px solid var(--border); border-radius: 50px; overflow: hidden; }
.search-box input { flex: 1; padding: 14px 20px; border: none; background: transparent; color: var(--text); font-size: 1rem; outline: none; }
.search-box input::placeholder { color: var(--text2); }
.search-box button { padding: 14px 24px; background: var(--gradient); border: none; color: #fff; font-weight: 600; cursor: pointer; transition: 0.3s; }
.search-box button:hover { opacity: 0.9; }
/* Back to top */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--gradient); color: #fff; border: none; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 20px rgba(108,99,255,0.4); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.4s; z-index: 999; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
/* Footer */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 60px 24px 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 16px; color: var(--text); }
.footer-col a, .footer-col p { display: block; color: var(--text2); font-size: 0.9rem; margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; color: var(--text2); font-size: 0.85rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.footer-bottom a { color: var(--text2); }
.footer-bottom a:hover { color: var(--primary-light); }
/* Responsive */
@media (max-width: 768px) {
    nav { display: none; }
    .menu-toggle { display: flex; }
    .mobile-nav.open { display: block; }
    .section { padding: 60px 0; }
    .hero { min-height: 80vh; padding: 100px 16px 60px; }
    .grid-2, .grid-3, .grid-4 { gap: 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Scroll animation */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; font-size: 0.85rem; color: var(--text2); }
.breadcrumb a { color: var(--text2); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb span { color: var(--text); }
/* Tags */
.tag { display: inline-block; padding: 4px 14px; border-radius: 50px; background: var(--glass); border: 1px solid var(--border); font-size: 0.8rem; color: var(--text2); margin: 4px; }
/* Card image placeholder */
.card-img { width: 100%; height: 200px; border-radius: 12px; background: var(--gradient); opacity: 0.2; margin-bottom: 16px; }