/* ===== Fonts ===== */
body {
  font-family: 'Inter', 'Noto Serif TC', sans-serif;
  line-height: 1.7;
  color: #2c2c2c;
  background-color: #fdf6f0;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* English name: Playfair Display (serif) */
.english-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.6rem;
  margin-bottom: 0.2rem;
  background: linear-gradient(135deg, #264653, #2a9d8f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

/* Chinese name: Noto Serif TC (serif, smaller, elegant) */
.chinese-name {
  font-family: 'Noto Serif TC', serif;
  font-weight: 500;
  font-size: 1.35rem;          /* ← より控えめなサイズ */
  margin-bottom: 1rem;
  color: #4a5568;
  letter-spacing: 1.2px;
  opacity: 0.92;
}

/* Tagline remains in Inter */
.tagline {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: #2a9d8f; /* よりプロフェッショナルなトーン */
  font-weight: 600;
  margin-bottom: 1.4rem;
  line-height: 1.5;
}

/* ===== Rest unchanged (keep previous styles for bg, links, etc.) ===== */

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  filter: brightness(0.9) contrast(1.1);
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(253,246,240,0.92), rgba(244,241,235,0.85));
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 850px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.profile-wrapper {
  display: inline-block;
  margin-bottom: 1.5rem;
  perspective: 1000px;
}

.profile-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e76f51;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  will-change: transform;
}

.profile-icon:focus-visible {
  outline: 2px solid #2a9d8f;
  outline-offset: 2px;
}

.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin: 2.5rem 0;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: white;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  color: #264653;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform, box-shadow, color;
}

.link-card:focus-visible {
  outline: 2px solid #2a9d8f;
  outline-offset: 2px;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(231, 111, 81, 0.1), transparent);
  transition: left 0.6s;
}

.link-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  color: #e76f51;
}

.link-card:hover::before {
  left: 100%;
}

.about p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #3b3b3b;
}

.footer {
  font-size: 0.95rem;
  color: #6c757d;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .english-name { font-size: 2.1rem; }
  .chinese-name { font-size: 1.2rem; }   /* モバイルでも読みやすく */
  .tagline { font-size: 1.05rem; }
  .links { grid-template-columns: 1fr; }
  .container { padding: 2rem 1.2rem; }
  .bio-details span {
    white-space: normal;
    display: block;
    margin-bottom: 0.4rem;
  }
  .bio-details {
    font-size: 0.9rem;
    text-align: center;
  }
}