/* ===================================
   千尚娱乐 · Coming Soon 设计系统
   =================================== */

/* ---------- Tokens ---------- */
:root {
  --c-bg: #0a0a14;
  --c-surface: #12121e;
  --c-card: #181828;
  --c-border: rgba(255,255,255,0.06);
  --c-text: #e0dfe6;
  --c-text-dim: #8a8a9a;
  --c-accent: #6c5ce7;
  --c-accent2: #e17055;
  --c-accent3: #00cec9;
  --c-neon: #a29bfe;
  --ff: 'Noto Sans SC', sans-serif;
  --ff-tech: 'Orbitron', 'Noto Sans SC', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

/* ---------- Background Effects ---------- */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108,92,231,0.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(225,112,85,0.08) 0%, transparent 50%),
              radial-gradient(ellipse 50% 50% at 20% 70%, rgba(0,206,201,0.06) 0%, transparent 50%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,92,231,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,92,231,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 0%, transparent 100%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: glowFloat 10s ease-in-out infinite;
}

.glow-1 {
  width: 400px; height: 400px;
  top: 10%; left: 20%;
  background: rgba(108,92,231,0.15);
  animation-delay: 0s;
}

.glow-2 {
  width: 300px; height: 300px;
  top: 50%; right: 10%;
  background: rgba(225,112,85,0.1);
  animation-delay: 3s;
}

.glow-3 {
  width: 350px; height: 350px;
  bottom: 10%; left: 40%;
  background: rgba(0,206,201,0.08);
  animation-delay: 6s;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}

/* Particles */
.particle {
  position: absolute;
  background: rgba(162,155,254,0.4);
  border-radius: 50%;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-40px) scale(1.5); opacity: 0.8; }
}

/* ---------- Page Wrapper ---------- */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Header ---------- */
.ent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.back-link {
  font-size: 0.85rem;
  color: var(--c-text-dim);
  transition: color 0.3s;
}
.back-link:hover { color: var(--c-accent); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-icon { font-size: 1.5rem; }
.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-en {
  font-family: var(--ff-tech);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--c-text-dim);
  margin-left: 0.3rem;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 6rem 0 4rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.5rem;
  border: 1px solid var(--c-accent);
  border-radius: 50px;
  font-family: var(--ff-tech);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 rgba(108,92,231,0); }
  50% { box-shadow: 0 0 30px rgba(108,92,231,0.3); }
}

.hero-title {
  margin-bottom: 1.5rem;
}

.title-line-1 {
  display: block;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, var(--c-neon) 40%, var(--c-accent) 60%, var(--c-accent3) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
  line-height: 1.2;
}

.title-line-2 {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.3em;
  line-height: 1.4;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-desc {
  font-size: 1rem;
  color: var(--c-text-dim);
  line-height: 2;
  margin-bottom: 3rem;
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  min-width: 80px;
  transition: border-color 0.3s;
}
.cd-item:hover { border-color: var(--c-accent); }

.cd-num {
  font-family: var(--ff-tech);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.cd-label {
  font-size: 0.75rem;
  color: var(--c-text-dim);
  margin-top: 0.3rem;
}

.cd-sep {
  font-family: var(--ff-tech);
  font-size: 2rem;
  color: var(--c-accent);
  font-weight: 700;
  animation: sepBlink 1s step-end infinite;
}

@keyframes sepBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ---------- Section Titles ---------- */
.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.section-desc {
  text-align: center;
  font-size: 0.9rem;
  color: var(--c-text-dim);
  margin-bottom: 2.5rem;
}

/* ---------- Games Showcase ---------- */
.games-showcase {
  padding: 4rem 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.game-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  cursor: default;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.game-card:hover {
  border-color: var(--accent, var(--c-accent));
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px color-mix(in srgb, var(--accent) 20%, transparent);
}

.game-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  flex-shrink: 0;
}

.game-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}

.game-tag {
  font-size: 0.72rem;
  color: var(--c-text-dim);
  letter-spacing: 0.05em;
}

.game-glow {
  position: absolute;
  top: 50%;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent, var(--c-accent));
  opacity: 0;
  filter: blur(30px);
  transition: opacity 0.4s;
  pointer-events: none;
}

.game-card:hover .game-glow {
  opacity: 0.15;
}

/* ---------- Features ---------- */
.features {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}

.feature-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}

.feature-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}

.feat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--c-text-dim);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.ent-footer {
  text-align: center;
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--c-border);
  margin-top: 2rem;
}

.ent-footer p {
  font-size: 0.9rem;
  color: var(--c-text-dim);
}

.footer-sub {
  font-size: 0.75rem !important;
  margin-top: 0.3rem;
  opacity: 0.5;
}

.footer-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s;
}
.footer-link:hover {
  background: var(--c-accent);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .page-wrapper { padding: 0 1rem; }
  .hero { padding: 4rem 0 3rem; }
  .title-line-2 { letter-spacing: 0.15em; }
  .countdown { gap: 0.4rem; }
  .cd-item { padding: 0.8rem 1rem; min-width: 60px; }
  .cd-num { font-size: 1.6rem; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .game-card { padding: 1rem; }
  .game-icon { width: 40px; height: 40px; font-size: 1.5rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .ent-header { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cd-item { min-width: 50px; padding: 0.6rem 0.8rem;}
  .cd-num { font-size: 1.3rem; }
}

/* ---------- Animations ---------- */
.game-card { animation: fadeInUp 0.6s var(--ease) both; }
.game-card:nth-child(1) { animation-delay: 0.05s; }
.game-card:nth-child(2) { animation-delay: 0.1s; }
.game-card:nth-child(3) { animation-delay: 0.15s; }
.game-card:nth-child(4) { animation-delay: 0.2s; }
.game-card:nth-child(5) { animation-delay: 0.25s; }
.game-card:nth-child(6) { animation-delay: 0.3s; }
.game-card:nth-child(7) { animation-delay: 0.35s; }
.game-card:nth-child(8) { animation-delay: 0.4s; }
.game-card:nth-child(9) { animation-delay: 0.45s; }
.game-card:nth-child(10) { animation-delay: 0.5s; }
.game-card:nth-child(11) { animation-delay: 0.55s; }
.game-card:nth-child(12) { animation-delay: 0.6s; }

.feature-card { animation: fadeInUp 0.6s var(--ease) both; }
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

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