@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Noto+Sans+JP:wght@400;500;700&display=swap");

/* ========================================
   Theme tokens
======================================== */
:root {
  --color-bg: #06111f;
  --color-bg-soft: #0b1830;
  --color-bg-elevated: #102445;
  --color-surface: rgba(11, 24, 48, 0.78);
  --color-surface-hover: rgba(16, 38, 72, 0.9);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  --color-text: #f5f5f7;
  --color-text-soft: rgba(245, 245, 247, 0.84);
  --color-text-muted: #a1a1aa;
  --color-pill: rgba(255, 255, 255, 0.03);
  --color-shadow: rgba(0, 0, 0, 0.36);
  --color-highlight: rgba(255, 255, 255, 0.03);

  --font-sans: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Noto Sans JP", "Quicksand", sans-serif;

  --radius-lg: 28px;
  --radius-md: 24px;
  --radius-sm: 16px;

  --blur-strength: 12px;
  --shadow-card: 0 12px 32px var(--color-shadow);
  --shadow-card-hover: 0 16px 38px rgba(0, 0, 0, 0.38);
  --transition-soft: 180ms ease;
  --transition-spring: 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================================
   Base reset
======================================== */
* {
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.copy-row,
.copy-row * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hidden {
  display: none !important;
}

/* ========================================
   Layout
======================================== */
.page-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.background-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 80% 8%, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 20%),
    linear-gradient(180deg, #07080b 0%, #0b0d11 42%, #101218 100%);
}

.floating-decorations {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.decoration {
  position: absolute;
  color: rgba(255, 255, 255, 0.06);
  animation: float-slow 10s ease-in-out infinite;
}

.decoration svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: none;
}

.decoration.star svg {
  width: 10px;
  height: 10px;
}

.content-wrap {
  position: relative;
  z-index: 10;
  width: min(100% - 1.5rem, 468px);
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.card-section {
  margin-top: 1.15rem;
}

.glass {
  background: var(--color-surface);
  backdrop-filter: blur(var(--blur-strength)) saturate(130%);
  -webkit-backdrop-filter: blur(var(--blur-strength)) saturate(130%);
}

.hero-card,
.content-card {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), inset 0 1px 0 var(--color-highlight);
  transition:
    transform var(--transition-spring),
    box-shadow var(--transition-spring),
    border-color var(--transition-soft),
    background var(--transition-soft);
}

.hero-card:hover,
.content-card:hover {
  transform: translateY(-1px);
  background: var(--color-surface-hover);
  border-color: var(--color-border-strong);
  box-shadow:
    var(--shadow-card-hover),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-card {
  padding: 1.6rem 1.3rem;
}

.content-card {
  padding: 1.25rem;
}

/* ========================================
   Hero card
======================================== */
.profile-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.avatar-frame {
  width: 98px;
  height: 98px;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-heart {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 15px;
  height: 15px;
  color: var(--color-text);
  fill: var(--color-text);
  stroke: none;
  opacity: 0.82;
}

.copy-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: opacity var(--transition-soft), transform var(--transition-soft);
}

.copy-row:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.copy-row h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.copy-row span {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.copy-row svg {
  color: var(--color-text-muted);
  opacity: 0;
  transition: opacity var(--transition-soft);
}

.copy-row:hover svg,
.copy-row.copied svg {
  opacity: 1;
}

.copy-name svg {
  width: 14px;
  height: 14px;
}

.copy-handle {
  margin-bottom: 0.9rem;
}

.copy-handle svg {
  width: 12px;
  height: 12px;
}

.check-icon {
  color: var(--color-text) !important;
}

.pill-row,
.interest-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-row {
  justify-content: center;
  margin-bottom: 1rem;
}

.pill-row span,
.interest-row span {
  border: 1px solid var(--color-border);
  background: var(--color-pill);
  border-radius: 999px;
}

.pill-row span {
  padding: 0.35rem 0.85rem;
  color: var(--color-text);
  font-size: 0.82rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  column-gap: 1rem;
  row-gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.fact-item svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--color-text);
  opacity: 0.9;
}

.fact-item span {
  color: var(--color-text-muted);
}

.fact-item strong {
  color: var(--color-text);
  font-weight: 600;
}

.relationship-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  margin-bottom: 0.2rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-soft);
  font-size: 0.82rem;
}

.relationship-pill svg {
  width: 12px;
  height: 12px;
  color: var(--color-text);
  fill: var(--color-text);
  stroke: none;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--color-text-soft);
  text-decoration: none;
  transition:
    transform var(--transition-spring),
    color var(--transition-soft),
    border-color var(--transition-soft),
    background var(--transition-soft);
}

.social-row a:hover {
  transform: translateY(-1px);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-border-strong);
}

.social-row svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}

/* ========================================
   Section cards
======================================== */
.section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.section-header-centered {
  justify-content: center;
  text-align: center;
}

.section-header svg {
  width: 14px;
  height: 14px;
  color: var(--color-text);
  fill: var(--color-text);
  stroke: none;
  opacity: 0.95;
}

.section-header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.spotify-card {
  overflow: hidden;
  padding-bottom: 1.1rem;
}

.spotify-embed-wrap {
  display: flex;
  justify-content: center;
}

.spotify-frame {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform var(--transition-spring),
    opacity var(--transition-soft);
}

.spotify-frame:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.spotify-frame img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.about-text {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-text p {
  margin: 0;
}

.about-text p + p {
  margin-top: 0.85rem;
}

.about-text .muted {
  color: var(--color-text-muted);
}

.interest-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.85rem;
  color: var(--color-text-soft);
  font-size: 0.86rem;
}

.interest-row svg {
  width: 14px;
  height: 14px;
  color: var(--color-text);
  opacity: 0.9;
}

/* ========================================
   Utility UI
======================================== */
.music-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(16, 17, 21, 0.82);
  color: var(--color-text-soft);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(var(--blur-strength)) saturate(130%);
  -webkit-backdrop-filter: blur(var(--blur-strength)) saturate(130%);
  cursor: pointer;
  transition:
    transform var(--transition-spring),
    color var(--transition-soft),
    border-color var(--transition-soft),
    background var(--transition-soft);
}

.music-button:hover {
  color: var(--color-text);
  background: rgba(20, 21, 26, 0.94);
  border-color: var(--color-border-strong);
}

.music-button:active {
  transform: scale(0.96);
}

.music-button svg {
  width: 18px;
  height: 18px;
}

.site-footer {
  margin-top: 2.5rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(161, 161, 170, 0.55);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
}

/* ========================================
   Motion
======================================== */
.animate-fade-in-up {
  animation: fade-in-up 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animation-delay-100 {
  animation-delay: 70ms;
}

.animation-delay-200 {
  animation-delay: 140ms;
}

.animation-delay-300 {
  animation-delay: 210ms;
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.05;
  }
  50% {
    transform: translateY(-8px);
    opacity: 0.1;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 480px) {
  .content-wrap {
    width: min(100% - 1rem, 468px);
    padding-top: 1rem;
  }

  .hero-card,
  .content-card {
    border-radius: 24px;
  }

  .hero-card {
    padding: 1.3rem 1rem;
  }

  .content-card {
    padding: 1rem;
  }

  .facts-grid {
    column-gap: 0.85rem;
    row-gap: 0.7rem;
    font-size: 0.8rem;
  }

  .fact-item {
    gap: 0.45rem;
  }

  .spotify-frame {
    max-width: 100%;
    padding: 0.7rem;
  }

  .spotify-frame img {
    max-width: 100%;
  }
}


.copy-row h1{
  font-family:"Noto Sans JP","Quicksand",sans-serif;
  font-weight:700;
  letter-spacing:0.01em;
}

.background-gradient{
  background:
    radial-gradient(circle at top, rgba(100,180,255,.20) 0%, rgba(0,0,0,0) 35%),
    radial-gradient(circle at 80% 10%, rgba(120,220,255,.12) 0%, rgba(0,0,0,0) 25%),
    linear-gradient(180deg,#06111f 0%,#0b1830 45%,#102445 100%);
}

.hero-card{
  border-color: rgba(120,220,255,.25);
}

.avatar-frame{
  border:2px solid rgba(120,220,255,.45);
  box-shadow:0 0 24px rgba(120,220,255,.25);
}
