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

:root {
  --primary-gold: #FFD166;
  --primary-gold-light: #FFE5A0;
  --primary-gold-dark: #F4B942;
  --deep-blue: #0E1138;
  --navy-blue: #1A1F5C;
  --glass-bg: rgba(20, 25, 80, 0.55);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --card-purple: #7B6CDB;
  --card-pink: #E879A8;
  --card-blue: #5B9FE8;
  --card-orange: #F5B65A;
  --card-pink2: #F08BA8;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  overflow: hidden;
  color: var(--text-primary);
  background: #0a0c2e;
}

.app {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
}

/* ===== 背景层 ===== */
.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 40%, transparent 0%, rgba(10, 12, 46, 0.3) 70%, rgba(10, 12, 46, 0.5) 100%);
  pointer-events: none;
}

/* ===== 左侧边栏 ===== */
.sidebar {
  position: relative;
  z-index: 10;
  width: 110px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 24px;
  background: linear-gradient(180deg, rgba(28, 35, 100, 0.72) 0%, rgba(18, 22, 70, 0.72) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid var(--glass-border);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}

.brand-mini {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  margin-bottom: 18px;
  box-shadow: none;
}

.brand-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.55));
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 84px;
  border-radius: 20px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(123, 108, 219, 0.45), rgba(91, 80, 180, 0.2));
  color: var(--primary-gold-light);
  box-shadow:
    0 0 24px rgba(255, 209, 102, 0.25),
    0 4px 20px rgba(123, 108, 219, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 32px;
  background: linear-gradient(180deg, var(--primary-gold-light), var(--primary-gold-dark));
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 16px rgba(255, 209, 102, 0.8);
}

.nav-icon {
  margin-bottom: 4px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-item:hover .nav-icon img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.65));
}

.nav-item.active .nav-icon img {
  filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.85));
}

.nav-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
}

/* ===== 主区域 ===== */
.main {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* ===== 顶部导航 ===== */
.top-header {
  position: relative;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px 0 28px;
  background: linear-gradient(180deg, rgba(10, 14, 50, 0.55) 0%, transparent 100%);
}

.brand {
  display: flex;
  flex-direction: column;
  position: relative;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 18px;
  background: rgba(20, 26, 80, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: rgba(40, 48, 120, 0.7);
}

.brand-name {
  display: flex;
  align-items: center;
  margin: 0;
  line-height: 1.1;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  display: block;
  width: auto;
  height: 44px;
  max-height: 44px;
  aspect-ratio: 200 / 96;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.03);
}

.top-nav {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  flex-wrap: nowrap;
  white-space: nowrap;
  padding: 6px 8px;
  border-radius: 28px;
  background: rgba(20, 26, 80, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.top-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}

.top-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.top-nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.top-nav-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top-nav-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.35));
}

.top-nav-item:hover .top-nav-icon img {
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.7));
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 28px;
  background: rgba(20, 26, 80, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-profile:hover {
  background: rgba(40, 48, 120, 0.7);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.user-arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--primary-gold-light);
  border-bottom: 1.5px solid var(--primary-gold-light);
  transform: rotate(45deg);
  margin-top: -6px;
  margin-left: 2px;
  opacity: 0.85;
  font-size: 0;
  color: transparent;
}

/* ===== 页面内容 ===== */
.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 32px 24px 28px;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ===== Hero 区域 ===== */
.hero-section {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 42px;
  min-height: 0;
}

.hero-text {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 8px;
}

.welcome-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  position: relative;
}

.welcome-text {
  font-size: 38px;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(180deg, #FFF5C8 0%, #FFD166 50%, #F4B942 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 2px 16px rgba(244, 197, 66, 0.4);
  letter-spacing: 4px;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.sparkle-left, .sparkle-right {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sparkle-left img, .sparkle-right img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.9));
}

.star-icon {
  font-size: 14px;
  color: var(--primary-gold);
}

.hero-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
  line-height: 1.05;
  white-space: nowrap;
}

.title-cn {
  font-size: 56px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 2px;
  text-shadow:
    0 0 20px rgba(123, 108, 219, 0.6),
    0 0 40px rgba(123, 108, 219, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.35);
}

.title-en {
  font-size: 42px;
  font-weight: 700;
  color: #D4C4FF;
  font-style: italic;
  font-family: 'Segoe UI', 'PingFang SC', sans-serif;
  text-shadow:
    0 0 20px rgba(180, 160, 255, 0.5),
    0 2px 12px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.5px;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.star-left, .star-right {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.star-left img, .star-right img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.75));
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  border-radius: 30px;
  border: none;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  padding: 0 24px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
  border-radius: 30px 30px 50% 50%;
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(180deg, #FFECB3 0%, #FFD166 35%, #F4C542 65%, #E8A838 100%);
  color: #5C3D05;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  box-shadow:
    0 6px 0 #C97D20,
    0 10px 24px rgba(244, 197, 66, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 9px 0 #C97D20,
    0 16px 32px rgba(244, 197, 66, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow:
    0 3px 0 #C97D20,
    0 6px 12px rgba(244, 197, 66, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(110, 140, 245, 0.82) 0%, rgba(75, 105, 220, 0.88) 50%, rgba(55, 85, 195, 0.92) 100%);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 5px 0 rgba(35, 60, 150, 0.9),
    0 8px 22px rgba(60, 90, 200, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 0 rgba(35, 60, 150, 0.9),
    0 14px 28px rgba(60, 90, 200, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 rgba(35, 60, 150, 0.9),
    0 5px 12px rgba(60, 90, 200, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-icon {
  font-size: 20px;
  position: relative;
  z-index: 1;
}

.btn-text {
  position: relative;
  z-index: 1;
}

/* ===== 右侧悬浮通知 ===== */
.floating-banner {
  position: absolute;
  top: 42px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 28px;
  background: rgba(20, 26, 80, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  color: inherit;
  text-decoration: none;
}

.floating-banner:hover {
  background: rgba(35, 42, 110, 0.7);
  transform: translateX(-4px);
}

.banner-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.banner-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.45));
}

.banner-text {
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
}

.banner-arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(255, 232, 176, 0.7);
  border-bottom: 1.5px solid rgba(255, 232, 176, 0.7);
  transform: rotate(-45deg);
  margin-left: 6px;
  flex-shrink: 0;
  font-size: 0;
}

/* ===== 功能卡片区域 ===== */
.feature-section {
  margin-top: auto;
  padding-bottom: 16px;
}

.feature-cards {
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.feature-card {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 230px;
  aspect-ratio: 210 / 270;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: inherit;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(180deg, transparent 0%, rgba(90, 70, 160, 0.65) 40%, rgba(60, 45, 120, 0.85) 100%);
  pointer-events: none;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.card-text {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.card-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.feature-card:hover .card-arrow {
  transform: scale(1.12);
}

.card-arrow::after {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2.5px solid #FFFFFF;
  border-right: 2.5px solid #FFFFFF;
  transform: rotate(45deg) translate(-1px, 1px);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* ===== 底部栏 ===== */
.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 56px;
}

.announcement {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  height: 46px;
  border-radius: 24px;
  background: rgba(20, 26, 80, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.announcement:hover {
  background: rgba(35, 42, 110, 0.7);
}

.announce-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.announce-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.4));
}

.announce-text {
  flex: 1;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announce-arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(255, 232, 176, 0.7);
  border-bottom: 1.5px solid rgba(255, 232, 176, 0.7);
  transform: rotate(-45deg);
  flex-shrink: 0;
  font-size: 0;
}

.growth-points {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 46px;
  border-radius: 24px;
  background: rgba(20, 26, 80, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.growth-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.growth-icon {
  width: 20px;
  height: 20px;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
}

.growth-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.55));
}

.growth-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-gold-light);
  text-shadow: 0 0 10px rgba(255, 209, 102, 0.4);
}

.growth-medal {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
}

.growth-medal img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.45));
}

/* ===== 滚动条美化 ===== */
.page-content::-webkit-scrollbar {
  width: 6px;
}

.page-content::-webkit-scrollbar-track {
  background: transparent;
}

.page-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

/* ===== 响应式适配 ===== */
@media (max-width: 1200px) {
  .feature-cards {
    gap: 12px;
  }
  
  .feature-card {
    max-width: 180px;
  }
  
  .title-cn {
    font-size: 42px;
  }
  
  .title-en {
    font-size: 32px;
  }
}

@media (max-width: 992px) {
  .sidebar {
    width: 90px;
  }
  
  .nav-item {
    width: 76px;
    height: 74px;
  }
  
  .top-header {
    padding: 0 20px 0 16px;
  }
  
  .top-nav {
    position: static;
    transform: none;
    margin-left: auto;
    margin-right: 16px;
  }
  
  .top-nav-item {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .top-nav-item .top-nav-label {
    display: none;
  }
  
  .feature-cards {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .feature-card {
    flex: 0 0 calc(33.333% - 12px);
    max-width: none;
  }
}

@media (max-width: 768px) {
  .top-nav {
    display: none;
  }
  
  .hero-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 20px;
  }
  
  .hero-text {
    align-items: center;
  }
  
  .floating-banner {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 20px;
  }
  
  .feature-card {
    flex: 0 0 calc(50% - 10px);
  }
}

/* ===== 背景图页面（无切片素材） ===== */
.bg-page {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-page-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bg-page-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.bg-page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 12, 46, 0.25) 0%, transparent 30%, transparent 70%, rgba(10, 12, 46, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.bg-page-content {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  padding: 16px 28px;
  border-radius: 20px;
  background: rgba(20, 26, 80, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  opacity: 0.85;
  transition: opacity 0.4s ease, transform 0.4s ease;
  max-width: 90%;
}

.bg-page:hover .bg-page-content {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.bg-page-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-gold-light);
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.bg-page-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.6;
  max-width: 360px;
}

.bg-page-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bg-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.bg-page-btn-primary {
  background: linear-gradient(180deg, #FFECB3 0%, #FFD166 50%, #F4B942 100%);
  color: #5C3D05;
  box-shadow: 0 4px 14px rgba(244, 197, 66, 0.4);
}

.bg-page-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 197, 66, 0.5);
}

.bg-page-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-page-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.bg-page-floating-bar {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 24px;
  background: rgba(20, 26, 80, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.bg-page-floating-bar:hover {
  background: rgba(35, 42, 110, 0.8);
}

.bg-page-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.bg-page-back-icon {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.bg-page-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.bg-page-link {
  color: var(--primary-gold-light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.bg-page-link:hover {
  text-decoration: underline;
}

.bg-page-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 16px;
  background: rgba(10, 12, 46, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bg-page:hover .bg-page-hint {
  opacity: 1;
}

.bg-page-hint kbd {
  font-family: inherit;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

/* ===== 建设中页面 ===== */
.not-found-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}

.not-found-icon {
  font-size: 64px;
}

.not-found-page h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-gold-light);
}

.not-found-page p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ===== 站点地图 ===== */
.sitemap-page {
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
}

.sitemap-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-gold-light);
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.sitemap-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.sitemap-group {
  margin-bottom: 22px;
}

.sitemap-group-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--primary-gold);
}

.sitemap-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sitemap-link {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(20, 26, 80, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.25s ease;
  min-width: 160px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sitemap-link:hover {
  background: rgba(40, 48, 120, 0.7);
  transform: translateY(-2px);
  border-color: rgba(255, 209, 102, 0.35);
}

.sitemap-link-title {
  font-size: 13px;
  font-weight: 600;
}

.sitemap-link-route {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* ===== 全屏背景页（用于模块首页） ===== */
.full-bg-page {
  position: relative;
  width: 100%;
  min-height: 100%;
  border-radius: 24px;
  overflow: visible;
}

.full-bg-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.full-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.full-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 12, 46, 0.25) 0%, transparent 20%, transparent 80%, rgba(10, 12, 46, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.full-bg-floating-bar {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 24px;
  background: rgba(20, 26, 80, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.full-bg-back,
.full-bg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.full-bg-back:hover,
.full-bg-link:hover {
  color: var(--primary-gold-light);
}

.full-bg-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
}

/* ===== 平台全局注入元素（platform.js：顶栏登录态 / Toast / 加载态） =====
   这些 DOM 由全站共享的 platform.js 动态注入，样式必须随 style.css 全局可用，
   不依赖 platform.css（旧页面只加载自身 pageCss，否则下拉菜单会裸奔挤爆导航栏） */
.user-profile { position: relative; }
.user-profile .vip-badge {
  font-size: 11px; padding: 1px 8px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  color: #3a2b00; font-weight: 700; margin-left: 4px;
}
.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px;
  background: rgba(20, 25, 80, 0.94); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  display: none; z-index: 1000; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.user-dropdown.open { display: block; }
.user-dropdown a, .user-dropdown .dd-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 12px; color: #fff; text-decoration: none; font-size: 14px;
  cursor: pointer; transition: background 0.15s;
}
.user-dropdown a:hover, .user-dropdown .dd-item:hover { background: rgba(255, 255, 255, 0.1); }
.pf-toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-20px);
  padding: 12px 24px; border-radius: 999px; font-size: 14px; z-index: 9999;
  background: rgba(20, 25, 80, 0.94); border: 1px solid var(--glass-border); color: #fff;
  opacity: 0; pointer-events: none; transition: all 0.3s ease;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.pf-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.pf-toast.success { border-color: #52c41a; }
.pf-toast.error { border-color: #ff4d4f; }
.pf-loading {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: var(--primary-gold);
  border-radius: 50%; animation: pf-spin 0.8s linear infinite; vertical-align: middle;
}
@keyframes pf-spin { to { transform: rotate(360deg); } }

.wv-spark {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}
.wv-spark img,
img.wv-spark {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.85));
}
.wv-ico {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.4));
}

.mfn-panel-icon-text img,
.cbc-panel-icon-text img,
.gt-panel-icon-text img,
.dm-panel-icon-text img,
.cal-panel-icon-text img,
.mfn-info-icon img,
.dm-info-icon img,
.mfn-btn-icon img,
.cbc-btn-icon img,
.gt-btn-icon img,
.dm-btn-icon img,
.cbc-mat-icon img,
.cbc-action-icon img,
.gt-action-icon img,
.rfd-action-icon img,
.sc5-action-icon img,
.sc5-rank-medal img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.cbc-reward-icon img,
.gt-badge-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}
.sc5-action-icon,
.rfd-action-icon,
.cbc-action-icon,
.gt-action-icon {
  background: none !important;
  box-shadow: none !important;
}
.sc5-action-icon img,
.rfd-action-icon img,
.cbc-action-icon img,
.gt-action-icon img {
  width: 32px;
  height: 32px;
}
