 :root { color-scheme: dark; --bg: #09080b; --panel: #151319; --muted: #a3a0aa; --accent: #a855f7; --accent-2: #e879f9; }
        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--bg); color: #fff; font-family: 'Outfit', sans-serif; }
        button, input { font: inherit; }
        button { color: inherit; }
        a { color: inherit; text-decoration: none; }
        .site-header { position: absolute; z-index: 5; top: 0; left: 0; display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 24px clamp(20px, 5vw, 76px); }
        .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; letter-spacing: -.06em; }
        .brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: linear-gradient(145deg,#d946ef,#7c3aed); font-size: 18px; box-shadow: 0 5px 22px rgba(168,85,247,.3); }
        .brand-name span { color: #c084fc; }
        .header-link { color: #d4d0da; font-size: 12px; font-weight: 700; transition: color .2s; }
        .header-link:hover { color: white; }
        .hero { position: relative; display: flex; min-height: min(690px, 92vh); align-items: flex-end; overflow: hidden; padding: 130px clamp(22px, 7vw, 104px) 74px; isolation: isolate; }
        .hero::before { position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse at 75% 24%,rgba(124,58,237,.42),transparent 42%),linear-gradient(120deg,#17101f,#09080b 68%); content: ''; }
        .hero-image { position: absolute; z-index: -1; inset: -5%; background-position: center 38%; background-size: cover; opacity: .53; filter: saturate(.82); transform: scale(1.03); transition: background-image .3s ease; }
        .hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#09080b 0%,rgba(9,8,11,.73) 20%,rgba(9,8,11,.06) 75%),linear-gradient(90deg,rgba(9,8,11,.9),transparent 85%); }
        .hero-content { width: min(670px,100%); }
        .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #e9d5ff; font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
        .eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #c084fc; box-shadow: 0 0 14px #c084fc; }
        .hero h1 { margin: 0; font-size: clamp(42px,8vw,86px); font-weight: 900; letter-spacing: -.075em; line-height: .92; text-wrap: balance; }
        .hero h1 span { display: block; margin-top: 10px; color: #d8b4fe; font-size: .43em; letter-spacing: -.02em; line-height: 1.1; }
        .hero-description { max-width: 560px; margin: 22px 0 0; color: #d2ced7; font-size: clamp(14px,1.8vw,17px); line-height: 1.65; }
        .hero-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; color: #e4dced; font-size: 11px; font-weight: 700; }
        .hero-meta span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(15,12,18,.42); backdrop-filter: blur(8px); }
        .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
        .button-primary,.button-secondary { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 0 19px; border: 0; border-radius: 12px; cursor: pointer; font-size: 12px; font-weight: 900; transition: transform .2s,background .2s,border-color .2s; }
        .button-primary { background: #fff; color: #17131d; }
        .button-primary:hover { transform: translateY(-2px); background: #f3e8ff; }
        .button-secondary { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.09); color: white; backdrop-filter: blur(12px); }
        .button-secondary:hover { transform: translateY(-2px); background: rgba(255,255,255,.16); }
        .catalog { position: relative; z-index: 1; max-width: 1600px; margin: -10px auto 0; padding: 0 clamp(16px,4vw,64px) 80px; }
        .catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
        .catalog-title { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -.04em; }
        .catalog-controls { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
        .search-wrap { position: relative; width: min(290px,100%); }
        .search-wrap span { position: absolute; top: 50%; left: 13px; color: #89848f; transform: translateY(-50%); pointer-events: none; }
        .search-input { width: 100%; height: 40px; padding: 0 14px 0 38px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; outline: none; background: rgba(255,255,255,.055); color: #fff; font-size: 12px; }
        .search-input:focus { border-color: rgba(192,132,252,.7); box-shadow: 0 0 0 3px rgba(168,85,247,.12); }
        .genre-chips { display: flex; max-width: 100%; gap: 7px; overflow-x: auto; padding: 2px 1px 15px; scrollbar-width: none; }
        .genre-chips::-webkit-scrollbar { display: none; }
        .genre-chip { flex: 0 0 auto; padding: 8px 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(255,255,255,.045); color: #c7c3cc; cursor: pointer; font-size: 10px; font-weight: 800; transition: .2s; }
        .genre-chip:hover,.genre-chip.active { border-color: rgba(216,180,254,.45); background: rgba(168,85,247,.2); color: #fff; }
        .catalog-status { min-height: 18px; margin: 0 0 12px; color: #96919d; font-size: 11px; }
        .catalog-status.error { color: #fca5a5; }
        .shelf { margin-top: 29px; }
        .shelf[hidden] { display: none; }
        .shelf-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
        .shelf-heading h2 { margin: 0; font-size: clamp(17px,2vw,21px); font-weight: 900; letter-spacing: -.045em; }
        .shelf-arrows { display: flex; gap: 6px; }
        .shelf-arrow { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.055); color: #ddd8e3; cursor: pointer; transition: .2s; }
        .shelf-arrow:hover { border-color: rgba(216,180,254,.55); background: rgba(168,85,247,.18); }
        .shelf-track { display: flex; gap: 13px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
        .beat-card { position: relative; flex: 0 0 clamp(142px,17vw,195px); scroll-snap-align: start; }
        .beat-art { position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.65; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: linear-gradient(145deg,#302039,#111015 72%); box-shadow: 0 9px 25px rgba(0,0,0,.24); }
        .beat-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1),filter .35s; }
        .beat-card:hover .beat-art img { transform: scale(1.055); filter: brightness(.76); }
        .beat-art-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 26% 22%,var(--beat-glow,rgba(192,132,252,.5)),transparent 40%),linear-gradient(145deg,var(--beat-start,#34203d),#100e14 75%); color: rgba(255,255,255,.82); font-size: 42px; }
        .beat-card:nth-child(4n+2) .beat-art-fallback { --beat-glow: rgba(45,212,191,.48); --beat-start:#153b39; }
        .beat-card:nth-child(4n+3) .beat-art-fallback { --beat-glow: rgba(251,146,60,.45); --beat-start:#482a1c; }
        .beat-card:nth-child(4n+4) .beat-art-fallback { --beat-glow: rgba(96,165,250,.5); --beat-start:#1d2c4e; }
        .beat-art-label { position: absolute; top: 9px; left: 9px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(7,6,9,.55); color: #fff; font-size: 8px; font-weight: 900; letter-spacing: .08em; backdrop-filter: blur(8px); }
        .beat-plus { position: absolute; z-index: 2; right: 9px; bottom: 9px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(14,12,18,.74); color: white; cursor: pointer; font-size: 22px; font-weight: 500; line-height: 1; backdrop-filter: blur(10px); transition: .2s; }
        .beat-plus:hover { transform: scale(1.09); border-color: #fff; background: #fff; color: #151019; }
        .beat-copy { padding: 9px 2px 0; }
        .beat-name { overflow: hidden; margin: 0; color: #fff; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
        .beat-artist { overflow: hidden; margin: 4px 0 0; color: #97929e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
        .beat-tags { display: flex; gap: 5px; overflow: hidden; margin-top: 7px; }
        .beat-tag { flex: 0 0 auto; padding: 4px 7px; border-radius: 5px; background: rgba(255,255,255,.07); color: #cbc6d0; font-size: 8px; font-weight: 700; }
        .empty-state { display: grid; min-height: 180px; place-items: center; padding: 25px; border: 1px dashed rgba(255,255,255,.14); border-radius: 18px; color: #aaa4b0; font-size: 13px; text-align: center; }
        .retry-button { margin-top: 12px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; background: #211a2a; cursor: pointer; font-size: 11px; font-weight: 800; }
        .beat-modal { width: min(720px,calc(100vw - 24px)); max-height: min(90vh,900px); padding: 0; overflow: auto; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: #151219; color: white; box-shadow: 0 30px 100px rgba(0,0,0,.72); }
        .beat-modal::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(8px); }
        .modal-close { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(10,8,12,.7); color: white; cursor: pointer; font-size: 19px; }
        .modal-cover { position: relative; display: flex; min-height: 230px; align-items: flex-end; overflow: hidden; padding: 28px; background: radial-gradient(circle at 22% 20%,rgba(168,85,247,.45),transparent 45%),linear-gradient(140deg,#302039,#100e13 75%); }
        .modal-cover-image { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .68; }
        .modal-cover-shade { position: absolute; inset: 0; background: linear-gradient(0deg,#151219,transparent 95%); }
        .modal-title-block { position: relative; z-index: 1; padding-right: 32px; }
        .modal-kicker { margin: 0 0 8px; color: #e9d5ff; font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
        .modal-title { margin: 0; font-size: clamp(25px,5vw,42px); font-weight: 900; letter-spacing: -.055em; line-height: 1; overflow-wrap: anywhere; }
        .modal-artist { margin: 8px 0 0; color: #d1cbd7; font-size: 13px; font-weight: 600; }
        .modal-body { padding: 21px clamp(18px,4vw,30px) 26px; }
        .modal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
        .modal-meta span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(255,255,255,.04); color: #ddd7e3; font-size: 9px; font-weight: 700; }
        .modal-description { min-height: 38px; margin: 0 0 21px; color: #c4becb; font-size: 13px; line-height: 1.65; white-space: pre-line; }
        .purchase-box { padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.035); }
        .purchase-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
        .purchase-heading h3 { margin: 0; font-size: 13px; font-weight: 900; }
        .price-label { color: #e9d5ff; font-size: 11px; font-weight: 800; text-align: right; }
        .payment-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
        .payment-option { min-height: 58px; padding: 9px 6px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.035); color: #d5cfdb; cursor: pointer; font-size: 10px; font-weight: 800; transition: .2s; }
        .payment-option:hover,.payment-option.selected { border-color: rgba(216,180,254,.55); background: rgba(168,85,247,.16); color: white; }
        .payment-option small { display: block; margin-top: 4px; color: #99929f; font-size: 8px; font-weight: 600; }
        .payment-option:disabled { opacity: .48; cursor: not-allowed; }
        .checkout-cta { width: 100%; min-height: 46px; margin-top: 11px; border: 0; border-radius: 11px; background: linear-gradient(100deg,#9333ea,#c026d3); color: white; font-size: 11px; font-weight: 900; }
        .checkout-cta:disabled { background: #343039; color: #aca6b2; cursor: not-allowed; }
        .payment-note { margin: 11px 0 0; color: #8f8997; font-size: 9px; line-height: 1.5; }
        .toast { position: fixed; z-index: 20; right: 18px; bottom: 18px; max-width: calc(100vw - 36px); padding: 11px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(27,23,32,.96); color: #f4edfa; font-size: 11px; box-shadow: 0 10px 35px rgba(0,0,0,.4); }
        .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px clamp(20px,5vw,76px); border-top: 1px solid rgba(255,255,255,.08); color: #817b88; font-size: 10px; }
        .footer strong { color: #c084fc; }
        @media (max-width: 620px) {
            .site-header { padding: 17px 18px; }
            .brand { font-size: 18px; }
            .hero { min-height: 590px; padding: 115px 22px 54px; }
            .hero-content { width: 100%; }
            .hero h1 { font-size: clamp(43px,13vw,62px); }
            .hero-description { max-width: 400px; font-size: 13px; }
            .catalog { padding-right: 15px; padding-left: 15px; }
            .catalog-toolbar { align-items: flex-start; }
            .catalog-controls { justify-content: flex-start; }
            .search-wrap { width: 100%; }
            .beat-card { flex-basis: 145px; }
            .beat-art { border-radius: 12px; }
            .shelf-track { gap: 10px; }
            .modal-cover { min-height: 205px; padding: 22px; }
            .modal-body { padding-top: 17px; }
            .payment-options { gap: 6px; }
            .payment-option { font-size: 9px; }
            .footer { align-items: flex-start; flex-direction: column; }
        }
        @media (prefers-reduced-motion: reduce) {
            *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
        }