:root {
  --bg: #fff;
  --don: #E8412A;
  --ka: #5BB8C4;
  --cream: #F5F0E8;
  --outline: #1a1a1a;
  --text: #1a1a1a;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: var(--bg);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px 52px;
  font-family: "Comic Neue", ui-rounded, -apple-system, system-ui, "Segoe UI", Arial, sans-serif;
  gap: 5px;
}

.site-title {
  font-size: clamp(18px, 3.5vw, 26px);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text);
  user-select: none;
  line-height: 1;
}

.star {
  display: inline-block;
  margin: 0 4px;
  animation: spin 5s linear infinite;
  transform-origin: 50% 55%;
  cursor: pointer;
}

.album-title {
  font-size: clamp(34px, 8vw, 58px);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text);
  text-align: center;
  line-height: 1;
  user-select: none;
}

.album-subtitle {
  font-size: clamp(9px, 2vw, 13px);
  color: var(--text);
  letter-spacing: 1px;
  text-align: center;
  user-select: none;
}

.drums {
  display: flex;
  gap: clamp(16px, 5vw, 32px);
  align-items: center;
}

.drum-btn {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  background: none;
  border: none;
  padding: 0;
}

.drum-circle {
  width: clamp(72px, 14vw, 100px);
  height: clamp(72px, 14vw, 100px);
  border-radius: 50%;
  border: 5px solid var(--outline);
  box-shadow: 4px 4px 0 var(--outline);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.drum-circle::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0.3;
}

.drum-circle::after {
  content: '';
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: inherit;
  border: 3px solid var(--outline);
  opacity: 0.45;
}

.drum-don .drum-circle { background: var(--don); }
.drum-ka  .drum-circle { background: var(--ka); }

.drum-btn:active .drum-circle,
.drum-circle.hit {
  transform: scale(0.88);
  box-shadow: 1px 1px 0 var(--outline);
}

.drum-circle.hit {
  animation: drum-hit 0.25s ease-out forwards;
}

.tracklist-wrap {
  width: 100%;
  max-width: 460px;
}

.tracklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.track {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 8px;
  font-size: clamp(11px, 2.2vw, 14px);
  color: var(--text);
  user-select: none;
  -webkit-user-select: none;
}

.track-num {
  font-weight: 700;
  min-width: 28px;
  font-size: 0.85em;
  flex-shrink: 0;
}

.track-name {
  font-weight: 400;
  letter-spacing: 0.3px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.links a {
  color: var(--ka);
  font-weight: 700;
  font-size: clamp(11px, 2.5vw, 15px);
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  letter-spacing: 0.5px;
}

.links a:hover {
  text-decoration: underline;
}

.meta {
  position: fixed;
  bottom: 18px;
  font-size: clamp(13px, 3vw, 19px);
  font-family: "Comic Neue", ui-rounded, -apple-system, system-ui, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  letter-spacing: 0.3px;
  user-select: none;
  -webkit-user-select: none;
}

.meta.left { left: 20px; }

@media (max-width: 600px) {
  .meta.left { display: none; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes drum-hit {
  0%   { transform: scale(0.88); box-shadow: 1px 1px 0 var(--outline); }
  60%  { transform: scale(1.06); box-shadow: 5px 5px 0 var(--outline); }
  100% { transform: scale(1);    box-shadow: 4px 4px 0 var(--outline); }
}
