/* 魔域 - Dark Fantasy Theme */
:root {
  --primary: #7b2d8e;
  --secondary: #3a0d4f;
  --accent: #c084fc;
  --dark: #0d0015;
  --darker: #080012;
  --text: #e0d0f0;
  --text-light: #a080c0;
  --gold: #d4a84b;
  --gradient-hero: linear-gradient(135deg, #0d0015 0%, #2d0a45 50%, #1a0028 100%);
  --gradient-card: linear-gradient(145deg, rgba(123, 45, 142, 0.15), rgba(58, 13, 79, 0.3));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; background: var(--darker); color: var(--text); line-height: 1.6; overflow-x: hidden; }

/* Navigation */
.glow-nav { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(8, 0, 18, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(192, 132, 252, 0.2); }
.glow-nav .nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 70px; }
.glow-nav .logo { font-size: 28px; font-weight: 900; background: linear-gradient(135deg, #c084fc, #d4a84b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 30px rgba(192, 132, 252, 0.3); }
.glow-nav .logo span { color: var(--gold); }
.glow-nav .nav-links { display: flex; gap: 32px; list-style: none; }
.glow-nav .nav-links a { color: var(--text-light); text-decoration: none; font-size: 15px; font-weight: 500; transition: all 0.3s; position: relative; }
.glow-nav .nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.glow-nav .nav-links a:hover, .glow-nav .nav-links a.active { color: var(--accent); }
.glow-nav .nav-links a:hover::after, .glow-nav .nav-links a.active::after { width: 100%; }

/* Hero Section */
.hero { min-height: 100vh; background: var(--gradient-hero); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding-top: 70px; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 30% 50%, rgba(123, 45, 142, 0.3) 0%, transparent 60%), radial-gradient(ellipse at 70% 50%, rgba(212, 168, 75, 0.1) 0%, transparent 50%); 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; text-align: center; max-width: 800px; padding: 0 24px; }
.hero-content h1 { font-size: 64px; font-weight: 900; background: linear-gradient(135deg, #c084fc, #e8d0a0, #d4a84b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; }
.hero-content p { font-size: 20px; color: var(--text-light); margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary { display: inline-block; padding: 14px 40px; background: linear-gradient(135deg, #7b2d8e, #c084fc); color: #fff; text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 16px; transition: all 0.3s; box-shadow: 0 4px 30px rgba(192, 132, 252, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(192, 132, 252, 0.6); }
.btn-secondary { display: inline-block; padding: 14px 40px; border: 2px solid var(--accent); color: var(--accent); text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 16px; transition: all 0.3s; }
.btn-secondary:hover { background: rgba(192, 132, 252, 0.15); transform: translateY(-3px); }

/* Game Features - Asymmetric Grid */
.features { padding: 100px 24px; background: var(--dark); position: relative; }
.features::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.section-title { text-align: center; font-size: 40px; font-weight: 800; margin-bottom: 12px; background: linear-gradient(135deg, #c084fc, #d4a84b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-subtitle { text-align: center; color: var(--text-light); font-size: 16px; margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; }
.features-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card { background: var(--gradient-card); border: 1px solid rgba(192, 132, 252, 0.1); border-radius: 16px; padding: 36px; transition: all 0.4s; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(180deg, var(--accent), transparent); }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(192, 132, 252, 0.3); box-shadow: 0 20px 60px rgba(123, 45, 142, 0.3); }
.feature-card:nth-child(3) { grid-column: 1 / -1; }
.feature-card .icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 22px; margin-bottom: 12px; color: var(--accent); }
.feature-card p { color: var(--text-light); font-size: 15px; line-height: 1.8; }

/* Class Showcase */
.classes { padding: 100px 24px; background: var(--darker); }
.classes-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.class-card { text-align: center; padding: 40px 24px; background: var(--gradient-card); border-radius: 16px; border: 1px solid rgba(192, 132, 252, 0.1); transition: all 0.4s; }
.class-card:hover { transform: translateY(-8px); border-color: rgba(192, 132, 252, 0.4); }
.class-card .avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 20px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.class-card h3 { font-size: 20px; margin-bottom: 10px; }
.class-card p { color: var(--text-light); font-size: 14px; }

/* Equipment Showcase */
.equipment { padding: 100px 24px; background: var(--dark); }
.equip-slider { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.equip-item { background: var(--gradient-card); border-radius: 12px; padding: 24px; text-align: center; border: 1px solid rgba(212, 168, 75, 0.15); transition: all 0.3s; }
.equip-item:hover { border-color: var(--gold); transform: scale(1.03); }
.equip-item .rarity { color: var(--gold); font-size: 13px; margin-bottom: 8px; }
.equip-item h4 { font-size: 16px; margin-bottom: 8px; }
.equip-item p { color: var(--text-light); font-size: 13px; }

/* News Section */
.news { padding: 100px 24px; background: var(--darker); }
.news-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.news-main { background: var(--gradient-card); border-radius: 16px; padding: 32px; border: 1px solid rgba(192, 132, 252, 0.1); }
.news-main .news-tag { display: inline-block; padding: 4px 12px; background: var(--primary); border-radius: 20px; font-size: 12px; margin-bottom: 12px; }
.news-main h3 { font-size: 24px; margin-bottom: 12px; }
.news-main p { color: var(--text-light); }
.news-side { display: flex; flex-direction: column; gap: 12px; }
.news-item { background: var(--gradient-card); border-radius: 12px; padding: 20px; border: 1px solid rgba(192, 132, 252, 0.08); display: flex; gap: 16px; align-items: center; }
.news-item .date { color: var(--text-light); font-size: 13px; min-width: 60px; }
.news-item h4 { font-size: 15px; flex: 1; }
.news-item .arrow { color: var(--accent); }

/* Download CTA */
.download-cta { padding: 100px 24px; background: var(--gradient-hero); text-align: center; position: relative; }
.download-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.download-cta h2 { font-size: 42px; font-weight: 800; margin-bottom: 16px; }
.download-cta p { color: var(--text-light); font-size: 18px; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.download-options { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.platform-btn { display: flex; align-items: center; gap: 12px; padding: 16px 32px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; color: var(--text); text-decoration: none; transition: all 0.3s; }
.platform-btn:hover { background: rgba(192, 132, 252, 0.15); border-color: var(--accent); transform: translateY(-3px); }
.platform-btn .btn-icon { font-size: 24px; }
.platform-btn .btn-text { text-align: left; }
.platform-btn .btn-text small { display: block; font-size: 11px; color: var(--text-light); }

/* FAQ Section */
.faq { padding: 100px 24px; background: var(--dark); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--gradient-card); border-radius: 12px; margin-bottom: 12px; border: 1px solid rgba(192, 132, 252, 0.08); overflow: hidden; }
.faq-item summary { padding: 20px 24px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--accent); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 20px; color: var(--text-light); line-height: 1.8; }

/* Footer */
.footer { background: var(--darker); padding: 60px 24px 30px; border-top: 1px solid rgba(192, 132, 252, 0.1); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand h3 { font-size: 24px; margin-bottom: 12px; background: linear-gradient(135deg, #c084fc, #d4a84b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-brand p { color: var(--text-light); font-size: 14px; line-height: 1.8; }
.footer-col h4 { color: var(--accent); margin-bottom: 16px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-light); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(192, 132, 252, 0.1); text-align: center; color: var(--text-light); font-size: 13px; }

/* Page Header */
.page-header { padding: 140px 24px 60px; background: var(--gradient-hero); text-align: center; position: relative; }
.page-header h1 { font-size: 48px; font-weight: 800; margin-bottom: 12px; }
.page-header p { color: var(--text-light); font-size: 18px; }

/* Download page */
.download-platforms { padding: 80px 24px; background: var(--darker); }
.download-table { max-width: 1000px; margin: 0 auto; width: 100%; border-collapse: collapse; }
.download-table th { background: rgba(123, 45, 142, 0.3); padding: 16px 20px; text-align: left; color: var(--accent); font-size: 15px; border-bottom: 2px solid rgba(192, 132, 252, 0.2); }
.download-table td { padding: 16px 20px; border-bottom: 1px solid rgba(192, 132, 252, 0.08); color: var(--text-light); font-size: 14px; }
.download-table tr:hover td { background: rgba(192, 132, 252, 0.05); }
.download-table .dl-btn { padding: 8px 20px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; text-decoration: none; border-radius: 6px; font-size: 13px; font-weight: 600; }
.download-table .dl-btn:hover { opacity: 0.9; }
.download-specs { padding: 80px 24px; background: var(--dark); }
.specs-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spec-item { display: flex; justify-content: space-between; padding: 16px 20px; background: var(--gradient-card); border-radius: 8px; border: 1px solid rgba(192, 132, 252, 0.08); }
.spec-item .label { color: var(--text-light); }
.spec-item .value { color: var(--accent); font-weight: 600; }

/* News Page */
.news-list { padding: 80px 24px; background: var(--darker); }
.news-list-container { max-width: 1000px; margin: 0 auto; }
.news-article { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px; background: var(--gradient-card); border-radius: 12px; margin-bottom: 20px; border: 1px solid rgba(192, 132, 252, 0.08); transition: all 0.3s; }
.news-article:hover { border-color: rgba(192, 132, 252, 0.3); }
.news-article .article-thumb { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.news-article .article-meta { color: var(--text-light); font-size: 13px; margin-bottom: 8px; }
.news-article .article-meta span { margin-right: 16px; }
.news-article h3 { font-size: 20px; margin-bottom: 10px; }
.news-article h3 a { color: var(--text); text-decoration: none; }
.news-article h3 a:hover { color: var(--accent); }
.news-article p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* About Page */
.about-intro { padding: 80px 24px; background: var(--darker); }
.about-content { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 36px; margin-bottom: 20px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; font-size: 15px; line-height: 1.9; }
.about-image { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 16px; padding: 60px; text-align: center; font-size: 80px; }
.about-timeline { padding: 80px 24px; background: var(--dark); }
.timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--accent), transparent); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; left: -33px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px rgba(192, 132, 252, 0.5); }
.timeline-item .year { color: var(--gold); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.timeline-item h4 { font-size: 18px; margin-bottom: 8px; }
.timeline-item p { color: var(--text-light); font-size: 14px; }

/* Responsive */
@media (max-width: 768px) {
  .glow-nav .nav-links { gap: 16px; }
  .hero-content h1 { font-size: 36px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(3) { grid-column: 1; }
  .classes-grid { grid-template-columns: 1fr; }
  .equip-slider { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .news-article { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
