:root {
  color-scheme: dark;
  --bg: #070711;
  --panel: rgba(19, 19, 37, .78);
  --text: #f8f7ff;
  --muted: #a6a4ba;
  --cyan: #40e7ff;
  --violet: #8b5cff;
  --pink: #ff4ca7;
  --border: rgba(255,255,255,.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(circle at 50% -20%, rgba(99, 57, 216, .35), transparent 43%), linear-gradient(#090916, #05050c);
  overflow-x: hidden;
}
button, a { -webkit-tap-highlight-color: transparent; }

.ambient {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .11;
  pointer-events: none;
}
.ambient-one { top: 20%; left: -10rem; background: var(--cyan); }
.ambient-two { right: -10rem; bottom: 0; background: var(--pink); }

.topbar {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 11px; color: white; text-decoration: none; font-size: .93rem; font-weight: 800; letter-spacing: .12em; }
.brand b { color: var(--cyan); }
.eye { width: 40px; height: 25px; display: grid; place-items: center; border: 2px solid var(--cyan); border-radius: 70% 18%; transform: rotate(45deg); box-shadow: 0 0 18px rgba(64,231,255,.3); }
.eye i { width: 11px; height: 11px; border-radius: 50%; background: white; box-shadow: 0 0 10px white; }
.edition { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .15em; }
.edition i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); }

main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 40px; }
.intro { padding: clamp(60px, 10vw, 112px) 0 clamp(42px, 7vw, 74px); }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: .78rem; font-weight: 850; letter-spacing: .16em; }
h1 { max-width: 870px; margin: 0; font-size: clamp(2.8rem, 8vw, 6.6rem); line-height: .92; letter-spacing: -.065em; text-transform: uppercase; }
h1 span { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.lead { margin: 28px 0 0; color: var(--muted); font-size: 1.05rem; }

.sound-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sound-card {
  --card-accent: var(--cyan);
  position: relative;
  min-height: 196px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  color: white;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.sound-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -70px; bottom: -85px; border-radius: 50%; background: var(--card-accent); filter: blur(50px); opacity: .13; }
.sound-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--card-accent) 50%, transparent); background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.025)); }
.sound-card:focus-visible, .close-button:focus-visible, .youtube-link:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.number { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .13em; }
.play { position: relative; z-index: 1; width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; color: #080811; background: var(--card-accent); border-radius: 50%; font-size: 1.05rem; box-shadow: 0 0 24px color-mix(in srgb, var(--card-accent) 28%, transparent); }
.card-copy { position: relative; z-index: 1; }
.card-copy h2 { margin: 0 0 7px; font-size: 1.35rem; line-height: 1.05; letter-spacing: -.025em; }
.card-copy p { margin: 0; color: var(--muted); font-size: .84rem; }
.sound-card:nth-child(3n+2) { --card-accent: var(--violet); }
.sound-card:nth-child(3n+3) { --card-accent: var(--pink); }
.notice { margin: 28px auto 0; max-width: 700px; color: #747287; text-align: center; font-size: .78rem; line-height: 1.5; }

.player-modal { width: min(880px, calc(100% - 24px)); max-width: none; padding: 0; color: white; background: transparent; border: 0; }
.player-modal::backdrop { background: rgba(1,1,8,.86); backdrop-filter: blur(8px); }
.modal-shell { padding: 22px; background: #10101e; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; box-shadow: 0 28px 100px rgba(0,0,0,.65); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.now-playing { display: block; margin-bottom: 5px; color: var(--cyan); font-size: .67rem; font-weight: 850; letter-spacing: .16em; }
.modal-head h2 { margin: 0; font-size: clamp(1.35rem, 4vw, 2rem); }
.close-button { width: 44px; height: 44px; flex: 0 0 auto; color: white; background: rgba(255,255,255,.08); border: 1px solid var(--border); border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.video-wrap { aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }
.youtube-link { display: inline-flex; margin-top: 17px; color: #d6d4e4; font-size: .9rem; font-weight: 700; text-decoration: none; }
.youtube-link:hover { color: var(--cyan); }

@media (max-width: 760px) {
  .sound-grid { grid-template-columns: repeat(2, 1fr); }
  .sound-card { min-height: 170px; padding: 19px; }
}
@media (max-width: 480px) {
  .topbar { min-height: 68px; }
  .edition { font-size: .62rem; letter-spacing: .1em; }
  .brand { font-size: .76rem; }
  .eye { width: 34px; height: 21px; }
  .intro { padding-top: 55px; }
  .sound-grid { grid-template-columns: 1fr; }
  .sound-card { min-height: 144px; }
  .modal-shell { padding: 14px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
