/* ===== CSS Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c9a84c;
  --gold-light: #f0d68a;
  --gold-dark: #8b6914;
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-overlay: rgba(10,10,20,0.85);
  --text: #e0dcd0;
  --text-dim: #8888;
  --accent: #d44637;
  --accent-hover: #e85648;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 30px rgba(201,168,76,0.15);
  --max-width: 1200px;
  --header-h: 72px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Utility ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.section-subtitle {
  text-align: center;
  color: #8a8a8a;
  font-size: 0.95rem;
  margin-bottom: 50px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ===== Header / Navbar ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}
.header.scrolled {
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.header-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.header-logo img { width: 40px; height: 40px; border-radius: 8px; }
.header-logo span {
  font-size: 1.15rem; font-weight: 800; color: var(--gold-light);
  letter-spacing: 1px;
}
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: #ffffff; text-decoration: none; font-size: 0.92rem;
  font-weight: 600; transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width var(--transition);
}
.nav-links a:hover, .nav-links a:hover::after { color: var(--gold-light); width: 100%; }
.nav-btn {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #1a1a1a !important; padding: 8px 22px; border-radius: 20px;
  font-weight: 700 !important; 
}
.nav-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.nav-btn::after { display: none !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; transition: var(--transition);
}
.hamburger.open {
  background: rgba(201,168,76,0.15);
}
.hamburger span {
  width: 26px; height: 2px; background: var(--gold-light);
  border-radius: 2px; transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 600px;
  overflow: hidden; margin-top: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,20,0.3) 0%, rgba(10,10,20,0.6) 50%, rgba(10,10,20,0.95) 100%);
}
.hero-content {
  position: absolute; bottom: 18%; left: 50%; transform: translateX(-50%);
  text-align: center; z-index: 10; width: 100%; max-width: 700px; padding: 0 24px;
}
.hero-icon { width: 90px; height: 90px; border-radius: 20px; margin-bottom: 16px; border: 3px solid var(--gold); box-shadow: var(--shadow-gold); }
.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900;
  background: linear-gradient(180deg, #fff 0%, #d4b860 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 8px;
}
.hero-slogan {
  font-size: clamp(1rem, 2vw, 1.3rem); color: var(--gold); font-weight: 700;
  margin-bottom: 6px; letter-spacing: 2px;
}
.hero-type {
  font-size: 0.9rem; color: #888; margin-bottom: 24px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-hero-dl { position: relative; }
.hero-qrcode {
  display: none; position: absolute; bottom: calc(100% + 16px); left: 50%;
  transform: translateX(-50%); background: #fff; padding: 12px;
  border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 100; text-align: center;
}
.hero-qrcode img, .hero-qrcode canvas { display: block; width: 160px; height: 160px; }
.hero-qrcode::before {
  content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}
.btn-hero-dl:hover .hero-qrcode { display: block; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 40px; border-radius: 30px; font-size: 1.05rem;
  font-weight: 700; text-decoration: none; cursor: pointer; border: none;
  background: linear-gradient(135deg, #d44637, #f06250);
  color: #fff; box-shadow: 0 6px 20px rgba(212,70,55,0.4);
  transition: var(--transition); letter-spacing: 1px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,70,55,0.5); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 40px; border-radius: 30px; font-size: 1.05rem;
  font-weight: 700; text-decoration: none; cursor: pointer;
  background: transparent; color: var(--gold-light);
  border: 2px solid var(--gold); transition: var(--transition);
}
.btn-outline:hover { background: rgba(201,168,76,0.1); transform: translateY(-2px); }
.hero-arrow {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 10; animation: bounce 2s infinite;
}
.hero-arrow svg { width: 32px; height: 32px; fill: var(--gold-light); opacity: 0.7; }

/* ===== Animations ===== */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.7s ease forwards; opacity: 0; }

/* ===== Info Cards ===== */
.info-section { padding-top: 30px; }
.info-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: -60px; position: relative; z-index: 20;
}
.info-card {
  background: var(--bg-card); border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg); padding: 28px 20px; text-align: center;
  transition: var(--transition);
}
.info-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.info-card .card-icon { font-size: 2rem; margin-bottom: 10px; }
.info-card h4 { color: var(--gold); font-size: 0.85rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 2px; }
.info-card p { color: #ccc; font-size: 0.95rem; font-weight: 700; }

/* ===== About Section ===== */
.about { background: var(--bg-card); }
.about-content { max-width: 800px; margin: 0 auto; text-align: center; }
.about-text { color: #b0a890; font-size: 1.05rem; line-height: 2; }
.about-text-second { margin-top: 16px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.tag {
  padding: 6px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
  background: rgba(201,168,76,0.1); color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.25);
}

/* ===== Benefits Section ===== */
.benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.benefit-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg); padding: 32px 24px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.benefit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
}
.benefit-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.3); }
.benefit-number {
  font-size: 2.5rem; font-weight: 900; color: var(--gold);
  opacity: 0.2; position: absolute; top: 16px; right: 20px;
}
.benefit-card h4 { color: var(--gold-light); font-size: 1.1rem; margin-bottom: 8px; }
.benefit-card p { color: #999; font-size: 0.9rem; line-height: 1.6; }

/* ===== Screenshots ===== */
.screenshot-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.screenshot-item {
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: var(--transition); position: relative;
  aspect-ratio: 9/16;
}
.screenshot-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.screenshot-item:hover img { transform: scale(1.05); }
.screenshot-item:hover::after {
  content: '🔍'; position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; font-size: 2rem;
  background: rgba(0,0,0,0.4); pointer-events: none;
}

/* ===== Artwork Carousel ===== */
.artwork-carousel {
  position: relative; overflow: hidden;
}
.artwork-track {
  display: flex; transition: transform 0.5s ease;
}
.artwork-slide {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  min-width: 100%;
}
.artwork-item {
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: var(--transition); position: relative;
  aspect-ratio: 9/16;
}
.artwork-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.artwork-item:hover img { transform: scale(1.05); }
.artwork-item:hover::after {
  content: '🔍'; position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; font-size: 2rem;
  background: rgba(0,0,0,0.4); pointer-events: none;
}
.artwork-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10,10,15,0.8); border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light); cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: var(--transition);
}
.artwork-arrow:hover { background: rgba(201,168,76,0.2); border-color: var(--gold); }
.artwork-arrow svg { width: 24px; height: 24px; fill: currentColor; }
.artwork-prev { left: 12px; }
.artwork-next { right: 12px; }
.artwork-dots {
  display: flex; gap: 10px; justify-content: center; margin-top: 20px;
}
.artwork-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--gold); background: transparent;
  cursor: pointer; transition: var(--transition);
}
.artwork-dot.active { background: var(--gold); }

/* ===== Video Section ===== */
.video-section { background: var(--bg-card); }
.video-grid { max-width: 800px; margin: 0 auto; }
.video-card {
  background: #000; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.video-card video { width: 100%; display: block; aspect-ratio: 16/9; }
.video-label {
  padding: 12px 16px; font-size: 0.9rem; color: #999; text-align: center;
}

/* ===== CTA Section ===== */
.cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #12101a 100%);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
}
.cta-content { position: relative; z-index: 2; }
.cta h2 { font-size: 2rem; margin-bottom: 10px; color: var(--gold); }
.cta p { color: #999; margin-bottom: 30px; font-size: 1rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 0.8rem; color: #666; }
.cta-qrcode {
  margin-top: 28px; display: flex; justify-content: center;
}
.cta-qrcode img, .cta-qrcode canvas {
  display: block; width: 180px; height: 180px;
  border-radius: 12px; padding: 12px; background: #fff;
  box-shadow: 0 4px 16px rgba(201,168,76,0.15);
}
.btn-cta { font-size: 1.15rem !important; padding: 16px 50px !important; min-width: 220px; box-sizing: border-box; justify-content: center; }

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(201,168,76,0.2); border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light); cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover {
  background: rgba(201,168,76,0.35); border-color: var(--gold);
}
.back-to-top svg { width: 20px; height: 20px; fill: currentColor; }

/* ===== Friendly Links ===== */
.friendly-links {
  padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.05);
  background: var(--bg-card);
}
.fl-title {
  text-align: center; font-size: 1.1rem; color: var(--gold);
  margin-bottom: 20px; letter-spacing: 2px;
}
.fl-grid {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.fl-grid a {
  display: inline-block; padding: 8px 20px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08); color: #888;
  text-decoration: none; font-size: 0.85rem; transition: var(--transition);
}
.fl-grid a:hover {
  color: var(--gold-light); border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.05);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05); padding: 30px 0;
  text-align: center; color: #555; font-size: 0.8rem;
}

/* ===== Modal / Lightbox ===== */
.modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95); align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.modal-close {
  position: absolute; top: 20px; right: 30px; font-size: 2rem;
  color: #fff; cursor: pointer; background: none; border: none; z-index: 10;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(10,10,15,0.98); backdrop-filter: blur(20px);
    flex-direction: column; gap: 0; padding: 16px 0;
    transform: translateY(-120%); transition: transform 0.35s ease;
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 14px 24px; text-align: center; font-size: 1rem; }
  .nav-btn { margin: 8px 24px; text-align: center; display: block; }
  .hero { height: 85vh; min-height: 500px; }
  .hero-icon { width: 65px; height: 65px; }
  .info-grid { margin-top: -30px; gap: 12px; }
  .info-card { padding: 20px 12px; }
  .info-card h4 { font-size: 0.75rem; }
  .info-card p { font-size: 0.8rem; }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fl-grid { gap: 8px; }
  .fl-grid a { padding: 6px 14px; font-size: 0.8rem; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .cta h2 { font-size: 1.5rem; }
  .btn-primary, .btn-outline { padding: 12px 30px; font-size: 0.95rem; width: 100%;}
  .artwork-slide { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .artwork-slide .artwork-item:last-child { display: none; }
  .artwork-arrow { width: 36px; height: 36px; }
  .artwork-prev { left: 4px; }
  .artwork-next { right: 4px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .info-card { padding: 16px 10px; border-radius: var(--radius); }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-content { bottom: 14%; }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { width: 240px; text-align: center; justify-content: center; }
}
