/* ==========================================================
   GameCloud SCUM Admin Tool — 暗色沉浸式设计 v2
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;700;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-body: #0b1120;
  --bg-nav: rgba(11,17,32,0.92);
  --bg-card: #131d30;
  --bg-card-inner: #182440;
  --bg-hover: #1e2f50;
  --text-heading: #f0f4f8;
  --text-body: #a0b0c8;
  --text-muted: #5a7090;
  --text-dim: #3a5070;
  --accent-blue: #4a9eff;
  --accent-blue-dim: rgba(74,158,255,0.10);
  --accent-green: #3dd68c;
  --accent-green-dim: rgba(61,214,140,0.10);
  --accent-amber: #f5a623;
  --accent-amber-dim: rgba(245,166,35,0.10);
  --accent-red: #f87171;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.10);
  --border-card: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }
body {
  font-family:var(--font-sans);
  color:var(--text-body);
  background:var(--bg-body);
  line-height:1.65;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  overflow-x:hidden;
}
body::before {
  content:''; position:fixed; inset:0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(74,158,255,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(245,166,35,0.03) 0%, transparent 50%);
  pointer-events:none; z-index:0;
}
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }
ul { list-style:none; }

/* NAV */
.nav { background:var(--bg-nav); backdrop-filter:blur(20px) saturate(180%); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:100; }
.nav-inner { max-width:1200px; margin:0 auto; padding:0 2rem; height:60px; display:flex; align-items:center; justify-content:space-between; }
.nav-brand { display:flex; align-items:center; gap:12px; }
.nav-brand-icon { width:30px; height:30px; }
.nav-brand-icon svg { width:100%; height:100%; }
.nav-brand-name { font-size:0.95rem; font-weight:800; color:var(--text-heading); letter-spacing:0.04em; }
.nav-brand-name span { color:var(--accent-amber); }
.nav-links { display:flex; align-items:center; }
.nav-link { padding:0 1.25rem; height:60px; display:flex; align-items:center; font-size:0.82rem; font-weight:500; color:var(--text-muted); transition:color 0.2s; position:relative; letter-spacing:0.02em; }
.nav-link:hover { color:var(--text-body); }
.nav-link.active { color:var(--text-heading); }
.nav-link.active::after { content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:24px; height:2px; background:var(--accent-amber); border-radius:1px; }
.nav-download { display:inline-flex; align-items:center; gap:6px; padding:8px 20px; font-size:0.8rem; font-weight:700; color:#0b1120; background:linear-gradient(135deg, var(--accent-amber), #ffc04d); border-radius:var(--radius-xs); transition:all 0.25s; box-shadow:0 2px 12px rgba(245,166,35,0.25); }
.nav-download:hover { transform:translateY(-1px); box-shadow:0 4px 20px rgba(245,166,35,0.35); }
.nav-hamburger { display:none; flex-direction:column; gap:5px; padding:6px; }
.nav-hamburger span { display:block; width:22px; height:2px; background:var(--text-muted); border-radius:1px; }
.nav-mobile { display:none !important; }

/* MAIN */
.main { position:relative; z-index:1; flex:1; width:100%; }

/* PAGE CONTENT (非首页) */
.page-wrap { max-width:1200px; margin:0 auto; padding:2.5rem 2rem 4rem; }

/* PAGE HEADER */
.page-head { text-align:center; margin-bottom:3rem; padding:1rem 0; }
.page-head h1 { font-size:2rem; font-weight:900; color:var(--text-heading); margin-bottom:0.6rem; letter-spacing:0.02em; }
.page-head p { font-size:0.95rem; color:var(--text-muted); max-width:520px; margin:0 auto; line-height:1.7; }

/* CARD */
.card { background:var(--bg-card); border:1px solid var(--border-card); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-card); }
.card-body { padding:2.5rem; }

/* BUTTONS */
.btn { display:inline-flex; align-items:center; gap:8px; padding:12px 28px; font-size:0.88rem; font-weight:700; border-radius:var(--radius-sm); transition:all 0.25s; cursor:pointer; letter-spacing:0.02em; }
.btn-primary { color:#0b1120; background:linear-gradient(135deg, var(--accent-amber), #ffc04d); box-shadow:0 4px 20px rgba(245,166,35,0.25); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 6px 28px rgba(245,166,35,0.35); }
.btn-blue { color:var(--accent-blue); background:var(--accent-blue-dim); border:1.5px solid rgba(74,158,255,0.25); }
.btn-blue:hover { background:rgba(74,158,255,0.15); border-color:rgba(74,158,255,0.4); transform:translateY(-2px); }
.btn-green { color:var(--accent-green); background:var(--accent-green-dim); border:1.5px solid rgba(61,214,140,0.25); }
.btn-green:hover { background:rgba(61,214,140,0.15); border-color:rgba(61,214,140,0.4); transform:translateY(-2px); }
.btn-outline { color:var(--text-body); background:transparent; border:1.5px solid var(--border-light); }
.btn-outline:hover { border-color:var(--text-muted); color:var(--text-heading); transform:translateY(-2px); background:rgba(255,255,255,0.03); }
.btn-block { display:flex; justify-content:center; width:100%; }

/* GRID */
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:1.25rem; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }

/* FEATURE CARD */
.feat-item { padding:1.75rem; background:linear-gradient(135deg, var(--bg-card-inner), var(--bg-card)); border:1px solid var(--border-card); border-radius:var(--radius); transition:all 0.3s; position:relative; overflow:hidden; }
.feat-item::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg, transparent, var(--accent-amber), transparent); opacity:0; transition:opacity 0.3s; }
.feat-item:hover { border-color:var(--border-light); transform:translateY(-3px); box-shadow:0 8px 32px rgba(0,0,0,0.3); }
.feat-item:hover::before { opacity:1; }
.feat-icon { width:42px; height:42px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg, var(--accent-amber-dim), rgba(245,166,35,0.05)); border:1px solid rgba(245,166,35,0.15); border-radius:10px; margin-bottom:1rem; color:var(--accent-amber); }
.feat-icon svg { width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
.feat-item h3 { font-size:1rem; font-weight:700; color:var(--text-heading); margin-bottom:0.4rem; }
.feat-item p { font-size:0.82rem; color:var(--text-muted); line-height:1.7; }

/* PRICING */
.price-card { padding:2rem; background:linear-gradient(180deg, var(--bg-card-inner), var(--bg-card)); border:1px solid var(--border-card); border-radius:var(--radius); position:relative; transition:all 0.3s; box-shadow:var(--shadow-card); }
.price-card:hover { transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,0.4); border-color:var(--border-light); }
.price-card.hot { border-color:rgba(245,166,35,0.4); border-width:2px; transform:scale(1.03); }
.price-card.hot:hover { transform:scale(1.03) translateY(-4px); }
.price-badge { position:absolute; top:-1px; left:50%; transform:translateX(-50%); padding:4px 16px; font-size:0.65rem; font-weight:800; color:#0b1120; background:linear-gradient(135deg, var(--accent-amber), #ffc04d); border-radius:0 0 8px 8px; letter-spacing:0.06em; text-transform:uppercase; }
.price-tier { font-size:0.75rem; font-weight:700; color:var(--text-muted); letter-spacing:0.1em; text-transform:uppercase; margin-bottom:0.5rem; }
.price-row { display:flex; align-items:baseline; gap:3px; margin-bottom:0.3rem; }
.price-cur { font-size:1.1rem; font-weight:700; color:var(--text-body); }
.price-val { font-size:2.8rem; font-weight:900; color:var(--text-heading); line-height:1; }
.price-per { font-size:0.78rem; color:var(--text-muted); }
.price-save { display:inline-flex; align-items:center; padding:2px 8px; font-size:0.65rem; font-weight:700; color:var(--accent-green); background:var(--accent-green-dim); border:1px solid rgba(61,214,140,0.25); border-radius:4px; margin-left:8px; vertical-align:middle; letter-spacing:0.04em; }
.price-old { font-size:0.9rem; color:var(--text-dim); text-decoration:line-through; margin-left:6px; font-weight:500; }
.price-note { font-size:0.8rem; color:var(--text-muted); margin-bottom:1.5rem; }
.price-sep { height:1px; background:linear-gradient(90deg, transparent, var(--border-light), transparent); margin-bottom:1.25rem; }
.price-feats { display:flex; flex-direction:column; gap:0.5rem; margin-bottom:1.75rem; }
.price-feat { display:flex; align-items:flex-start; gap:10px; font-size:0.82rem; color:var(--text-body); line-height:1.5; }
.price-feat svg { flex-shrink:0; width:14px; height:14px; margin-top:3px; stroke:var(--accent-green); fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }

/* FAQ */
.faq-item { border-bottom:1px solid var(--border); }
.faq-item:last-child { border-bottom:none; }
.faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; padding:1.1rem 1.5rem; font-size:0.9rem; font-weight:600; color:var(--text-heading); text-align:left; cursor:pointer; transition:all 0.2s; }
.faq-q:hover { background:rgba(255,255,255,0.02); }
.faq-arr { width:18px; height:18px; color:var(--text-dim); transition:transform 0.25s, color 0.25s; flex-shrink:0; }
.faq-item.open .faq-arr { transform:rotate(180deg); color:var(--accent-amber); }
.faq-a { max-height:0; overflow:hidden; transition:max-height 0.35s ease; }
.faq-item.open .faq-a { max-height:220px; }
.faq-a-inner { padding:0 1.5rem 1.2rem; font-size:0.85rem; color:var(--text-muted); line-height:1.8; }

/* CONTACT */
.contact-card { padding:2rem 1.5rem; background:linear-gradient(135deg, var(--bg-card-inner), var(--bg-card)); border:1px solid var(--border-card); border-radius:var(--radius); text-align:center; transition:all 0.3s; box-shadow:var(--shadow-card); }
.contact-card:hover { transform:translateY(-3px); border-color:var(--border-light); box-shadow:0 8px 32px rgba(0,0,0,0.3); }
.contact-ic { width:52px; height:52px; display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; background:linear-gradient(135deg, var(--accent-amber-dim), rgba(245,166,35,0.04)); border:1px solid rgba(245,166,35,0.15); border-radius:14px; color:var(--accent-amber); }
.contact-ic svg { width:24px; height:24px; stroke:currentColor; fill:none; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
.contact-lbl { font-size:0.7rem; font-weight:700; color:var(--text-dim); letter-spacing:0.1em; text-transform:uppercase; margin-bottom:0.3rem; }
.contact-val { font-family:var(--font-mono); font-size:1.05rem; font-weight:600; color:var(--text-heading); }
.about-card { margin-top:2rem; }
.about-card .card-body { text-align:center; padding:2.5rem; }
.about-card h2 { font-size:1.2rem; font-weight:800; color:var(--text-heading); margin-bottom:0.6rem; }
.about-card p { font-size:0.88rem; color:var(--text-muted); line-height:1.8; max-width:520px; margin:0 auto; }

/* ==========================================================
   HOME — 全宽沉浸式布局
   ========================================================== */
.home-hero {
  position:relative;
  padding:5rem 2rem 3.5rem;
  text-align:center;
  overflow:hidden;
}

.home-hero-bg {
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 15%, rgba(74,158,255,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 25% 85%, rgba(245,166,35,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 85% 50%, rgba(74,158,255,0.04) 0%, transparent 50%);
  pointer-events:none;
}

.home-hero::after {
  content:'';
  position:absolute;
  bottom:0; left:0; right:0;
  height:1px;
  background:linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.08) 70%, transparent 95%);
}

/* 徽章 */
.home-badge {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 16px;
  font-size:0.72rem;
  font-weight:600;
  color:var(--accent-amber);
  background:rgba(245,166,35,0.08);
  border:1px solid rgba(245,166,35,0.2);
  border-radius:20px;
  margin-bottom:2rem;
  letter-spacing:0.06em;
  animation:fadeInDown 0.6s ease forwards;
}

.home-badge-dot {
  width:6px; height:6px;
  border-radius:50%;
  background:var(--accent-amber);
  box-shadow:0 0 8px rgba(245,166,35,0.5);
}

@keyframes fadeInDown {
  from { opacity:0; transform:translateY(-12px); }
  to { opacity:1; transform:translateY(0); }
}

/* 标题 */
.home-title {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.15rem;
  margin-bottom:1.2rem;
  animation:fadeInUp 0.7s ease 0.1s both;
}

.title-top {
  display:block;
  font-size:clamp(0.85rem, 2vw, 1.1rem);
  font-weight:500;
  color:var(--text-muted);
  letter-spacing:0.3em;
  text-transform:uppercase;
  margin-bottom:0.3rem;
}

.title-main {
  display:block;
  font-size:clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight:900;
  color:var(--text-heading);
  letter-spacing:0.01em;
  line-height:1.15;
}

.title-main .hl {
  background:linear-gradient(135deg, var(--accent-amber) 0%, #ffd580 50%, var(--accent-amber) 100%);
  background-size:200% auto;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  animation:textShimmer 4s ease-in-out infinite;
}

@keyframes textShimmer {
  0%,100% { background-position:0% center; }
  50% { background-position:100% center; }
}

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:translateY(0); }
}

.home-sub {
  font-size:1.05rem;
  font-weight:500;
  color:var(--text-muted);
  margin-bottom:1rem;
  animation:fadeInUp 0.7s ease 0.2s both;
}

.home-desc {
  font-size:0.92rem;
  color:var(--text-muted);
  line-height:1.8;
  max-width:640px;
  margin:0 auto 2rem;
  animation:fadeInUp 0.7s ease 0.3s both;
}

.home-actions {
  display:flex;
  gap:0.75rem;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:1.5rem;
}

.home-version {
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 20px; font-size:0.78rem; font-weight:600;
  color:var(--text-body); letter-spacing:0.02em;
  background:linear-gradient(135deg, rgba(245,166,35,0.08), rgba(245,166,35,0.03));
  border:1px solid rgba(245,166,35,0.2); border-radius:24px;
}
.home-version .dot {
  width:7px; height:7px; border-radius:50%; flex-shrink:0;
  background:#4ade80; box-shadow:0 0 6px rgba(74,222,128,0.5);
  animation:pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

/* Stats 全宽 */
.home-stats {
  max-width:1200px;
  margin:0 auto;
  padding:0 2rem;
}

.home-stats-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--border);
  border:1px solid var(--border-card);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-card);
}

.home-stat {
  background:var(--bg-card);
  padding:1.75rem 1rem;
  text-align:center;
  transition:background 0.2s;
}

.home-stat:hover { background:var(--bg-card-inner); }

.home-stat-val {
  font-family:var(--font-mono);
  font-size:1.6rem;
  font-weight:700;
  color:var(--accent-amber);
  line-height:1;
  margin-bottom:0.35rem;
}

.home-stat-lbl {
  font-size:0.72rem;
  font-weight:600;
  color:var(--text-dim);
  letter-spacing:0.08em;
  text-transform:uppercase;
}

/* Features 全宽 */
.home-features {
  max-width:1200px;
  margin:2.5rem auto 0;
  padding:0 2rem;
}

.home-feats-title {
  font-size:0.72rem;
  font-weight:700;
  color:var(--text-dim);
  letter-spacing:0.12em;
  text-transform:uppercase;
  text-align:center;
  margin-bottom:1.25rem;
}

.home-feats-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:0.75rem;
}

.home-feat {
  padding:1.25rem 0.75rem;
  background:var(--bg-card);
  border:1px solid var(--border-card);
  border-radius:var(--radius-sm);
  text-align:center;
  transition:all 0.25s;
}

.home-feat:hover {
  border-color:var(--border-light);
  transform:translateY(-2px);
  background:var(--bg-card-inner);
}

.home-feat-icon { font-size:1.5rem; margin-bottom:0.4rem; line-height:1; }
.home-feat-title { font-size:0.78rem; font-weight:700; color:var(--text-body); margin-bottom:0.15rem; }
.home-feat-desc { font-size:0.65rem; color:var(--text-dim); }

/* 下载区 */
.home-download {
  max-width:1200px;
  margin:2.5rem auto 0;
  padding:0 2rem 4rem;
  text-align:center;
}

.home-download-card {
  padding:2.5rem;
  background:linear-gradient(135deg, var(--bg-card-inner), var(--bg-card));
  border:1px solid var(--border-card);
  border-radius:var(--radius);
  box-shadow:var(--shadow-card);
}

.home-download h2 {
  font-size:1.3rem;
  font-weight:800;
  color:var(--text-heading);
  margin-bottom:0.5rem;
}

.home-download p {
  font-size:0.88rem;
  color:var(--text-muted);
  margin-bottom:1.5rem;
}

.home-download-actions {
  display:flex;
  gap:1rem;
  justify-content:center;
  flex-wrap:wrap;
}

/* FOOTER */
.footer { position:relative; z-index:1; background:rgba(8,14,26,0.8); border-top:1px solid var(--border); padding:3rem 2rem 2rem; }
.footer-inner { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:2.5rem; }
.footer-brand { font-size:1.1rem; font-weight:800; color:var(--text-heading); margin-bottom:0.6rem; }
.footer-brand span { color:var(--accent-amber); }
.footer-desc { font-size:0.82rem; color:var(--text-muted); line-height:1.7; max-width:280px; }
.footer-col h4 { font-size:0.72rem; font-weight:700; color:var(--text-dim); letter-spacing:0.1em; text-transform:uppercase; margin-bottom:1rem; }
.footer-col a { display:block; font-size:0.82rem; color:var(--text-muted); padding:0.25rem 0; transition:color 0.2s; }
.footer-col a:hover { color:var(--text-heading); }
.footer-bottom { max-width:1200px; margin:2rem auto 0; padding-top:1.5rem; border-top:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:0.5rem; }
.footer-copy { font-size:0.72rem; color:var(--text-dim); }
.footer-legal { font-size:0.68rem; color:var(--text-dim); opacity:0.7; }

/* CTA Section */
.feat-cta { text-align:center; padding:3rem 0 1rem; }
.feat-cta-card {
  padding:3rem 4rem; background:linear-gradient(135deg, var(--bg-card-inner), var(--bg-card));
  border:1px solid var(--border-card); border-radius:var(--radius);
  box-shadow:var(--shadow-card); display:block; width:100%;
}
.feat-cta h2 { font-size:1.3rem; font-weight:800; color:var(--text-heading); margin-bottom:0.5rem; }
.feat-cta p { font-size:0.88rem; color:var(--text-muted); margin-bottom:1.5rem; }
.feat-cta-actions { display:flex; gap:0.75rem; justify-content:center; flex-wrap:wrap; }

/* ANIMATIONS */
.feat-item, .price-card, .contact-card, .home-feat { animation:fadeInUp 0.5s ease forwards; }
.grid-3 > *:nth-child(1), .grid-2 > *:nth-child(1) { animation-delay:0.05s; }
.grid-3 > *:nth-child(2), .grid-2 > *:nth-child(2) { animation-delay:0.1s; }
.grid-3 > *:nth-child(3), .grid-2 > *:nth-child(3) { animation-delay:0.15s; }
.grid-3 > *:nth-child(4) { animation-delay:0.2s; }
.grid-3 > *:nth-child(5) { animation-delay:0.25s; }
.grid-3 > *:nth-child(6) { animation-delay:0.3s; }

/* RESPONSIVE */
@media (max-width:1024px) {
  .grid-3 { grid-template-columns:repeat(2,1fr); }
  .footer-inner { grid-template-columns:1fr 1fr; }
  .home-feats-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:768px) {
  .nav-links { display:none; }
  .nav-hamburger { display:flex; }
  .nav-download { display:none; }
  .nav-mobile { display:none !important; background:rgba(11,17,32,0.98); backdrop-filter:blur(20px); border-bottom:1px solid var(--border); padding:0.5rem 0; }
  .nav-mobile.open { display:block !important; }
  .nav-mobile .nav-link { width:100%; height:auto; padding:0.75rem 2rem; justify-content:flex-start; }
  .nav-mobile .nav-link.active::after { display:none; }
  .nav-mobile .nav-download { display:inline-flex; margin:0.5rem 2rem 1rem; }
  .grid-2, .grid-3 { grid-template-columns:1fr; }
  .home-stats-grid { grid-template-columns:repeat(2,1fr); }
  .home-feats-grid { grid-template-columns:repeat(2,1fr); }
  .home-hero { padding:2.5rem 1.5rem 2rem; }
  .home-actions { flex-direction:column; align-items:stretch; }
  .home-actions .btn { justify-content:center; }
  .footer-inner { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .page-wrap { padding:1.5rem 1rem 3rem; }
  .card-body { padding:1.5rem; }
}
