/* daNpwr — Music Between Worlds
   Neon-beach night theme. Mobile-first. */

:root {
  --bg: #07080f;
  --bg-elevated: #10121c;
  --bg-card: rgba(14, 16, 26, 0.92);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5fa;
  --text-muted: #b7b9c8;
  --pink: #ff3cac;
  --cyan: #4de2ff;
  --violet: #8b6cff;
  --blue: #4f8cff;
  --gradient: linear-gradient(90deg, #ff3cac 0%, #7b6cff 52%, #4f8cff 100%);
  --font-sans: "Outfit", "Noto Sans KR", system-ui, sans-serif;
  --font-serif: "Playfair Display", "Noto Sans KR", Georgia, serif;
  --header-h: 4.25rem;
  --radius: 1.1rem;
  --page-pad: clamp(1.1rem, 4vw, 2rem);
  --max: 68rem;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 0.4rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(7, 8, 15, 0.72), rgba(7, 8, 15, 0.28) 70%, transparent);
  transition: background 200ms ease, backdrop-filter 200ms ease, border-color 200ms ease;
}
.header.is-scrolled {
  background: rgba(7, 8, 15, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 2;
}
.logo-n {
  background: linear-gradient(135deg, #4de2ff 0%, #8b6cff 48%, #ff3cac 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 1.55rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 150ms ease;
}
.nav a:hover,
.nav a:focus-visible { color: var(--text); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  padding: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}
.lang-btn[aria-pressed="true"] {
  background: var(--gradient);
  color: #fff;
}
.lang-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.menu-btn {
  appearance: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 2;
}
.menu-btn-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
@media (max-width: 52.99rem) {
  .nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    position: fixed;
    inset: 0;
    margin: 0;
    background: rgba(7, 8, 15, 0.96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    padding: 6rem var(--page-pad) 2rem;
    transform: translateY(-6px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 200ms ease;
  }
  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .nav a {
    font-size: 1.6rem;
    font-weight: 650;
    color: var(--text);
  }
}

@media (min-width: 53rem) {
  .menu-btn { display: none; }
  .nav { display: flex; }
  .header-actions { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom,
      rgba(7, 8, 15, 0.28) 0%,
      rgba(7, 8, 15, 0.08) 28%,
      rgba(7, 8, 15, 0.28) 52%,
      rgba(7, 8, 15, 0.78) 78%,
      var(--bg) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--page-pad) clamp(2.2rem, 7vh, 4.2rem);
  width: 100%;
}

.hero-title {
  margin: 0;
  font-size: clamp(3.2rem, 11vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.hero-tagline {
  margin: 0.55rem 0 1.35rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 3.2vw, 2rem);
  letter-spacing: 0.01em;
  color: #f3f2fa;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.55em 1.55em;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  background: var(--gradient);
  box-shadow: 0 8px 28px rgba(255, 60, 172, 0.32);
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(255, 60, 172, 0.42);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Page sections ---------- */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.25rem var(--page-pad) 4rem;
}

.section { margin-top: 1.35rem; }
.section > h2,
.about-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  max-width: 38rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: var(--shadow);
}

.card-head h3,
.card-head {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card-sub {
  margin: 0.15rem 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
}

/* Music grid — two columns like the mockup, even on phones */
.music-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  grid-template-areas:
    "featured releases"
    "featured social";
  gap: 0.85rem;
  align-items: stretch;
}
.featured-card { grid-area: featured; display: flex; flex-direction: column; }
.releases-card { grid-area: releases; }
.social-card { grid-area: social; padding-top: 0.85rem; padding-bottom: 0.9rem; }

.video-frame {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #0a0b14;
  aspect-ratio: 800 / 508;
  margin-top: auto;
}
.video-frame iframe,
.video-poster,
.video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-poster { display: block; }
.video-poster img { object-fit: cover; }
.video-poster:hover { filter: brightness(1.06); }
.video-poster:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.release-art {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 800 / 376;
  background: #0a0b14;
}
.release-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-label { margin: 0 0 0.7rem; font-weight: 700; }
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.8rem;
  border-radius: 0.7rem;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
  background: #0a0b14;
  border: 1.5px solid transparent;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}
.social-btn svg { flex-shrink: 0; }
.social-yt {
  border-color: #ff3cac;
  box-shadow: 0 0 0 1px rgba(255, 60, 172, 0.15), 0 0 18px rgba(255, 60, 172, 0.12);
}
.social-tt {
  border-color: #4de2ff;
  box-shadow: 0 0 0 1px rgba(77, 226, 255, 0.12), 0 0 18px rgba(77, 226, 255, 0.1);
}
.social-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.social-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* About */
.about-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.25rem 1.5rem;
  min-height: 0;
}
.about-card::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 58%;
  background:
    url("../assets/about-mist.webp") right center / cover no-repeat,
    radial-gradient(ellipse at 80% 40%, rgba(180, 150, 255, 0.32), transparent 62%),
    radial-gradient(ellipse at 95% 80%, rgba(80, 140, 255, 0.18), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}
.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-card) 38%, transparent 78%);
  pointer-events: none;
}
.about-card h2 { position: relative; z-index: 1; }
.about-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Contact */
.contact-form { margin-top: 0.25rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.field input,
.field textarea {
  width: 100%;
  background: #0a0b14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  padding: 0.8em 0.95em;
  color: var(--text);
  caret-color: var(--pink);
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input::placeholder,
.field textarea::placeholder { color: #7d8094; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 60, 172, 0.22);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}
.form-status {
  margin: 0 auto 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.form-status.is-ok { color: #8ef0c8; }
.form-status.is-err { color: #ff9ab8; }

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Footer */
.footer {
  padding: 1.5rem var(--page-pad) 2.4rem;
  text-align: center;
}
.footer-wave {
  max-width: 26rem;
  margin: 0 auto 1rem;
}
.footer-wave svg { width: 100%; height: 2.6rem; overflow: visible; }
.wave-path {
  animation: wave-glow 3.8s ease-in-out infinite;
}
.copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

@keyframes wave-glow {
  0%, 100% { opacity: 0.78; }
  50% { opacity: 1; }
}

/* ---------- Wider screens ---------- */
@media (min-width: 40rem) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .field-full { grid-column: 1 / -1; }
}

@media (min-width: 53rem) {
  .hero-media img { object-position: center 22%; }
  .music-grid { gap: 1.15rem; }
  .card { padding: 1.2rem 1.25rem 1.3rem; }
  .about-card { padding: 1.7rem 1.6rem 1.85rem; }
  .section { margin-top: 1.7rem; }
}

@media (max-width: 31.99rem) {
  /* Phones: stack so the featured mix stays large and titles don't wrap */
  .music-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "featured"
      "releases"
      "social";
  }
  .social-row { justify-content: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
