/* ============================================
   모바일 청첩장 — Copenhagen Minimal
   ============================================ */

/* ---- Design Tokens ---- */
:root {
  --bg:         #FFFFFF;
  --bg-soft:    #FAF7F0;
  --text:       #1F1F1F;
  --text-mute:  #8A857B;
  --line:       #E8E3D7;
  --accent:     #1F1F1F;

  --font-serif:     'Cormorant Garamond', 'Nanum Myeongjo', Georgia, serif;
  --font-ko:        'Nanum Myeongjo', Georgia, serif;
  --font-handwrite: 'Nanum Pen Script', cursive;
  --font-sans:      'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  --max-w:  430px;
  --pad:    1.5rem;
  --radius: 8px;
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-soft);
  font-family: var(--font-ko);
  color: var(--text);
  line-height: 1.8;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
section, footer { max-width: var(--max-w); margin: 0 auto; background: var(--bg); contain: layout style; }
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- Scroll animation ---- */
.fade-in-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ============================================
   SECTION 1: HERO — Polaroid Style
   ============================================ */
#hero {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100svh;
  min-height: 100vh;
  position: relative;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem var(--pad) 5rem;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.hero-polaroid-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.9rem;
}

.hero-polaroid {
  background: #fff;
  padding: 10px 10px 0;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.10),
    0 10px 28px rgba(0,0,0,0.10);
  transform: rotate(-1.5deg);
  width: 100%;
}

.hero-photo {
  width: 100%;
  overflow: hidden;
  position: relative;
}

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

.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  color: #d4a84b;
  line-height: 1;
  text-shadow: 0 0 10px rgba(212, 168, 75, 0.8), 0 0 20px rgba(212, 168, 75, 0.4);
  animation: sparkle-twinkle 2.5s ease-in-out infinite;
}

.sp-1 { top:  5%; left:  7%;  font-size: 1.25rem; animation-delay: 0.0s; animation-duration: 2.2s; }
.sp-2 { top:  8%; right: 9%;  font-size: 0.85rem; animation-delay: 0.5s; animation-duration: 2.8s; }
.sp-3 { top:  3%; right:24%;  font-size: 0.65rem; animation-delay: 1.0s; animation-duration: 2.0s; }
.sp-4 { top: 22%; left:  3%;  font-size: 0.75rem; animation-delay: 1.4s; animation-duration: 3.0s; }
.sp-5 { top: 16%; right: 5%;  font-size: 0.60rem; animation-delay: 0.3s; animation-duration: 2.5s; }
.sp-6 { bottom:20%; left:  5%; font-size: 0.90rem; animation-delay: 0.8s; animation-duration: 2.3s; }
.sp-7 { bottom:12%; right: 8%; font-size: 0.70rem; animation-delay: 1.7s; animation-duration: 2.7s; }
.sp-8 { bottom:32%; right:18%; font-size: 0.55rem; animation-delay: 0.6s; animation-duration: 2.1s; }
.sp-9 { top: 38%; left: 10%;  font-size: 0.65rem; animation-delay: 1.2s; animation-duration: 2.4s; }

@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0;   transform: scale(0.3) rotate(0deg);  }
  45%, 55%  { opacity: 1;   transform: scale(1.0) rotate(20deg); }
}


.hero-caption-area {
  padding: 0.6rem 0.5rem 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

.hero-cap-date {
  font-family: var(--font-ko);
  font-size: 0.72rem;
  color: var(--text);
  letter-spacing: 0.05em;
  line-height: 1.85;
  white-space: pre-line;
}

.hero-cap-venue {
  font-family: var(--font-ko);
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}


/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: bounce-fade 2s ease-in-out infinite;
  pointer-events: none;
}
.scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(80,70,60,0.4));
}
.scroll-text {
  font-family: var(--font-serif);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: rgba(80,70,60,0.5);
  text-transform: uppercase;
  font-style: italic;
}
@keyframes bounce-fade {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(7px); }
}

/* ============================================
   SECTION COMMONS (Copenhagen minimal)
   ============================================ */
section { padding: 4rem var(--pad); }

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.sec-label {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--text-mute);
  text-transform: uppercase;
}

.section-inner { text-align: center; }

/* ============================================
   SECTION 2: INVITATION
   ============================================ */
#invitation { text-align: center; }
.invitation-text {
  font-family: var(--font-ko);
  font-size: 0.92rem;
  line-height: 2.2;
  color: var(--text);
  white-space: pre-line;
  margin: 0 0 2.2rem;
}
.family-info {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0.4rem;
}
.family-row {
  padding: 0.7rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
}
.family-side {
  flex-shrink: 0;
  font-family: var(--font-ko);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-mute);
  min-width: 32px;
}
.family-names {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.7;
}
.family-names strong {
  color: var(--text);
  font-weight: 700;
  margin-left: 0.3em;
}
.family-divider {
  height: 1px;
  background: var(--line);
  margin: 0 0.6rem;
  opacity: 0.6;
}

/* ============================================
   SECTION 3: CALENDAR — Month grid
   ============================================ */
#calendar-sec { text-align: center; padding: 2.5rem var(--pad); }
.calendar-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  max-width: 320px;
  margin: 0 auto 1.2rem;
}
.cal-head {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  padding: 0.5rem 0;
  text-transform: uppercase;
  font-style: italic;
}
.cal-head.sun { color: #C48A8A; }
.cal-day {
  font-family: var(--font-ko);
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.55rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cal-day--empty { color: transparent; }
.cal-day--sun   { color: #C48A8A; }
.cal-day--wedding {
  flex-direction: column;
  gap: 0.18rem;
  padding-bottom: 0.4rem;
}
.cal-wedding-num {
  position: relative;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  z-index: 1;
}
.cal-wedding-num::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 50%;
  z-index: -1;
}
.cal-wedding-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  font-style: italic;
}
.calendar-time {
  font-family: var(--font-ko);
  font-size: 0.85rem;
  color: var(--text-mute);
  letter-spacing: 0.08em;
}

/* ============================================
   SECTION 4: COUNTDOWN
   ============================================ */
#countdown { text-align: center; }
.countdown-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin: 0 0 1.6rem;
  font-style: italic;
}
.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}
.time-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 9vw, 2.6rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
}
.time-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.6rem;
  color: var(--text-mute);
  letter-spacing: 0.22em;
  margin-top: 0.3rem;
  text-transform: uppercase;
}
.time-sep {
  font-size: 1.4rem;
  color: var(--line);
  margin-bottom: 1.2rem;
  font-weight: 300;
}
.countdown-done {
  font-family: var(--font-handwrite);
  font-size: 1.3rem;
  color: var(--text);
}

/* ============================================
   SECTION 5: GALLERY
   ============================================ */
#gallery { padding-bottom: 2rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.gallery-cell {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--bg-soft);
}
.gallery-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  image-rendering: -webkit-optimize-contrast;
  display: block;
}
.gallery-cell:hover img { transform: scale(1.04); }
.gallery-cell:nth-child(6) img { transform: scale(1.14); object-position: center 18%; }
.gallery-cell:nth-child(6):hover img { transform: scale(1.18); object-position: center 18%; }

.gallery-empty {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--text-mute);
  font-size: 0.82rem;
  text-align: center;
  border: 1px dashed var(--line);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 10000;
  background: rgba(20,20,20,0.96);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 95vw;
  max-height: 85svh;
  max-height: 85vh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
}
.lightbox-counter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.2em;
  margin-top: 0.8rem;
  font-style: italic;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-close { position: absolute; top: 1.2rem; right: 1.2rem; width: 38px; height: 38px; font-size: 1rem; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; font-size: 1.5rem; }
.lightbox-prev { left: 0.8rem; }
.lightbox-next { right: 0.8rem; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.18); }

/* ============================================
   SECTION 6: VENUE & MAP
   ============================================ */
.venue-title-block {
  text-align: center;
  margin-bottom: 1.2rem;
}
.venue-name-display {
  font-family: var(--font-ko);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.venue-address-display {
  font-size: 0.88rem;
  color: var(--text-mute);
  line-height: 1.6;
}

.venue-map-embed {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.venue-nav-btns {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.venue-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.venue-nav-btn span {
  font-family: var(--font-ko);
  font-size: 0.85rem;
  color: var(--text);
}

.venue-transport {
  padding: 1.4rem 0 0;
}
.venue-transport-item {
  margin-bottom: 1.2rem;
}
.venue-transport-title {
  font-family: var(--font-ko);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.venue-transport-desc {
  font-family: var(--font-ko);
  font-size: 0.82rem;
  color: var(--text-mute);
  line-height: 1.75;
}

/* ============================================
   SECTION 7: CONTACTS
   ============================================ */
.contact-grid {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.contact-person {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0.8rem 1.8rem;
  gap: 0.5rem;
}
.contact-sep {
  width: 1px;
  background: var(--line);
  align-self: stretch;
}
.contact-role {
  font-family: var(--font-ko);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-mute);
}
.contact-name {
  font-family: var(--font-ko);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}
.contact-btns {
  display: flex;
  gap: 1rem;
  margin-top: 0.7rem;
}
.btn-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #aaa;
  background: transparent;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-contact-icon:active { background: var(--bg-soft); }

/* Parents grid */
.parents-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.parents-col {
  display: flex;
  flex-direction: column;
}
.parents-col + .parents-col { border-left: 1px solid var(--line); }
.parent-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid var(--line);
}
.parent-card:last-child { border-bottom: none; }
.parent-relation { font-size: 0.68rem; color: var(--text-mute); }
.parent-name { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-top: 0.1rem; }
.parent-btns { display: flex; gap: 0.3rem; }
.btn-parent-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-parent-contact:active { background: var(--bg-soft); }

/* ============================================
   CONTACT + GIFT COMBINED PANELS
   ============================================ */
.contact-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contact-tab-panel--hidden { display: none; }
.contact-tab-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0 0.5rem;
  gap: 0.4rem;
}
.contact-gift-sep {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.contact-gift-sep-text {
  font-size: 0.78rem;
  color: var(--text-mute);
  text-align: center;
}
.contact-gift-accounts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ============================================
   SECTION 8: ACCOUNTS
   ============================================ */
.accounts-subtitle {
  font-size: 0.8rem;
  color: var(--text-mute);
  margin-bottom: 1.4rem;
  text-align: center;
}
.accounts-tabs {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3px;
  margin-bottom: 0.8rem;
  background: var(--bg);
}
.tab-btn {
  flex: 1;
  padding: 0.6rem;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-family: var(--font-ko);
  font-size: 0.82rem;
  color: var(--text-mute);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.tab-btn.tab-active {
  background: var(--text);
  color: #FFF;
  font-weight: 700;
}
.accounts-panel { display: flex; flex-direction: column; gap: 0.6rem; }
.accounts-panel--hidden { display: none; }
.account-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  background: var(--bg);
}
.account-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.bank-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  text-transform: uppercase;
  flex-shrink: 0;
}
.account-number {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  flex: 1;
  letter-spacing: 0.02em;
}
.btn-copy {
  flex-shrink: 0;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 0.25em 0.75em;
  border-radius: 20px;
  font-family: var(--font-ko);
  font-size: 0.7rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-copy:hover, .btn-copy:active { background: var(--text); color: #FFF; }
.account-holder {
  font-size: 0.72rem;
  color: var(--text-mute);
  margin-top: 0.5rem;
  text-align: right;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg-soft);
  padding: 4rem var(--pad) 3rem;
  text-align: center;
}
.footer-inner { position: relative; z-index: 1; }
.footer-message {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  margin: 0 0 1.4rem;
  line-height: 1.8;
}
.footer-names {
  font-family: var(--font-handwrite);
  font-size: 1.6rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.footer-heart { color: var(--text-mute); font-size: 0.9rem; }
.footer-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  color: var(--text-mute);
  letter-spacing: 0.2em;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ============================================
   BOTTOM ACTION BAR
   ============================================ */
.bottom-bar {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  background: #cfcecc;
  border-top: none;
  display: flex;
  align-items: stretch;
  z-index: 5000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.8rem 0.3rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-ko);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.bottom-btn:active { background: rgba(0,0,0,0.08); }
.bottom-btn + .bottom-btn { border-left: 1px solid rgba(0,0,0,0.1); }
.bottom-icon {
  width: 18px; height: 18px;
  stroke: var(--text);
  flex-shrink: 0;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 5rem; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--text);
  color: #FFF;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-family: var(--font-ko);
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 20000;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================
   SAFE AREAS & MOTION
   ============================================ */
@supports (padding: env(safe-area-inset-bottom)) {
  .scroll-hint { bottom: calc(2rem + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in-section { opacity: 1; transform: none; transition: none; will-change: auto; }
  .scroll-hint { animation: none; }
}

/* ============================================
   MUSIC PLAYER BUTTON
   ============================================ */
.btn-music {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-mute);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-music:active { opacity: 0.7; }
.music-icon { flex-shrink: 0; }
.music-icon--pause { display: none; }
.btn-music.is-playing .music-icon--note  { display: none; }
.btn-music.is-playing .music-icon--pause { display: block; }
.btn-music.is-playing { color: var(--text); border-color: var(--text); }
.btn-music.is-playing .music-label { content: 'STOP'; }

@keyframes music-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.btn-music.is-playing .music-icon--pause {
  animation: music-pulse 1.4s ease-in-out infinite;
}
