/* ============================================================
   Yuma Nagahama — Personal Profile Page
   White base + Gold accent design
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #f0ede6;
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: #111;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 0 48px;
}

/* ---------- Page Wrapper ---------- */
.page-wrapper {
  width: 100%;
  max-width: 480px;
  position: relative;
}

/* ---------- Dark Header Band ---------- */
.header-band {
  position: relative;
  height: 140px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  overflow: hidden;
  /* Bottom curve into white */
  border-radius: 0 0 50% 50% / 0 0 40px 40px;
}

/* Subtle gold diagonal stripe overlay */
.header-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(212, 175, 55, 0.07) 18px,
    rgba(212, 175, 55, 0.07) 19px
  );
}

/* ---------- Profile Card ---------- */
.profile-card {
  background: #fafaf8;
  border-radius: 0 0 24px 24px;
  padding: 0 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Overlap with the header curve */
  margin-top: -20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

/* ---------- Avatar ---------- */
.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #f5d77e 60%, #c9a227 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 4px #fafaf8,
    0 0 0 6px rgba(212, 175, 55, 0.40),
    0 6px 24px rgba(212, 175, 55, 0.50);
  /* Pull up to overlap the header */
  margin-top: -44px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.avatar-char {
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  line-height: 1;
  user-select: none;
}

/* ---------- Gold Decorative Divider ---------- */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  width: 120px;
}

.gold-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #d4af37, transparent);
  display: block;
}

.gold-divider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4af37;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.60);
}

/* ---------- Name Block ---------- */
.name-block {
  text-align: center;
  margin-top: 16px;
}

.name-ja {
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #111;
  line-height: 1.2;
}

.name-en {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #aaa;
  margin-top: 6px;
  font-weight: 400;
}

/* ---------- Role Tags ---------- */
.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.role-tag {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid #d4af37;
  border-radius: 999px;
  font-size: 11px;
  color: #8a6e00;
  letter-spacing: 0.06em;
  background: transparent;
  line-height: 1.6;
  font-weight: 500;
}

/* ---------- Links Section ---------- */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 32px;
}

/* Base button style */
.link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1.5px solid #e8e0d0;
  background: #ffffff;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  position: relative;
}

/* Hover for regular links (only when not disabled) */
.link-btn:not(.link-btn--disabled):hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  transform: translateY(-1px);
}

/* Arrow icon */
.link-btn__arrow {
  font-size: 20px;
  color: #d4af37;
  line-height: 1;
  flex-shrink: 0;
  font-weight: 300;
}

/* Badge for under-construction */
.link-btn__badge {
  font-size: 10px;
  font-weight: 600;
  color: #aaa;
  background: #f0ede6;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  flex-shrink: 0;
}

.link-btn__label {
  flex: 1;
}

/* Disabled / under construction state */
.link-btn--disabled {
  cursor: default;
  color: #bbb;
  border-color: #ede8df;
  background: #fdfcfa;
  box-shadow: none;
}

.link-btn--disabled .link-btn__label {
  color: #bbb;
}

/* Highlighted button — レオクラブ */
.link-btn--highlight {
  background: linear-gradient(135deg, #fffdf5 0%, #fef9e7 100%);
  border: 1.5px solid #d4af37;
  box-shadow:
    0 2px 12px rgba(212, 175, 55, 0.18),
    0 1px 4px rgba(0, 0, 0, 0.06);
  color: #3d2e00;
}

.link-btn--highlight:hover {
  box-shadow:
    0 6px 20px rgba(212, 175, 55, 0.30),
    0 2px 6px rgba(0, 0, 0, 0.08) !important;
  border-color: #c9a227;
}

.link-btn--highlight .link-btn__label {
  color: #3d2e00;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-line {
  width: 64px;
  height: 1px;
  background: linear-gradient(to right, transparent, #d4af37, transparent);
}

.footer-text {
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #ccc;
  font-weight: 400;
}

/* ---------- Responsive — slightly wider screens ---------- */
@media (min-width: 520px) {
  .page-wrapper {
    margin: 32px auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.12);
  }

  .header-band {
    border-radius: 0;
  }

  .profile-card {
    border-radius: 0 0 24px 24px;
  }

  body {
    padding: 32px 16px 64px;
  }
}
