@charset "UTF-8";
/* =========================================================
   云核创想工作室 · 霓虹赛博主题
   CloudCore Games Studio - Neon Cyberpunk Theme
   ========================================================= */

:root {
  --bg-0: #07070f;
  --bg-1: #0e0e1c;
  --bg-2: #14141e;
  --bg-card: rgba(22, 22, 38, 0.75);
  --surface: #1a1a2a;
  --surface-2: #24243a;
  --border: rgba(168, 85, 247, 0.25);
  --border-bright: rgba(168, 85, 247, 0.5);
  --text: #e6e6f0;
  --text-muted: #8a8aa5;
  --text-dim: #5a5a70;

  --neon-purple: #a855f7;
  --neon-cyan: #22d3ee;
  --neon-pink: #ec4899;
  --neon-yellow: #fbbf24;
  --neon-green: #4ade80;

  --glow-purple: 0 0 20px rgba(168, 85, 247, 0.45), 0 0 40px rgba(168, 85, 247, 0.2);
  --glow-cyan: 0 0 20px rgba(34, 211, 238, 0.45), 0 0 40px rgba(34, 211, 238, 0.18);
  --glow-pink: 0 0 20px rgba(236, 72, 153, 0.4), 0 0 40px rgba(236, 72, 153, 0.18);

  --radius: 14px;
  --radius-lg: 20px;

  --font-display: 'Orbitron', 'Rajdhani', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* 背景网格 + 霓虹光斑 */
body::before {
  content: '';
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.18) 0%, transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(34, 211, 238, 0.15) 0%, transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(236, 72, 153, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: -1;
  pointer-events: none;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 44px 44px, 44px 44px; }
}

a { color: var(--neon-cyan); text-decoration: none; transition: all .2s; }
a:hover { color: var(--neon-purple); text-shadow: 0 0 8px var(--neon-purple); }

/* ============= 全局超链接样式（确保覆盖浏览器默认） ============= */
html body a { color: #22d3ee; text-decoration: none; transition: all .2s; }
html body a:link { color: #22d3ee; }
html body a:visited { color: #22d3ee; }
html body a:hover { color: #a855f7; text-decoration: none; text-shadow: 0 0 8px rgba(168, 85, 247, 0.6); }
html body a:active { color: #ec4899; }

/* 导航栏中的链接特殊处理 */
html body .nav-links a { color: #e6e6f0; font-family: 'Orbitron', 'Rajdhani', 'PingFang SC', sans-serif; font-weight: 500; }
html body .nav-links a:hover { color: #22d3ee; background: rgba(34, 211, 238, 0.08); text-shadow: 0 0 12px #22d3ee; }
html body .nav-links a.active { color: #a855f7; background: rgba(168, 85, 247, 0.12); text-shadow: 0 0 12px #a855f7; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: 1px;
}

.brand-logo {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -1px;
  position: relative;
  box-shadow: var(--glow-purple);
}

.brand-logo::after {
  content: '';
  position: absolute;
  top: -2px; right: -2px; bottom: -2px; left: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  filter: blur(8px);
  opacity: 0.5;
  z-index: -1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text small {
  font-size: 10px;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: all .2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--neon-cyan);
  background: rgba(34, 211, 238, 0.08);
  text-shadow: 0 0 12px var(--neon-cyan);
}

.nav-auth, #nav-auth-slot { display: flex; align-items: center; gap: 10px; }

#nav-auth-slot .btn {
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
}

.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

.user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  font-family: var(--font-display);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.badge-admin {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  width: 42px; height: 42px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  color: var(--neon-cyan);
  position: relative;
  z-index: 201;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-display);
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 0 0 40px rgba(34, 211, 238, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6), 0 0 60px rgba(34, 211, 238, 0.25);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-bright);
  padding: 11px 21px;
}
.btn-outline:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 16px;
}
.btn-ghost:hover {
  color: var(--neon-cyan);
  background: rgba(34, 211, 238, 0.08);
}

.btn-block {
  width: 100%;
  padding: 14px 22px;
  font-size: 14px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1000px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--neon-cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .line-1 {
  display: block;
  color: var(--text);
  font-size: 0.55em;
  letter-spacing: 4px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-cyan) 50%, var(--neon-pink) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
  display: block;
  margin-top: 8px;
}

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

.hero p.lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.stat-item { position: relative; }
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.stat-item span {
  color: var(--text-muted);
  font-size: 13px;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* 游戏卡带视觉 */
.hero-visual {
  position: relative;
  aspect-ratio: 1/1.05;
  max-width: 460px;
  margin-left: auto;
  perspective: 1000px;
}

.game-card {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(145deg, #1e1e3a 0%, #14141e 50%, #0e0e1c 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 24px;
  box-shadow:
    0 30px 80px rgba(168, 85, 247, 0.25),
    0 0 0 1px rgba(168, 85, 247, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: rotateY(-10deg) rotateX(5deg);
  animation: floaty 6s ease-in-out infinite;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  padding: 2px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan), var(--neon-pink), var(--neon-purple));
  background-size: 400% 400%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderFlow 4s linear infinite;
  pointer-events: none;
}

@keyframes borderFlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 400% 0%; }
}

@keyframes floaty {
  0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(8deg) translateY(-15px); }
}

.game-screen {
  position: absolute;
  top: 48px; left: 48px; right: 48px;
  aspect-ratio: 1/1;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(168, 85, 247, 0.3), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(34, 211, 238, 0.3), transparent 50%),
    linear-gradient(135deg, #0a0a18, #1a1a2a);
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  box-shadow:
    inset 0 0 40px rgba(168, 85, 247, 0.15),
    0 0 30px rgba(168, 85, 247, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.game-screen::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
}

.game-screen .title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(180deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.4);
  line-height: 0.9;
  text-align: center;
  z-index: 2;
}

.game-screen .sub {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--neon-purple);
  letter-spacing: 4px;
  margin-top: 12px;
  text-transform: uppercase;
  z-index: 2;
}

.game-screen .icon {
  font-size: 56px;
  margin-bottom: 12px;
  animation: iconFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.5));
  z-index: 2;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

.game-controls {
  position: absolute;
  bottom: 36px;
  left: 48px; right: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dpad {
  display: grid;
  grid-template-columns: repeat(3, 24px);
  grid-template-rows: repeat(3, 24px);
  gap: 2px;
}
.dpad div {
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 12px;
}
.dpad div:nth-child(2) { grid-column: 2; grid-row: 1; }
.dpad div:nth-child(1) { grid-column: 1; grid-row: 2; }
.dpad div:nth-child(3) { grid-column: 3; grid-row: 2; }
.dpad div:nth-child(4) { grid-column: 2; grid-row: 3; }

.action-btns {
  display: flex;
  gap: 12px;
}
.action-btns .btn-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}
.action-btns .btn-circle.b1 {
  background: linear-gradient(135deg, var(--neon-purple), #7c3aed);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}
.action-btns .btn-circle.b2 {
  background: linear-gradient(135deg, var(--neon-pink), #be185d);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.55);
}

/* 浮动装饰点 */
.hero-visual .floating-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 20px var(--neon-cyan);
  animation: floatDot 4s ease-in-out infinite;
}
.hero-visual .floating-dot.d1 { top: 5%; right: 10%; background: var(--neon-purple); box-shadow: 0 0 20px var(--neon-purple); }
.hero-visual .floating-dot.d2 { top: 15%; right: -5%; animation-delay: 1s; background: var(--neon-pink); box-shadow: 0 0 20px var(--neon-pink); }
.hero-visual .floating-dot.d3 { bottom: 20%; left: -8%; animation-delay: 2s; }
.hero-visual .floating-dot.d4 { bottom: 5%; right: 15%; animation-delay: 0.5s; background: var(--neon-yellow); box-shadow: 0 0 20px var(--neon-yellow); }

@keyframes floatDot {
  0%, 100% { transform: translate(0, 0); opacity: 0.7; }
  50% { transform: translate(10px, -20px); opacity: 1; }
}

/* ============ SECTION HEADERS ============ */
.section { padding: 90px 0; position: relative; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--neon-cyan);
  margin-bottom: 16px;
  text-transform: uppercase;
  position: relative;
  padding: 0 24px;
}

.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan));
}
.section-head .eyebrow::before { right: 100%; background: linear-gradient(90deg, transparent, var(--neon-cyan)); }
.section-head .eyebrow::after { left: 100%; background: linear-gradient(90deg, var(--neon-cyan), transparent); }

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  color: var(--text);
}

.section-head h2 .accent {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
}

/* ============ CARDS / GRIDS ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all .3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-purple);
  background: rgba(30, 30, 50, 0.85);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(168, 85, 247, 0.2);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  position: relative;
  transition: all .3s;
}

.card:hover .card-icon {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(34, 211, 238, 0.2));
  box-shadow: var(--glow-purple);
  transform: scale(1.05);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* 游戏项目卡带 - 特殊样式 */
.game-card-item {
  padding: 0;
  overflow: hidden;
}

.game-cover {
  height: 180px;
  background: linear-gradient(135deg, #1a1a2a, #14141e);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-cover::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(168, 85, 247, 0.06) 3px,
    rgba(168, 85, 247, 0.06) 4px
  );
}

.game-cover .emoji {
  font-size: 72px;
  filter: drop-shadow(0 0 25px rgba(168, 85, 247, 0.5));
  position: relative;
  z-index: 2;
  animation: iconFloat 4s ease-in-out infinite;
}

.game-cover .badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 5px 12px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 3;
}

.game-cover .badge.hot {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  box-shadow: var(--glow-pink);
}

.game-cover .badge.new {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
  color: #0a0a12;
  box-shadow: var(--glow-cyan);
}

.game-cover .badge.demo {
  background: rgba(34, 211, 238, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(34, 211, 238, 0.4);
}

.game-info {
  padding: 22px 24px 24px;
}

.game-info .meta {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.game-info .tag {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 5px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
  text-transform: uppercase;
}

.game-info .tag.purple {
  background: rgba(168, 85, 247, 0.12);
  color: var(--neon-purple);
  border-color: rgba(168, 85, 247, 0.25);
}

.game-info .tag.pink {
  background: rgba(236, 72, 153, 0.12);
  color: var(--neon-pink);
  border-color: rgba(236, 72, 153, 0.25);
}

.game-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.game-info .desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.game-info .game-stats {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.game-info .game-stats .value {
  color: var(--neon-cyan);
  font-size: 13px;
  font-weight: 700;
}

/* ============ PAGE HERO (sub pages) ============ */
.page-hero {
  padding: 80px 0 50px;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  width: 600px; height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  position: relative;
}

.page-hero h1 .accent {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 620px;
  line-height: 1.8;
  margin-top: 14px;
}

.page-hero .crumb {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
}

.page-hero .crumb a {
  color: var(--neon-cyan);
}

/* ============ FORMS / AUTH ============ */
.auth-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 24px;
  position: relative;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 42px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(168, 85, 247, 0.1);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan), var(--neon-pink));
}

.auth-card h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.auth-card h2 .accent {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-card .sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(10, 10, 18, 0.6);
  color: var(--text);
  transition: all .2s;
  font-family: inherit;
  outline: none;
}

.form-control:focus {
  border-color: var(--neon-purple);
  background: rgba(20, 20, 35, 0.8);
  box-shadow:
    0 0 0 4px rgba(168, 85, 247, 0.1),
    0 0 20px rgba(168, 85, 247, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.form-footer {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-muted);
}

.form-footer a {
  color: var(--neon-cyan);
  font-weight: 600;
}

.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}

.alert-error {
  background: rgba(236, 72, 153, 0.1);
  color: var(--neon-pink);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.alert-success {
  background: rgba(74, 222, 128, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

/* ============ GUESTBOOK ============ */
/* ===== 服务器连接状态 ===== */
.conn-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(30, 30, 50, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 13px;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

.conn-status.conn-green {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.conn-status.conn-red {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.conn-status.conn-checking {
  color: #eab308;
  border-color: rgba(234, 179, 8, 0.4);
  animation: pulse-yellow 1.2s infinite ease-in-out;
}

@keyframes pulse-yellow {
  0%, 100% { box-shadow: 0 0 8px rgba(234, 179, 8, 0.15); }
  50%      { box-shadow: 0 0 14px rgba(234, 179, 8, 0.25); }
}

.guestbook-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: start;
}

.guestbook-form {
  position: sticky;
  top: 96px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.guestbook-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
}

.guestbook-form h3 {
  font-family: var(--font-display);
  margin-bottom: 6px;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.guestbook-form .hint {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 22px;
}

.message-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-empty {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
}

.message-empty .big {
  font-size: 56px;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.4));
}

.message-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  backdrop-filter: blur(10px);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.message-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--neon-purple), var(--neon-cyan));
  opacity: 0;
  transition: opacity .25s;
}

.message-item:hover {
  border-color: var(--neon-purple);
  transform: translateX(4px);
  box-shadow: -10px 0 30px rgba(168, 85, 247, 0.12);
}

.message-item:hover::before { opacity: 1; }

.message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.message-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.message-user .avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-display);
  box-shadow: var(--glow-purple);
  overflow: hidden;
}

.message-user .avatar .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.message-user .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.3px;
}

.message-user .tag {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1px;
  margin-left: 6px;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.message-user .tag.user {
  background: rgba(168, 85, 247, 0.15);
  color: var(--neon-purple);
  border-color: rgba(168, 85, 247, 0.3);
}

.message-user .tag.admin {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(168, 85, 247, 0.25));
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.35);
}

.message-time {
  color: var(--text-dim);
  font-size: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

.message-body {
  font-size: 15px;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.8;
}

.message-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.message-actions button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  transition: all .2s;
}

.message-actions button:hover {
  background: rgba(236, 72, 153, 0.1);
  color: var(--neon-pink);
  border-color: rgba(236, 72, 153, 0.3);
}

/* ============ CONTACT / TEAM CUSTOM ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all .25s;
}

.contact-item:hover {
  border-color: var(--neon-purple);
  transform: translateX(4px);
}

.contact-item .icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(34, 211, 238, 0.15));
  border: 1px solid var(--border);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.contact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-item span {
  color: var(--text-muted);
  font-size: 14px;
}

/* Team cards */
.team-card {
  text-align: center;
  padding: 34px 26px;
}

.team-avatar {
  width: 104px; height: 104px;
  border-radius: 20px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  font-family: var(--font-display);
  box-shadow: var(--glow-purple);
  position: relative;
  overflow: hidden;
}

img.team-avatar {
  background: transparent;
  box-shadow: var(--glow-purple);
  object-fit: cover;
  display: block;
  padding: 0;
  width: 120px;
  height: 120px;
  border-radius: 20px;
}

.team-avatar::after {
  content: '';
  position: absolute;
  top: -4px; right: -4px; bottom: -4px; left: -4px;
  border-radius: 24px;
  border: 1px solid var(--neon-cyan);
  opacity: 0.4;
  animation: teamAura 3s ease-in-out infinite;
}

@keyframes teamAura {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.08); }
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 6px;
}

.team-card .role {
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.team-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* Service special lists */
.service-card ul {
  list-style: none;
  margin-top: 14px;
}
.service-card ul li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
  border-bottom: 1px dashed var(--border);
  font-family: var(--font-body);
}
.service-card ul li:last-child { border-bottom: none; }
.service-card ul li::before {
  content: '▸ ';
  color: var(--neon-cyan);
  font-weight: bold;
  margin-right: 4px;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(34, 211, 238, 0.1));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 50px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 20px 60px rgba(168, 85, 247, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan), var(--neon-pink));
}

.cta-band::after {
  content: '';
  position: absolute;
  top: 50%; right: -100px;
  width: 300px; height: 300px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cta-band p {
  color: var(--text-muted);
  font-size: 15px;
}

.cta-band .btn {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #fff;
  padding: 15px 28px;
  font-size: 13px;
  box-shadow: var(--glow-purple);
}

/* ============ FOOTER ============ */
.footer {
  margin-top: auto;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 12, 0.9) 30%);
  color: var(--text-muted);
  padding: 60px 0 24px;
  position: relative;
  border-top: 1px solid var(--border);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-cyan), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer h4 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  padding-left: 12px;
}

.footer h4::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  border-radius: 50%;
}

.footer ul { list-style: none; }

.footer ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer ul a {
  color: var(--text-muted);
  transition: all .2s;
}

.footer ul a:hover {
  color: var(--neon-cyan);
  padding-left: 4px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 14px;
  color: var(--text-muted);
  max-width: 360px;
}

.footer-brand .brand {
  color: var(--text);
  font-size: 18px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero p.lead { margin: 0 auto 28px; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin: 0 auto; max-width: 360px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .guestbook-layout { grid-template-columns: 1fr; }
  .guestbook-form { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid .contact-item { width: 100%; }
  .contact-grid .card { padding: 24px !important; }
  .cta-band { flex-direction: column; text-align: center; padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-stats { justify-content: center; gap: 24px; }
  .container { padding: 0 16px; }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg-1);
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    display: none;
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 16px; font-size: 12px; }
  .nav-toggle { display: block; }
  .nav-auth-item { list-style: none; }
  #nav-auth-slot {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 16px;
  }
  #nav-auth-slot .btn-ghost { padding: 10px 18px; font-size: 12px; }
  #nav-auth-slot .btn { padding: 10px 18px; font-size: 12px; }
  #nav-auth-slot .user-chip { padding: 6px 12px; font-size: 12px; }
  #nav-auth-slot .badge-admin { padding: 1px 6px; font-size: 9px; }
  .nav-auth .btn-ghost { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .hero { padding: 40px 0 60px; }
  .hero h1 { font-size: 28px; line-height: 1.3; }
  .hero .line-1 { font-size: 16px; letter-spacing: 3px; }
  .hero .highlight { font-size: 16px; letter-spacing: 1px; }
  .hero p.lead { font-size: 14px; line-height: 1.8; }
  .hero-stats { gap: 14px; padding-top: 20px; flex-wrap: wrap; }
  .hero-stats strong { font-size: 24px; }
  .hero-stats span { font-size: 11px; }
  .auth-card { padding: 32px 24px; }
  .cta-band h3 { font-size: 20px; }
  .cta-band { padding: 28px 20px; gap: 18px; }
  .page-hero h1 { font-size: 26px; }
  .section-head h2 { font-size: 22px; }
  .card { padding: 22px !important; }
  .card h3 { font-size: 16px; }
  .card p, .contact-item p { font-size: 14px; line-height: 1.7; }
  .contact-item { flex-direction: column; gap: 10px !important; padding: 18px !important; }
  .contact-item h3 { font-size: 14px; }
  .team-avatar { width: 80px; height: 80px; font-size: 28px; }
  img.team-avatar { width: 90px; height: 90px; }
  .brand-text small { font-size: 11px; letter-spacing: 1px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .btn { font-size: 13px; padding: 11px 18px; }
  .form-control { font-size: 14px; padding: 11px 14px; }
  label { font-size: 13px; }
  .game-card { width: 260px; height: 360px; padding: 14px; }
  .game-card .title { font-size: 18px; letter-spacing: 1px; }
  .game-card .sub { font-size: 12px; }
  .game-card .icon { font-size: 52px; }
  .btn-circle { width: 44px; height: 44px; font-size: 14px; }
  .footer-bottom { font-size: 11px; padding: 18px 16px; }
  .footer-grid { gap: 20px; }
  .footer-brand { padding-bottom: 16px; }
  .footer-brand p { font-size: 13px; }
}

@media (max-width: 420px) {
  .container { padding: 0 12px; }
  .hero h1 { font-size: 24px; }
  .hero-stats strong { font-size: 20px; }
  .hero-stats span { font-size: 10px; }
  .brand { font-size: 16px; }
  .brand-logo { width: 36px; height: 36px; font-size: 18px; }
  .game-card { width: 100%; max-width: 240px; height: 340px; }
}

/* 像素风装饰线 */
.pixel-border {
  image-rendering: pixelated;
}

/* 选中文本样式 */
::selection {
  background: rgba(168, 85, 247, 0.4);
  color: #fff;
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-purple), var(--neon-cyan));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
}
