:root{
  --font-logo:"STKaiti","KaiTi","Microsoft YaHei","SimSun",serif;
  --font-title:"STKaiti","KaiTi","Microsoft YaHei","SimSun",serif;
  --font-nav:"Microsoft YaHei","PingFang SC",Arial,sans-serif;
  --font-source:"Microsoft YaHei","SimSun",serif;
  --font-body:"Microsoft YaHei","PingFang SC","SimSun",serif;
}

*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  min-height:100%;
  background:#050505;
  color:#f4e4cb;
  font-family:var(--font-body);
}

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

.bg{
  position:fixed;
  inset:0;
  z-index:0;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  transform:scale(1.02);
}

.home-bg{
    background-image:url("../images/bj1.webp"););
}

.module-bg{
  background-image:url("../images/bj2.webp"););
}

.overlay{
  display:none;
}

.topbar{
  position:relative;
  z-index:6;
  height:78px;
  padding:0 28px;
  display:grid;
  grid-template-columns:220px 1fr 130px;
  align-items:center;
  border-bottom:1px solid rgba(210,45,35,.42);
  background:rgba(0,0,0,.38);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  width:max-content;
}

.brand-main{
  font-family:var(--font-logo);
  font-size:34px;
  font-weight:700;
  color:#fff8ef;
  letter-spacing:8px;
  text-shadow:
    0 2px 6px rgba(0,0,0,.75),
    0 0 12px rgba(255,255,255,.18);
}

.brand-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:30px;
  background:#b70e0e;
  color:#fff5e8;
  border-radius:3px;
  font-size:12px;
  font-family:var(--font-logo);
  writing-mode:vertical-rl;
  letter-spacing:1px;
  box-shadow:0 0 10px rgba(210,20,20,.28);
}

.nav{
  display:flex;
  justify-content:center;
  gap:40px;
}

.nav a{
  position:relative;
  font-family:var(--font-nav);
  font-size:16px;
  color:#f2e6d4;
  letter-spacing:2px;
  text-shadow:0 2px 6px rgba(0,0,0,.8);
  transition:.2s ease;
}

.nav a:hover,
.nav a.active{
  color:#ffdca8;
  text-shadow:
    0 2px 8px rgba(0,0,0,.8),
    0 0 16px rgba(255,70,35,.58);
}

.nav a.active::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-27px;
  width:9px;
  height:9px;
  background:#d71c1c;
  transform:translateX(-50%) rotate(45deg);
}

.enter-btn{
  justify-self:end;
  width:auto;
  height:34px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-source);
  font-size:15px;
  color:#ffe0ad;
  border:1px solid rgba(220,40,30,.88);
  background:linear-gradient(180deg, rgba(88,0,0,.55), rgba(35,0,0,.42));
  box-shadow:
    0 0 12px rgba(255,60,40,.18),
    inset 0 0 14px rgba(255,90,50,.08);
  transition:.2s ease;
}

.enter-btn:hover{
  transform:translateY(-1px);
  box-shadow:
    0 0 18px rgba(255,60,40,.34),
    inset 0 0 16px rgba(255,90,50,.18);
}

.left-side{
  position:fixed;
  z-index:4;
  left:26px;
  top:22vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  color:#efe4d4;
}

.since{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
}

.since-en{
  font-size:14px;
  font-family:Georgia,serif;
  letter-spacing:2px;
  opacity:.92;
}

.since-year{
  font-size:18px;
  font-family:Georgia,serif;
  opacity:.96;
}

.v-line{
  width:1px;
  height:48px;
  background:linear-gradient(to bottom, rgba(255,255,255,.08), #b71212, rgba(255,255,255,.04));
}

.v-line.short{
  height:34px;
}

.v-text{
  writing-mode:vertical-rl;
  font-family:var(--font-source);
  font-size:22px;
  letter-spacing:5px;
  text-shadow:0 2px 8px rgba(0,0,0,.82);
}

.v-text.small{
  font-size:17px;
  letter-spacing:4px;
}

.hero{
  position:relative;
  z-index:4;
  width:min(980px, 78vw);
  margin:17vh auto 0;
  text-align:center;
}

.hero h1,
.hero-title{
  margin:0;
  font-family:var(--font-title);
  font-size:clamp(34px, 4.5vw, 62px);
  line-height:1.24;
  letter-spacing:4px;
  font-weight:400;
  color:#f6ead8;
  text-shadow:
    0 2px 2px rgba(45, 10, 0, .95),
    0 5px 12px rgba(0, 0, 0, .95),
    0 0 5px rgba(255, 220, 180, .35),
    0 0 14px rgba(160, 30, 20, .28),
    0 0 26px rgba(90, 0, 0, .22);
  animation:title-soft-breathe 5.6s ease-in-out infinite;
}

.hero h1 span,
.hero-title span{
  color:#d63a2e;
  text-shadow:
    0 2px 2px rgba(50, 0, 0, .95),
    0 5px 12px rgba(0, 0, 0, .95),
    0 0 6px rgba(255, 120, 90, .45),
    0 0 18px rgba(190, 20, 15, .38),
    0 0 32px rgba(100, 0, 0, .28);
}

@keyframes title-soft-breathe{
  0%,100%{
    filter:brightness(1);
    transform:translateY(0);
  }

  50%{
    filter:brightness(1.1);
    transform:translateY(-1px);
  }
}

.hero p{
  display:block;
  width:100%;
  margin:16px auto 0;
  padding:0;
  position:relative;
  font-family:var(--font-source);
  font-size:clamp(18px,1.75vw,30px);
  letter-spacing:3px;
  color:#ffffff;
  text-align:center;
  text-shadow:
    0 0 4px #fff,
    0 0 10px #ff4433,
    0 0 22px #dd1111,
    0 0 45px #990000,
    0 3px 9px #000;
  animation:slogan-breathe 3.8s ease-in-out infinite;
}

@keyframes slogan-breathe{
  0%,100%{
    opacity:.82;
    filter:brightness(1);
    text-shadow:
      0 0 3px #fff,
      0 0 8px #ff4433,
      0 0 18px #dd1111,
      0 0 35px #990000,
      0 3px 9px #000;
  }

  50%{
    opacity:1;
    filter:brightness(1.22);
    text-shadow:
      0 0 6px #fff,
      0 0 14px #ff6655,
      0 0 30px #ff2222,
      0 0 60px #bb0000,
      0 3px 12px #000;
  }
}

.hero p::before,
.hero p::after{
  content:"";
  position:absolute;
  top:50%;
  width:90px;
  height:1px;
  background:linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,.85),
    transparent
  );
}

.hero p::before{
  right:50%;
  margin-right:235px;
}

.hero p::after{
  left:50%;
  margin-left:235px;
}

/* 首页 · 十年之后这句话点击切换 */
.yanran-quote-line{
  position:relative;
  display:block;
  width:max-content;
  max-width:90%;
  margin:34px auto 0;
  padding:8px 22px;
  cursor:pointer;

  color:#fff4e8;
  font-size:20px;
  letter-spacing:3px;
  font-family:var(--font-source);
  text-align:center;

  text-shadow:
    0 2px 6px rgba(0,0,0,.95),
    0 0 4px rgba(255,255,255,.55),
    0 0 10px rgba(255,70,50,.65),
    0 0 22px rgba(190,20,15,.48),
    0 0 42px rgba(90,0,0,.38);

  transition:all .25s ease;
}

.yanran-quote-line:hover{
  color:#ffffff;
  transform:translateY(-1px);
  text-shadow:
    0 2px 8px rgba(0,0,0,.95),
    0 0 6px rgba(255,255,255,.72),
    0 0 14px rgba(255,90,70,.85),
    0 0 30px rgba(220,25,15,.65),
    0 0 55px rgba(120,0,0,.48);
}

.quote-tip-mini{
  display:none;
}

.yanran-quote-line .quote-cn{
  transition:opacity .18s ease;
}

/* 主按钮：重返死亡之谷 */
.main-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-width:340px;
  height:60px;
  margin-top:28px;
  padding:0 34px;

  position:relative;
  overflow:hidden;

  color:#ffe7ba;
  font-family:var(--font-source);
  font-size:24px;
  letter-spacing:4px;

  border:1px solid rgba(255,80,45,.9);
  background:
    linear-gradient(180deg, rgba(150,20,10,.55), rgba(55,0,0,.72)),
    linear-gradient(90deg, transparent, rgba(120,0,0,.65) 18%, rgba(25,0,0,.72) 82%, transparent);

  box-shadow:
    0 0 12px rgba(255,60,35,.55),
    0 0 28px rgba(180,10,0,.35),
    inset 0 0 18px rgba(255,120,70,.18),
    inset 0 0 32px rgba(60,0,0,.7);

  clip-path:polygon(7% 0, 93% 0, 100% 50%, 93% 100%, 7% 100%, 0 50%);
  transition:.25s ease;
  animation:main-btn-breathe 4s ease-in-out infinite;
}

.main-btn::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:80%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,220,160,.18),
    rgba(255,80,45,.32),
    transparent
  );
  transform:skewX(-18deg);
  transition:.55s ease;
}

.main-btn::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-18px;
  width:75%;
  height:24px;
  transform:translateX(-50%);
  background:radial-gradient(ellipse at center, rgba(255,35,20,.45), transparent 70%);
  filter:blur(8px);
  opacity:.75;
  pointer-events:none;
}

.main-btn span{
  position:relative;
  z-index:2;
  font-family:var(--font-source);
  color:#ffe7ba;
  text-shadow:
    0 2px 5px rgba(0,0,0,.95),
    0 0 6px rgba(255,220,160,.55),
    0 0 14px rgba(255,70,35,.36);
}

.main-btn b{
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:50%;
  font-size:32px;
  line-height:1;
  font-weight:400;
  color:#ffe7ba;
  background:rgba(88,0,0,.72);
  box-shadow:
    0 0 10px rgba(255,80,45,.55),
    inset 0 0 10px rgba(255,180,120,.12);
}

.main-btn:hover{
  transform:translateY(-3px) scale(1.02);
  border-color:rgba(255,160,100,.95);
  color:#fff2cf;
  box-shadow:
    0 0 18px rgba(255,80,45,.82),
    0 0 42px rgba(220,20,5,.55),
    inset 0 0 24px rgba(255,120,70,.28),
    inset 0 0 38px rgba(80,0,0,.78);
}

.main-btn:hover::before{
  left:130%;
}

@keyframes main-btn-breathe{
  0%,100%{
    filter:brightness(1);
    box-shadow:
      0 0 12px rgba(255,60,35,.45),
      0 0 28px rgba(180,10,0,.28),
      inset 0 0 18px rgba(255,120,70,.16),
      inset 0 0 32px rgba(60,0,0,.65);
  }

  50%{
    filter:brightness(1.15);
    box-shadow:
      0 0 18px rgba(255,80,45,.75),
      0 0 46px rgba(210,20,5,.48),
      inset 0 0 24px rgba(255,150,90,.25),
      inset 0 0 42px rgba(90,0,0,.75);
  }
}

.right-menu{
  position:fixed;
  z-index:4;
  right:30px;
  top:23vh;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.right-menu a{
  display:grid;
  place-items:center;
  gap:7px;
  color:#e9d8c7;
  font-size:12px;
  letter-spacing:1px;
}

.right-menu i{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:50%;
  font-style:normal;
  font-size:20px;
  border:1px solid rgba(255,240,220,.24);
  background:rgba(0,0,0,.36);
  transition:.2s ease;
}

.right-menu a:hover i{
  color:#ffe0ad;
  border-color:#d92b20;
  box-shadow:0 0 16px rgba(255,55,35,.35);
}

.footer{
  position:fixed;
  z-index:6;
  left:0;
  right:0;
  bottom:0;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 26px;
  background:rgba(0,0,0,.42);
  border-top:1px solid rgba(255,255,255,.10);
  color:rgba(235,220,202,.76);
  font-size:13px;
}

.panel-page{
  position:relative;
  z-index:4;
  min-height:calc(100vh - 80px);
  padding:9vh 20px 60px;
}

.panel{
  width:min(980px, 92vw);
  margin:0 auto;
  padding:36px;
  background:rgba(0,0,0,.62);
  border:1px solid rgba(215,45,35,.55);
  box-shadow:0 12px 30px rgba(0,0,0,.42);
}

.panel h1{
  margin:0 0 12px;
  font-family:var(--font-source);
  font-size:42px;
  color:#ffd8a8;
  letter-spacing:4px;
}

.desc,
.panel li,
.panel td,
.panel th{
  font-size:17px;
  line-height:2;
  color:#ead8c3;
}

.panel-content{
  margin-top:20px;
  padding:20px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}

.rank-table{
  width:100%;
  border-collapse:collapse;
}

.rank-table td,
.rank-table th{
  border:1px solid rgba(255,255,255,.14);
  padding:10px;
  text-align:center;
}

.download-list{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.download-list a,
.back-link{
  display:inline-block;
  padding:10px 20px;
  margin-top:20px;
  color:#ffd8a8;
  border:1px solid rgba(215,45,35,.65);
  background:rgba(88,0,0,.22);
}

/* 底部音乐播放按钮 */
.music-btn{
  border:0;
  outline:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 16px;
  color:rgba(235,220,202,.82);
  font-size:14px;
  font-family:var(--font-body);
  letter-spacing:1px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  transition:.22s ease;
}

.music-btn:hover{
  color:#ffe5b8;
  border-color:rgba(255,90,50,.45);
  background:rgba(90,10,5,.34);
  box-shadow:
    0 0 12px rgba(255,50,25,.22),
    inset 0 0 12px rgba(255,120,70,.06);
}

.music-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:50%;
  color:#ffe0ad;
  background:rgba(120,20,10,.48);
  box-shadow:0 0 10px rgba(255,60,35,.22);
}

.music-btn.playing .music-icon{
  animation:music-pulse 1.6s ease-in-out infinite;
}

.music-btn.playing{
  color:#ffe5b8;
  border-color:rgba(255,100,60,.48);
  box-shadow:0 0 14px rgba(255,55,30,.24);
}

@keyframes music-pulse{
  0%,100%{
    transform:scale(1);
    box-shadow:0 0 8px rgba(255,60,35,.22);
  }

  50%{
    transform:scale(1.08);
    box-shadow:0 0 18px rgba(255,70,35,.48);
  }
}

/* 进入嫣然 · 主站入口 */
.game-home-panel{
  position: relative;
  overflow: hidden;
}

.game-home-panel::before{
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 18px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 210, 130, .62),
    transparent
  );
}

.game-entry-grid{
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.game-entry-card{
  position: relative;
  min-height: 150px;
  padding: 24px 20px 20px;
  overflow: hidden;

  border: 1px solid rgba(210, 54, 38, .48);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 184, 90, .10), transparent 46%),
    linear-gradient(180deg, rgba(42, 12, 9, .72), rgba(10, 4, 3, .82));

  box-shadow:
    0 0 18px rgba(120, 20, 12, .28),
    inset 0 0 18px rgba(255, 180, 90, .06);

  text-align: center;
  transition: .25s ease;
}

.game-entry-card::before{
  content: "";
  position: absolute;
  left: -80%;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 225, 160, .14),
    transparent
  );
  transform: skewX(-18deg);
  transition: .55s ease;
}

.game-entry-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255, 170, 90, .78);
  box-shadow:
    0 0 24px rgba(210, 45, 25, .46),
    inset 0 0 20px rgba(255, 180, 90, .10);
}

.game-entry-card:hover::before{
  left: 130%;
}

.entry-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  margin-bottom: 14px;

  border-radius: 50%;
  color: #ffe5ae;
  font-size: 16px;
  font-weight: 700;
  background: rgba(125, 16, 10, .62);

  box-shadow:
    0 0 12px rgba(255, 70, 35, .32),
    inset 0 0 10px rgba(255, 180, 100, .10);
}

.game-entry-card strong{
  display: block;
  color: #ffe0a8;
  font-size: 21px;
  letter-spacing: 2px;
  text-shadow:
    0 2px 6px rgba(0,0,0,.9),
    0 0 12px rgba(255, 120, 55, .32);
}

.game-entry-card em{
  display: block;
  margin-top: 10px;
  color: rgba(238, 218, 190, .76);
  font-size: 14px;
  line-height: 1.8;
  font-style: normal;
}

.game-notice-box{
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.game-notice-box .notice-title{
  margin-bottom: 8px;
  color: #ffd8a8;
  font-size: 18px;
  letter-spacing: 2px;
}

.game-notice-box p{
  margin: 0;
  color: #ead8c3;
  font-size: 15px;
  line-height: 2;
}

.game-notice-box a{
  color: #ffe0a8;
  border-bottom: 1px solid rgba(255, 200, 120, .35);
}

.game-notice-box a:hover{
  color: #fff0c8;
  border-bottom-color: rgba(255, 200, 120, .8);
}

@media (max-width: 980px){
  .game-entry-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px){
  .game-entry-grid{
    grid-template-columns: 1fr;
  }

  .game-entry-card{
    min-height: auto;
  }
}
/* 下载专区 */
.download-panel{
  position: relative;
  overflow: hidden;
}

.download-panel::before{
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 18px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 210, 130, .62),
    transparent
  );
}

.download-hero{
  margin-top: 28px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  border: 1px solid rgba(255, 120, 70, .34);
  background:
    linear-gradient(90deg, rgba(120,16,8,.58), rgba(20,4,3,.82)),
    radial-gradient(circle at 12% 50%, rgba(255,90,45,.16), transparent 32%);

  box-shadow:
    0 0 18px rgba(255,45,25,.12),
    inset 0 0 20px rgba(255,160,90,.05);
}

.download-hero h2{
  margin: 0 0 10px;
  color: #ffe2b6;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 3px;
  text-shadow:
    0 2px 6px #000,
    0 0 12px rgba(255,80,45,.36);
}

.download-hero p{
  margin: 0;
  color: #d8bea0;
  font-size: 15px;
  line-height: 1.9;
}

.download-main-btn{
  flex: 0 0 auto;
  min-width: 220px;
  padding: 16px 24px;
  text-align: center;

  border: 1px solid rgba(255, 170, 90, .72);
  background:
    linear-gradient(180deg, rgba(155, 25, 12, .72), rgba(62, 5, 3, .88));

  box-shadow:
    0 0 18px rgba(255, 65, 35, .36),
    inset 0 0 18px rgba(255, 190, 100, .10);

  transition: .25s ease;
}

.download-main-btn span{
  display: block;
  color: #ffe8b8;
  font-size: 20px;
  letter-spacing: 3px;
}

.download-main-btn em{
  display: block;
  margin-top: 4px;
  color: rgba(245, 215, 170, .68);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 1px;
}

.download-main-btn:hover{
  transform: translateY(-3px);
  border-color: rgba(255, 210, 140, .92);
  box-shadow:
    0 0 28px rgba(255, 70, 35, .58),
    inset 0 0 22px rgba(255, 190, 100, .16);
}

.download-card-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.download-card{
  position: relative;
  min-height: 136px;
  padding: 22px 20px;
  text-align: center;
  overflow: hidden;

  border: 1px solid rgba(210, 54, 38, .48);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 184, 90, .10), transparent 46%),
    linear-gradient(180deg, rgba(42, 12, 9, .72), rgba(10, 4, 3, .82));

  box-shadow:
    0 0 18px rgba(120, 20, 12, .28),
    inset 0 0 18px rgba(255, 180, 90, .06);

  transition: .25s ease;
}

.download-card::before{
  content: "";
  position: absolute;
  left: -80%;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 225, 160, .14),
    transparent
  );
  transform: skewX(-18deg);
  transition: .55s ease;
}

.download-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255, 170, 90, .78);
  box-shadow:
    0 0 24px rgba(210, 45, 25, .46),
    inset 0 0 20px rgba(255, 180, 90, .10);
}

.download-card:hover::before{
  left: 130%;
}

.download-card strong{
  display: block;
  color: #ffe0a8;
  font-size: 22px;
  letter-spacing: 2px;
  text-shadow:
    0 2px 6px rgba(0,0,0,.9),
    0 0 12px rgba(255, 120, 55, .32);
}

.download-card span{
  display: block;
  margin-top: 10px;
  color: rgba(238, 218, 190, .76);
  font-size: 14px;
  line-height: 1.8;
}

.download-card em{
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  color: #d49a55;
  font-size: 12px;
  font-style: normal;
  border: 1px solid rgba(212, 154, 85, .35);
  background: rgba(0,0,0,.20);
}

.download-guide,
.download-warning,
.download-faq{
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.download-guide h2,
.download-warning h2,
.download-faq h2{
  margin: 0 0 14px;
  color: #ffd8a8;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 3px;
}

.download-guide ol{
  margin: 0;
  padding-left: 22px;
}

.download-guide li{
  color: #ead8c3;
  font-size: 15px;
  line-height: 2;
}

.download-guide strong{
  color: #ffe0a8;
}

.download-warning{
  border-color: rgba(255, 80, 45, .32);
  background:
    linear-gradient(90deg, rgba(90, 10, 5, .36), rgba(255,255,255,.035));
}

.download-warning p{
  margin: 0;
  color: #e4c2a6;
  font-size: 15px;
  line-height: 2;
}

.faq-item{
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.faq-item:first-of-type{
  border-top: 0;
  padding-top: 0;
}

.faq-item strong{
  display: block;
  color: #ffe0a8;
  font-size: 16px;
  letter-spacing: 1px;
}

.faq-item p{
  margin: 8px 0 0;
  color: #cdb69a;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 980px){
  .download-hero{
    flex-direction: column;
    align-items: stretch;
  }

  .download-main-btn{
    width: 100%;
  }

  .download-card-grid{
    grid-template-columns: 1fr;
  }
}
/* 游戏商城 */
.shop-panel{
  position: relative;
  overflow: hidden;
}

.shop-panel::before{
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 18px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 210, 130, .62),
    transparent
  );
}

.shop-notice{
  margin-top: 26px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 120, 70, .34);
  background:
    linear-gradient(90deg, rgba(120,16,8,.50), rgba(20,4,3,.82)),
    radial-gradient(circle at 12% 50%, rgba(255,90,45,.13), transparent 32%);
  box-shadow:
    0 0 18px rgba(255,45,25,.12),
    inset 0 0 20px rgba(255,160,90,.05);
}

.shop-notice h2{
  margin: 0 0 10px;
  color: #ffe2b6;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 3px;
  text-shadow:
    0 2px 6px #000,
    0 0 12px rgba(255,80,45,.36);
}

.shop-notice p{
  margin: 0;
  color: #d8bea0;
  font-size: 15px;
  line-height: 2;
}

.shop-grid{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.shop-card{
  position: relative;
  min-height: 260px;
  padding: 22px 18px;
  text-align: center;
  overflow: hidden;

  border: 1px solid rgba(210, 54, 38, .48);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 184, 90, .10), transparent 46%),
    linear-gradient(180deg, rgba(42, 12, 9, .76), rgba(10, 4, 3, .86));

  box-shadow:
    0 0 18px rgba(120, 20, 12, .28),
    inset 0 0 18px rgba(255, 180, 90, .06);

  transition: .25s ease;
}

.shop-card::before{
  content: "";
  position: absolute;
  left: -80%;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 225, 160, .14),
    transparent
  );
  transform: skewX(-18deg);
  transition: .55s ease;
}

.shop-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255, 170, 90, .78);
  box-shadow:
    0 0 24px rgba(210, 45, 25, .46),
    inset 0 0 20px rgba(255, 180, 90, .10);
}

.shop-card:hover::before{
  left: 130%;
}

.shop-img{
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(217,181,106,.35);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,190,100,.14), rgba(0,0,0,.24));

  box-shadow:
    0 0 12px rgba(0,0,0,.55),
    inset 0 0 12px rgba(255,170,90,.08);
}

.shop-img img{
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 8px;
}

.shop-img.no-img::after{
  content: "物";
  color: #ffe0a8;
  font-size: 34px;
  font-weight: 700;
  text-shadow:
    0 0 8px rgba(255,190,90,.42),
    0 0 16px rgba(180,35,20,.38);
}

.shop-card h3{
  margin: 8px 0 8px;
  color: #ffe0a8;
  font-size: 21px;
  letter-spacing: 2px;
  text-shadow:
    0 2px 6px rgba(0,0,0,.9),
    0 0 12px rgba(255, 120, 55, .32);
}

.shop-card p{
  min-height: 44px;
  margin: 0;
  color: rgba(238, 218, 190, .76);
  font-size: 14px;
  line-height: 1.8;
}

.shop-price{
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  color: #ffd28a;
  font-size: 14px;
  border: 1px solid rgba(212, 154, 85, .35);
  background: rgba(0,0,0,.20);
}

.shop-buy-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 8px 18px;

  color: #ffe8b8;
  font-size: 14px;
  letter-spacing: 2px;

  border: 1px solid rgba(255, 170, 90, .62);
  background:
    linear-gradient(180deg, rgba(150,20,10,.58), rgba(55,0,0,.72));

  box-shadow:
    0 0 12px rgba(255,60,35,.26),
    inset 0 0 14px rgba(255,120,70,.10);

  transition: .22s ease;
}

.shop-buy-btn:hover{
  transform: translateY(-2px);
  border-color: rgba(255, 210, 140, .92);
  box-shadow:
    0 0 20px rgba(255, 70, 35, .46),
    inset 0 0 18px rgba(255, 190, 100, .14);
}

.shop-tips{
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.shop-tips h2{
  margin: 0 0 14px;
  color: #ffd8a8;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 3px;
}

.shop-tips ul{
  margin: 0;
  padding-left: 22px;
}

.shop-tips li{
  color: #ead8c3;
  font-size: 15px;
  line-height: 2;
}

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

  .shop-card{
    min-height: auto;
  }
}
/* 账号功能按钮：注册 / 密码 / 自助下线 */
.account-action-box{
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.account-action-btn{
  position: relative;
  min-height: 96px;
  padding: 20px 18px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  border: 1px solid rgba(255, 120, 70, .42);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 190, 100, .14), transparent 45%),
    linear-gradient(180deg, rgba(70, 12, 8, .76), rgba(12, 4, 3, .88));

  box-shadow:
    0 0 18px rgba(170, 28, 16, .28),
    inset 0 0 18px rgba(255, 170, 90, .06);

  transition: .25s ease;
}

.account-action-btn::before{
  content: "";
  position: absolute;
  left: -80%;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 230, 170, .16),
    transparent
  );
  transform: skewX(-18deg);
  transition: .55s ease;
}

.account-action-btn:hover{
  transform: translateY(-4px);
  border-color: rgba(255, 190, 100, .86);
  box-shadow:
    0 0 26px rgba(255, 65, 35, .46),
    inset 0 0 22px rgba(255, 180, 90, .12);
}

.account-action-btn:hover::before{
  left: 130%;
}

.account-action-btn strong{
  position: relative;
  z-index: 2;
  color: #ffe6b0;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 4px;
  text-shadow:
    0 2px 6px rgba(0,0,0,.9),
    0 0 10px rgba(255, 190, 100, .45),
    0 0 20px rgba(210, 45, 25, .32);
}

.account-action-btn span{
  position: relative;
  z-index: 2;
  margin-top: 8px;
  color: rgba(235, 210, 178, .78);
  font-size: 14px;
  letter-spacing: 1px;
}

.account-action-btn.register{
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 205, 110, .16), transparent 45%),
    linear-gradient(180deg, rgba(98, 28, 8, .78), rgba(18, 5, 3, .88));
}

.account-action-btn.password{
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 160, 80, .13), transparent 45%),
    linear-gradient(180deg, rgba(88, 12, 8, .78), rgba(14, 4, 3, .88));
}

.account-action-btn.offline{
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 100, 70, .13), transparent 45%),
    linear-gradient(180deg, rgba(70, 8, 8, .78), rgba(10, 3, 3, .9));
}

@media (max-width: 768px){
  .account-action-box{
    grid-template-columns: 1fr;
  }

  .account-action-btn{
    min-height: 82px;
  }

  .account-action-btn strong{
    font-size: 21px;
  }
}
/* 首页底部联系方式 - 轻量高级版 */
.home-contact-panel{
  position: fixed;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  z-index: 99;

  min-width: 500px;
  padding: 12px 28px 13px;

  border: 1px solid rgba(225, 178, 88, .58);
  border-radius: 10px;

  background:
    linear-gradient(180deg, rgba(42, 10, 8, .82), rgba(18, 5, 4, .88)),
    radial-gradient(circle at 50% 0%, rgba(255, 185, 90, .10), transparent 48%);

  box-shadow:
    0 0 20px rgba(142, 31, 14, .30),
    inset 0 0 16px rgba(255, 205, 105, .05);

  text-align: center;
}

.home-contact-panel::before{
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 220, 140, .45),
    transparent
  );
}

.contact-title{
  position: relative;
  z-index: 2;

  display: inline-block;
  margin: -26px auto 10px;
  padding: 4px 18px;

  color: #ffe5ae;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;

  border: 1px solid rgba(255, 205, 120, .34);
  border-radius: 20px;
  background: rgba(28, 8, 6, .92);

  text-shadow:
    0 1px 3px rgba(0,0,0,.95),
    0 0 6px rgba(255,220,150,.35),
    0 0 14px rgba(255,90,45,.28);
}

.contact-content{
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.contact-box{
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.contact-label{
  color: #d8a869;
  font-size: 15px;
  letter-spacing: 1px;
}

.contact-box strong{
  color: #ffe8b0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-shadow:
    0 0 6px rgba(255, 221, 136, .35),
    0 0 14px rgba(255, 83, 32, .18);
}

.contact-split{
  width: 1px;
  height: 22px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 225, 145, .65),
    transparent
  );
}

/* 旧箭头角标直接隐藏 */
.contact-corner,
.contact-corner-left,
.contact-corner-right{
  display: none !important;
}

@media (max-width: 768px){
  .home-contact-panel{
    bottom: 84px;
    min-width: auto;
    width: calc(100% - 30px);
    padding: 14px 14px 14px;
  }

  .contact-title{
    margin: -24px auto 10px;
    font-size: 12px;
    letter-spacing: 3px;
    padding: 4px 14px;
  }

  .contact-content{
    flex-direction: column;
    gap: 10px;
  }

  .contact-split{
    width: 80%;
    height: 1px;
  }

  .contact-label{
    font-size: 13px;
  }

  .contact-box strong{
    font-size: 17px;
  }
}
/* ===============================
   顶部导航下拉菜单：倚天录
================================ */

.nav {
  position: relative;
  z-index: 50;
}

.nav a,
.nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 26px;
  color: #f6ead2;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255, 180, 90, .35);
  transition: color .25s ease, text-shadow .25s ease;
}

.nav a:hover,
.nav-item:hover > a {
  color: #ffd98a;
  text-shadow:
    0 0 8px rgba(255, 210, 120, .75),
    0 0 18px rgba(190, 40, 20, .65);
}

/* 让带下拉的菜单项和普通 a 排在同一行 */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* 下拉菜单主体 */
.sub-menu {
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 160px;
  padding: 8px 0;
  background:
    linear-gradient(180deg, rgba(31, 5, 5, .96), rgba(8, 2, 2, .96));
  border: 1px solid rgba(210, 43, 35, .65);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, .75),
    inset 0 0 18px rgba(180, 30, 20, .25),
    0 0 16px rgba(210, 40, 30, .28);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

/* 顶部小红线 */
.sub-menu::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e4372e, transparent);
}

/* 鼠标放上去显示 */
.nav-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* 下拉里面的按钮 */
.sub-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #eadcc4;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  text-shadow: 0 0 6px rgba(0, 0, 0, .8);
  transition: background .22s ease, color .22s ease, text-shadow .22s ease;
}

.sub-menu a:last-child {
  border-bottom: none;
}

.sub-menu a:hover {
  color: #ffd98a;
  background:
    linear-gradient(90deg, transparent, rgba(190, 35, 25, .45), transparent);
  text-shadow:
    0 0 8px rgba(255, 210, 120, .75),
    0 0 16px rgba(220, 40, 30, .65);
}

/* 手机端简单适配 */
@media (max-width: 768px) {
  .nav a,
  .nav-item > a {
    height: 54px;
    padding: 0 12px;
    font-size: 15px;
  }

  .sub-menu {
    top: 54px;
    width: 140px;
  }

  .sub-menu a {
    height: 38px;
    font-size: 14px;
  }
}