@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #f3f1ec;
  --surface: #f3f1ec;
  --surface-2: #ebe8e1;
  --text: #111111;
  --muted: #77736d;
  --line: #d5d1ca;
  --accent: #d84b36;
}

html[data-theme="dark"] {
  --bg: #0c0c0c;
  --surface: #111111;
  --surface-2: #151515;
  --text: #f0eee9;
  --muted: #77736d;
  --line: #292929;
  --accent: #d84b36;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

body.panel-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  border-bottom: 1px solid var(--line);
}

nav {
  max-width: 1280px;
  height: 72px;
  margin: auto;
  padding: 0 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "DM Mono", monospace;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;

  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a,
.nav-button,
.theme-toggle,
.secret-button {
  color: var(--muted);
}

.nav-links a:hover,
.nav-button:hover,
.theme-toggle:hover,
.secret-button:hover {
  color: var(--text);
}

.nav-button,
.theme-toggle,
.secret-button {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.nav-button,
.theme-toggle {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.secret-button {
  font-family: "DM Mono", monospace;
  font-size: 14px;
  line-height: 1;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.secret-button:hover {
  color: var(--accent);
  transform: rotate(8deg);
}

main {
  max-width: 1280px;
  margin: auto;
  padding: 0 32px;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;

  padding: 45px 0 40px;
}

.eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 35px;
}

.hero h1 {
  font-size: clamp(70px, 11vw, 160px);
  line-height: 0.78;
  letter-spacing: -0.085em;
  font-weight: 700;
}

.hero h1 span {
  display: block;
  margin-left: 9vw;
}

.hero-right {
  align-self: end;
  max-width: 280px;
}

.hero-right p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 35px;
}

.facts {
  border-top: 1px solid var(--line);
}

.fact {
  display: flex;
  justify-content: space-between;

  padding: 11px 0;
  border-bottom: 1px solid var(--line);

  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.fact span:first-child {
  color: var(--muted);
  text-transform: uppercase;
}

section {
  border-top: 1px solid var(--line);
  padding: 65px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 25% 75%;
  margin-bottom: 50px;
}

.section-number {
  font-family: "DM Mono", monospace;
  color: var(--muted);
  font-size: 11px;
}

.section-title {
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -0.06em;
  line-height: 0.95;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.browse-feature {
  margin-left: 25%;
  margin-bottom: 70px;

  display: grid;
  grid-template-columns: minmax(250px, 360px) 1fr;
  gap: 35px;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}

.feature-art {
  aspect-ratio: 1;
  background: var(--surface-2);
}

.feature-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-label,
.album-page-label {
  font-family: "DM Mono", monospace;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.feature-info h3 {
  font-size: clamp(35px, 5vw, 65px);
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin: 15px 0 10px;
}

.feature-info p {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.feature-actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.feature-actions button,
.album-page-actions button {
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--bg);

  padding: 9px 13px;

  font-family: "DM Mono", monospace;
  font-size: 10px;
  cursor: pointer;
}

.feature-actions button + button,
.album-page-actions button + button {
  background: transparent;
  color: var(--text);
}

.feature-actions button:hover,
.album-page-actions button:hover {
  color: var(--accent);
}

.album-grid {
  margin-left: 25%;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px 25px;
}

.album-card {
  min-width: 0;
}

.album-card-cover {
  width: 100%;
  aspect-ratio: 1;

  border: 0;
  background: var(--surface-2);
  cursor: pointer;

  display: block;
  overflow: hidden;
}

.album-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition: transform 0.25s ease;
}

.album-card-cover:hover img {
  transform: scale(1.025);
}

.album-card-info {
  padding-top: 13px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  border-top: 1px solid var(--text);
}

.album-card-info h3 {
  font-size: 15px;
  font-weight: 500;
}

.album-card-info span {
  display: block;

  margin-top: 3px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.album-open {
  border: 0;
  background: none;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 9px;

  cursor: pointer;
}

.album-open:hover {
  color: var(--accent);
}

.recent-grid {
  margin-left: 25%;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recent-card {
  border: 0;
  background: none;
  color: var(--text);

  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 13px;

  text-align: left;
  cursor: pointer;
}

.recent-card img {
  width: 55px;
  height: 55px;

  object-fit: cover;

  background: var(--surface-2);
}

.recent-card span {
  min-width: 0;
}

.recent-card small,
.recent-card strong {
  display: block;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.recent-card small {
  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 9px;

  margin-bottom: 4px;
}

.recent-card strong {
  font-size: 12px;
}

.recent-card:hover strong {
  color: var(--accent);
}

footer {
  border-top: 1px solid var(--line);

  max-width: 1280px;
  margin: auto;

  padding: 22px 32px 100px;

  display: flex;
  justify-content: space-between;

  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--muted);

  text-transform: uppercase;
}

.player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  background: color-mix(in srgb, var(--surface) 97%, transparent);

  border-top: 1px solid var(--text);

  z-index: 100;

  transform: translateY(100%);

  transition:
    transform 0.25s ease,
    background 0.25s ease;

  backdrop-filter: blur(10px);
}

.player.active {
  transform: translateY(0);
}

.player-inner {
  max-width: 1280px;
  margin: auto;

  padding: 12px 32px;

  display: grid;
  grid-template-columns: 250px 1fr 150px;

  align-items: center;
  gap: 25px;
}

.mini-now-playing {
  border: 0;
  background: none;

  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 0;

  text-align: left;

  cursor: pointer;
}

.mini-now-playing img {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  object-fit: cover;

  background: var(--surface-2);
}

.mini-now-playing span {
  min-width: 0;
}

.mini-now-playing small {
  display: block;

  font-family: "DM Mono", monospace;
  font-size: 8px;

  color: var(--muted);
  text-transform: uppercase;
}

.mini-now-playing strong {
  display: block;

  font-size: 12px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-now-playing:hover strong {
  color: var(--accent);
}

.controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.controls button {
  border: 0;
  background: none;

  cursor: pointer;

  font-family: "DM Mono", monospace;
  font-size: 10px;

  color: var(--text);
}

.controls button:hover {
  color: var(--accent);
}

.progress {
  flex: 1;

  height: 3px;

  background: var(--line);

  cursor: pointer;
}

.progress-bar {
  width: 0%;
  height: 100%;

  background: var(--text);
}

.time {
  min-width: 70px;

  font-family: "DM Mono", monospace;
  font-size: 9px;

  color: var(--muted);
}

.volume {
  display: flex;
  align-items: center;
  gap: 8px;

  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.volume input {
  width: 80px;
  accent-color: var(--text);
}

#loopButton {
  border: 1px solid var(--line);
  padding: 5px 8px;
}

#loopButton.active {
  background: var(--text);
  color: var(--bg);
}

.now-playing-panel {
  position: fixed;
  inset: 0;

  z-index: 500;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  background: color-mix(in srgb, var(--bg) 96%, transparent);

  backdrop-filter: blur(15px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.now-playing-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.now-playing-window {
  width: min(1000px, 100%);

  background: var(--surface);

  border: 1px solid var(--text);

  padding: 25px;

  box-shadow: 12px 12px 0 var(--text);
}

.now-playing-top {
  display: flex;
  justify-content: space-between;

  border-bottom: 1px solid var(--line);

  padding-bottom: 15px;

  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.now-playing-top button {
  border: 0;
  background: none;

  color: var(--muted);

  cursor: pointer;

  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.now-playing-top button:hover {
  color: var(--accent);
}

.now-playing-content {
  display: grid;
  grid-template-columns: minmax(250px, 450px) 1fr;

  gap: 50px;

  padding-top: 35px;
}

.now-playing-art {
  aspect-ratio: 1;

  background: var(--surface-2);
}

.now-playing-art img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}

.now-playing-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.now-playing-album {
  font-family: "DM Mono", monospace;
  font-size: 10px;

  color: var(--muted);

  text-transform: uppercase;
}

.now-playing-info h2 {
  font-size: clamp(35px, 5vw, 65px);

  line-height: 0.95;

  letter-spacing: -0.06em;

  margin: 10px 0 40px;
}

.large-progress {
  width: 100%;
  height: 4px;

  background: var(--line);

  cursor: pointer;
}

.large-progress-bar {
  width: 0%;
  height: 100%;

  background: var(--text);
}

.large-time {
  display: flex;
  justify-content: space-between;

  margin-top: 8px;

  font-family: "DM Mono", monospace;
  font-size: 9px;

  color: var(--muted);
}

.large-controls {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 25px;

  margin-top: 40px;
}

.large-controls button,
.large-actions button {
  border: 0;
  background: none;

  cursor: pointer;

  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.large-controls button:hover,
.large-actions button:hover {
  color: var(--accent);
}

.large-play {
  border: 1px solid var(--text) !important;

  padding: 10px 20px !important;
}

.large-actions {
  display: flex;
  justify-content: center;

  gap: 25px;

  margin-top: 25px;

  color: var(--muted);
}

.large-actions button.active {
  color: var(--accent);
}

.page-panel {
  position: fixed;
  inset: 0;

  z-index: 400;

  background: var(--bg);

  overflow-y: auto;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(15px);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.page-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0);
}

.page-panel-inner,
.search-window,
.queue-window {
  max-width: 1280px;
  min-height: 100%;

  margin: auto;

  padding: 0 32px 80px;
}

.page-panel-header {
  height: 72px;

  border-bottom: 1px solid var(--line);

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-button {
  border: 0;
  background: none;

  color: var(--muted);

  cursor: pointer;

  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.back-button:hover {
  color: var(--accent);
}

.page-panel-label {
  font-family: "DM Mono", monospace;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.album-page-head {
  display: grid;
  grid-template-columns: 330px 1fr;

  gap: 45px;

  padding: 55px 0;
}

.album-page-cover {
  width: 100%;
  aspect-ratio: 1;

  object-fit: cover;

  background: var(--surface-2);
}

.album-page-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.album-page-info h1 {
  font-size: clamp(45px, 7vw, 90px);

  line-height: 0.9;

  letter-spacing: -0.07em;

  margin: 15px 0;
}

.album-page-info p {
  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.album-page-actions {
  display: flex;
  gap: 10px;

  margin-top: 30px;
}

.album-page-tracks {
  border-top: 1px solid var(--text);
}

.album-page-track {
  display: grid;

  grid-template-columns: 55px 1fr minmax(150px, 300px) 30px 60px;

  align-items: center;

  gap: 10px;

  padding: 16px 0;

  border-bottom: 1px solid var(--line);

  cursor: pointer;

  transition:
    padding 0.2s ease,
    color 0.2s ease;
}

.album-page-track:hover {
  padding-left: 10px;
  padding-right: 10px;
}

.album-page-track.active {
  color: var(--accent);
}

.album-track-number {
  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.album-track-name {
  font-size: 14px;
  font-weight: 500;
}

.album-track-file {
  color: var(--muted);

  text-align: right;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-family: "DM Mono", monospace;
  font-size: 8px;
}

.track-add,
.track-play {
  border: 0;
  background: none;

  cursor: pointer;

  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.track-add {
  color: var(--muted);
  font-size: 16px;
}

.track-add:hover,
.track-play:hover {
  color: var(--accent);
}

.search-box {
  padding: 45px 0 30px;
}

.search-box input {
  width: 100%;

  border: 0;
  border-bottom: 1px solid var(--text);

  outline: none;

  background: transparent;

  color: var(--text);

  padding: 12px 0;

  font-size: clamp(30px, 5vw, 60px);

  letter-spacing: -0.05em;
}

.search-box input::placeholder {
  color: var(--muted);
}

.search-section {
  border-top: 1px solid var(--line);

  padding: 25px 0;
}

.search-section-title {
  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 10px;

  text-transform: uppercase;

  margin-bottom: 15px;
}

.search-album-result {
  width: 100%;

  border: 0;
  border-bottom: 1px solid var(--line);

  background: none;

  color: var(--text);

  padding: 12px 0;

  display: flex;
  align-items: center;

  gap: 15px;

  text-align: left;

  cursor: pointer;
}

.search-album-result img {
  width: 55px;
  height: 55px;

  object-fit: cover;

  background: var(--surface-2);
}

.search-album-result strong,
.search-album-result small {
  display: block;
}

.search-album-result small {
  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 9px;

  margin-top: 4px;
}

.search-album-result:hover strong {
  color: var(--accent);
}

.search-song-result {
  display: grid;

  grid-template-columns: 45px 1fr 50px 25px;

  align-items: center;

  gap: 15px;

  padding: 12px 0;

  border-bottom: 1px solid var(--line);
}

.search-song-result img {
  width: 45px;
  height: 45px;

  object-fit: cover;

  background: var(--surface-2);
}

.search-song-result span {
  min-width: 0;
}

.search-song-result strong,
.search-song-result small {
  display: block;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-song-result small {
  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 9px;

  margin-top: 3px;
}

.search-song-result button {
  border: 0;
  background: none;

  cursor: pointer;

  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.search-song-result button:hover {
  color: var(--accent);
}

.search-empty {
  color: var(--muted);

  padding: 30px 0;

  font-family: "DM Mono", monospace;
  font-size: 10px;

  text-transform: uppercase;
}

.queue-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.clear-queue {
  border: 0;
  background: none;

  color: var(--muted);

  cursor: pointer;

  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.clear-queue:hover {
  color: var(--accent);
}

.queue-item {
  display: grid;

  grid-template-columns: 35px 50px 1fr 50px 25px;

  align-items: center;

  gap: 15px;

  padding: 13px 0;

  border-bottom: 1px solid var(--line);
}

.queue-item.current {
  color: var(--accent);
}

.queue-number {
  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.queue-item img {
  width: 50px;
  height: 50px;

  object-fit: cover;

  background: var(--surface-2);
}

.queue-info {
  min-width: 0;
}

.queue-info strong,
.queue-info small {
  display: block;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.queue-info strong {
  font-size: 13px;
}

.queue-info small {
  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 9px;

  margin-top: 3px;
}

.queue-play,
.queue-remove {
  border: 0;
  background: none;

  cursor: pointer;

  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.queue-remove {
  font-size: 18px;
  color: var(--muted);
}

.queue-play:hover,
.queue-remove:hover {
  color: var(--accent);
}

.queue-empty {
  padding: 50px 0;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 10px;

  text-transform: uppercase;
}

.secret-panel {
  position: fixed;
  inset: 0;

  z-index: 600;

  background: color-mix(in srgb, var(--bg) 96%, transparent);

  backdrop-filter: blur(12px);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.secret-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.secret-window {
  width: min(850px, 100%);
  max-height: min(750px, 90vh);

  overflow-y: auto;

  background: var(--surface);

  border: 1px solid var(--text);

  box-shadow: 12px 12px 0 var(--text);

  transform: translateY(20px);

  transition: transform 0.25s ease;
}

.secret-panel.open .secret-window {
  transform: translateY(0);
}

.secret-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 20px 24px;

  border-bottom: 1px solid var(--line);
}

.secret-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;

  color: var(--muted);

  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.secret-title {
  margin-top: 4px;

  font-size: 28px;

  letter-spacing: -0.04em;

  font-weight: 600;
}

.secret-close {
  border: 0;
  background: none;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: 11px;

  cursor: pointer;
}

.secret-close:hover {
  color: var(--accent);
}

.secret-songs {
  padding: 0 24px 10px;
}

.secret-song {
  display: grid;

  grid-template-columns: 50px 45px 1fr 70px;

  align-items: center;

  gap: 15px;

  padding: 16px 0;

  border-bottom: 1px solid var(--line);

  cursor: pointer;
}

.secret-song-cover {
  width: 50px;
  height: 50px;

  object-fit: cover;

  background: var(--surface-2);
}

.secret-song-number {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--muted);
}

.secret-song-name {
  font-size: 14px;
  font-weight: 500;
}

.secret-play {
  border: 0;
  background: none;

  color: var(--text);

  font-family: "DM Mono", monospace;
  font-size: 10px;

  cursor: pointer;
}

.secret-play:hover {
  color: var(--accent);
}

.secret-footer {
  padding: 15px 24px;

  border-top: 1px solid var(--line);

  font-family: "DM Mono", monospace;
  font-size: 9px;

  color: var(--muted);

  text-transform: uppercase;
}

.announcement {
  width: 100%;

  overflow: hidden;

  border-bottom: 1px solid var(--line);

  background: var(--bg);

  white-space: nowrap;
}

.announcement-track {
  display: flex;

  width: max-content;

  animation: announcement-scroll 18s linear infinite;

  will-change: transform;
}

.announcement-track span {
  flex: 0 0 33.333333vw;
  width: 33.333333vw;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px 20px;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes announcement-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100vw);
  }
}

@media (max-width: 800px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    gap: 14px;
  }

  main {
    padding: 0 20px;
  }

  .hero {
    display: block;
    padding: 55px 0 50px;
  }

  .hero h1 {
    font-size: clamp(64px, 18vw, 110px);
  }

  .hero h1 span {
    margin-left: 15vw;
  }

  .hero-right {
    margin-top: 60px;
    max-width: 100%;
  }

  section {
    padding: 55px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 40px;
  }

  .section-title {
    margin-top: 12px;
  }

  .browse-feature,
  .album-grid,
  .recent-grid {
    margin-left: 0;
  }

  .browse-feature {
    grid-template-columns: 110px 1fr;
    gap: 18px;
    margin-bottom: 50px;
  }

  .feature-info h3 {
    font-size: 25px;
  }

  .feature-actions {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 15px;
  }

  .feature-actions button {
    font-size: 9px;
    padding: 7px 9px;
  }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }

  .recent-grid {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 20px;
    padding-bottom: 100px;
  }

  .player-inner {
    grid-template-columns: 1fr;
    gap: 8px;

    padding: 10px 20px;
  }

  .controls {
    width: 100%;
    gap: 11px;
  }

  .volume {
    display: none;
  }

  .controls .progress {
    min-width: 50px;
  }

  .time {
    min-width: 60px;
  }

  .now-playing-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .now-playing-art {
    max-width: 420px;
    width: 100%;
    margin: auto;
  }

  .now-playing-info h2 {
    margin-bottom: 25px;
  }

  .album-page-head {
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 35px 0;
  }

  .album-page-info h1 {
    font-size: 35px;
  }

  .album-page-track {
    grid-template-columns: 30px 1fr 25px 45px;
  }

  .album-track-file {
    display: none;
  }

  .page-panel-inner,
  .search-window,
  .queue-window {
    padding-left: 20px;
    padding-right: 20px;
  }

  .secret-panel {
    padding: 15px;
  }

  .secret-window {
    max-height: 92vh;
    box-shadow: 7px 7px 0 var(--text);
  }

  .secret-header {
    padding: 18px;
  }

  .secret-songs {
    padding: 0 18px 10px;
  }

  .secret-song {
    grid-template-columns: 40px 25px 1fr 50px;

    gap: 10px;
  }

  .secret-song-cover {
    width: 40px;
    height: 40px;
  }

  .secret-title {
    font-size: 23px;
  }

  .secret-footer {
    padding: 15px 18px;
  }

  .announcement-track span {
    flex: 0 0 100vw;
    width: 100vw;

    padding: 10px 16px;

    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .announcement-track {
    animation-duration: 18s;
  }

  @keyframes announcement-scroll {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-300vw);
    }
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 10px;
  }

  .nav-links a[href="#music"] {
    display: none;
  }

  .browse-feature {
    grid-template-columns: 90px 1fr;
    gap: 15px;
  }

  .feature-info h3 {
    font-size: 20px;
  }

  .album-grid {
    gap: 25px 12px;
  }

  .album-card-info {
    display: block;
  }

  .album-open {
    margin-top: 8px;
  }

  .album-page-head {
    grid-template-columns: 90px 1fr;
    gap: 15px;
  }

  .album-page-info h1 {
    font-size: 25px;
  }

  .album-page-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .album-page-actions button {
    padding: 7px 9px;
    font-size: 8px;
  }

  .album-page-track {
    grid-template-columns: 25px 1fr 20px 40px;

    gap: 7px;
    padding: 14px 0;
  }

  .album-track-name {
    font-size: 13px;
  }

  .search-song-result {
    grid-template-columns: 40px 1fr 40px 20px;

    gap: 10px;
  }

  .search-song-result img {
    width: 40px;
    height: 40px;
  }

  .queue-item {
    grid-template-columns: 25px 40px 1fr 40px 20px;

    gap: 8px;
  }

  .queue-item img {
    width: 40px;
    height: 40px;
  }

  .queue-info strong {
    font-size: 11px;
  }

  .now-playing-panel {
    padding: 12px;
  }

  .now-playing-window {
    padding: 15px;

    box-shadow: 6px 6px 0 var(--text);
  }

  .now-playing-content {
    padding-top: 20px;
  }

  .large-controls {
    gap: 15px;
    margin-top: 25px;
  }

  .announcement-track span {
    padding: 10px 12px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }
}
