/* 使用CSS变量定义主题颜色和常用值 */
:root {
  --bg-color: #22313f;
  --text-color: white;
  --secondary-text: #bdc3c7;
  --accent-color: #d64541;
  --button-gradient-1: #6e8efb;
  --button-gradient-2: #a777e3;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --shadow-color-dark: rgba(0, 0, 0, 0.3);
  --main-font: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.5s;
}

/* 重置样式 */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* 基础样式 */
body {
  background: var(--bg-color);
  font-family: var(--main-font);
  color: var(--text-color);
  overflow-x: hidden;
}

/* 文本阴影混合 */
.text-shadow {
  text-shadow: 0 0 50px black;
}

/* 居中布局混合 */
.center-fixed {
  position: fixed;
  left: 0;
  right: 0;
  text-align: center;
}

/* 星空背景 */
#starsBox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; 
  background: rgba(0, 0, 0, 0.75); 
  opacity: 0.5;
  z-index: 1;
}

#starsBox span {
  display: inline-block; 
  width: auto;
  position: absolute;
  border-radius: 100%; 
  transition: 100s linear;
}

/* 主标题样式 */
p {
  position: fixed;
  left: 0;
  right: 0;
  text-align: center;
  text-shadow: 0 0 50px black;
  top: 45vh;
  transform: translateY(-50%);
  font-size: 40px;
  font-weight: 900;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 5px;
  z-index: 2;
}

p > span {
  display: block;
  font-size: 12px;
  color: var(--secondary-text);
  margin-top: 30px;
  font-weight: 100;
  letter-spacing: 3px;
}

/* 通用链接样式 */
.styled-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-color);
  padding-bottom: 2px;
  border-bottom: 0px solid var(--accent-color);
  transition: var(--transition-slow);
}

.styled-link:hover {
  padding-bottom: 5px;
  border-bottom: 2px solid var(--accent-color);
}

/* 按钮容器样式 */
.btn-container {
  position: relative;
  text-align: center;
  margin-top: 55vh;
  z-index: 10;
}

/* 按钮样式 */
.blog-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--button-gradient-1), var(--button-gradient-2));
  color: var(--text-color);
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.8em;
  opacity: 0.85;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1) drop-shadow(0 0 1px rgba(255,255,255,0.2));
}

.blog-btn:hover,
.blog-btn:focus,
.blog-btn:active {
  filter: brightness(1.2) drop-shadow(0 0 12px var(--button-gradient-1));
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-btn::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: transparent;
  z-index: -1;
  transition: 0.4s;
}

/* 备案信息调整 */
.footer {
  position: fixed;
  left: 0;
  right: 0;
  text-align: center;
  bottom: 20px;
  z-index: 5;

  font-size: 12px;
  letter-spacing: 3px;
}