

: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);
}

* {
  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-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(67, 56, 202, 0.25) 0%, transparent 55%),
              linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://yqcdn.fuhua95.com/game/20240320/7b93aaea324425a605abe90acd697beb.jpg') center/cover no-repeat;
  opacity: 0.18;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9, 9, 11, 0.7) 0%, var(--dark) 100%);
}

.banner-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 80px;
}

.banner-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: white;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(67, 56, 202, 0.35);
  margin-bottom: 1rem;
}

.banner-title span {
  color: var(--accent);
}

.banner-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  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.05rem;
  margin-top: 1.3rem;
}

.faq-section {
  background: linear-gradient(180deg, var(--dark) 0%, #0c0c10 100%);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(67, 56, 202, 0.25);
}

.faq-item.open {
  border-color: rgba(67, 56, 202, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question i {
  color: var(--secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  font-size: 0.98rem;
}

.faq-answer-inner strong {
  color: var(--accent);
}

.faq-answer-inner ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}

.faq-answer-inner li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.faq-answer-inner li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 900;
}

.guide-grid-section {
  background: linear-gradient(180deg, #0c0c10 0%, var(--dark) 100%);
}

.guide-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  height: 100%;
  transition: all 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-6px);
  border-color: rgba(67, 56, 202, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.guide-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  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.35rem;
  margin-bottom: 1.25rem;
}

.guide-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}

.guide-card p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  font-size: 0.95rem;
}

.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%);
}

.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.15rem;
  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);
}

.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) {
  .banner-content {
    padding-top: 100px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 1.1rem 1.25rem;
  }

  .faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.92rem;
  }

  .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); } }

