body {
  margin: 0;
  padding: 0;
  background: linear-gradient(
    to bottom,
    #fdfdfd 0%,
    #f7f7ff 40%,
    #e6e9ff 100%
  );
  font-family: "Cinzel", serif;
  color: #333;
}

/* 主框架 */
.heaven-frame {
  padding: 60px;
  position: relative; /* ⭐ 必须加 */
  z-index: 1;         /* ⭐ 内容层降低 */
}

/* 哥特式天堂标题 */
.heaven-title {
  text-align: center;
  font-size: 32px;
  letter-spacing: 0.18em;
  color: #d4b98a;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.9),
    0 0 24px rgba(220, 200, 150, 0.8);
}

.heaven-sub {
  margin-top: 6px;
  font-size: 14px;
  color: #bfae90;
  opacity: 0.8;
}

.cross {
  color: #e8d7b0;
  text-shadow:
    0 0 10px rgba(255,255,255,0.9),
    0 0 20px rgba(240,220,180,0.7);
}

/* 分区模块 */
.section {
  margin-top: 60px;
}

/* 分区标题：哥特式金色 */
.section-title {
  font-size: 20px;
  letter-spacing: 0.15em;
  color: #c9b07a;
  margin-bottom: 30px;
  text-shadow:
    0 0 10px rgba(255,255,255,0.8),
    0 0 20px rgba(200,180,140,0.6);
}

/* 导航网格 */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 26px;
}

/* 导航按钮：圣光玻璃风 */
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px;
  border-radius: 14px;

  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.7);

  box-shadow:
    0 0 18px rgba(255,255,255,0.6),
    inset 0 0 22px rgba(255,255,255,0.25);

  text-decoration: none;
  color: #6a5f4a;
  transition: all 0.25s ease;
}

/* 图标 */
.nav-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

/* 标签 */
.nav-label {
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* 悬停效果：圣光增强 */
.nav-item:hover {
  background: rgba(255,255,255,0.65);
  box-shadow:
    0 0 26px rgba(255,255,255,0.9),
    inset 0 0 28px rgba(255,255,255,0.35);
  transform: translateY(-4px);
}

#holy-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle, rgba(255,255,255,0.4) 2px, transparent 3px) 0 0 / 120px 120px,
    radial-gradient(circle, rgba(255,255,255,0.3) 2px, transparent 3px) 60px 80px / 140px 140px,
    radial-gradient(circle, rgba(255,255,255,0.25) 2px, transparent 3px) 100px 20px / 160px 160px;
  animation: holyFloat 18s linear infinite;
}

@keyframes holyFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-120px); }
}

.angel-glow {
  position: relative;
}

.angel-glow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -20px;
  width: 120px;
  height: 40px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.9), transparent);
  filter: blur(18px);
  opacity: 0.7;
}

.heaven-search {
  margin: 40px auto;
  width: 60%;
  position: relative;
}

.heaven-search input {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-family: "Cinzel", serif;
  background: rgba(255,255,255,0.6);
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 18px rgba(255,255,255,0.7),
    inset 0 0 12px rgba(255,255,255,0.4);
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,1),
    transparent
  );
  animation: scanMove 3s linear infinite;
}

@keyframes scanMove {
  from { top: 0; }
  to { top: 100%; }
}

.glass-reflect {
  position: relative;
  overflow: hidden;
}

.glass-reflect::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.6) 50%,
    transparent 100%
  );
  transform: rotate(12deg);
  animation: glassSweep 4s ease-in-out infinite;
}

@keyframes glassSweep {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: -100%; }
}

/* 左上角塔尖之间的返回按钮 */
#holy-return {
  position: fixed;
  top: 28px;       /* ⭐ 精准放在尖塔之间 */
  left: 5px;      /* ⭐ 靠左对齐，微调位置 */
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f7c7d9; /* 淡粉色 */
  box-shadow: 0 0 6px rgba(255, 200, 220, 0.6);
  cursor: pointer;
  z-index: 999999; /* 永远悬浮在尖塔之上 */
  pointer-events: auto;
  transition: all 0.25s ease;
}

/* 点击时发光 + 出现黑色叉号 */
#holy-return:active {
  background: #ffdeec;
  box-shadow: 0 0 14px rgba(255, 220, 240, 0.9);
}

/* 叉号（默认隐藏） */
#holy-return::after {
  content: "✕";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: black;
  opacity: 0; /* 默认隐藏 */
  transition: opacity 0.25s ease;
}

/* 点击时叉号出现 */
#holy-return:active::after {
  opacity: 1;
}

.corner-spike {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 999999;
  pointer-events: none;
  background: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'>\
    <polygon points='20,0 40,40 0,40' fill='%23d4b98a'/>\
  </svg>") no-repeat center/contain;
}

/* 左上角（塔尖向下） */
#corner-tl {
  top: 0;
  left: 0;
  transform: rotate(180deg);
}

/* 右上角（塔尖向下） */
#corner-tr {
  top: 0;
  right: 0;
  transform: rotate(180deg);
}

/* 左下角（塔尖向上） */
#corner-bl {
  bottom: 0;
  left: 0;
}

/* 右下角（塔尖向上） */
#corner-br {
  bottom: 0;
  right: 0;
}
