:root {
  color-scheme: light dark; /* кажуваме дека имаме двете варијанти */
}

html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, sans-serif;
}

/* ----- LIGHT THEME (default) ----- */
body {
  background: linear-gradient(180deg, #f1f5f9, #ffffff);
  color: #0f172a;
  padding-top: calc(24px + env(safe-area-inset-top));
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.frame {
  width: 100%;
  max-width: 520px;
  background: #f8fafc;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  text-align: center;
  overflow: visible;
}

.logo {
  margin: 16px auto 20px;
  width: clamp(120px, 40vw, 200px);
  height: auto;
  display: none; /* default сите исклучени */
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}
.logo.light { display: block; } /* прикажи светло лого */

.list {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.pill {
  display: block;
  padding: 14px;
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: all .2s ease;
}
.pill:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-2px);
}

.band-photo {
  width: 100%;
  border-radius: 16px;
  margin: 20px 0 10px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  background: #e2e8f0;
}

footer {
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
}

/* ----- DARK THEME ----- */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(180deg, #0f172a, #1e293b);
    color: #f1f5f9;
  }
  .frame {
    background: #1e293b;
    border: 1px solid #334155;
  }
  .pill {
    background: #0f172a;
    border: 2px solid #f1f5f9;
    color: #f1f5f9;
  }
  .pill:hover {
    background: #2563eb;
    color: #fff;
  }
  .logo.light { display: none; }
  .logo.dark { display: block; }
  footer {
    color: #cbd5e1;
  }
}