:root {
  --bg: #070c16;
  --bg-gradient: radial-gradient(circle at 50% 0%, #152644 0%, #080d19 65%);
  --card-bg: rgba(18, 29, 49, 0.72);
  --card-bg-solid: #111a2d;
  --card-border: rgba(56, 189, 248, 0.18);
  --card-border-glow: rgba(56, 189, 248, 0.45);
  --ink: #f1f5f9;
  --ink-secondary: #e2e8f0;
  --muted: #94a3b8;
  --subtle: #64748b;
  --cyan: #38bdf8;
  --cyan-bright: #67e8f9;
  --emerald: #10b981;
  --emerald-light: #34d399;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(56, 189, 248, 0.28);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 36px;
  background: var(--bg);
}

body {
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.7;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

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

figure, p, h1, h2, h3, h4, ul, ol, dl, dd {
  margin: 0;
}

.wrap {
  max-width: 1200px;
  padding-inline: 40px;
  margin-inline: auto;
}

/* Skip link */
.skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--cyan);
  color: #070c16;
  font-weight: 700;
  border-radius: 6px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
  text-decoration: none;
}

.skip:focus {
  transform: translateY(0);
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand:hover {
  color: var(--cyan-bright);
}

.brand-dot {
  color: var(--cyan);
}

.mark {
  width: 26px;
  height: 22px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--emerald));
  clip-path: polygon(0 100%, 42% 0, 63% 52%, 77% 27%, 100% 100%, 78% 100%, 63% 70%, 44% 28%, 16% 100%);
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  padding-block: 8px;
  transition: color 0.2s ease;
}

nav a:hover, nav a[aria-current] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

nav a[aria-current] {
  color: var(--cyan);
  font-weight: 600;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--cyan-bright);
  margin-bottom: 20px;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--emerald-light);
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.feature-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--cyan-bright);
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.button-primary:hover {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
  transform: translateY(-2px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 88px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 620px;
}

h1 {
  font-size: 64px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -2.5px;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-sub {
  font-size: 26px;
  font-weight: 600;
  color: var(--cyan-bright);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.hero-philosophy {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-secondary);
  border-left: 3px solid var(--cyan);
  padding-left: 20px;
  margin-block: 22px;
  font-weight: 500;
}

.hero-prose {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 14px;
}

/* Dojeoni Mascot Card */
.dojeoni-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px 24px 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dojeoni-img-wrapper {
  position: relative;
  width: 260px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 12px 24px rgba(14, 165, 233, 0.3));
}

.dojeoni-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dojeoni-speech {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--card-border-glow);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.dojeoni-speech:before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(15, 23, 42, 0.85);
  border-left: 1px solid var(--card-border-glow);
  border-top: 1px solid var(--card-border-glow);
}

.dojeoni-name {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan-bright);
}

.dojeoni-role {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* Feature Sections */
.section {
  padding-block: 88px;
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

h2 {
  font-size: 38px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -1.2px;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-secondary);
}

.section-prose {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 16px;
}

.section-highlight {
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan-bright);
  margin-top: 20px;
}

/* Two-column Feature Layout */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-grid.reverse {
  direction: rtl;
}

.feature-grid.reverse > * {
  direction: ltr;
}

/* Stats Highlight Box */
.stats-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(8px);
}

.stat-item {
  margin-bottom: 24px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #ffffff;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat-unit {
  font-size: 20px;
  font-weight: 600;
  color: var(--cyan);
}

.stat-emerald {
  color: var(--emerald-light);
}

.stat-divider {
  height: 1px;
  background: var(--line);
  margin-block: 20px;
}

.sub-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sub-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-secondary);
}

.sub-stat-note {
  font-size: 12px;
  color: var(--subtle);
  margin-top: 2px;
}

/* App Screen Showcase Frame */
.device-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-border-glow);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.15);
  background: #000000;
}

.device-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.device-caption {
  padding: 12px 18px;
  background: rgba(11, 16, 29, 0.95);
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Step Flow Cards */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Memory Quote Banner */
.quote-banner {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(16, 185, 129, 0.08));
  border: 1px solid var(--card-border-glow);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 32px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: #ffffff;
  position: relative;
}

.quote-banner:before {
  content: '“';
  font-size: 48px;
  position: absolute;
  top: 10px;
  left: 14px;
  opacity: 0.15;
  font-family: serif;
}

/* Checklist / Details */
.check-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.check-icon {
  color: var(--emerald-light);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}

/* Section 05: Dojeoni Dedicated Feature */
.dojeoni-feature-card {
  background: linear-gradient(135deg, rgba(18, 29, 49, 0.85) 0%, rgba(11, 16, 29, 0.95) 100%);
  border: 1px solid var(--card-border-glow);
  border-radius: 24px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(56, 189, 248, 0.15);
}

.dojeoni-feature-img {
  max-width: 280px;
  margin-inline: auto;
  filter: drop-shadow(0 16px 28px rgba(14, 165, 233, 0.35));
}

.dojeoni-quote-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan-bright);
}

/* Section 06: Story Climax */
.story-climax {
  text-align: center;
  background: linear-gradient(180deg, rgba(20, 32, 54, 0.6) 0%, rgba(7, 12, 22, 0.9) 100%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}

.story-climax h2 {
  font-size: 40px;
  margin-bottom: 24px;
}

.story-climax-prose {
  max-width: 720px;
  margin-inline: auto;
  font-size: 16px;
  line-height: 2;
  color: var(--ink-secondary);
}

.story-climax-box {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.story-climax-h3 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  line-height: 1.4;
}

.story-climax-sub {
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan-bright);
  margin-top: 8px;
}

.story-climax-philosophy {
  font-size: 18px;
  color: var(--muted);
  margin-top: 16px;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(180deg, #101c31 0%, #080d19 100%);
  border: 1px solid var(--card-border-glow);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(14, 165, 233, 0.1);
}

.cta-banner h2 {
  font-size: 36px;
  letter-spacing: -1px;
}

.cta-banner p {
  max-width: 640px;
  margin-inline: auto;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 16px;
}

.cta-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--card-border);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-bright);
  margin-top: 28px;
}

/* Document Pages (Privacy, Terms, Support, 404) */
.document {
  max-width: 960px;
  padding-top: 64px;
  padding-bottom: 96px;
}

.document h1 {
  font-size: 44px;
  letter-spacing: -1.5px;
}

.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 16px;
}

.draft {
  border-left: 3px solid var(--cyan);
  background: rgba(14, 165, 233, 0.08);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin-block: 32px;
  color: var(--ink-secondary);
}

.draft strong {
  font-size: 14px;
  color: var(--cyan-bright);
}

.draft p {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 8px;
  color: var(--muted);
}

.contents {
  display: flex;
  padding: 12px 0 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px 28px;
}

.contents a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.contents a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.document section {
  margin-top: 48px;
}

.document section h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.document section h3 {
  font-size: 17px;
  color: var(--cyan-bright);
  margin-top: 28px;
  margin-bottom: 10px;
}

.document section p {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 12px;
  color: var(--ink-secondary);
}

.document code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan-bright);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pending {
  margin: 20px 0;
}

.pending > div {
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}

.pending dt {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.pending dd {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* Contact Panel (Support & Privacy) */
.contact-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border-glow);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  border-radius: 14px;
  margin-top: 32px;
}

.contact-panel h2 {
  font-size: 20px !important;
  border-bottom: none !important;
  margin-bottom: 8px !important;
}

.contact-panel p {
  font-size: 14px;
  color: var(--muted);
}

.contact-email-btn {
  background: var(--cyan);
  color: #070c16;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.contact-email-btn:hover {
  background: var(--cyan-bright);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
}

/* FAQ Component */
.faq {
  margin-top: 56px !important;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 22px 30px 22px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.2s ease;
}

summary:hover {
  color: var(--cyan-bright);
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  position: absolute;
  right: 4px;
  font-size: 24px;
  top: 16px;
  color: var(--cyan);
}

details[open] summary:after {
  content: '−';
}

.faq details p {
  padding: 0 24px 24px 0;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.support-links {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 48px;
}

.support-links a {
  display: inline-block;
  margin-right: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}

/* Footer */
.footer {
  padding-top: 48px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-top p {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.footer-bottom p, .credits {
  font-size: 12px;
  color: var(--subtle);
  line-height: 1.7;
}

.footer-bottom nav {
  gap: 20px;
}

.footer-bottom nav a {
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom nav a:hover {
  color: var(--cyan);
}

.footer-contact {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

.footer-contact a {
  color: var(--cyan);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 1000px) {
  .wrap {
    padding-inline: 28px;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 64px;
  }
  
  .hero-copy {
    max-width: 100%;
  }

  h1 {
    font-size: 52px;
    letter-spacing: -2px;
  }

  .dojeoni-card {
    max-width: 440px;
    margin-inline: auto;
  }

  .dojeoni-feature-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-grid.reverse {
    direction: ltr;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .wrap {
    padding-inline: 20px;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-block: 20px;
    min-height: auto;
  }

  .header nav {
    width: 100%;
    gap: 0;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header nav a {
    font-size: 12px;
    padding-block: 6px;
  }

  h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }

  .hero-sub {
    font-size: 20px;
  }

  h2 {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .stat-value {
    font-size: 36px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .sub-stats {
    grid-template-columns: 1fr;
  }

  .pending > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cta-banner, .story-climax {
    padding: 36px 20px;
  }

  .story-climax-h3 {
    font-size: 24px;
  }

  .story-climax-sub {
    font-size: 18px;
  }
}

/* Floating Music Player Bar */
.music-player-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(14, 23, 42, 0.88);
  border: 1px solid var(--card-border-glow);
  padding: 12px 20px;
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: calc(100vw - 48px);
}

.music-player-bar:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(56, 189, 248, 0.35);
}

.player-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.player-text {
  display: flex;
  flex-direction: column;
}

.player-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.player-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.player-audio-element {
  height: 34px;
  max-width: 210px;
  filter: invert(1) hue-rotate(180deg) brightness(1.2);
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.player-audio-element:hover {
  opacity: 1;
}

/* Hide download, playback rate and overflow buttons in WebKit/Blink (Chrome, Edge, Safari, Android) */
audio::-internal-media-controls-download-button,
audio::-webkit-media-controls-enclosure button[aria-label*="download" i],
audio::-webkit-media-controls-enclosure button[aria-label*="다운로드" i] {
  display: none !important;
}

audio::-webkit-media-controls-panel {
  overflow: hidden !important;
}

/* In-section music showcase card */
.music-showcase-box {
  background: linear-gradient(135deg, rgba(20, 32, 58, 0.7) 0%, rgba(12, 20, 36, 0.85) 100%);
  border: 1px solid var(--card-border-glow);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.music-showcase-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.music-showcase-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan-bright);
  background: rgba(56, 189, 248, 0.15);
  padding: 4px 8px;
  border-radius: 6px;
}

.music-showcase-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.music-showcase-sub {
  font-size: 12px;
  color: var(--muted);
}

.music-showcase-player {
  height: 36px;
  filter: invert(1) hue-rotate(180deg) brightness(1.15);
}

@media (max-width: 680px) {
  .music-player-bar {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
    padding: 10px 14px;
    justify-content: space-between;
    gap: 8px;
  }
  
  .player-audio-element {
    max-width: 170px;
    height: 32px;
  }

  .player-title {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button-primary:hover, .button-secondary:hover, .step-card:hover {
    transform: none;
  }
}
