/* 
  全站基础样式
  尽量保持结构清晰，方便你以后自己阅读和修改
  设计风格：黑白+少量亮色，参考 adidas Superstar 专题的杂志风 
*/

/* ========== 基础重置 ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
  background-color: #f6f6f6;
  color: #111;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== 全局布局 ========== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 64px 0;
}

.section-title {
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.section-intro {
  max-width: 640px;
  margin: 0 0 24px;
  color: #555;
}

/* ========== 顶部导航栏 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(246, 246, 246, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.nav-link {
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #111;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

/* ========== Hero 区域（首页） ========== */
.hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: stretch;
  gap: 32px;
  padding: 72px 24px 72px;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-content {
  max-width: 520px;
}

.hero-tagline {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.hero-title {
  font-size: 40px;
  margin: 0 0 12px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 16px;
  margin: 0 0 16px;
}

.hero-desc {
  margin: 0 0 24px;
  color: #444;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid #111;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background-color: #111;
  color: #f6f6f6;
}

.btn.ghost {
  background-color: transparent;
  color: #111;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.hero-art {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #e9e9e9);
  overflow: hidden;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-block {
  position: absolute;
  border-radius: 18px;
}

.hero-block-main {
  width: 70%;
  height: 50%;
  background: #111;
  top: 18%;
  left: 12%;
}

.hero-block-small {
  width: 36%;
  height: 30%;
  background: #fff;
  border: 1px solid #111;
  bottom: 14%;
  right: 10%;
}

.hero-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 8px solid #f6f6f6;
  background: #111;
  position: absolute;
  top: 50%;
  right: 22%;
  transform: translateY(-50%);
}

/* ========== 个人名片 ========== */
.profile-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.profile-name {
  font-size: 24px;
  font-weight: 600;
  margin: 4px 0 8px;
}

.profile-item {
  margin: 0 0 4px;
  color: #444;
}

.profile-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ========== 通用卡片样式 ========== */
.card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px 20px 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card-title {
  font-size: 18px;
  margin: 0 0 8px;
}

.card-subtitle {
  font-size: 14px;
  margin: 0 0 8px;
  color: #555;
}

.card-desc {
  margin: 0;
  color: #555;
  font-size: 14px;
}

/* ========== 首页：链接卡片 ========== */
.link-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.hobby-icon {
  background-color: #111;
  color: #f6f6f6;
}

.experience-icon {
  background-color: #ffffff;
  color: #111;
  border: 1px solid #111;
}

.icon-svg {
  width: 28px;
  height: 28px;
}

.svg-shape {
  fill: currentColor;
}

.svg-stroke {
  stroke: currentColor;
}

.card-link-text {
  margin-top: 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========== 标签（爱好关键词等） ========== */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 12px;
  background-color: #fff;
}

.tag-strong {
  border-color: #111;
  font-weight: 500;
}

.tag-board {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========== 页面标题区（子页面） ========== */
.page-header {
  padding-top: 80px;
}

.page-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.page-title {
  font-size: 32px;
  margin: 0 0 12px;
}

.page-desc {
  max-width: 640px;
  margin: 0;
  color: #444;
}

/* ========== 爱好页面 ========== */
.hobby-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hobby-card {
  padding: 0;
  overflow: hidden;
}

.card-image {
  height: 160px;
  background-size: cover;
  background-position: center;
}

/* 用纯色+线条模拟占位图，方便日后替换为真实图片 */
.placeholder-image {
  background-image: linear-gradient(135deg, #ffffff, #e4e4e4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.card-body {
  padding: 20px 20px 22px;
}

/* 可以根据不同爱好稍微改变一点色调，保持统一又不完全一样 */
.placeholder-image.badminton {
  background-image: linear-gradient(135deg, #ffffff, #e2e2e2);
}

.placeholder-image.gaming {
  background-image: linear-gradient(135deg, #ffffff, #eaeaea);
}

.placeholder-image.werewolf {
  background-image: linear-gradient(135deg, #ffffff, #e0e0e0);
}

.placeholder-image.sports {
  background-image: linear-gradient(135deg, #ffffff, #dedede);
}

/* ========== 过往经历：页内锚点导航 ========== */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.anchor-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #111;
  background-color: #fff;
  transition: background-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}

.anchor-link:hover {
  background-color: #111;
  color: #f6f6f6;
  transform: translateY(-1px);
}

/* ========== 过往经历：城市卡片布局 ========== */
.travel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.travel-card {
  position: relative;
  min-height: 180px;
}

.card-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

/* ========== 实习经历：纵向卡片堆叠 ========== */
.card-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.intern-card {
  border-left: 4px solid #111;
}

/* ========== 竞赛经历：奖牌墙 ========== */
.award-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.award-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.award-card.highlight {
  background-color: #111;
  color: #f6f6f6;
}

.award-year {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.award-title {
  font-size: 14px;
  margin: 0 0 6px;
}

.award-level {
  font-size: 13px;
  opacity: 0.8;
  margin: 0;
}

/* ========== 页脚 ========== */
.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: 32px;
}

.footer-inner {
  text-align: center;
  font-size: 12px;
  color: #777;
}

.footer-note {
  margin-top: 4px;
}

/* ========== 响应式设计（适配手机） ========== */
@media (max-width: 768px) {
  .nav-inner {
    padding-inline: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-inline: 16px;
    padding-top: 56px;
  }

  .hero-art {
    min-height: 220px;
  }

  .section {
    padding: 48px 0;
  }

  .card-grid,
  .hobby-grid,
  .travel-grid,
  .award-wall {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding-top: 72px;
  }
}


