:root {
  color-scheme: dark;
  --black: #000;
  --white: #fff;
  --blue: #2563eb;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--black); }
body { margin: 0; min-width: 320px; background: var(--black); color: var(--white); font-family: "Inter", Arial, sans-serif; line-height: 1.5; }
body:has(.purchase-dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #93c5fd; outline-offset: 5px; }
.shell { width: min(100%, 1180px); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 12px; background: var(--white); color: var(--black); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(100%, 1180px); margin: 0 auto; padding: 14px 20px; }
.brand { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: "Kalam", cursive; font-size: 1.75rem; font-weight: 700; line-height: 1; }
.brand .name-badge { width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 9px 13px; border-radius: 999px; color: #b8b8bd; font-size: 0.88rem; font-weight: 700; }
.site-nav a:hover { background: #ffffff1a; color: var(--white); }
.eyebrow { margin: 0; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.17em; color: var(--muted); }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #60a5fa; vertical-align: middle; }
.blue-text { color: #60a5fa; }
.shop-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 76% 48%, #14223b77, transparent 52%), #050506; }
.shop-hero::before { position: absolute; top: 0; left: 0; width: 132px; height: 2px; background: var(--blue); content: ""; }
.hero-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; min-height: 470px; padding-top: 64px; padding-bottom: 64px; }
h1 { margin: 22px 0 18px; font-family: "Kalam", cursive; font-size: clamp(3rem, 5.5vw, 4.6rem); line-height: 1.04; letter-spacing: -0.025em; }
.hero-description { max-width: 490px; margin: 0 0 26px; color: #b5b5be; font-size: 0.94rem; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 0.8rem; font-weight: 800; line-height: 1.5; transition: background 0.2s ease, border-color 0.2s ease; }
.button-primary { background: var(--white); color: var(--black); }
.button-primary:hover { background: #dbeafe; }
.button-secondary { background: #ffffff06; border-color: var(--line); color: var(--white); }
.button-secondary:hover { background: #ffffff10; border-color: #ffffff55; }
.hero-note { margin: 16px 0 0; color: #90909b; font-size: 0.69rem; }
.hero-art { position: relative; height: 320px; max-width: 470px; width: 100%; margin: 0 auto; }
.art-orbit { position: absolute; width: 330px; height: 330px; top: -5px; left: 45px; border: 1px solid #ffffff0c; border-radius: 50%; box-shadow: 0 0 0 30px #ffffff02, 0 0 0 60px #ffffff02; }
.hero-cover { position: absolute; width: 228px; height: 228px; object-fit: cover; border: 1px solid #ffffff2a; border-radius: 8px; box-shadow: 0 18px 45px #0009; }
.hero-cover-back { top: 15px; right: 0; transform: rotate(10deg); }
.hero-cover-front { top: 60px; left: 18px; transform: rotate(-10deg); }
.art-caption { position: absolute; bottom: -10px; left: 30px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: #0b0e15; color: #c8c8d0; font-size: 0.59rem; font-weight: 700; letter-spacing: 0.13em; }
.catalog-section .shell { padding-top: 62px; padding-bottom: 58px; }
.catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
h2 { margin: 12px 0 0; font-family: "Kalam", cursive; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; }
.catalog-count { margin: 0 0 4px; color: var(--muted); font-size: 0.73rem; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: #0a0a0c; }
.filter-button { min-height: 37px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 0.73rem; font-weight: 700; }
.filter-button[aria-pressed="true"] { background: var(--white); color: var(--black); }
.filter-button:hover:not([aria-pressed="true"]) { color: var(--white); background: #ffffff0d; }
.digital-note { display: flex; align-items: center; gap: 8px; color: #90909b; font-size: 0.7rem; }
.digital-note svg { width: 16px; height: 16px; }
.song-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.song-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #0a0a0d; }
.song-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 250px; padding: 26px; isolation: isolate; overflow: hidden; background: #182123; }
.song-art::before { position: absolute; inset: -30px; z-index: -2; background-image: var(--artwork); background-position: center; background-size: cover; filter: blur(24px) brightness(0.5); content: ""; }
.song-art::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0a0a0d, #0000 55%); content: ""; }
.song-art > img { width: 210px; height: 210px; object-fit: cover; border: 1px solid #ffffff20; border-radius: 4px; box-shadow: 0 12px 40px #0008; }
.song-number { position: absolute; top: 20px; left: 22px; color: #ffffffaa; font-size: 0.66rem; letter-spacing: 0.12em; }
.song-content { padding: 5px 26px 26px; }
.song-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.song-heading h3 { margin: 0; font-size: 1.3rem; font-weight: 800; line-height: 1.3; }
.song-version { margin: 5px 0 0; color: var(--muted); font-size: 0.76rem; }
.preview-button { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #dedee4; font-size: 0.68rem; font-weight: 700; }
.preview-button:hover { background: #ffffff10; }
.preview-button svg { width: 13px; height: 13px; }
.preview-panel { padding-top: 20px; }
.preview-panel iframe { display: block; width: 100%; height: 152px; border: 0; border-radius: 8px; }
.preview-panel > a { display: inline-block; margin-top: 8px; color: #a8c8ff; font-size: 0.73rem; text-decoration: underline; text-underline-offset: 3px; }
.product-list { display: grid; margin-top: 24px; border-top: 1px solid var(--line); }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; }
.product-row + .product-row { margin-top: 18px; border-top: 1px solid #ffffff0a; }
.product-info { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.product-info > svg { width: 18px; height: 18px; margin-top: 3px; color: #96b9f3; }
.product-info h4 { margin: 0; font-size: 0.8rem; font-weight: 700; }
.product-info p { margin: 4px 0 0; color: #90909b; font-size: 0.68rem; }
.product-info .product-price { color: #e4e4ec; font-size: 0.88rem; font-weight: 700; }
.product-action { flex-shrink: 0; gap: 8px; min-height: 38px; padding: 9px 13px; font-size: 0.68rem; }
.product-action:disabled { cursor: wait; opacity: 0.55; }
.song-enquiry { margin-top: 22px; padding: 0; border: 0; background: transparent; color: #a6bbde; text-align: left; font-size: 0.68rem; text-decoration: underline; text-underline-offset: 4px; }
.payment-status { margin-bottom: 24px; padding: 20px; border: 1px solid #2563eb66; border-radius: 10px; background: #2563eb12; }
.payment-status[data-state="success"] { border-color: #22c55e77; background: #22c55e12; }
.payment-status[data-state="error"], .payment-status[data-state="pending"] { border-color: #f59e0b77; background: #f59e0b0c; }
.payment-status p { margin: 0; font-size: 0.82rem; line-height: 1.8; }
.payment-status .payment-reference { margin-top: 8px; font-family: monospace; overflow-wrap: anywhere; }
.payment-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.payment-actions:has(.button:not([hidden])) { margin-top: 16px; }
.purchase-note { max-width: 660px; margin: 24px auto 0; color: #90909b; font-size: 0.72rem; line-height: 1.8; text-align: center; }
.formats-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #060608; }
.formats-section .shell { padding-top: 48px; padding-bottom: 48px; }
.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; margin-top: 30px; }
.format-card { display: flex; align-items: flex-start; gap: 18px; }
.format-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid #2563eb44; border-radius: 10px; background: #2563eb10; color: #93baff; }
.format-icon svg { width: 23px; height: 23px; }
.format-card h3 { margin: 0; font-size: 0.95rem; }
.format-card p { max-width: 390px; margin: 10px 0; color: var(--muted); font-size: 0.8rem; line-height: 1.8; }
.format-tag { color: #747480; font-size: 0.57rem; font-weight: 700; letter-spacing: 0.14em; }
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; padding-top: 60px; padding-bottom: 64px; }
.faq-help { margin: 20px 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.9; }
.faq-help a { color: #d5e4ff; text-decoration: underline; text-underline-offset: 4px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 20px 28px 20px 0; list-style: none; cursor: pointer; font-size: 0.82rem; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 17px; right: 0; color: var(--muted); font-size: 1.2rem; font-weight: 400; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 22px 22px 0; color: var(--muted); font-size: 0.79rem; line-height: 1.8; }
.purchase-dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow-y: auto; border: 1px solid #ffffff2a; border-radius: 14px; background: #101014; color: var(--white); box-shadow: 0 30px 90px #000a; }
.purchase-dialog::backdrop { background: #000b; backdrop-filter: blur(6px); }
.dialog-content { position: relative; padding: 34px 28px 26px; }
.dialog-close-form { position: absolute; top: 10px; right: 12px; }
.dialog-close { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #bdbdc6; font-size: 1.6rem; }
.dialog-close:hover { background: #ffffff10; }
.purchase-summary { display: flex; align-items: center; gap: 16px; margin: 24px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.purchase-summary img { width: 72px; height: 72px; flex-shrink: 0; object-fit: cover; border-radius: 5px; }
.purchase-summary h3 { margin: 0; font-size: 1rem; }
.purchase-summary p { margin: 3px 0 5px; color: var(--muted); font-size: 0.73rem; }
.purchase-summary span { color: #accdff; font-size: 0.72rem; font-weight: 700; }
#purchase-description { margin: 0 0 22px; color: #b5b5be; font-size: 0.82rem; line-height: 1.8; }
.dialog-content > .button { display: flex; width: 100%; margin-top: 10px; }
.dialog-note { margin: 18px 0 0; color: #90909b; font-size: 0.68rem; text-align: center; }
.no-script-card { padding: 24px; }
.no-script-card img { width: 180px; height: 180px; object-fit: cover; }
.no-script-card p { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 1000px) {
  .hero-layout { gap: 20px; }
  .hero-art { height: 290px; max-width: 370px; }
  .hero-cover { width: 200px; height: 200px; }
  .hero-cover-front { left: 0; }
  .art-orbit { width: 280px; height: 280px; left: 20px; }
  .art-caption { left: 0; }
  .song-content { padding-left: 20px; padding-right: 20px; }
  .song-heading { align-items: flex-start; }
  .song-heading h3 { font-size: 1.1rem; }
  .format-grid { gap: 30px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 135px; }
  .shell { padding-left: 16px; padding-right: 16px; }
  .hero-layout { min-height: 0; padding-top: 42px; padding-bottom: 42px; }
  .hero-copy { position: relative; z-index: 1; }
  h1 { font-size: 3.2rem; }
  .hero-art { max-width: 260px; height: 245px; }
  .hero-cover { width: 150px; height: 150px; }
  .hero-cover-front { top: 70px; left: 5px; }
  .hero-cover-back { top: 15px; right: 0; }
  .art-orbit { width: 200px; height: 200px; left: 10px; top: 15px; }
  .art-caption { display: none; }
  .hero-description { font-size: 0.83rem; }
  .hero-note { max-width: 240px; line-height: 1.8; }
  .catalog-section .shell { padding-top: 42px; padding-bottom: 40px; }
  .catalog-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; gap: 16px; }
  .song-grid { gap: 18px; }
  .song-heading { flex-direction: column; gap: 12px; }
  .product-row { align-items: stretch; flex-direction: column; gap: 12px; }
  .product-action { align-self: flex-start; }
  .song-art { min-height: 210px; padding: 22px; }
  .song-art > img { width: 170px; height: 170px; }
  .song-number { top: 10px; left: 12px; }
  .format-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 42px; padding-bottom: 42px; }
}

@media (max-width: 540px) {
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 300px; height: 220px; }
  .hero-cover { width: 165px; height: 165px; }
  .hero-cover-back { top: 0; right: 10px; }
  .hero-cover-front { top: 35px; left: 10px; }
  .art-orbit { width: 215px; height: 215px; left: 35px; top: -10px; }
  h1 { font-size: 3.6rem; }
  .hero-description { max-width: 340px; }
  .desktop-break { display: none; }
  .hero-note { max-width: none; }
  .song-grid { grid-template-columns: 1fr; }
  .song-heading { flex-direction: row; }
  .song-content { padding: 5px 20px 24px; }
  .song-art { min-height: 250px; }
  .song-art > img { width: 200px; height: 200px; }
  .product-row { align-items: center; flex-direction: row; }
  .product-action { align-self: auto; }
  .filters { gap: 2px; width: 100%; justify-content: space-between; }
  .filter-button { padding: 8px 11px; font-size: 0.67rem; }
  .dialog-content { padding-left: 22px; padding-right: 22px; }
}

@media (max-width: 360px) {
  h1 { font-size: 3.15rem; }
  .song-content { padding-left: 16px; padding-right: 16px; }
  .song-heading { flex-direction: column; }
  .product-row { gap: 8px; }
  .product-info { gap: 8px; }
  .product-action { padding: 8px 10px; font-size: 0.62rem; }
  .filter-button { padding: 8px; font-size: 0.63rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
