/* ============================================
   个人简历 · 紫色玻璃拟态主题
   ============================================ */

/* ===== 全局 ===== */
.resume-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #e8ddf5;
  line-height: 1.7;
  font-size: 15px;
  background: transparent;
  min-height: 100vh;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.resume-wrap {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

/* ===== 顶部个人品牌横幅 ===== */
.resume-hero {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.resume-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.resume-hero-left h1 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 2px 0;
  letter-spacing: 2px;
}

.resume-hero-left .subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  margin: 0;
}

.resume-hero-right {
  text-align: right;
  font-size: 14px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.resume-hero-right p {
  margin: 1px 0;
  color: #ccc0e8;
}

.resume-hero-right a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.resume-hero-right a:hover {
  color: #fff;
}

/* ===== 节标题 ===== */
.resume-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.resume-section-title span {
  font-size: 22px;
}

.resume-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), transparent);
  margin-left: 8px;
}

/* ===== 玻璃卡片 ===== */
.resume-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: all 0.3s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.resume-card:hover {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}

/* ===== 教育背景 ===== */
.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.edu-school {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.edu-date {
  font-size: 14px;
  color: #b0a0c8;
  font-weight: 400;
}

.edu-major {
  font-size: 15px;
  color: #ddd0f0;
  font-weight: 600;
  margin-bottom: 10px;
}

.edu-details ul {
  margin: 0;
  padding-left: 18px;
}

.edu-details li {
  margin-bottom: 5px;
  color: #ddd0f0;
  font-size: 14px;
}

.edu-details li strong {
  color: #ffffff;
}

.edu-details ul ul {
  margin: 2px 0;
}

/* ===== 经历 ===== */
.exp-tag {
  display: inline-block;
  background: rgba(255,255,255,0.04);
  color: #ddd0f0;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}

.exp-item {
  margin-bottom: 16px;
}

.exp-item:last-child {
  margin-bottom: 0;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.exp-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.exp-date {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.exp-body ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.exp-body li {
  margin-bottom: 5px;
  color: #ddd0f0;
  font-size: 14px;
}

.exp-body li strong {
  color: #ffffff;
}

.exp-body li::marker {
  color: #b0a0c8;
}

/* ===== 技能网格 ===== */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0;
}

.skill-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 16px 18px;
  backdrop-filter: blur(8px);
}

.skill-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ddd0f0;
  margin: 0 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.skill-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-box li {
  font-size: 13px;
  color: #ddd0f0;
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}

.skill-box li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #b0a0c8;
}

/* ===== 翻译作品 ===== */
.trans-block {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.trans-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.trans-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.trans-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.trans-source {
  font-size: 13px;
  color: #b0a0c8;
}

.trans-original {
  font-size: 14px;
  color: #ddd0f0;
  font-style: italic;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  margin-bottom: 8px;
  border-left: 3px solid rgba(255,255,255,0.08);
  line-height: 1.8;
}

.trans-chinese {
  font-size: 14px;
  color: #f0eaff;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  border-left: 3px solid rgba(255,255,255,0.06);
  line-height: 1.8;
}

.trans-tag {
  display: inline-block;
  font-size: 12px;
  color: #ccc0e8;
  background: rgba(255,255,255,0.03);
  padding: 2px 10px;
  border-radius: 10px;
  margin-top: 6px;
}

/* ===== 求职意向 & 联系方式 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 20px 24px;
  backdrop-filter: blur(8px);
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.contact-row {
  display: flex;
  padding: 5px 0;
  font-size: 14px;
}

.contact-row .cl {
  width: 85px;
  color: #b0a0c8;
  font-weight: 500;
  flex-shrink: 0;
}

.contact-row .cr {
  color: #f0eaff;
}

.contact-row a {
  color: #d8c8f0;
  text-decoration: none;
}

.contact-row a:hover {
  color: #fff;
}

/* ===== 结尾 ===== */
.resume-footer {
  text-align: center;
  margin-top: 36px;
  padding: 28px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  color: #ccc0e8;
  backdrop-filter: blur(12px);
}

.resume-footer p {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.8;
}

.resume-footer .highlight {
  color: #f0eaff;
  font-weight: 600;
}

.resume-footer .signature {
  margin-top: 14px;
  font-size: 14px;
  color: #8070a0;
  font-style: italic;
}

/* ===== 通用表格 ===== */
.resume-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

.resume-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: 12px;
  overflow: hidden;
}

.resume-table-wrap th {
  background: rgba(255,255,255,0.03);
  color: #f0eaff;
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.resume-table-wrap td {
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: #e8ddf5;
}

.resume-table-wrap tr:last-child td {
  border-bottom: none;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .resume-page { padding: 20px 14px; }
  .resume-hero { padding: 24px 20px; flex-direction: column; }
  .resume-hero-right { text-align: left; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .edu-header { flex-direction: column; }
  .exp-header { flex-direction: column; }
  .resume-hero-left h1 { font-size: 28px; }
}
