/* =============================================
   熊猫崛起云电竞 — 深色金主题
   ============================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #14141E;
  --bg-card: rgba(20, 20, 30, 0.75);
  --gold-primary: #FF8C00;
  --gold-light: #FFD700;
  --gold-gradient: linear-gradient(135deg, #FF8C00, #FFD700);
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0C0;
  --text-muted: #6B6B80;
  --border-glow: rgba(255, 140, 0, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 4px;
}

/* ---------- SELECTION ---------- */
::selection {
  background: rgba(255, 140, 0, 0.4);
  color: #fff;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 140, 0, 0.1);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.logo-highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, rgba(255, 140, 0, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(10, 10, 15, 0.95) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 24px;
  background: rgba(255, 215, 0, 0.06);
  backdrop-filter: blur(4px);
  animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s 0.15s ease forwards;
  opacity: 0;
}

.title-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255, 140, 0, 0.3));
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s 0.3s ease forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.45s ease forwards;
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  box-shadow: 0 4px 30px rgba(255, 140, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(255, 140, 0, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.hero-specs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.6s ease forwards;
  opacity: 0;
}

.spec-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  backdrop-filter: blur(4px);
}

.spec-icon {
  font-size: 0.9rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  animation: fadeInUp 1s 0.8s ease forwards;
  opacity: 0;
}

.scroll-arrow {
  width: 20px;
  height: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  position: relative;
}

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

/* ---------- SECTION COMMON ---------- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 140, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 4px 16px;
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 3px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* ---------- CONFIG ---------- */
.config {
  background: var(--bg-primary);
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.config-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 140, 0, 0.15);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.config-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), transparent 40%, transparent 60%, rgba(255, 215, 0, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}

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

.config-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 140, 0, 0.3);
  box-shadow: 0 20px 60px rgba(255, 140, 0, 0.08);
}

.config-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.config-label {
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.config-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.config-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.config-details li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 16px;
}

.config-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
}

/* ---------- FEATURES ---------- */
.features {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 140, 0, 0.2);
  box-shadow: 0 16px 48px rgba(255, 140, 0, 0.06);
}

.feature-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 215, 0, 0.06);
  line-height: 1;
}

.feature-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

/* ---------- STATS ---------- */
.stats {
  padding: 70px 0;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 140, 0, 0.06);
  border-bottom: 1px solid rgba(255, 140, 0, 0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-number {
  display: inline;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus,
.stat-percent,
.stat-unit {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gold-light);
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ---------- DOWNLOAD ---------- */
.download {
  background: var(--bg-primary);
}

.download-card {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 140, 0, 0.2);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  overflow: hidden;
}

.download-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 140, 0, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.download-icon {
  margin-bottom: 20px;
}

.download-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.meta-divider {
  opacity: 0.3;
}

.btn-download {
  font-size: 1.1rem;
  padding: 16px 44px;
}

.download-notice {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-arrow {
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--gold-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--bg-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 140, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 300;
}

.btn-cta {
  font-size: 1.1rem;
  padding: 16px 44px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #06060A;
  border-top: 1px solid rgba(255, 140, 0, 0.08);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .config-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: var(--transition);
    border-left: 1px solid rgba(255, 140, 0, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .section { padding: 60px 0; }

  .config-grid,
  .features-grid,
  .stats-grid { grid-template-columns: 1fr; }

  .stats-grid { gap: 32px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .download-card { padding: 32px 24px; }

  .download-meta { flex-direction: column; gap: 4px; }
  .meta-divider { display: none; }

  .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
