:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #faf7ff;
  background: #0c0816;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 280px;
  background:
    radial-gradient(ellipse 43% 43% at 50% 47%, #48207924, transparent 100%),
    radial-gradient(ellipse 75% 100% at 50% 100%, #1c103530, transparent 75%),
    #0c0816;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #d1b8ff; outline-offset: 7px; }

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  max-width: 1600px;
  margin: 0 auto;
  padding: 34px 48px 30px;
}

.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; font-size: 23px; font-weight: 730; letter-spacing: -1px; }
.wordmark-period { color: #a66cff; }
.brand-dot { width: 9px; height: 9px; margin-right: 11px; border-radius: 50%; background: #a46bff; box-shadow: 0 0 14px #9954ff55; }
.edition { color: #756c85; font-size: 10px; font-weight: 550; letter-spacing: 2.2px; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 390px; padding: 70px 0; }
.demo { width: 100%; text-align: center; transform: translateY(8px); }
.button-space { display: flex; align-items: center; justify-content: center; height: 150px; }

.delete-button {
  position: relative;
  isolation: isolate;
  width: 330px;
  height: 100px;
  padding: 0;
  border: 1.5px solid #bd87ffad;
  border-radius: 999px;
  background: linear-gradient(120deg, #9455f8 0%, #8237ed 43%, #701be0 100%);
  color: #fff;
  box-shadow: inset 0 2px 2px #ffffff40, inset 0 -1px 2px #4c10901f, 0 12px 35px #843bef30, 0 0 75px #8c40fa12;
  cursor: pointer;
  touch-action: manipulation;
  transition: box-shadow 220ms ease, translate 220ms ease;
}

.delete-button:not([aria-disabled="true"]):hover {
  translate: 0 -2px;
  box-shadow: inset 0 2px 2px #ffffff50, inset 0 -1px 2px #4c10901f, 0 14px 42px #843bef55, 0 0 80px #8c40fa20;
}

.delete-button:not([aria-disabled="true"]):active { translate: 0 1px; }
.delete-button[aria-disabled="true"] { cursor: progress; }
.trash-wrapper { position: absolute; z-index: 2; top: 24px; left: calc(50% - 78px); width: 48px; height: 56px; transform-origin: 50% 65%; }
.trash { display: block; width: 48px; height: 56px; overflow: visible; }
.trash-lid { transform-origin: 10px 12px; }
.trash-body { transform-origin: 24px 35px; }
.liquid-level { transform: translateY(54px); }
.mouth-anchor { position: absolute; top: 15px; left: 24px; width: 0; height: 0; }
.text-wrapper { position: absolute; top: 31px; left: calc(50% - 17px); display: flex; font-size: 30px; line-height: 36px; font-weight: 750; letter-spacing: 2px; }
.letter { display: inline-block; white-space: pre; transform-origin: center; }
.splash { position: absolute; top: 14px; left: 24px; }
.splash i { position: absolute; width: 3px; height: 5px; border-radius: 50%; background: white; opacity: 0; }

.aura, .aura-glow {
  position: absolute;
  pointer-events: none;
  top: 50%;
  left: 50%;
  width: 124px;
  height: 124px;
  margin: -62px 0 0 -62px;
  opacity: 0;
  border-radius: 50%;
  background: conic-gradient(from 10deg, transparent 0deg 50deg, #fff 105deg, #dab9ff 130deg, transparent 155deg 220deg, #8beaff 265deg, #b387ff 300deg, transparent 335deg);
}

.aura {
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.aura-glow { z-index: -1; filter: blur(14px); }
.prompt { min-height: 18px; margin: 21px 0 0; color: #a799be; font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: 2.3px; text-transform: uppercase; }
.demo-note { margin: 13px 0 0; color: #766b88; font-size: 12px; line-height: 1.6; }
.no-script { color: #dbc8f5; font-size: 14px; }
.footer { color: #857a96; font-size: 11px; }
.credit { display: inline-flex; align-items: center; gap: 4px; line-height: 1.6; }
.credit span { color: #b3a5c7; }
.credit svg { width: 13px; height: 13px; margin-left: 4px; }
.credit:hover { color: #eee3ff; }
.controls { display: flex; align-items: center; gap: 17px; }
.control { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border: 0; padding: 4px 0; background: none; color: #9386a5; font-size: 11px; cursor: pointer; transition: color 180ms; }
.control:hover, .control[aria-pressed="true"] { color: #d0bdea; }
.control[aria-disabled="true"] { opacity: .45; cursor: default; }
.control svg { width: 17px; height: 17px; }
.control-divider { width: 1px; height: 14px; background: #342741; }
.sound-off, [aria-pressed="false"] .sound-waves { display: none; }
[aria-pressed="false"] .sound-off { display: block; }

@media (max-width: 600px) {
  .page { padding: 25px 24px 21px; }
  .edition { max-width: 130px; text-align: right; font-size: 8px; letter-spacing: 1.6px; line-height: 1.8; }
  .stage { min-height: 370px; padding: 65px 0; }
  .footer { flex-direction: column-reverse; gap: 20px; }
  .controls { gap: 24px; }
  .control { min-height: 44px; font-size: 12px; }
  .credit { font-size: 10px; }
}

@media (max-width: 380px) {
  .page { padding-inline: 16px; }
  .button-space { transform: scale(.84); }
  .delete-button { flex-shrink: 0; }
  .prompt { margin-top: 12px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .delete-button:not([aria-disabled="true"]):hover { translate: none; }
}
