

:root {
  --primary: #4338CA;
  --secondary: #06B6D4;
  --accent: #FBBF24;
  --dark: #09090b;
  --darker: #030304;
  --light: #f8fafc;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --ring-glow: rgba(67, 56, 202, 0.45);
  --cyan-glow: rgba(6, 182, 212, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
}

.header-scrolled {
  background: rgba(9, 9, 11, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(67, 56, 202, 0.25);
}

.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 20%, var(--ring-glow) 0%, transparent 45%),
              radial-gradient(ellipse at 20% 80%, var(--cyan-glow) 0%, transparent 40%),
              linear-gradient(135deg, var(--darker) 0%, #0f0f13 50%, var(--dark) 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://yqcdn.fuhua95.com/game/20240320/7b93aaea324425a605abe90acd697beb.jpg') center/cover no-repeat;
  opacity: 0.22;
  animation: heroZoom 22s ease-in-out infinite alternate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.75) 45%, rgba(9, 9, 11, 0.35) 100%);
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-halo {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 34vw, 520px);
  height: clamp(260px, 34vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, transparent 70%);
  z-index: 1;
  animation: haloPulse 4s ease-in-out infinite;
}

.hero-halo::before,
.hero-halo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 0;
  border: 2px solid rgba(6, 182, 212, 0.25);
  animation: haloSpin 12s linear infinite;
}

.hero-halo::after {
  inset: -24px;
  border-color: rgba(67, 56, 202, 0.2);
  animation-duration: 18s;
  animation-direction: reverse;
}

@keyframes haloPulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.8; }
  50% { transform: translateY(-50%) scale(1.08); opacity: 1; }
}

@keyframes haloSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 80px;
}

.hero-logo {
  width: clamp(120px, 16vw, 200px);
  height: auto;
  filter: drop-shadow(0 12px 50px rgba(6, 182, 212, 0.55));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 60px rgba(67, 56, 202, 0.4);
  margin-bottom: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2.25rem;
}

.hero-badge {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(67, 56, 202, 0.18);
  border: 1px solid rgba(67, 56, 202, 0.45);
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 700;
}

.hero-badge.accent {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.45);
  color: var(--accent);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
  color: #1a1200;
  font-size: 1.2rem;
  font-weight: 800;
  border: 2px solid rgba(251, 191, 36, 0.55);
  box-shadow: 0 8px 0 #b45309, 0 18px 40px rgba(251, 191, 36, 0.28);
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 0 #b45309, 0 28px 55px rgba(251, 191, 36, 0.4);
}

.download-btn:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #b45309, 0 8px 20px rgba(251, 191, 36, 0.25);
}

.download-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background: transparent;
  color: var(--secondary);
  font-size: 1.05rem;
  font-weight: 700;
  border: 2px solid rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
  transition: all 0.3s ease;
}

.download-btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.25);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255, 255, 255, 0.55);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 2px;
}

.section-title.center {
  display: block;
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  margin-top: 1.4rem;
}

.intro-section {
  background: linear-gradient(180deg, var(--dark) 0%, #0c0c10 100%);
  position: relative;
}

.intro-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(67, 56, 202, 0.6), transparent);
}

.intro-text {
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.72);
}

.highlight-box {
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.18), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(67, 56, 202, 0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 60%);
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.stat-item:hover {
  background: rgba(67, 56, 202, 0.12);
  border-color: rgba(67, 56, 202, 0.25);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.feature-showcase {
  background: linear-gradient(180deg, #0c0c10 0%, var(--dark) 100%);
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.showcase-row:last-child {
  margin-bottom: 0;
}

.showcase-row.reverse {
  direction: rtl;
}

.showcase-row.reverse > * {
  direction: ltr;
}

.showcase-image {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(67, 56, 202, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.showcase-image img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  transition: transform 0.5s ease;
}

.showcase-image:hover img {
  transform: scale(1.05);
}

.showcase-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(9, 9, 11, 0.6) 100%);
  pointer-events: none;
}

.showcase-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.showcase-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.showcase-desc {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.9;
  font-size: 1rem;
}

.feature-grid {
  background: linear-gradient(180deg, var(--dark) 0%, #0a0a0d 100%);
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.35s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  border-color: rgba(67, 56, 202, 0.35);
}

.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover img {
  transform: scale(1.06);
}

.feature-card-body {
  padding: 1.5rem;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), rgba(6, 182, 212, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  font-size: 0.92rem;
}

.download-section {
  background: radial-gradient(ellipse at center, rgba(67, 56, 202, 0.12) 0%, transparent 60%),
              linear-gradient(135deg, #0a0a0d 0%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}

.download-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tab-btn:hover {
  background: rgba(67, 56, 202, 0.15);
  border-color: rgba(67, 56, 202, 0.35);
  color: white;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), rgba(6, 182, 212, 0.8));
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 25px rgba(67, 56, 202, 0.35);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.platform-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.platform-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}

.platform-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-section {
  background: linear-gradient(180deg, #0a0a0d 0%, var(--darker) 100%);
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 2rem;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(67, 56, 202, 0.1);
  border-color: rgba(67, 56, 202, 0.2);
}

.contact-item i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.qr-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.qr-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.qr-card:hover {
  transform: translateY(-5px);
  border-color: rgba(67, 56, 202, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.qr-card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 0.75rem;
  margin: 0 auto 0.75rem;
  background: white;
  padding: 0.4rem;
}

.qr-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.qr-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 100px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-logo-wrap {
    margin-top: 2.5rem;
  }

  .hero-halo {
    right: 50%;
    transform: translate(50%, -40%);
    opacity: 0.5;
  }

  @keyframes haloPulse {
    0%, 100% { transform: translate(50%, -40%) scale(1); opacity: 0.5; }
    50% { transform: translate(50%, -40%) scale(1.08); opacity: 0.7; }
  }

  .download-btn,
  .download-btn-outline {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .showcase-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .showcase-row.reverse {
    direction: ltr;
  }

  .qr-wall {
    grid-template-columns: 1fr 1fr;
  }

  .qr-card img {
    width: 90px;
    height: 90px;
  }
}

/* Position-specific image sizing */

header img { height: clamp(2rem, 10vw, 3rem); width: auto; }
.hero-logo { width: min(340px, 75vw); height: auto; }
.feature-card img { width: 100%; height: 220px; object-fit: cover; }
.showcase-image img { width: 100%; height: auto; border-radius: .75rem; }
.contact-card img { width: 100%; max-width: 160px; height: auto; margin: 0 auto; }
footer img { height: 2rem; width: auto; }

/* Friendly links block */

.friendly-links.zyzr { padding: 2.5rem 1rem; background: #09090b; border-top: 1px solid rgba(67,56,202,.35); }
.friendly-links.zyzr .friendly-links-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.friendly-links.zyzr h2 { font-family: 'Ma Shan Zheng', cursive; font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; margin-bottom: .25rem; }
.friendly-links.zyzr h2 i { color: #FBBF24; margin-right: .5rem; }
.friendly-links.zyzr p { color: rgba(255,255,255,.55); margin-bottom: 1.25rem; }
.friendly-links.zyzr ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .7rem; list-style: none; padding: 0; margin: 0; }
.friendly-links.zyzr li a { display: block; padding: .55rem .75rem; border-radius: .5rem; background: rgba(67,56,202,.12); border: 1px solid rgba(67,56,202,.35); color: #E2E8F0; font-size: .9rem; transition: .2s; }
.friendly-links.zyzr li a:hover { background: rgba(251,191,36,.15); border-color: #FBBF24; color: #FBBF24; transform: translateY(-2px); }
@media (max-width: 375px) { .friendly-links.zyzr ul { grid-template-columns: repeat(2, 1fr); } }

