
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0b0b0b;
  --surface: #171717;
  --text: #ffffff;
  --muted: #929292;
  --border: #292929;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  padding-bottom: 150px;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  padding: 30px 20px;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.eyebrow {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

h1 {
  font-size: 34px;
  margin-top: 13px;
  letter-spacing: -1.5px;
}

.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.search-trigger,
#searchInput {
  width: 100%;
  padding: 16px;
  margin-top: 25px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
  color: var(--text);
  outline: none;
}

.search-trigger span {
  font-size: 20px;
  margin-right: 8px;
}

#searchInput::placeholder {
  color: var(--muted);
}

.section-heading {
  margin: 30px 0 15px;
}

.section-heading h2 {
  font-size: 17px;
}

.featured-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  padding: 18px;
  border-radius: 16px;
}

.featured-art,
.mini-art {
  display: grid;
  place-items: center;
  background: #292929;
  color: white;
  border-radius: 12px;
}

.featured-art {
  width: 90px;
  height: 90px;
  font-size: 35px;
}

.featured-card h2 {
  font-size: 20px;
  margin-top: 7px;
}

.featured-card p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 30px 12px;
  line-height: 1.6;
}

.library-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 5px;
  border-bottom: 1px solid var(--border);
  font-size: 20px;
}

.library-item span {
  font-size: 15px;
  font-weight: 600;
}

.mini-player {
  position: fixed;
  bottom: 68px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  background: #171717;
  border-radius: 14px;
  box-shadow: 0 3px 20px rgba(0,0,0,.35);
}

.mini-art {
  width: 43px;
  height: 43px;
}

.mini-info {
  flex: 1;
  min-width: 0;
}

.mini-info strong,
.mini-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-info strong {
  font-size: 13px;
}

.mini-info span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

#playButton {
  border: none;
  background: white;
  color: black;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

#playButton:disabled {
  opacity: .4;
  cursor: default;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 12px 5px calc(12px + env(safe-area-inset-bottom));
  background: #111111;
  border-top: 1px solid var(--border);
}

.nav-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 20px;
}

.nav-button span {
  font-size: 11px;
}

.nav-button.active {
  color: white;
  font-weight: 700;
}
