/* ==========================================================================
   《皇朝传世》官网共用视觉设计系统 (Common Imperial Design System)
   风格基调：赤金朱砂 · 宣纸祥云 · 青玉镶嵌 · 盛大传世重制国风美学
   ========================================================================== */

:root {
  --bg-abyss: #1c0b08;
  --bg-mahogany: #391d17;
  --bg-crimson-deep: #6b1910;
  --bg-crimson-rich: #9c291d;
  --bg-parchment: #fef5e5;
  --bg-parchment-alt: #f6ead4;
  --bg-parchment-card: #fffaf0;

  --crimson-primary: #ad3f32;
  --crimson-bright: #d93823;
  --crimson-hover: #e84630;
  --crimson-border: #8f281c;

  --gold-pale: #fff0d1;
  --gold-champagne: #ebce86;
  --gold-warm: #e5ba73;
  --gold-rich: #d1963e;
  --gold-deep: #8f5c18;

  --jade-light: #5ef2da;
  --jade-main: #24cdb2;
  --jade-deep: #128572;

  --ink-dark: #4a1109;
  --ink-main: #59160e;
  --ink-sub: #7c4236;
  --ink-muted: #9a6d62;
  --text-cream: #ffe5c4;

  --font-serif-cn: "STZhongsong", "Songti SC", "Noto Serif SC", "SimSun", serif;
  --font-calligraphy: "STXingkai", "STKaiti", "KaiTi", "STKaitiSC-Regular", "SimSun", serif;
  --font-sans-cn: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;

  --shadow-gold: 0 8px 28px rgba(89, 22, 14, 0.16);
  --shadow-deep: 0 16px 44px rgba(18, 5, 3, 0.55);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-mahogany);
  color: var(--ink-main);
  font-family: var(--font-sans-cn);
  -webkit-font-smoothing: antialiased;
}

body {
  min-width: 1160px;
  overflow-x: hidden;
  background-color: var(--bg-mahogany);
  position: relative;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 1160px;
  max-width: 92%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   1. 顶部皇朝国风悬浮导航栏 (Top Imperial Silk Bar - 与 logo.mp4 无缝融合)
   ========================================================================== */
.imperial-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 900;
  background: linear-gradient(180deg, rgba(246, 232, 209, 0.97) 0%, rgba(242, 226, 200, 0.95) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid #cfa052;
  box-shadow: 0 4px 18px rgba(45, 14, 6, 0.28);
  transition: all 0.3s ease;
}

.imperial-topbar::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #c99135 20%, var(--jade-main) 50%, #c99135 80%, transparent 100%);
  opacity: 0.85;
}

.topbar-inner {
  width: 1200px;
  max-width: 94%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-emblem {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-logo-video-box {
  width: 168px;
  height: 62px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  flex-shrink: 0;
}

.topbar-logo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.24);
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 82% at 50% 50%, #000 62%, transparent 100%);
}

.brand-crest-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 25%, #ffdf9e 0%, #c93b2b 58%, #5e130b 100%);
  border: 1.5px solid var(--gold-champagne);
  box-shadow: 0 0 14px rgba(235, 206, 134, 0.35), inset 0 0 8px rgba(255, 235, 185, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-calligraphy);
  font-size: 26px;
  font-weight: bold;
  color: #fff3d6;
  text-shadow: 0 2px 4px rgba(60, 10, 5, 0.85);
  position: relative;
}

.brand-crest-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--jade-main);
  transform: rotate(45deg);
  bottom: -4px;
  border: 1px solid var(--gold-pale);
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif-cn);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(180deg, #fff8e6 0%, #f5cf7b 52%, #c9882c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.8));
  line-height: 1.1;
}

.brand-sub {
  font-size: 11px;
  color: #d9b88c;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

.brand-seal {
  padding: 2px 6px;
  background: linear-gradient(180deg, #d4321f, #8f180c);
  border: 1px solid #f3c878;
  color: #fff3db;
  font-size: 11px;
  font-weight: 700;
  border-radius: 2px;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  flex: 1;
}

.topbar-nav a {
  position: relative;
  padding: 10px 22px;
  color: #5c190f;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.topbar-nav a:not(:last-child)::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 5px;
  height: 5px;
  background: rgba(186, 126, 46, 0.58);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.topbar-nav a:hover,
.topbar-nav a.active {
  color: #bd2717;
}

.topbar-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--crimson-primary), var(--jade-main), transparent);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.topbar-nav a:hover::after,
.topbar-nav a.active::after {
  width: 68%;
}

.topbar-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 24px;
  background: linear-gradient(180deg, #d63d28 0%, #8f1c10 100%);
  border: 1.5px solid var(--gold-champagne);
  color: #fff4da;
  font-family: var(--font-serif-cn);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0% 50%);
  box-shadow: 0 4px 14px rgba(173, 63, 50, 0.45);
  transition: all 0.22s ease;
}

.topbar-cta-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(235, 206, 134, 0.35);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 活动规则下拉组件（复刻参考站右上角 drop-control） */
.rule-dropdown {
  position: relative;
}

.rule-trigger {
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--gold-champagne);
  background: linear-gradient(180deg, rgba(173, 63, 50, 0.72), rgba(95, 23, 15, 0.85));
  color: var(--gold-pale);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 240, 205, 0.18);
  transition: all 0.25s;
}

.rule-trigger:hover {
  background: linear-gradient(180deg, #c74333, #7a1d13);
  box-shadow: 0 0 12px rgba(235, 206, 134, 0.35);
}

.rule-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 156px;
  background: rgba(22, 8, 5, 0.94);
  border: 1px solid var(--gold-warm);
  padding: 6px 0;
  transform: scaleY(0);
  transform-origin: top center;
  opacity: 0;
  transition: all 0.22s ease;
  z-index: 950;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.rule-dropdown:hover .rule-menu {
  transform: scaleY(1);
  opacity: 1;
}

.rule-menu button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  color: #f6dfc0;
  font-size: 13px;
  text-align: center;
  position: relative;
  transition: all 0.2s;
}

.rule-menu button:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(235, 206, 134, 0.4), transparent);
}

.rule-menu button:hover {
  color: #ffe38f;
  background: rgba(173, 63, 50, 0.35);
}

.user-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #e8cfb0;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(235, 206, 134, 0.28);
  padding: 6px 14px;
  border-radius: 2px;
}

.user-status-pill .login-link {
  color: #ffcf6e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.user-status-pill .login-link:hover {
  color: var(--jade-light);
}

/* 双款切换胶囊 */
.edition-switch-group {
  display: inline-flex;
  border: 1px solid rgba(235, 206, 134, 0.55);
  background: rgba(18, 6, 4, 0.75);
  border-radius: 3px;
  overflow: hidden;
}

.edition-switch-group a {
  padding: 6px 11px;
  font-size: 12px;
  color: #dec29b;
  transition: all 0.2s;
  border-right: 1px solid rgba(235, 206, 134, 0.25);
}

.edition-switch-group a:last-child {
  border-right: none;
}

.edition-switch-group a.current {
  background: linear-gradient(180deg, #c93d2b, #851e12);
  color: #fff2d6;
  font-weight: 700;
}

.edition-switch-group a:hover:not(.current) {
  color: #ffe49e;
  background: rgba(235, 206, 134, 0.12);
}

/* ==========================================================================
   2. 首屏页头 KV 舞台 (Hero KV Stage - 100%还原上传图 + 精准百分比热区 + 粒子)
   ========================================================================== */
.hero-kv-wrapper {
  position: relative;
  width: 100%;
  margin-top: 68px;
  background: #230f0a;
  overflow: hidden;
}

.hero-kv-stage {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  aspect-ratio: 1024 / 621;
  user-select: none;
}

.hero-kv-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-embers-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* 左上角皇朝传世立体鎏金覆盖铭牌（当原图保留时的增强光效层，若图片已合成则透明呼应） */
.hero-hotspot {
  position: absolute;
  z-index: 5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.28s ease;
}

/* 兄弟来信信封热区：x=76.0%..84.6%, y=33.6%..48.0% */
.hotspot-letter {
  left: 75.8%;
  top: 33.4%;
  width: 8.8%;
  height: 14.8%;
  border-radius: 50%;
  animation: pulseLetter 2.6s ease-in-out infinite;
}

.hotspot-letter::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 224, 140, 0.55);
  box-shadow: 0 0 22px rgba(255, 195, 85, 0.55);
  opacity: 0.65;
  transition: all 0.3s;
}

.hotspot-letter:hover::before {
  opacity: 1;
  transform: scale(1.1);
  border-color: #fff2b8;
  box-shadow: 0 0 32px rgba(255, 210, 100, 0.95);
}

@keyframes pulseLetter {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* 首屏“立即预约”热区：x=36.5%..56.3%, y=80.5%..89.8% */
.hotspot-reserve {
  left: 36.4%;
  top: 80.4%;
  width: 19.9%;
  height: 9.4%;
  clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
  overflow: hidden;
}

/* 首屏“游戏下载”热区：x=58.2%..78.0%, y=80.5%..89.8% */
.hotspot-download {
  left: 58.1%;
  top: 80.4%;
  width: 19.9%;
  height: 9.4%;
  clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
  overflow: hidden;
}

.hotspot-reserve::after,
.hotspot-download::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 75%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 248, 220, 0.55) 50%, transparent 100%);
  transition: left 0.55s ease;
}

.hotspot-reserve:hover,
.hotspot-download:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 28px rgba(255, 215, 128, 0.75);
  background: rgba(255, 230, 160, 0.1);
}

.hotspot-reserve:hover::after,
.hotspot-download:hover::after {
  left: 145%;
}

/* 首屏底部祥云金边过渡遮罩（对齐参考站 wrapper-1-filter.png 效果） */
.hero-cloud-transition {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 76px;
  z-index: 4;
  pointer-events: none;
}

.hero-cloud-transition svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   3. 交替国风背景区块 (Parchment Silk vs. Cinnabar Gold)
   ========================================================================== */
.section-parchment {
  position: relative;
  padding: 84px 0 96px;
  background-color: var(--bg-parchment);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(235, 206, 134, 0.26) 0%, transparent 65%),
    url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M35 65c8-12 26-12 34 0 10-6 22 2 20 14-8 8-48 8-56 0-6-6-4-12 2-14zm75 55c8-12 26-12 34 0 10-6 22 2 20 14-8 8-48 8-56 0-6-6-4-12 2-14z' fill='none' stroke='%23e5c790' stroke-width='1.1' stroke-opacity='0.32'/%3E%3C/svg%3E");
  color: var(--ink-main);
  overflow: hidden;
}

.section-crimson {
  position: relative;
  padding: 88px 0 100px;
  background:
    radial-gradient(ellipse at 50% 15%, rgba(235, 168, 82, 0.22) 0%, transparent 58%),
    linear-gradient(180deg, #7c1f15 0%, #9e2c1f 48%, #6d1910 100%);
  color: var(--text-cream);
  overflow: hidden;
}

.section-crimson::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M90 20L110 40L90 60L70 40Z M20 90L40 110L20 130L0 110Z M160 90L180 110L160 130L140 110Z' fill='none' stroke='%23ebce86' stroke-width='0.9' stroke-opacity='0.11'/%3E%3C/svg%3E");
  pointer-events: none;
}

.section-fortress-end {
  position: relative;
  padding: 84px 0 128px;
  background:
    linear-gradient(180deg, #fef5e5 0%, #f5e4c6 68%, #d7b07a 100%);
  color: var(--ink-main);
  overflow: hidden;
}

/* 底部沙城剪影暗金装饰 */
.section-fortress-end::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1920 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 120V82h70V66h25v16h35V55h90l25-22 25 22h90v27h40V68h30v14h110V48h60l40-32 40 32h60v34h90V65h30v17h120V38h85l55-35 55 35h85v44h115V66h30v16h95V52h75l30-24 30 24h75v30h60V68h35v14h115v38H0z' fill='%23391d17' fill-opacity='0.22'/%3E%3Cpath d='M0 120V96h240V84h180v12h310V76h260v20h330V85h250v11h350v24H0z' fill='%2329120d' fill-opacity='0.45'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
}

/* 区块顶部祥云波浪分割线 */
.wave-divider-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 44px;
  pointer-events: none;
  z-index: 3;
}

.wave-divider-top svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   4. 国风编号大标题组件 (01 / 02 / 03 / 04 Section Header)
   ========================================================================== */
.section-heading {
  text-align: center;
  position: relative;
  margin-bottom: 52px;
  padding-top: 18px;
}

.section-heading .num-watermark {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 4px;
  background: linear-gradient(180deg, rgba(209, 150, 62, 0.32) 0%, rgba(209, 150, 62, 0.03) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  z-index: 0;
}

.section-crimson .section-heading .num-watermark {
  background: linear-gradient(180deg, rgba(255, 229, 170, 0.28) 0%, rgba(255, 229, 170, 0.02) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading-title-row {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.heading-ornament {
  width: 120px;
  height: 18px;
  display: inline-flex;
  align-items: center;
}

.heading-ornament.right {
  transform: scaleX(-1);
}

.section-heading h2 {
  font-family: var(--font-serif-cn);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(180deg, #8b1e12 0%, #c73826 52%, #59120a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255, 238, 200, 0.9));
}

.section-crimson .section-heading h2 {
  background: linear-gradient(180deg, #fff9e8 0%, #f6d384 55%, #cf9035 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 8px rgba(42, 6, 2, 0.75));
}

.section-subtitle-ribbon {
  position: relative;
  z-index: 1;
  margin: 14px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 34px;
  background: linear-gradient(90deg, transparent 0%, rgba(173, 63, 50, 0.12) 20%, rgba(173, 63, 50, 0.18) 50%, rgba(173, 63, 50, 0.12) 80%, transparent 100%);
  border-top: 1px solid rgba(173, 63, 50, 0.28);
  border-bottom: 1px solid rgba(173, 63, 50, 0.28);
  color: var(--ink-sub);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
}

.section-crimson .section-subtitle-ribbon {
  background: linear-gradient(90deg, transparent 0%, rgba(235, 206, 134, 0.14) 20%, rgba(235, 206, 134, 0.24) 50%, rgba(235, 206, 134, 0.14) 80%, transparent 100%);
  border-color: rgba(235, 206, 134, 0.42);
  color: #ffe8be;
}

.jade-dot {
  width: 8px;
  height: 8px;
  background: var(--jade-main);
  border: 1px solid var(--gold-champagne);
  transform: rotate(45deg);
  display: inline-block;
  box-shadow: 0 0 6px rgba(36, 205, 178, 0.6);
}

/* ==========================================================================
   5. 标志性斜切六边形镶玉按钮 (Hexagonal Jade-Inlaid CTA Buttons)
   ========================================================================== */
.btn-hex {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 256px;
  height: 68px;
  padding: 0 42px;
  font-family: var(--font-serif-cn);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 3px;
  clip-path: polygon(24px 0%, calc(100% - 24px) 0%, 100% 50%, calc(100% - 24px) 100%, 24px 100%, 0% 50%);
  transition: transform 0.22s ease, filter 0.22s ease;
  overflow: hidden;
}

.btn-hex::before {
  content: "";
  position: absolute;
  inset: 3px;
  clip-path: polygon(22px 0%, calc(100% - 22px) 0%, 100% 50%, calc(100% - 22px) 100%, 22px 100%, 0% 50%);
  z-index: 0;
}

/* 左右青玉棱角镶嵌 */
.btn-hex .gem-left,
.btn-hex .gem-right {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #72ffea 0%, #1cb89e 55%, #0c6959 100%);
  border: 1.5px solid #fff0c2;
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
  box-shadow: 0 0 8px rgba(36, 205, 178, 0.8);
}

.btn-hex .gem-left { left: 12px; }
.btn-hex .gem-right { right: 12px; }

.btn-hex span {
  position: relative;
  z-index: 2;
}

.btn-hex-red {
  background: linear-gradient(180deg, #ffe7b3 0%, #d19b43 50%, #f5d68e 100%);
  color: #fff3d6;
  text-shadow: 0 2px 4px rgba(75, 10, 4, 0.85);
  box-shadow: 0 10px 26px rgba(173, 63, 50, 0.38);
}

.btn-hex-red::before {
  background: linear-gradient(180deg, #df442d 0%, #b82c1b 55%, #8f1d10 100%);
}

.btn-hex-gold {
  background: linear-gradient(180deg, #fff5d9 0%, #c98e32 50%, #ffe6ad 100%);
  color: #6b180d;
  text-shadow: 0 1px 0 rgba(255, 250, 235, 0.8);
  box-shadow: 0 10px 26px rgba(140, 92, 24, 0.32);
}

.btn-hex-gold::before {
  background: linear-gradient(180deg, #fff2cc 0%, #f1cf82 55%, #dfb056 100%);
}

.btn-hex:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.btn-hex:active {
  transform: translateY(1px);
}

.btn-hex-sm {
  min-width: 186px;
  height: 50px;
  padding: 0 28px;
  font-size: 17px;
  letter-spacing: 2px;
  clip-path: polygon(16px 0%, calc(100% - 16px) 0%, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0% 50%);
}

.btn-hex-sm::before {
  clip-path: polygon(14px 0%, calc(100% - 14px) 0%, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0% 50%);
}

/* 双层金框辅助按钮（如：我的奖品、活动规则） */
.btn-plaque-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  border: 1.5px solid var(--gold-warm);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.92), rgba(246, 229, 197, 0.92));
  color: var(--ink-main);
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(173, 63, 50, 0.16), 0 4px 12px rgba(89, 22, 14, 0.1);
  transition: all 0.2s;
}

.section-crimson .btn-plaque-outline {
  background: rgba(45, 11, 7, 0.65);
  border-color: var(--gold-champagne);
  color: var(--gold-pale);
  box-shadow: inset 0 0 0 2px rgba(235, 206, 134, 0.2);
}

.btn-plaque-outline:hover {
  transform: translateY(-1px);
  border-color: var(--crimson-bright);
  box-shadow: 0 6px 16px rgba(173, 63, 50, 0.25);
}

/* ==========================================================================
   6. 四角镶翡翠玉传统卷轴牌匾容器 (Jade-Corner Plaque Frame)
   ========================================================================== */
.jade-plaque {
  position: relative;
  background: var(--bg-parchment-card);
  border: 2px solid var(--gold-warm);
  box-shadow: inset 0 0 0 4px rgba(235, 206, 134, 0.28), var(--shadow-gold);
}

.jade-plaque::before,
.jade-plaque::after,
.jade-plaque .corner-bl,
.jade-plaque .corner-br {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 3;
}

.jade-plaque::before {
  top: 4px;
  left: 4px;
  border-top: 4px solid var(--jade-main);
  border-left: 4px solid var(--jade-main);
}

.jade-plaque::after {
  top: 4px;
  right: 4px;
  border-top: 4px solid var(--jade-main);
  border-right: 4px solid var(--jade-main);
}

.jade-plaque .corner-bl {
  bottom: 4px;
  left: 4px;
  border-bottom: 4px solid var(--jade-main);
  border-left: 4px solid var(--jade-main);
}

.jade-plaque .corner-br {
  bottom: 4px;
  right: 4px;
  border-bottom: 4px solid var(--jade-main);
  border-right: 4px solid var(--jade-main);
}

/* 朱红竖向“已达成/火爆”印章 */
.red-seal-stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 5px;
  writing-mode: vertical-rl;
  letter-spacing: 3px;
  font-family: var(--font-serif-cn);
  font-size: 13px;
  font-weight: 900;
  color: #c92b1d;
  border: 2px solid #c92b1d;
  background: rgba(255, 245, 238, 0.92);
  box-shadow: inset 0 0 0 1px rgba(201, 43, 29, 0.35);
  transform: rotate(6deg);
  z-index: 4;
}

/* ==========================================================================
   7. 全局悬浮挂件与右侧六边形社区导航 (Fixed Floating Widgets)
   ========================================================================== */
/* 左下角皇朝足金神装福利挂件（复刻参考站左下角劳力士/999黄金挂件） */
.floating-treasure-widget {
  position: fixed;
  left: 18px;
  bottom: 28px;
  width: 206px;
  z-index: 820;
  background: radial-gradient(circle at 50% 35%, #5b1810 0%, #2a0b07 85%);
  border: 2px solid var(--gold-champagne);
  border-radius: 14px;
  padding: 16px 14px 14px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.65), 0 0 22px rgba(235, 206, 134, 0.28);
  overflow: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.floating-treasure-widget.minimized {
  transform: translateX(-182px);
}

.floating-treasure-widget::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 236, 175, 0.32), transparent);
  transform: rotate(25deg);
  animation: widgetSweep 3.4s infinite;
  pointer-events: none;
}

@keyframes widgetSweep {
  0% { left: -70%; }
  55%, 100% { left: 150%; }
}

.widget-close-toggle {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(235, 206, 134, 0.2);
  color: var(--gold-pale);
  font-size: 12px;
  line-height: 22px;
}

.widget-emblem-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4c2 0%, #e6aa3e 50%, #8a4908 100%);
  border: 2px solid #fff2c6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 196, 77, 0.65);
  font-family: var(--font-serif-cn);
  font-size: 24px;
  font-weight: 900;
  color: #5c1208;
}

.floating-treasure-widget h4 {
  color: #ffe9b8;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 3px;
}

.floating-treasure-widget p {
  color: #e6b98a;
  font-size: 12px;
  margin-bottom: 10px;
}

.widget-jade-btn {
  display: inline-block;
  width: 100%;
  padding: 7px 0;
  background: linear-gradient(180deg, #32e2c6 0%, #159983 100%);
  border: 1px solid #c8fff5;
  border-radius: 18px;
  color: #07362e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(36, 205, 178, 0.45);
}

.widget-jade-btn:hover {
  filter: brightness(1.08);
}

/* 右侧六边形悬浮楼层锚点 + 社区面板（复刻参考站 #fixed-nav） */
.fixed-right-dock {
  position: fixed;
  right: 10px;
  bottom: 28px;
  z-index: 840;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  transition: transform 0.35s ease;
}

.fixed-right-dock.collapsed {
  transform: translateX(174px);
}

.dock-fold-ear {
  position: absolute;
  left: -26px;
  bottom: 100px;
  width: 26px;
  padding: 10px 4px;
  background: linear-gradient(180deg, #ad3f32, #6b180f);
  border: 1px solid var(--gold-champagne);
  border-right: none;
  border-radius: 6px 0 0 6px;
  color: var(--gold-pale);
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.4);
}

.dock-anchor-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 168px;
}

.dock-anchor-item {
  position: relative;
  height: 40px;
  padding: 0 16px;
  background: linear-gradient(90deg, rgba(46, 15, 10, 0.94), rgba(84, 24, 16, 0.96));
  border: 1px solid var(--gold-warm);
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f6dec0;
  transition: all 0.22s;
}

.dock-anchor-item .cn {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.dock-anchor-item .en {
  font-size: 9px;
  color: #c89f74;
  letter-spacing: 0.4px;
}

.dock-anchor-item:hover,
.dock-anchor-item.active {
  background: linear-gradient(90deg, #c93d2b, #8f1e11);
  color: #fff5db;
  transform: translateX(-4px);
}

.dock-anchor-item.active .en,
.dock-anchor-item:hover .en {
  color: var(--jade-light);
}

.dock-community-card {
  width: 168px;
  background: linear-gradient(180deg, #fef5e5 0%, #f3e0be 100%);
  border: 2px solid var(--gold-warm);
  padding: 10px;
  text-align: center;
  color: var(--ink-main);
  box-shadow: var(--shadow-deep);
}

.dock-community-card h5 {
  font-family: var(--font-serif-cn);
  font-size: 13px;
  color: #8b1e12;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.dock-qr-box {
  width: 98px;
  height: 98px;
  margin: 0 auto 6px;
  padding: 5px;
  background: #fff;
  border: 1.5px solid var(--gold-rich);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-qr-box svg {
  width: 100%;
  height: 100%;
}

.dock-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dock-qr-caption {
  font-size: 11px;
  line-height: 1.5;
  color: #7c4236;
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 8px;
}

.dock-social-grid button {
  padding: 5px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-main);
  background: rgba(173, 63, 50, 0.1);
  border: 1px solid rgba(173, 63, 50, 0.25);
  border-radius: 2px;
  transition: all 0.2s;
}

.dock-social-grid button:hover {
  background: var(--crimson-primary);
  color: #fff4dc;
}

.dock-social-grid button.active {
  background: var(--crimson-primary);
  color: #ffe7b8;
  border-color: var(--gold-champagne);
  box-shadow: inset 0 0 0 1px rgba(235, 206, 134, 0.55);
}

.dock-top-btn {
  width: 104px;
  height: 34px;
  background: linear-gradient(180deg, #3c1710, #1e0905);
  border: 1px solid var(--gold-champagne);
  color: var(--gold-champagne);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0% 50%);
}

.dock-top-btn:hover {
  background: var(--crimson-primary);
  color: #fff;
}

/* ==========================================================================
   8. 宣纸赤金融合版权页脚 (Harmonized Parchment Official Footer)
   ========================================================================== */
.imperial-footer {
  background: linear-gradient(180deg, #f5e6cf 0%, #f1e0c6 100%);
  border-top: 2px solid #c9923d;
  box-shadow: inset 0 2px 0 rgba(173, 63, 50, 0.22);
  color: #6b3d30;
  padding: 28px 0 34px;
  font-size: 12px;
  line-height: 1.9;
}

.footer-inner {
  width: 1180px;
  max-width: 94%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.footer-logo-video-box {
  width: 236px;
  height: 118px;
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  flex-shrink: 0;
}

.footer-logo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 90% 84% at 50% 50%, #000 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 84% at 50% 50%, #000 66%, transparent 100%);
}

.studio-badge {
  padding: 10px 18px;
  border: 1px solid rgba(173, 63, 50, 0.35);
  background: rgba(255, 250, 240, 0.6);
  text-align: center;
}

.studio-badge .st-main {
  font-family: var(--font-serif-cn);
  font-size: 18px;
  font-weight: 900;
  color: #8b1e12;
  letter-spacing: 2px;
}

.studio-badge .st-sub {
  font-size: 10px;
  color: #8c5c4d;
  letter-spacing: 1px;
}

.footer-copy {
  flex: 1;
}

.footer-copy .health-notice {
  color: #8b5b4c;
  margin-bottom: 5px;
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.age-badge {
  width: 52px;
  height: 62px;
  border: 1.5px solid #ad3f32;
  background: linear-gradient(180deg, #fffaf0, #f3dec0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8b1e12;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(89, 22, 14, 0.12);
}

.age-badge strong {
  font-size: 18px;
  line-height: 1.1;
}

.age-badge span {
  font-size: 10px;
  color: #8c4d3b;
}

/* ==========================================================================
   9. 国风弹窗系统 (Ornate Popups + 底部旋转鎏金关闭圆钮)
   ========================================================================== */
.imperial-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 4, 2, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.imperial-modal-backdrop.open {
  display: flex;
  animation: modalFadeIn 0.28s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.imperial-modal {
  position: relative;
  width: 680px;
  max-width: 94vw;
  padding: 6px;
  background: linear-gradient(180deg, #ad3f32 0%, #ebce86 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78);
  animation: modalScaleUp 0.28s cubic-bezier(0.2, 0.85, 0.3, 1);
}

.imperial-modal.modal-wide {
  width: 820px;
}

@keyframes modalScaleUp {
  from { transform: translateY(16px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.imperial-modal-inner {
  background: var(--bg-parchment);
  border: 3px solid var(--gold-warm);
  padding: 32px 38px 36px;
  max-height: 80vh;
  overflow-y: auto;
  color: var(--ink-main);
  position: relative;
}

.modal-header-title {
  text-align: center;
  font-family: var(--font-serif-cn);
  font-size: 28px;
  font-weight: 900;
  color: #8b1e12;
  letter-spacing: 3px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(173, 63, 50, 0.25);
}

/* 复刻参考站底部悬挂圆形金色旋转关闭按钮 (bottom: -58px, hover rotate 180deg) */
.modal-hang-close {
  position: absolute;
  left: 50%;
  bottom: -58px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4cf 0%, #dfb056 60%, #8f5c18 100%);
  border: 2px solid #fff5da;
  color: #5c1309;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
  transition: transform 0.38s ease;
}

.modal-hang-close:hover {
  transform: translateX(-50%) rotate(180deg) scale(1.08);
}

/* 预约与登录表单元素 */
.form-row {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-main);
  margin-bottom: 8px;
}

.pill-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pill-radio {
  padding: 10px 12px;
  border: 1.5px solid #dcc095;
  background: #fffaf0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-sub);
  cursor: pointer;
  transition: all 0.2s;
}

.pill-radio.selected {
  border-color: var(--crimson-primary);
  background: linear-gradient(180deg, #c93b29, #8f1e11);
  color: #fff3da;
  box-shadow: 0 4px 12px rgba(173, 63, 50, 0.3);
}

.imperial-input-group {
  display: flex;
  gap: 10px;
}

.imperial-input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  border: 1.5px solid #d7b98c;
  background: #fffdf8;
  font-size: 15px;
  color: var(--ink-dark);
  outline: none;
}

.imperial-input:focus {
  border-color: var(--crimson-primary);
}

.btn-sms {
  padding: 0 20px;
  height: 46px;
  background: linear-gradient(180deg, #ebce86, #cfa049);
  border: 1px solid #9e6b24;
  color: #57120a;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.btn-sms:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 全局轻提示 Toast */
.imperial-toast {
  position: fixed;
  top: 92px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: linear-gradient(90deg, #5c1309, #9c2719, #5c1309);
  border: 1.5px solid var(--gold-champagne);
  color: #fff3d6;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.imperial-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 首屏左上角《皇朝传世》立体鎏金御匾徽标（100%不透明乌金漆底，彻底遮盖旧底字且自然融入宫殿屋檐） */
.hero-logo-plaque {
  position: absolute;
  left: 1.5%;
  top: 0.7%;
  width: 16.2%;
  height: 15.0%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  background: linear-gradient(135deg, #52290f 0%, #381807 52%, #4e240c 100%);
  border: 2px solid #e8be6b;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(15, 4, 1, 0.72), inset 0 0 18px rgba(255, 206, 112, 0.25);
}

.hero-logo-plaque::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 232, 175, 0.28);
  border-radius: 4px;
  pointer-events: none;
}

.hero-logo-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.hero-logo-cn {
  font-family: var(--font-calligraphy);
  font-size: clamp(20px, 2.35vw, 38px);
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #fffbe8 0%, #ffd87d 45%, #d68824 85%, #fff0b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 3px rgba(25, 5, 0, 0.92));
}

.hero-logo-en {
  margin-top: 3px;
  font-size: clamp(8px, 0.62vw, 11px);
  letter-spacing: 1.5px;
  color: #f0cfa0;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-logo-seal {
  writing-mode: vertical-rl;
  padding: 4px 3px;
  background: linear-gradient(180deg, #d6321e 0%, #8f170a 100%);
  border: 1px solid #ffd98e;
  border-radius: 2px;
  color: #fff6e0;
  font-family: var(--font-serif-cn);
  font-size: clamp(9px, 0.72vw, 12px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* 补充共用斜切分类Tab按钮与窄视口自适应防折行优化 */
.brand-emblem,
.brand-name,
.brand-sub,
.brand-seal,
.edition-switch-group,
.edition-switch-group a,
.rule-trigger,
.user-status-pill {
  white-space: nowrap;
  flex-shrink: 0;
}

.news-tab-btn {
  min-width: 132px;
  height: 42px;
  padding: 0 22px;
  background: rgba(255, 250, 240, 0.9);
  border: 1.5px solid #d8b57c;
  color: var(--ink-main);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0% 50%);
  transition: all 0.2s;
}

.news-tab-btn.active,
.news-tab-btn:hover {
  background: linear-gradient(180deg, #c73b29, #891d11);
  border-color: var(--gold-champagne);
  color: #fff3da;
}

@media (max-width: 1280px) {
  body {
    min-width: 940px;
  }
  .topbar-inner {
    width: 98%;
    gap: 6px;
  }
  .brand-sub,
  .brand-seal {
    display: none;
  }
  .brand-name {
    font-size: 20px;
    letter-spacing: 1.5px;
  }
  .topbar-nav a {
    padding: 6px 8px;
    font-size: 13px;
  }
  .edition-switch-group a {
    padding: 5px 7px;
    font-size: 11px;
  }
  .rule-trigger {
    padding: 0 10px;
    font-size: 12px;
  }
  .user-status-pill {
    padding: 5px 9px;
    font-size: 12px;
  }
}

/* 彻底隐藏左下角悬浮礼包挂件 */
.floating-treasure-widget {
  display: none !important;
}
