/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 去掉a标签的默认颜色 */
a {
  color: inherit; /* 继承父元素的颜色 */
  text-decoration: none; /* 去掉下划线 */
}
a:hover { 
  color: #00eeff54;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #000;
  color: #fff;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

/* 粒子背景 */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  width: 2px;
  height: 2px;
  pointer-events: none;
  transition: width 0.3s, height 0.3s;
}

.particle:hover {
  width: 4px;
  height: 4px;
}

/* 头部 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
}

.logo {
  color: #00eeff54;
  font-size: 24px;
  border: 2px solid #00eeff54;
  padding: 5px 10px;
  border-radius: 5px;
}

.earth-icon {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-top: -20px; /* 调整地球图标的垂直位置 */
}

.tag {
  color: #fff;
  background-color: #007bff;
  padding: 5px 10px;
  border-radius: 5px;
}

/* 主体内容 */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 10;
}

h1 {
  font-size: 48px;
}

.highlight {
  color: #ffcc00;
  background-color: #333;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.highlight:hover {
  /** 鼠标悬停时旋转30度并且放大1.1倍 */
  transform: rotate(4deg) scale(1.01);
  background-color: #111;
  cursor: pointer;
  transition: transform 0.3s ease;

}
.earth-box{
  width: 417px;
  height: 200px; /* 添加固定高度 */
  position: relative;
  display: flex; /* 使用flex布局 */
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
}
.iconC{
  display: inline-block;
}


.tags {
  display: flex;
  gap: 20px;
  align-items: center;
}


.tag-button {
  border: 2px solid #00eeff54;
  background-color: #111;

  color: #00eeff54;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 18px;
  cursor: pointer;
}
.tag-button:hover {
  transform: scale(1.05);
  border:#007bff solid 2px;

  color: #007bff;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* 统计信息和社交媒体链接 */
.info-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 2rem;
}

.stats-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stats {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  border: 2px solid #00eeff54;
  padding: 10px;
  border-radius: 8px;
  min-width: 100px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.stat-item:hover {
  border-color: #ff6b6b;
  transform: scale(1.05);
}

/* 点赞图标hover效果 */
.stat-item:hover .icon-heart::before {
  content: "❤️";
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}

.value {
  font-size: 24px;
  font-weight: bold;
}

.label, .text {
  font-size: 16px;
  line-height: 1.4;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: 2px solid #00eeff54;
  padding: 10px;
  border-radius: 8px;
  min-width: 100px;
}

.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 5px;
}

.icon-laptop::before {
  content: "💻";
}

.icon-video::before {
  content: "🎥";
}

.icon-eye::before {
  content: "👀";
}

.icon-user::before {
  content: "👤";
}

.icon-heart::before {
  content: "❤️";
}

.icon-wechat::before {
  content: "wechat-icon"; /* 可替换为实际图标 */
}

.icon-bilibili::before {
  content: "bilibili-icon"; /* 可替换为实际图标 */
}

.icon-copyright::before {
  content: "℗";
}

/* 响应式设计 */
@media (max-width: 768px) {
  h1 { font-size: 36px; }
  .tags { flex-direction: column; }
  .info-section { flex-direction: column; }
  .stats-container { flex-direction: column; }
  .stats { flex-direction: column; }
  .social-links { flex-direction: column; }
  .stat-item, .link-item { min-width: 80px; }
}

/* antd message样式 */
.message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background-color: #ffffff;
  color: #000000;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.message.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.message.info {
  border-left: 4px solid #1890ff;
}

.message.success {
  border-left: 4px solid #52c41a;
}

.message.warning {
  border-left: 0px solid #faad14;
}

.message.error {
  border-left: 4px solid #ff4d4f;
}