/* style.css - 熊猫直播官网完整样式 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --primary: #ff6b35; --primary-dark: #e55a2b; --secondary: #1a1a2e; --accent: #16213e; --bg: #f8f9fa; --text: #333; --glass: rgba(255,255,255,0.15); --glass-border: rgba(255,255,255,0.2); --shadow: 0 8px 32px rgba(0,0,0,0.1); --radius: 16px; --transition: 0.3s ease; --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
body.dark { --bg: #0f0f1a; --text: #e0e0e0; --glass: rgba(0,0,0,0.3); --glass-border: rgba(255,255,255,0.08); --shadow: 0 8px 32px rgba(0,0,0,0.5); }
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; }
.btn { display: inline-block; padding: 12px 28px; background: var(--primary); color: #fff; border-radius: 50px; font-weight: 600; border: none; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 15px rgba(255,107,53,0.3); }
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.4); color: #fff; }
.section-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; color: var(--secondary); position: relative; display: inline-block; }
body.dark .section-title { color: #fff; }
.section-subtitle { font-size: 1.1rem; color: #666; margin-bottom: 2.5rem; max-width: 600px; }
body.dark .section-subtitle { color: #aaa; }
.card { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); transition: var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.gradient-bg { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: #fff; }
.glass-section { background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 40px; margin: 30px 0; }
header { background: rgba(26,26,46,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
body.dark header { background: rgba(15,15,26,0.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; color: #fff; }
.logo svg { width: 40px; height: 40px; }
.logo span { background: linear-gradient(90deg, #ff6b35, #ff9a56); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: rgba(255,255,255,0.8); font-weight: 500; font-size: 0.95rem; position: relative; padding: 4px 0; }
nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
nav a:hover, nav a.active { color: #fff; }
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: 8px; }
.menu-toggle span { width: 28px; height: 3px; background: #fff; border-radius: 3px; transition: var(--transition); }
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(26,26,46,0.98); backdrop-filter: blur(20px); padding: 20px; flex-direction: column; gap: 16px; z-index: 999; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-menu a { color: rgba(255,255,255,0.8); font-size: 1.1rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dark-toggle { background: none; border: 2px solid rgba(255,255,255,0.3); color: #fff; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; transition: var(--transition); }
.dark-toggle:hover { border-color: var(--primary); }
.hero { padding: 140px 0 80px; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); 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(255,107,53,0.1) 0%, transparent 60%); animation: heroGlow 8s ease-in-out infinite alternate; }
@keyframes heroGlow { 0% { transform: translate(0,0); } 100% { transform: translate(5%,5%); } }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero h1 { font-size: 3.2rem; font-weight: 900; line-height: 1.2; color: #fff; margin-bottom: 1.5rem; }
.hero h1 span { background: linear-gradient(90deg, #ff6b35, #ff9a56); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.7); margin-bottom: 2rem; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-visual svg { width: 100%; max-width: 500px; height: auto; filter: drop-shadow(0 20px 40px rgba(255,107,53,0.2)); }
.banner-carousel { margin: 40px 0; position: relative; overflow: hidden; border-radius: var(--radius); height: 400px; }
.banner-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 1s ease; background: linear-gradient(135deg, #1a1a2e, #16213e); border-radius: var(--radius); padding: 40px; }
.banner-slide.active { opacity: 1; }
.banner-slide svg { max-height: 240px; }
.banner-slide h3 { color: #fff; font-size: 2rem; margin-top: 20px; }
.banner-slide p { color: rgba(255,255,255,0.7); max-width: 500px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 40px 0; }
.stat-item { text-align: center; padding: 30px 20px; }
.stat-number { font-size: 2.8rem; font-weight: 900; color: var(--primary); }
.stat-label { color: #666; font-size: 1rem; margin-top: 8px; }
body.dark .stat-label { color: #aaa; }
.service-icon { width: 60px; height: 60px; margin-bottom: 16px; }
.service-icon svg { width: 100%; height: 100%; }
.testimonial-card { padding: 30px; }
.testimonial-card .quote { font-style: italic; margin-bottom: 16px; color: #555; }
body.dark .testimonial-card .quote { color: #ccc; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author svg { width: 48px; height: 48px; border-radius: 50%; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); padding: 18px 0; cursor: pointer; }
body.dark .faq-item { border-color: rgba(255,255,255,0.08); }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.05rem; }
.faq-question svg { transition: transform 0.3s ease; width: 20px; height: 20px; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding-top: 0; color: #555; }
body.dark .faq-answer { color: #bbb; }
.faq-item.open .faq-answer { max-height: 300px; padding-top: 12px; }
.howto-steps { counter-reset: step; }
.howto-step { padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; gap: 20px; align-items: flex-start; }
body.dark .howto-step { border-color: rgba(255,255,255,0.05); }
.howto-step::before { counter-increment: step; content: counter(step); background: var(--primary); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.news-card { padding: 24px; }
.news-card .date { color: #888; font-size: 0.85rem; margin-bottom: 8px; }
.news-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.news-card p { color: #555; font-size: 0.95rem; }
body.dark .news-card p { color: #bbb; }
.news-card .read-more { color: var(--primary); font-weight: 600; display: inline-block; margin-top: 12px; }
.partner-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.partner-item { padding: 20px 30px; background: var(--glass); border-radius: 12px; border: 1px solid var(--glass-border); display: flex; align-items: center; gap: 12px; }
.partner-item svg { width: 32px; height: 32px; }
.footer { background: var(--secondary); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,0.6); display: block; margin-bottom: 8px; font-size: 0.9rem; }
.footer a:hover { color: var(--primary); }
.footer .copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.85rem; }
.footer .qr-code { display: flex; gap: 20px; margin-top: 16px; }
.footer .qr-code svg { width: 100px; height: 100px; border-radius: 8px; }
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 20px rgba(255,107,53,0.4); border: none; z-index: 999; opacity: 0; visibility: hidden; transition: var(--transition); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }
.search-box { display: flex; gap: 8px; max-width: 400px; margin: 20px auto; }
.search-box input { flex: 1; padding: 12px 18px; border: 2px solid var(--glass-border); border-radius: 50px; background: var(--glass); backdrop-filter: blur(8px); font-size: 1rem; outline: none; transition: var(--transition); color: var(--text); }
.search-box input:focus { border-color: var(--primary); }
.search-box button { padding: 12px 24px; background: var(--primary); color: #fff; border: none; border-radius: 50px; cursor: pointer; font-weight: 600; transition: var(--transition); }
.search-box button:hover { background: var(--primary-dark); }
.search-results { margin-top: 20px; }
.search-result-item { padding: 12px; border-bottom: 1px solid var(--glass-border); cursor: pointer; }
.search-result-item:hover { background: var(--glass); }
.scroll-animate { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.scroll-animate.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .hero-content { grid-template-columns: 1fr; text-align: center; } .hero h1 { font-size: 2.2rem; } .hero p { margin: 0 auto 2rem; } .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr; } .menu-toggle { display: flex; } nav { display: none; } .mobile-menu.active { display: flex; } .banner-carousel { height: 300px; } .section-title { font-size: 1.8rem; } }
@media (max-width: 480px) { .hero h1 { font-size: 1.8rem; } .stat-number { font-size: 2rem; } .btn { padding: 10px 20px; font-size: 0.9rem; } }
.lazy-svg { background: linear-gradient(135deg, #ff6b35, #ff9a56); border-radius: 12px; min-height: 100px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; }