/* ============================= */
/* 🎨 全局设置（改颜色就在这里） */
/* ============================= */
body {
  margin: 0;

  /* 👉 改背景色 */
  background: #0b0f14;

  /* 👉 改字体 */
  font-family: Arial, sans-serif;

  color: white;
}


/* ============================= */
/* 🎬 视频区域 */
/* ============================= */
.hero {
  height: 100vh;
  position: relative;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 👉 视频上加暗层（可以改透明度） */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}


/* ============================= */
/* ✨ 中间标题 */
/* ============================= */
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-overlay h1 {
  font-size: 50px;

  /* 👉 主色（改这里） */
  color: #00e5ff;
}


/* ============================= */
/* 🧠 HUD信息 */
/* ============================= */
.hud {
  display: flex;
  justify-content: space-around;
  padding: 80px 20px;
}

.hud-box {
  position: relative;
  width: 280px;
  padding: 20px;
  border-radius: 10px;
  overflow: hidden;

  color: white;

  /* UI边框 */
  border: 1px solid rgba(0,255,255,0.3);
  box-shadow: 0 0 15px rgba(0,255,255,0.2);
}

/* 👤 Profile 背景 */
.profile {
  background-image: url("assets/images/wooo.jpg");
  background-size: cover;
  background-position: center;
}

/* 🧠 Skills 背景 */
.skills {
  background-image: url("assets/images/skills.jpg");
  background-size: cover;
  background-position: center;
}

/* 💼 Experience 背景 */
.experience {
  background-image: url("assets/images/bgs.jpg");
  background-size: cover;
  background-position: center;
}

.hud-box::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0.5); /* 👉 调这里亮度 */

  z-index: 0;
}

.hud-box * {
  position: relative;
  z-index: 1;
}


/* ============================= */
/* 🖼 瀑布流 */
/* ============================= */
.gallery {
  column-count: 3;
  column-gap: 15px;
  padding: 20px;
}

.item {
  margin-bottom: 15px;
  break-inside: avoid;
  position: relative;
}

.item img {
  width: 100%;
  border-radius: 8px;
}


/* ============================= */
/* hover效果 */
/* ============================= */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;

  background: linear-gradient(transparent, black);
  padding: 10px;

  opacity: 0;
  transition: 0.3s;
}

.item:hover .overlay {
  opacity: 1;
}


/* ============================= */
/* ✨ 滚动动画 */
/* ============================= */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}