/* ============================================
   IM娱乐 - 无限想象，即刻娱乐
   设计系统：霓虹流体 · 电竞赛博轻量风
   色彩：暖白底 + 霓虹紫 + 电光青 + 能量珊瑚
   ============================================ */

/* 基础重置 */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
body { 
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif; 
  overflow-x:hidden; 
  background:#fafaf8; 
  color:#1a1a2e; 
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

/* 滚动条 */
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:#f0f0ed; }
::-webkit-scrollbar-thumb { background:linear-gradient(180deg,#7c3aed,#06b6d4); border-radius:3px; }

/* 核心布局 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section { padding:80px 0; position:relative; }
.section:nth-child(even) { background:#f3f2ef; }

/* 装饰性背景纹理 */
.section:nth-child(odd)::before {
  content:''; position:absolute; top:-120px; right:-180px; width:400px; height:400px;
  background:radial-gradient(circle,rgba(124,58,237,0.06) 0%,transparent 70%);
  border-radius:50%; pointer-events:none; z-index:0;
}
.section:nth-child(even)::after {
  content:''; position:absolute; bottom:-100px; left:-150px; width:350px; height:350px;
  background:radial-gradient(circle,rgba(6,182,212,0.05) 0%,transparent 70%);
  border-radius:50%; pointer-events:none; z-index:0;
}

/* 导航 */
.site-header { 
  position:fixed; top:0; left:0; width:100%; z-index:1000; 
  background:rgba(250,250,248,0.88); 
  backdrop-filter:blur(16px); 
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(124,58,237,0.08); 
  transition:0.3s;
}
.site-header.scrolled { box-shadow:0 2px 20px rgba(124,58,237,0.08); }
.header-inner { 
  display:flex; align-items:center; justify-content:space-between; 
  height:68px; max-width:1200px; margin:0 auto; padding:0 24px; 
}
.logo { 
  display:flex; align-items:center; gap:10px; font-weight:800; font-size:1.25rem; 
  text-decoration:none; color:#1a1a2e; letter-spacing:-0.5px;
}
.logo-icon { 
  width:38px; height:38px; border-radius:10px; 
  display:flex; align-items:center; justify-content:center; font-size:1.1rem;
  background:linear-gradient(135deg,#7c3aed,#a855f7); color:#fff;
  box-shadow:0 4px 12px rgba(124,58,237,0.25);
}
.main-nav { display:flex; align-items:center; gap:28px; list-style:none; }
.main-nav a { 
  text-decoration:none; font-size:0.9rem; font-weight:500; 
  color:#4a4a5e; transition:0.2s; position:relative;
}
.main-nav a::after {
  content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px;
  background:linear-gradient(90deg,#7c3aed,#06b6d4); border-radius:1px;
  transition:0.3s;
}
.main-nav a:hover { color:#7c3aed; }
.main-nav a:hover::after { width:100%; }
.nav-cta { 
  padding:10px 22px; border-radius:24px; color:#fff!important; 
  font-weight:600; background:linear-gradient(135deg,#7c3aed,#a855f7);
  box-shadow:0 4px 16px rgba(124,58,237,0.3);
  transition:0.3s!important;
}
.nav-cta:hover { 
  transform:translateY(-2px); 
  box-shadow:0 6px 24px rgba(124,58,237,0.4);
}
.nav-cta::after { display:none!important; }
.menu-toggle { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.menu-toggle span { display:block; width:24px; height:2.5px; border-radius:2px; background:#1a1a2e; transition:0.3s; }

/* 首页Hero */
.hero { 
  min-height:75vh; display:flex; align-items:center; 
  background:linear-gradient(180deg,#fafaf8 0%,#f5f3ff 40%,#eef6ff 100%);
  position:relative; overflow:hidden;
}
.hero::before {
  content:''; position:absolute; top:-200px; right:-200px; width:600px; height:600px;
  background:radial-gradient(circle,rgba(124,58,237,0.08) 0%,transparent 70%);
  border-radius:50%; pointer-events:none;
}
.hero::after {
  content:''; position:absolute; bottom:-150px; left:-120px; width:400px; height:400px;
  background:radial-gradient(circle,rgba(6,182,212,0.1) 0%,transparent 65%);
  border-radius:50%; pointer-events:none;
}
.hero-content { max-width:720px; position:relative; z-index:2; }
.hero-eyebrow { 
  display:inline-block; font-size:0.8rem; font-weight:700; 
  padding:5px 16px; border-radius:20px; margin-bottom:18px;
  background:linear-gradient(135deg,rgba(124,58,237,0.1),rgba(168,85,247,0.1));
  color:#7c3aed; letter-spacing:1.5px; text-transform:uppercase;
  border:1px solid rgba(124,58,237,0.15);
}
.hero h1 { 
  font-size:3.2rem; line-height:1.15; margin-bottom:22px; font-weight:900; 
  letter-spacing:-1.5px; color:#1a1a2e;
}
.hero h1 .highlight { 
  background:linear-gradient(135deg,#7c3aed,#06b6d4);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero p { 
  font-size:1.15rem; opacity:0.7; max-width:560px; margin-bottom:36px; 
  color:#4a4a5e; line-height:1.7;
}
.hero-buttons { display:flex; gap:16px; flex-wrap:wrap; }
.hero-image { 
  border-radius:16px; overflow:hidden; position:relative; z-index:2;
  box-shadow:0 20px 60px rgba(124,58,237,0.12);
  border:1px solid rgba(255,255,255,0.6);
}
.hero-image img { width:100%; height:auto; display:block; }

/* 按钮 */
.btn { 
  display:inline-flex; align-items:center; gap:8px; padding:13px 30px; 
  border-radius:26px; font-weight:700; cursor:pointer; border:none; 
  text-decoration:none; transition:0.3s; font-size:0.95rem;
}
.btn-primary { 
  color:#fff; 
  background:linear-gradient(135deg,#7c3aed,#a855f7);
  box-shadow:0 4px 18px rgba(124,58,237,0.3);
}
.btn-primary:hover { 
  transform:translateY(-2px); 
  box-shadow:0 8px 28px rgba(124,58,237,0.4);
}
.btn-outline { 
  background:transparent; border:2px solid #7c3aed; color:#7c3aed; 
}
.btn-outline:hover { 
  background:rgba(124,58,237,0.06); 
  border-color:#a855f7;
}

/* 标签/标题 */
.section-label { 
  display:inline-block; font-size:0.78rem; font-weight:700; 
  letter-spacing:2.5px; margin-bottom:14px; color:#7c3aed;
  text-transform:uppercase;
  background:linear-gradient(135deg,rgba(124,58,237,0.08),rgba(6,182,212,0.08));
  padding:5px 14px; border-radius:20px;
}
.section-title { 
  font-size:2.2rem; margin-bottom:16px; font-weight:800; 
  letter-spacing:-0.8px; color:#1a1a2e;
}
.section-desc { 
  max-width:600px; opacity:0.65; margin-bottom:44px; 
  color:#4a4a5e; font-size:1.05rem; line-height:1.7;
}

/* 卡片网格 */
.cards-grid { 
  display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); 
  gap:24px; 
}
.category-card { 
  border-radius:16px; padding:32px 28px; 
  background:#fff; 
  border:1px solid rgba(124,58,237,0.06); 
  transition:0.3s; position:relative; overflow:hidden;
  box-shadow:0 1px 3px rgba(0,0,0,0.03);
}
.category-card::before {
  content:''; position:absolute; top:0; left:0; width:100%; height:4px;
  background:linear-gradient(90deg,#7c3aed,#06b6d4,#ff6b6b);
  transform:scaleX(0); transform-origin:left; transition:0.4s;
}
.category-card:hover::before { transform:scaleX(1); }
.category-card:hover { 
  transform:translateY(-5px); 
  box-shadow:0 12px 32px rgba(124,58,237,0.1); 
  border-color:rgba(124,58,237,0.15);
}
.card-icon { 
  width:52px; height:52px; border-radius:14px; 
  display:flex; align-items:center; justify-content:center; 
  margin-bottom:18px; font-size:1.4rem;
  background:linear-gradient(135deg,rgba(124,58,237,0.1),rgba(6,182,212,0.1));
  color:#7c3aed;
}
.card-link { 
  font-weight:700; font-size:0.85rem; text-decoration:none; 
  color:#7c3aed; display:inline-flex; align-items:center; gap:4px;
  transition:0.2s;
}
.card-link:hover { color:#a855f7; gap:8px; }

/* 特性块 */
.feature-block { 
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; 
}
.feature-image { 
  border-radius:16px; overflow:hidden; 
  box-shadow:0 16px 48px rgba(0,0,0,0.06);
  border:1px solid rgba(255,255,255,0.4);
}
.feature-image img { width:100%; height:auto; display:block; }
.feature-text { }
.feature-list { list-style:none; }
.feature-list li { 
  padding:8px 0; display:flex; align-items:center; gap:10px; 
  font-size:0.95rem; color:#4a4a5e;
}
.feature-list li::before { 
  content:'✓'; font-weight:800; color:#7c3aed; 
  background:rgba(124,58,237,0.1); width:24px; height:24px; 
  border-radius:50%; display:flex; align-items:center; 
  justify-content:center; font-size:0.75rem; flex-shrink:0;
}

/* 数据条 */
.stats-bar { 
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; 
}
.stat-item { 
  padding:28px 20px; border-radius:16px; 
  background:#fff; 
  border:1px solid rgba(124,58,237,0.06);
  transition:0.3s; position:relative;
}
.stat-item:hover {
  border-color:rgba(124,58,237,0.2);
  box-shadow:0 8px 24px rgba(124,58,237,0.06);
}
.stat-number { 
  font-size:2.4rem; font-weight:900; 
  background:linear-gradient(135deg,#7c3aed,#06b6d4);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.stat-label { font-size:0.9rem; opacity:0.55; margin-top:8px; color:#4a4a5e; font-weight:500; }

/* 内容墙 */
.content-wall { 
  display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); 
  gap:24px; 
}
.content-wall-item { 
  border-radius:16px; overflow:hidden; 
  background:#fff; 
  border:1px solid rgba(124,58,237,0.06); 
  transition:0.3s;
}
.content-wall-item:hover { 
  transform:translateY(-5px); 
  box-shadow:0 16px 40px rgba(124,58,237,0.1); 
  border-color:rgba(124,58,237,0.15);
}
.content-wall-item img { 
  width:100%; height:200px; object-fit:cover; 
  transition:0.4s;
}
.content-wall-item:hover img { transform:scale(1.04); }
.content-wall-body { padding:22px; }
.content-wall-body h3 { font-size:1.1rem; font-weight:700; margin-bottom:6px; color:#1a1a2e; }
.content-wall-body p { font-size:0.9rem; opacity:0.6; color:#4a4a5e; }

/* FAQ */
.faq-list { max-width:800px; margin:0 auto; }
.faq-item { 
  border:1px solid rgba(124,58,237,0.08); 
  border-radius:12px; margin-bottom:10px; overflow:hidden; cursor:pointer; 
  background:#fff; transition:0.3s;
}
.faq-item:hover { border-color:rgba(124,58,237,0.2); }
.faq-item .faq-question { 
  padding:18px 22px; font-weight:700; display:flex; 
  justify-content:space-between; align-items:center; color:#1a1a2e;
}
.faq-item .faq-question::after {
  content:'+'; font-size:1.3rem; color:#7c3aed; transition:0.3s; font-weight:400;
}
.faq-item.open .faq-question::after { content:'−'; }
.faq-item .faq-answer { 
  padding:0 22px 18px; display:none; opacity:0.65; 
  color:#4a4a5e; line-height:1.7;
}
.faq-item.open .faq-answer { display:block; }

/* CTA横幅 */
.cta-banner { 
  padding:60px 24px; text-align:center; border-radius:20px; 
  color:#fff; 
  background:linear-gradient(135deg,#7c3aed,#a855f7,#06b6d4);
  position:relative; overflow:hidden;
}
.cta-banner::before {
  content:''; position:absolute; top:-80px; right:-80px; width:280px; height:280px;
  background:rgba(255,255,255,0.08); border-radius:50%;
}
.cta-banner::after {
  content:''; position:absolute; bottom:-60px; left:-60px; width:200px; height:200px;
  background:rgba(255,255,255,0.06); border-radius:50%;
}
.cta-banner h2 { color:#fff; font-size:2rem; font-weight:800; position:relative; z-index:1; }
.cta-banner p { opacity:0.9; position:relative; z-index:1; margin-bottom:24px; }
.cta-banner .btn-primary { 
  background:#fff; color:#7c3aed; position:relative; z-index:1;
  box-shadow:0 4px 20px rgba(0,0,0,0.15);
}
.cta-banner .btn-primary:hover { 
  background:#f8f8ff; 
  box-shadow:0 8px 28px rgba(0,0,0,0.2);
}

/* 页脚 */
.site-footer { 
  padding:60px 0 28px; 
  background:#1a1a2e; color:#e0dff0;
}
.site-footer .container { }
.footer-grid { 
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:44px; 
}
.footer-brand { }
.footer-brand .logo { color:#fff; }
.footer-brand p { opacity:0.6; margin-top:12px; font-size:0.9rem; line-height:1.7; }
.footer-col h4 { font-size:0.9rem; font-weight:700; margin-bottom:16px; color:#fff; text-transform:uppercase; letter-spacing:1px; }
.footer-col a { display:block; text-decoration:none; color:rgba(224,223,240,0.6); font-size:0.88rem; margin-bottom:10px; transition:0.2s; }
.footer-col a:hover { color:#a855f7; }
.footer-bottom { 
  border-top:1px solid rgba(255,255,255,0.08); margin-top:44px; 
  padding-top:22px; text-align:center; font-size:0.82rem; color:rgba(224,223,240,0.4); 
}

/* 工具类 */
.text-accent { color:#7c3aed; }
.text-center { text-align:center; }
.seo-description { 
  max-width:600px; margin:0 auto 52px; opacity:0.6; 
  font-size:0.95rem; color:#4a4a5e; line-height:1.7;
}
.mt-0 { margin-top:0; }
.mb-0 { margin-bottom:0; }

/* 霓虹光效装饰点 */
.glow-dot {
  width:8px; height:8px; border-radius:50%; display:inline-block;
  background:#7c3aed; box-shadow:0 0 12px rgba(124,58,237,0.6);
  animation:pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow:0 0 8px rgba(124,58,237,0.4); }
  50% { box-shadow:0 0 20px rgba(124,58,237,0.8); }
}

/* 响应式 */
@media (max-width: 768px) {
  .hero { min-height:60vh; text-align:center; }
  .hero h1 { font-size:2.2rem; }
  .hero p { max-width:100%; }
  .hero-buttons { justify-content:center; }
  .feature-block { grid-template-columns:1fr; gap:36px; }
  .feature-image { order:-1; }
  .stats-bar { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .main-nav { display:none; }
  .menu-toggle { display:flex; }
  .main-nav.open { 
    display:flex; flex-direction:column; position:absolute; top:68px; 
    left:0; width:100%; background:rgba(250,250,248,0.98); 
    backdrop-filter:blur(16px); padding:24px; gap:16px; 
    border-bottom:1px solid rgba(124,58,237,0.1);
    box-shadow:0 8px 32px rgba(0,0,0,0.06);
  }
  .section-title { font-size:1.7rem; }
  .cta-banner h2 { font-size:1.5rem; }
}
@media (max-width: 480px) {
  .cards-grid,.content-wall,.stats-bar { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .hero-buttons { flex-direction:column; align-items:center; }
  .hero h1 { font-size:1.8rem; }
  .section { padding:50px 0; }
  .category-card { padding:24px 20px; }
  .stat-item { padding:20px 16px; }
  .stat-number { font-size:1.8rem; }
}