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

html, body {
  width: 100%;
  font-family: "Microsoft Yahei", "PingFang SC", "Noto Sans SC", sans-serif;
  color: #e8efff;
  background: #05060a;
  scroll-behavior: smooth;
}

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



img {
  max-width: 100%;
  display: block;
}

.page-loader{
  position:fixed;
  inset:0;
  background:#05060a;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: all 0.6s ease;
}
.loader-hide{
  opacity:0;
  pointer-events:none;
}
.loader-inner{
  text-align:center;
}
.loader-spin{
  width:50px;
  height:50px;
  border:3px solid rgba(255,215,130,0.15);
  border-top-color:#ffd782;
  border-radius:50%;
  margin:0 auto 16px;
  animation:spin 1s linear infinite;
}
@keyframes spin{
  0%{transform:rotate(0deg)}
  100%{transform:rotate(360deg)}
}
.page-loader p{
  color:#ffd782;
  letter-spacing:2px;
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(41, 72, 142, 0.25), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(88, 48, 140, 0.22), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(184, 140, 62, 0.12), transparent 50%),
    linear-gradient(180deg, #05060a 0%, #07090f 40%, #05060a 100%);
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 4s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.9), rgba(5, 6, 10, 0.35));
  border-bottom: 1px solid rgba(255, 215, 130, 0.08);
  backdrop-filter: blur(10px);
  transition: 0.4s;
}
.header-fixed-dark{
  background:rgba(5,6,10,0.92);
  box-shadow:0 4px 24px rgba(0,0,0,0.6);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 215, 130, 0.35));
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-size: 15px;
  color: #c7d6ff;
  letter-spacing: 1px;
  position: relative;
  transition: 0.3s;
}

.main-nav a:hover {
  color: #ffd782;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd782, #ff9a3c);
  transition: 0.3s;
}

.main-nav a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 100px;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../css/image/kdjl.png");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: -2;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.hero-inner {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  letter-spacing: 4px;
  color: #ffd782;
  border: 1px solid rgba(255, 215, 130, 0.35);
  border-radius: 30px;
  background: rgba(255, 215, 130, 0.08);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 72px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 12px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fffbe6 0%, #ffd782 45%, #ffb347 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(255, 180, 80, 0.25);
}

.hero-subtitle {
  font-size: 20px;
  color: #d5e3ff;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.hero-desc {
  font-size: 16px;
  color: #9fb3d9;
  margin-bottom: 50px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 10px 24px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  overflow: hidden;
  transition: 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.btn span {
  font-size: 20px;
  position: relative;
  z-index: 2;
}

.btn em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 3px;
  margin-top: 6px;
  opacity: 0.85;
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: linear-gradient(145deg, #1b3572, #2d54c2);
  color: #fff;
  box-shadow:
    0 10px 30px rgba(45, 84, 194, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: 0.6s;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 40px rgba(45, 84, 194, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-gold {
  background: linear-gradient(145deg, #b5852b, #f2b84c);
  color: #2a1d00;
  box-shadow:
    0 10px 30px rgba(242, 184, 76, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-gold:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 40px rgba(242, 184, 76, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-glow {
  position: absolute;
  left: 50%;
  bottom: -100px;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 180, 80, 0.18), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.scroll-animate{
  opacity:0;
  transform:translateY(40px);
  transition:0.7s ease;
}
.scroll-show{
  opacity:1;
  transform:translateY(0px);
}

.game-section,
.features-section,
.start-section {
  position: relative;
  z-index: 1;
  padding: 120px 40px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 14px;
  letter-spacing: 6px;
  color: #ffd782;
  text-align: center;
  margin-bottom: 14px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.section-desc {
  text-align: center;
  color: #9fb3d9;
  font-size: 16px;
  line-height: 1.9;
  max-width: 800px;
  margin: 0 auto 60px;
}

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

.highlight-card {
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 215, 130, 0.12);
  transition: 0.4s;
}

.highlight-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 130, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.highlight-icon {
  font-size: 24px;
  margin-bottom: 20px;
}

.highlight-card h3 {
  font-size: 22px;
  color: #ffd782;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.highlight-card p {
  color: #9fb3d9;
  font-size: 14px;
  line-height: 1.8;
}

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

.feature-card {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 215, 130, 0.12);
  transition: 0.4s;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 215, 130, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.feature-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

.feature-card:hover .feature-media img {
  transform: scale(1.08);
}

.feature-media-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 6, 10, 0.8));
}

.feature-body {
  padding: 24px;
}

.feature-body h3 {
  font-size: 20px;
  color: #ffd782;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.feature-body p {
  color: #9fb3d9;
  font-size: 14px;
  line-height: 1.7;
}

.start-section {
  background:
    radial-gradient(circle at 20% 50%, rgba(45, 84, 194, 0.18), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(242, 184, 76, 0.12), transparent 50%);
  border-top: 1px solid rgba(255, 215, 130, 0.08);
  border-bottom: 1px solid rgba(255, 215, 130, 0.08);
}

.start-inner h2 {
  text-align: center;
  font-size: 36px;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 4px;
}

.start-inner > p {
  text-align: center;
  color: #9fb3d9;
  margin-bottom: 60px;
}

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

.start-card {
  display: block;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.start-card-blue {
  background: linear-gradient(160deg, #1b3572, #0b1a3f);
  box-shadow: 0 10px 30px rgba(45, 84, 194, 0.35);
}

.start-card-blue:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(45, 84, 194, 0.55);
}

.start-card-gold {
  background: linear-gradient(160deg, #b5852b, #6e4d12);
  box-shadow: 0 10px 30px rgba(242, 184, 76, 0.35);
}

.start-card-gold:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(242, 184, 76, 0.55);
}

.start-tag {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 3px;
  color: #ffd782;
  border: 1px solid rgba(255, 215, 130, 0.35);
  border-radius: 20px;
  margin-bottom: 20px;
  background: rgba(255, 215, 130, 0.08);
}

.start-card h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.start-card p {
  font-size: 14px;
  color: #c7d6ff;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 80px 40px 40px;
  background: #05060a;
  border-top: 1px solid rgba(255, 215, 130, 0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo img {
  height: 34px;
  width: auto;
  margin: 0 auto 30px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 130, 0.35));
}

.footer-info p {
  color: #9fb3d9;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-info strong {
  color: #ffd782;
}

.footer-info a {
  color: #7fa8ff;
}

.footer-copy {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy span {
  display: block;
  font-size: 20px;
  color: #ffd782;
  letter-spacing: 10px;
  margin-bottom: 14px;
}

.footer-copy p {
  color: #7b8db3;
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-copy a {
  color: #7fa8ff;
}

@media (max-width: 900px) {
  .header-inner {
    padding: 14px 20px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding: 120px 20px 80px;
  }

  .hero-title {
    font-size: 24px;
    letter-spacing: 6px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .game-section,
  .features-section,
  .start-section {
    padding: 80px 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .game-highlights {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .start-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .start-buttons {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: 4px;
  }
}

/* 微信QQ内置浏览器指引弹窗 */
.guide-mask{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.85);
    z-index:9999;
    display:none;
}
.guide-box{
    width:82%;
    max-width:420px;
    background:#fff;
    border-radius:14px;
    margin:120px auto 0;
    padding:24px 20px;
    text-align:center;
}
.guide-box h3{
    color:#e64340;
    font-size:18px;
    margin:0 0 14px;
}
.guide-box p{
    font-size:15px;
    color:#333;
    line-height:1.7;
    margin:6px 0;
}
.guide-tip{
    background:#f5f7fa;
    padding:12px;
    border-radius:8px;
    margin:16px 0;
}
.guide-btn-wrap{
    display:flex;
    gap:12px;
    justify-content:center;
}
.guide-close, .guide-share{
    border:none;
    border-radius:8px;
    padding:10px 22px;
    font-size:16px;
    cursor:pointer;
}
.guide-close{
    background:#2b78e4;
    color:#fff;
}
.guide-share{
    background:#f7b528;
    color:#222;
}