/* ========== 字体定义 ========== */
@font-face {
  font-family: myFont;
  src: url('../fonts/Montserrat-Regular.ttf');
}

/* ========== 全局字体统一样式 ========== */
html,
.uk-h1,
.uk-h2,
.uk-h3,
.uk-h4,
.uk-h5,
.uk-h6,
.uk-heading-2xlarge,
.uk-heading-large,
.uk-heading-medium,
.uk-heading-small,
.uk-heading-xlarge,
.uk-button,
.uk-navbar-nav>li>a,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
a,
span {
  font-family: myFont !important;
}

/* 品牌主题变量 */
:root {
  --primary: #250c43;
  --secondary: #1A2B4A;
  --accent: #2D3A66;
  --dark: #10002b;
  --light: #f8f9fa;
  --gradient: linear-gradient(135deg, #7209b7, #1A2B4A);
  --gradient-border: linear-gradient(135deg, #1A2B4A, #7209b7, #4361ee);
}

/* 全局平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 全局基础 */
body {
  background: var(--dark);
  color: var(--light);
  font-family: "Microsoft Yahei", myFont, sans-serif !important;
  line-height: 1.65;
  min-width: 1200px;
}

.px-bg-blue {
  background: var(--dark);
}

.px-overlay-primary {
  background: rgba(0, 0, 0, .8);
}

.logo_link:hover {
  text-decoration: none;
}

.fixed-slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  transition: all 0.3s ease;
}

.slideshow-placeholder {
  height: 40vw;
  /* 保持与轮播图相同的比例 */
  max-height: 800px;
}

.content-above {
  position: relative;
  z-index: 2;
  /* 内容在焦点图之上 */
  background: white;
  /* 确保内容有背景色，覆盖轮播图 */
  padding-top: 40vw;
  /* 确保内容从轮播图下方开始显示 */
}


/* 导航毛玻璃（更强质感） */
.px-navbar-glass {
  background: rgba(12, 0, 34, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}





/* 区块标题（高级下划线） */
.px-section-title {
  position: relative;
  letter-spacing: 1px;
}

.px-section-title::after {
  content: "";
  width: 120px;
  height: 2px;
  background: var(--accent);
  position: absolute;
  bottom: -15px;
  left: 0;
  box-shadow: 0 0 10px var(--accent);
}

/* 深色高级卡片 */
.px-card-dark {
  background: #1e0a3c;
  border-radius: 16px;
  overflow: hidden;
}

/* 区块背景质感 */
.px-section-dark {
  background: url(../img/px_group.png) center/cover no-repeat fixed;
  position: relative;
}

.px-section-dark::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(114, 9, 183, 0.1), transparent 50%);
  pointer-events: none;
}

/* 锚点偏移 */
section {
  scroll-margin-top: 80px;
}

.px-mlink {
  font-size: 12px;
}

.px-radius-50 {
  border-radius: 50px;
}

.uk-text-meta {
  line-height: 25px;
  font-size: 12px;
}

.px-background-primary {
  background: var(--primary);
}

.px-article {
  height: 280px;
  overflow-y: auto;
  padding-right: 8px;
}

.px-article {
  height: 280px;
  overflow-y: auto;
  padding-right: 8px;
}

.px-article::-webkit-scrollbar {
  width: 6px;
}

.px-article::-webkit-scrollbar-track {
  background: #1a1a2e;
  border-radius: 10px;
}

.px-article::-webkit-scrollbar-thumb {
  background: #3ae0ff;
  /* 游戏蓝 */
  border-radius: 10px;
}

.px-article::-webkit-scrollbar-thumb:hover {
  background: #165dff;
}

.px-margin-remove-title {
  margin: 0 20px 0 0;
}