/* Meliza official site — lilac kawaii, mobile-first, no build step */

:root {
  --lilac-50: #fbf7ff;
  --lilac-100: #f3e9fc;
  --lilac-150: #eddff8;
  --lilac-200: #e4d0f4;
  --lilac-300: #d0b0ea;
  --lilac-400: #c4a8e8;
  --lilac-500: #a56ad0;
  --lilac-600: #8b4fb6;
  --lilac-700: #6e3d92;
  --lilac-800: #4f2c6a;
  --lilac-900: #3a1f50;
  --pink-200: #ffd0e0;
  --pink-300: #ffb3cc;
  --pink-400: #ff8fb7;
  --pink-500: #ff6ba0;
  --pink-600: #e85a8c;
  --cream: #fff9fe;
  --text: #3d2a52;
  --text-soft: #6b5380;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(110, 61, 146, 0.12);
  --shadow-soft: 0 6px 18px rgba(110, 61, 146, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --header-h: 64px;
  --font: "M PLUS Rounded 1c", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 10% -10%, rgba(255, 182, 217, 0.35), transparent 60%),
    radial-gradient(800px 500px at 100% 8%, rgba(196, 168, 232, 0.45), transparent 55%),
    radial-gradient(700px 400px at 80% 100%, rgba(255, 177, 210, 0.22), transparent 50%),
    var(--lilac-50);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--lilac-600);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--pink-600); }

:focus-visible {
  outline: 3px solid var(--pink-400);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--lilac-800);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  background: rgba(251, 247, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 168, 232, 0.45);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}
.brand:hover { color: var(--lilac-700); }

.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lilac-300);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 800;
}
.brand-name [lang="ja"] { font-size: 0.95rem; letter-spacing: 0.04em; }
.brand-latin { font-size: 0.68rem; font-weight: 500; color: var(--text-soft); }

.badge-beta {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: #fff;
  padding: 2px 7px 1px;
  border-radius: 999px;
  line-height: 1.5;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(255, 107, 160, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--lilac-800);
  background: rgba(196, 168, 232, 0.25);
}

/* Hero */
.hero { padding-bottom: 8px; }

.hero-banner-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--lilac-200);
  line-height: 0;
}

.hero-banner {
  width: 100%;
  height: auto;
  display: block;
}

.hero-panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 8px;
  text-align: center;
  position: relative;
}

.hero-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  margin: -56px auto 12px;
  box-shadow:
    0 0 0 5px var(--cream),
    0 0 0 8px var(--lilac-300),
    0 14px 28px rgba(80, 40, 110, 0.18);
  background: var(--lilac-200);
}

.hero-kicker {
  margin: 0 0 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lilac-600);
}

.hero-title {
  margin: 0 0 8px;
  line-height: 1.15;
}
.hero-ja {
  display: block;
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--lilac-900);
}
.hero-en {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lilac-700);
}

.hero-tagline {
  margin: 0 auto;
  max-width: 28rem;
  color: var(--text-soft);
  font-size: 1rem;
}
.hero-tagline-ja {
  margin: 4px 0 0;
  font-weight: 700;
  color: var(--pink-600);
  font-size: 1.05rem;
}
.kaomoji {
  white-space: nowrap;
  font-family: "Noto Sans JP", "Hiragino Sans", "Noto Sans CJK JP", var(--font);
  letter-spacing: -0.06em;
  font-weight: 500;
}
.nowrap { white-space: nowrap; }
.bio-es, .bio-ja, .soon-lead, .soon-lead-ja {
  text-wrap: pretty;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 10px 20px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--lilac-500), var(--lilac-600));
  color: #fff;
  box-shadow: 0 8px 18px rgba(139, 79, 182, 0.28);
}
.btn-primary:hover { color: #fff; background: linear-gradient(135deg, var(--lilac-600), var(--lilac-700)); }

.btn-ghost {
  background: var(--cream);
  color: var(--lilac-700);
  border-color: var(--lilac-300);
}
.btn-ghost:hover { color: var(--lilac-800); background: #fff; }

.btn-suno {
  background: #fff;
  color: var(--pink-600);
  border-color: var(--pink-300);
}
.btn-suno:hover { background: var(--pink-200); color: var(--pink-600); }

/* Sections */
.section { padding: 48px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(228, 208, 244, 0.35), rgba(255, 249, 254, 0.5) 40%, rgba(228, 208, 244, 0.25));
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  margin: 0 0 20px;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--lilac-900);
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.section-title-ja {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lilac-500);
  letter-spacing: 0.12em;
}
.section-lead {
  margin: -8px 0 20px;
  color: var(--text-soft);
}

.card {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 168, 232, 0.35);
  padding: 22px 20px;
}

.card-label {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lilac-500);
}

/* Bio */
.bio-card { text-align: center; padding: 28px 22px; }
.bio-role {
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--lilac-600);
  letter-spacing: 0.06em;
}
.bio-es {
  margin: 0 auto 14px;
  max-width: 38rem;
  font-size: 1.08rem;
  font-weight: 500;
}
.bio-ja {
  margin: 0 auto 16px;
  max-width: 38rem;
  padding: 14px 16px;
  background: var(--lilac-100);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1.05rem;
}
.bio-note {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Music */
.music-artist { margin-bottom: 20px; }
.spotify-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--lilac-100);
  min-height: 352px;
}
.spotify-frame-compact { min-height: 152px; }
.spotify-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--lilac-800);
  background:
    radial-gradient(300px 160px at 50% 30%, rgba(255, 255, 255, 0.7), transparent 70%),
    var(--lilac-100);
}
.spotify-fallback img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(80, 40, 110, 0.15);
}
.spotify-fallback-name { font-weight: 800; font-size: 1.15rem; }
.spotify-fallback-cta {
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--lilac-500), var(--lilac-600));
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(139, 79, 182, 0.25);
}
.spotify-frame iframe {
  position: relative;
  z-index: 1;
  display: block;
  border: 0;
  width: 100%;
  border-radius: 18px;
  background: transparent;
}

.music-single {
  display: grid;
  gap: 18px;
}
.single-cover-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 280px;
  margin: 0 auto;
}
.single-cover { width: 100%; }
.single-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--lilac-900);
}
.single-sub {
  margin: 4px 0 14px;
  color: var(--text-soft);
  font-weight: 500;
}
.single-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

/* Gallery */
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery-item {
  appearance: none;
  border: 0;
  padding: 0;
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  text-align: left;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(196, 168, 232, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  font-family: inherit;
  color: inherit;
}
.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(110, 61, 146, 0.16);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  background: var(--lilac-200);
}
.gallery-cap {
  display: block;
  padding: 8px 10px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
}
.gallery-cap [lang="ja"] {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--lilac-500);
}

/* Coming soon */
.soon-card {
  text-align: center;
  padding: 32px 22px;
  background:
    radial-gradient(400px 180px at 50% 0%, rgba(255, 182, 217, 0.35), transparent 70%),
    var(--cream);
  position: relative;
  overflow: hidden;
}
.soon-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lilac-100);
  color: var(--lilac-700);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--lilac-300);
}
.soon-lead {
  margin: 0 auto 10px;
  max-width: 36rem;
  font-size: 1.05rem;
  font-weight: 500;
}
.soon-lead-ja {
  margin: 0 auto 20px;
  max-width: 36rem;
  color: var(--text-soft);
}
.soon-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.soon-features li {
  background: #fff;
  border: 1px solid var(--lilac-200);
  color: var(--lilac-700);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

/* Socials */
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.socials a,
.socials-static a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  color: var(--lilac-800);
  background: var(--cream);
  border: 1.5px solid var(--lilac-300);
  border-radius: 999px;
  padding: 10px 16px;
  min-width: 132px;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.socials a:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: var(--pink-400);
  color: var(--pink-600);
}
.socials a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.socials-static { list-style: none; padding: 0; margin: 0; }

/* Footer */
.site-footer {
  padding: 36px 20px 48px;
  text-align: center;
  color: var(--text-soft);
  border-top: 1px solid rgba(196, 168, 232, 0.4);
  background: rgba(243, 233, 252, 0.55);
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--lilac-300);
}
.site-footer p { margin: 0 0 4px; }
.footer-copy { font-size: 0.85rem; }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(40, 22, 58, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px 32px;
}
.lightbox-figure { margin: 0; max-width: min(920px, 100%); text-align: center; }
.lightbox-figure img {
  max-height: min(80vh, 900px);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.lightbox-figure figcaption {
  color: #fff;
  margin-top: 10px;
  font-weight: 700;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-family: inherit;
}
.lightbox-close { top: 12px; right: 12px; font-size: 1.8rem; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 143, 183, 0.55); }

/* Mobile header: brand on one row, nav fully visible on the next */
@media (max-width: 719px) {
  html { scroll-padding-top: 108px; }
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 6px;
    gap: 2px;
  }
  .nav {
    justify-content: space-between;
    mask-image: none;
    width: 100%;
    overflow: visible;
  }
  .nav a {
    flex: 1 1 auto;
    text-align: center;
    padding: 6px 4px;
    font-size: 0.78rem;
  }
}

/* Desktop */
@media (min-width: 720px) {
  .header-inner { padding: 0 28px; height: var(--header-h); }
  .brand-avatar { width: 40px; height: 40px; }
  .nav { gap: 4px; mask-image: none; }
  .nav a { font-size: 0.9rem; padding: 8px 12px; }

  .hero-avatar { width: 168px; height: 168px; margin-top: -76px; }
  .hero-panel { padding-bottom: 16px; }

  .section { padding: 64px 0; }
  .section-inner { padding: 0 28px; }

  .music-single {
    grid-template-columns: 240px 1fr;
    align-items: center;
    gap: 28px;
    padding: 24px;
  }
  .single-cover-wrap { max-width: none; margin: 0; }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery-item, .socials a { transition: none; }
  .btn:hover, .gallery-item:hover, .socials a:hover { transform: none; }
}
