/* =====================
   GLOBAL RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080b14;
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  cursor: default;
}

/* =====================
   BACKGROUND CANVAS
   ===================== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* =====================
   MAIN CARD
   ===================== */
.card {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  padding: 2.5rem 2rem;
  text-align: center;

  /* ✦ ここの色・ぼかしを変えるとカードの雰囲気が変わる */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 40px rgba(120, 80, 255, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.5);

  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================
   AVATAR
   ===================== */
.avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 24px rgba(120, 80, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 36px rgba(150, 100, 255, 0.6);
}

/* アバター画像がない場合のフォールバック */
.avatar-fallback {
  display: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c47ff, #c084fc);
  color: white;
  font-size: 2rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
}

/* =====================
   NAME & BADGE
   ===================== */
.name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.username {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* =====================
   BIO TEXT
   ===================== */
.bio {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

/* =====================
   LINK BUTTONS
   ===================== */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;

  /* ✦ ボタンの背景・枠線はここ */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.link-btn:hover {
  background: rgba(120, 80, 255, 0.15);
  border-color: rgba(120, 80, 255, 0.4);
  color: #fff;
  transform: translateX(4px);
}

.icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.link-btn:hover .icon {
  opacity: 1;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  margin-top: 2rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 480px) {
  .card {
    padding: 2rem 1.5rem;
  }
}
