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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  background: #0a0a0f;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

::selection {
  background: rgba(255, 45, 85, 0.3);
  color: #fff;
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,45,85,0.15);
  transition: border-color 0.3s;
}

.navbar:hover {
  border-bottom-color: rgba(255,45,85,0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ff2d55, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.85rem;
  color: #999;
  transition: color 0.3s, text-shadow 0.3s;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: #ff2d55;
  text-shadow: 0 0 12px rgba(255,45,85,0.5);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: #666;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 3px;
  transition: all 0.3s;
  font-family: inherit;
}

.lang-btn.active {
  color: #ff2d55;
  border-color: #ff2d55;
  text-shadow: 0 0 8px rgba(255,45,85,0.4);
}

.lang-divider { color: #444; font-size: 0.8rem; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,45,85,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(0,212,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(138,43,226,0.06) 0%, transparent 50%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-studio {
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}

.hero-title {
  margin-bottom: 24px;
}

.title-cn {
  display: block;
  font-size: 4.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff2d55, #ff6b35, #ff2d55);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(255,45,85,0.3));
  letter-spacing: 12px;
}

.title-en {
  display: block;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 10px;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
  text-transform: uppercase;
}

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

.hero-tagline {
  font-size: 1.15rem;
  color: #ccc;
  margin-bottom: 6px;
}

.hero-tagline-en {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 32px;
}

.hero-countdown {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 40px;
}

.countdown-date {
  color: #00d4ff;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(0,212,255,0.4);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-steam {
  background: linear-gradient(135deg, #1b2838, #2a3f5e);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: 0 0 20px rgba(27,40,56,0.4);
}

.steam-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.btn-steam:hover {
  border-color: #ff2d55;
  box-shadow: 0 0 30px rgba(255,45,85,0.3), inset 0 0 20px rgba(255,45,85,0.05);
  transform: translateY(-2px);
}

.btn-demo {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ccc;
}

.btn-demo:hover {
  border-color: #00d4ff;
  color: #fff;
  box-shadow: 0 0 24px rgba(0,212,255,0.2);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  z-index: 1;
}

.scroll-hint::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #ff2d55;
  border-radius: 2px;
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ─── Sections ─── */
.section {
  position: relative;
  padding: 100px 24px;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #ff2d55, #ff6b35, #ff2d55);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
  filter: drop-shadow(0 0 20px rgba(255,45,85,0.2));
}

/* ─── About ─── */
.about {
  border-top: 1px solid rgba(255,45,85,0.08);
}

.about .section-bg {
  background: radial-gradient(ellipse at 50% 0%, rgba(255,45,85,0.04) 0%, transparent 60%);
}

.about-text {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: 1.05rem;
  color: #bbb;
  margin-bottom: 20px;
  line-height: 1.9;
}

/* ─── Game ─── */
.game {
  border-top: 1px solid rgba(0,212,255,0.08);
}

.game .section-bg {
  background: radial-gradient(ellipse at 80% 50%, rgba(0,212,255,0.04) 0%, transparent 50%);
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  min-width: 160px;
}

.meta-label {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.meta-value {
  font-size: 0.95rem;
  color: #ddd;
  font-weight: 500;
}

.game-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  transition: all 0.4s;
  text-align: center;
}

.feature-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,45,85,0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255,45,85,0.08);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.feature-card p {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.7;
}

/* ─── Media ─── */
.media {
  border-top: 1px solid rgba(138,43,226,0.08);
}

.media .section-bg {
  background: radial-gradient(ellipse at 30% 60%, rgba(138,43,226,0.04) 0%, transparent 50%);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.video-container {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#youtube-player {
  width: 100%;
  height: 100%;
}

/* ─── Press ─── */
.press {
  border-top: 1px solid rgba(255,45,85,0.08);
}

.press .section-bg {
  background: radial-gradient(ellipse at 70% 30%, rgba(255,45,85,0.04) 0%, transparent 50%);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.press-card {
  padding: 28px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  transition: all 0.3s;
}

.press-card:hover {
  border-color: rgba(0,212,255,0.25);
  box-shadow: 0 0 24px rgba(0,212,255,0.06);
}

.press-card blockquote {
  font-size: 1rem;
  color: #ccc;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 12px;
}

.press-card blockquote::before {
  content: '\201C';
  font-size: 2rem;
  color: rgba(255,45,85,0.3);
  line-height: 0;
  vertical-align: -8px;
  margin-right: 4px;
}

.press-card cite {
  font-size: 0.82rem;
  color: #666;
  font-style: normal;
}

/* ─── Contact ─── */
.contact {
  border-top: 1px solid rgba(138,43,226,0.08);
}

.contact .section-bg {
  background: radial-gradient(ellipse at 40% 40%, rgba(138,43,226,0.04) 0%, transparent 50%);
}

.contact-sub {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  color: #bbb;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.contact-item:hover {
  border-color: rgba(255,45,85,0.3);
  color: #fff;
  background: rgba(255,45,85,0.04);
  box-shadow: 0 0 20px rgba(255,45,85,0.08);
  transform: translateY(-2px);
}

.contact-icon {
  font-weight: 700;
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.contact-email {
  text-align: center;
  margin-top: 36px;
  font-size: 0.85rem;
  color: #555;
  letter-spacing: 1px;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.8rem;
  color: #444;
  letter-spacing: 1px;
}

.icp { margin-top: 8px; font-size: 0.75rem; }
.icp a { color: #444; text-decoration: none; }
.icp a:hover { color: #888; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .title-cn { font-size: 2.8rem; letter-spacing: 6px; }
  .title-en { font-size: 1rem; letter-spacing: 6px; }
  .hero-tagline { font-size: 1rem; }
  .section-title { font-size: 1.6rem; margin-bottom: 40px; }
  .section { padding: 60px 20px; }
  .nav-links { display: none; }
  .media-grid { grid-template-columns: 1fr; }
  .game-meta { flex-direction: column; align-items: center; }
  .game-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .title-cn { font-size: 2.2rem; letter-spacing: 4px; }
  .title-en { font-size: 0.85rem; letter-spacing: 4px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
