/* === WEPOKER 国际扑克赛事权威平台 - 主样式表 === */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--gray-800); background: var(--white); line-height: 1.6; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(229,231,235,0.5); }
.navbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.navbar-brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.navbar-logo { width: 2.5rem; height: 2.5rem; background: linear-gradient(135deg, #4f46e5, #7c3aed); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem; }
.navbar-title { font-size: 1.25rem; font-weight: 800; color: var(--gray-900); }
.navbar-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.navbar-links a { font-size: 0.875rem; font-weight: 500; color: var(--gray-600); text-decoration: none; transition: color 0.2s; }
.navbar-links a:hover { color: var(--primary); }
.btn { display: inline-flex; align-items: center; padding: 0.625rem 1.5rem; font-size: 0.875rem; font-weight: 600; border-radius: var(--radius-full); text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 6px -1px rgba(79,70,229,0.3); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 10px -1px rgba(79,70,229,0.4); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--gray-200); color: var(--gray-700); }
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary); }
.btn-lg { padding: 0.875rem 2rem; font-size: 1.1rem; }

/* Hero */
.hero { padding: 7rem 1rem 5rem; background: linear-gradient(135deg, #eef2ff, #ffffff, #faf5ff); overflow: hidden; }
.hero-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(79,70,229,0.06); border-radius: var(--radius-full); margin-bottom: 1.5rem; font-size: 0.8rem; font-weight: 700; color: var(--primary); }
.hero-title { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 900; line-height: 1.1; color: var(--gray-900); margin-bottom: 1.5rem; }
.hero-title span { background: linear-gradient(135deg, #4f46e5, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.125rem; color: var(--gray-500); line-height: 1.7; max-width: 480px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image-wrap { position: relative; }
.hero-image-wrap::before { content: ''; position: absolute; inset: -1rem; background: linear-gradient(135deg, rgba(79,70,229,0.2), rgba(124,58,237,0.2)); border-radius: 2rem; filter: blur(3rem); opacity: 0.5; }
.hero-image { position: relative; width: 100%; height: 380px; object-fit: cover; border-radius: 1.5rem; box-shadow: var(--shadow-xl); }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge { font-size: 0.8rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; }
.section-title { margin-top: 0.75rem; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; color: var(--gray-900); }
.section-subtitle { margin-top: 1rem; font-size: 1.125rem; color: var(--gray-500); max-width: 640px; margin-left: auto; margin-right: auto; }

/* Features */
.features-section { padding: 5rem 1rem; background: var(--gray-50); }
.features-inner { max-width: 1280px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { background: white; border-radius: var(--radius-xl); padding: 2rem; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); transition: all 0.3s ease; }
.feature-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.feature-icon { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.5rem; color: white; transition: transform 0.3s; }
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.feature-icon.indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.feature-icon.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.feature-title { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.75rem; }
.feature-desc { color: var(--gray-500); line-height: 1.6; font-size: 0.95rem; }

/* Stats */
.stats-section { padding: 4rem 1rem; background: linear-gradient(135deg, #4f46e5, #6366f1); }
.stats-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-value { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; color: white; }
.stat-value em { font-style: normal; color: rgba(255,255,255,0.6); font-size: 0.7em; }
.stat-label { margin-top: 0.5rem; color: rgba(255,255,255,0.75); font-weight: 500; font-size: 0.95rem; }

/* Testimonials */
.testimonials-section { padding: 5rem 1rem; background: white; }
.testimonials-inner { max-width: 1280px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: linear-gradient(135deg, var(--gray-50), white); border-radius: var(--radius-xl); padding: 2rem; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); transition: all 0.3s; }
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-stars { color: #f59e0b; margin-bottom: 1rem; font-size: 0.85rem; }
.testimonial-text { color: var(--gray-600); line-height: 1.6; margin-bottom: 1.5rem; font-size: 0.95rem; }
.testimonial-author { font-weight: 600; color: var(--gray-900); font-size: 0.9rem; }
.testimonial-role { color: var(--gray-400); font-size: 0.8rem; }

/* FAQ */
.faq-section { padding: 5rem 1rem; background: var(--gray-50); }
.faq-inner { max-width: 768px; margin: 0 auto; }
.faq-item { background: white; border-radius: var(--radius-xl); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); margin-bottom: 1rem; overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 600; color: var(--gray-900); transition: color 0.2s; user-select: none; }
.faq-question:hover { color: var(--primary); }
.faq-question i { color: var(--gray-400); transition: transform 0.3s; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; color: var(--gray-500); line-height: 1.6; display: none; }
.faq-item.open .faq-answer { display: block; }

/* CTA */
.cta-section { padding: 5rem 1rem; background: linear-gradient(135deg, #4f46e5, #6366f1, #7c3aed); }
.cta-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.cta-title { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 900; color: white; margin-bottom: 1.25rem; }
.cta-desc { font-size: 1.125rem; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.6; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--primary); font-weight: 700; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2); }
.btn-white:hover { box-shadow: 0 15px 30px -5px rgba(255,255,255,0.3); transform: translateY(-2px); }
.btn-ghost { border: 2px solid rgba(255,255,255,0.4); color: white; font-weight: 700; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* Footer */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 3rem 1rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo { width: 2rem; height: 2rem; background: linear-gradient(135deg, #4f46e5, #6366f1); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.75rem; }
.footer-brand-name { font-size: 1.125rem; font-weight: 700; color: white; }
.footer-desc { font-size: 0.85rem; line-height: 1.6; }
.footer-col-title { color: white; font-weight: 600; margin-bottom: 1rem; font-size: 0.9rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--gray-400); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .hero-image-wrap { max-width: 400px; margin: 0 auto; }
    .hero-image { height: 280px; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .navbar-links { display: none; }
}
@media (max-width: 480px) {
    .stats-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
}
