@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root { color-scheme: dark; font-family: 'DM Sans', sans-serif; color: #f1f4ff; background: #080e1c; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; position: relative; isolation: isolate; }
.backdrop { position: fixed; inset: 0; z-index: -2; background: #10182a url('assets/saiko-circus.png') center / cover no-repeat; }
.backdrop::before { content: ''; position: absolute; inset: 0; backdrop-filter: blur(30px); background: #080e1c99; }
.backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #080e1c 0%, #080e1cf2 27%, #080e1c75 51%, #080e1c05 72%), linear-gradient(0deg, #080e1ce0, transparent 25%, transparent 80%, #080e1c55), url('assets/saiko-circus.png') right 10% center / auto 110% no-repeat; }
a { color: inherit; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #bea8ff; outline-offset: 5px; }
[hidden] { display: none !important; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 clamp(24px, 5.4vw, 88px); }
.site-header { padding: 30px 0; border-bottom: 1px solid #b7c9ff24; }
.wordmark { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: .875rem; font-weight: 700; letter-spacing: .13em; }
.brand-mark { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #8abaff70; border-radius: 50%; background: #0c1931c9; color: #c8dcff; font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; letter-spacing: -.12em; box-shadow: 0 0 28px #3584f91a; }
.brand-mark span { position: absolute; font-size: .9rem; bottom: 6px; right: 8px; color: #8cafff; }
.header-caption { font-size: .875rem; letter-spacing: .17em; color: #c0cbe2; text-shadow: 0 2px 10px #000; }
.page-content { flex: 1; width: min(100%, 1600px); padding: clamp(48px, 7vh, 100px) clamp(24px, 5.4vw, 88px) 64px; margin: auto; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #a2b9ed; font-size: .875rem; font-weight: 600; letter-spacing: .15em; margin: 0 0 24px; }
.eyebrow span { width: 28px; height: 1px; background: #7d9de1; }
h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(4rem, 7.2vw, 7.25rem); font-weight: 600; line-height: .99; letter-spacing: -.065em; margin: 0; text-shadow: 0 8px 40px #0005; }
h1 span { color: #9db8ff; }
.intro-copy { color: #c2cce1; line-height: 1.75; font-size: 1.125rem; margin: 26px 0 36px; }
.player-panel { width: min(100%, 510px); position: relative; padding: 26px; border: 1px solid #91aff54d; border-radius: 20px; background: linear-gradient(135deg, #15233bec, #0a1122f2); backdrop-filter: blur(18px); box-shadow: 0 22px 64px #0007, 0 0 38px #3c73ef0c, inset 0 1px 0 #d8e5ff12; }
.panel-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.panel-label { font-size: .8125rem; font-weight: 700; letter-spacing: .13em; color: #bacaf1; }
.audio-format { font-size: .8125rem; color: #a7b6d3; }
.audio-format span { padding: 0 5px; color: #687d9f; }
h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.4rem, 3vw, 1.7rem); font-weight: 500; letter-spacing: -.035em; margin: 0 0 8px; }
.player-description { color: #aebbd5; margin: 0 0 24px; font-size: 1rem; }
audio { width: 100%; margin-bottom: 18px; }
.custom-controls { display: flex; align-items: center; gap: 16px; padding: 0 0 26px; }
.play-button { width: 62px; height: 62px; flex-shrink: 0; display: grid; place-items: center; color: #071121; background: linear-gradient(135deg, #abcaff, #8b9ff4); border: 1px solid #d2e1ffb3; border-radius: 50%; cursor: pointer; box-shadow: 0 5px 24px #638cff40, inset 0 1px 0 #fff6; transition: background .2s, box-shadow .2s, transform .2s; }
.play-button:hover { background: #c2d6ff; box-shadow: 0 6px 32px #638cff66; transform: translateY(-1px); }
.play-button:active { transform: translateY(1px); }
.play-button svg { width: 25px; height: 25px; fill: currentColor; }
.play-icon { margin-left: 3px; }
.stop-icon { display: none; }
.play-button[data-active='true'] .play-icon { display: none; }
.play-button[data-active='true'] .stop-icon { display: block; }
.playback-info { flex: 1; min-width: 0; }
.play-label { font-size: 1.0625rem; font-weight: 600; }
#playback-status { color: #aab9d6; font-size: .875rem; line-height: 1.5; margin: 4px 0 0; overflow-wrap: anywhere; }
.volume-control { display: flex; align-items: center; gap: 8px; }
.volume-control label { display: flex; color: #aabbdc; }
.volume-control svg { height: 20px; width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.volume-control svg path:first-child { fill: currentColor; stroke: none; }
.volume-control input { width: 65px; accent-color: #a6baff; cursor: pointer; min-height: 32px; }
.panel-footer { padding-top: 18px; border-top: 1px solid #9db8ed26; display: flex; flex-direction: column; gap: 10px; font-size: .875rem; line-height: 1.5; color: #a9b8d4; }
.panel-footer a { width: fit-content; color: #c2d2ff; text-decoration-color: #7896cf80; text-underline-offset: 4px; }
.panel-footer a:hover { color: #fff; }
.support-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid #9db8ed26; }
.support-label { margin: 0 0 12px; font-size: .9375rem; color: #d3ddf3; }
.kofi-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; max-width: 100%; padding: 11px 20px; border: 1px solid #bacbff80; border-radius: 10px; background: linear-gradient(135deg, #566cac, #585088); color: #fff; box-shadow: 0 5px 20px #0003, inset 0 1px 0 #ffffff1f; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.kofi-button:disabled { opacity: 1; cursor: not-allowed; }
.kofi-button img { width: 32px; height: 24px; object-fit: contain; flex-shrink: 0; }
.support-note { margin: 10px 0 0; font-size: .875rem; color: #a9b8d4; }
.site-footer { padding: 22px 0; border-top: 1px solid #b7c9ff24; color: #a8b5d0; font-size: .8125rem; }
.site-footer span:first-child { letter-spacing: .12em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 1600px) { .backdrop::after { background-position: center, center, right 18% center; } }
@media (max-width: 800px) {
  .backdrop::after { background: linear-gradient(0deg, #080e1c 0%, #080e1ce8 23%, #080e1c50 62%, #080e1c70 100%), url('assets/saiko-circus.png') center top / cover no-repeat; }
  .site-header { padding: 22px 0; }
  .header-caption { display: none; }
  .page-content { padding-top: clamp(120px, 27svh, 260px); padding-bottom: 40px; }
  h1 { font-size: clamp(3.6rem, 12vw, 6rem); }
  .eyebrow { font-size: .8125rem; letter-spacing: .1em; margin-bottom: 18px; }
  .introduction { text-shadow: 0 2px 20px #000; }
  .intro-copy { margin: 20px 0 28px; }
  .player-panel { width: min(100%, 510px); }
}
@media (max-width: 390px) {
  .player-panel { padding: 20px; }
  .volume-control { display: none; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .wordmark { letter-spacing: .09em; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
