*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.6;
  color: #1f2933;
  background:
    radial-gradient(circle at top left, #fef3c7 0, transparent 60%),
    radial-gradient(circle at bottom right, #e0f2fe 0, #f4f5f7 60%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  position: relative;
  overflow: hidden;
}

.link-page::before,
.link-page::after {
  content: "";
  position: fixed;
  inset: -40px;
  pointer-events: none;
}

/* 背景用のヨーロッパ風の街並み写真をここで指定します。
   お好みの画像を project 内の images フォルダなどに保存し、パスを書き換えてください。 */
.link-page::before {
  background-image: url("images/europe-street.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.03);
  opacity: 0.45;
  z-index: -2;
}

.link-page::after {
  background:
    radial-gradient(circle at top left, rgba(254, 243, 199, 0.75), transparent 65%),
    radial-gradient(circle at bottom right, rgba(191, 219, 254, 0.8), rgba(244, 245, 247, 0.95) 70%);
  mix-blend-mode: soft-light;
  opacity: 0.95;
  z-index: -1;
}

.link-page {
  backdrop-filter: blur(6px);
}

.link-card {
  width: min(500px, 100%);
  background: rgba(253, 252, 249, 0.96);
  border-radius: 26px;
  padding: 26px 24px 18px;
  box-shadow:
    0 20px 40px rgba(148, 163, 184, 0.32),
    0 0 0 1px rgba(226, 232, 240, 0.9);
  color: #1f2933;
  position: relative;
  z-index: 0;
}

.music-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 12px rgba(148, 163, 184, 0.4);
  cursor: pointer;
  font-size: 0.72rem;
  color: #4b5563;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease,
    border-color 140ms ease;
}

.music-toggle__icon {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f97373, #faccaf);
  box-shadow: 0 0 0 1px rgba(248, 250, 252, 0.9);
}

.music-toggle__label {
  letter-spacing: 0.1em;
}

.music-toggle.is-playing .music-toggle__icon {
  background: radial-gradient(circle at 30% 20%, #4ade80, #a7f3d0);
}

.music-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(148, 163, 184, 0.5);
  border-color: rgba(156, 163, 175, 0.95);
}

.music-toggle:active {
  transform: translateY(0);
  box-shadow: none;
}

.profile {
  text-align: center;
  margin-bottom: 18px;
}

.avatar {
  width: 90px;
  height: 90px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, #f97373, #faccaf, #fcd34d);
  padding: 2px;
  position: relative;
}

.avatar::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, #fff7ed, #f3f4f6 65%);
}

.profile-name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Georgia", "Times New Roman", serif;
}

.profile-handle {
  margin-top: 2px;
  font-size: 0.9rem;
  color: #93a0b0;
}

.profile-bio {
  margin-top: 8px;
  font-size: 0.88rem;
  color: #6b7280;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.link-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #253445;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.96);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.link-button::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
}

.link-main {
  font-size: 0.95rem;
  font-weight: 600;
}

.link-sub {
  font-size: 0.8rem;
  color: #6b7280;
  opacity: 0.9;
}

.link-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(148, 163, 184, 0.35);
  border-color: rgba(148, 163, 184, 0.9);
}

.link-button:active {
  transform: translateY(0);
  box-shadow: none;
}

.link-button.ig::before {
  background: linear-gradient(135deg, #f9a8d4, #fecdd3);
}

.link-button.tiktok::before {
  background: linear-gradient(135deg, #bae6fd, #e0f2fe);
}

.link-button.yt::before {
  background: linear-gradient(135deg, #fecaca, #fee2e2);
}

.link-button.brand-ig::before {
  background: linear-gradient(135deg, #fde68a, #fef3c7);
}

.link-button.brand-shop::before {
  background: linear-gradient(135deg, #bfdbfe, #e5e7eb);
}

.link-button.company::before {
  background: linear-gradient(135deg, #e5e7eb, #e0f2fe);
}

.footer-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
}

@media (max-width: 480px) {
  .link-card {
    padding: 22px 16px 16px;
    border-radius: 24px;
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  .links {
    gap: 9px;
  }
}

