/* ============================================================
   RESET & BASE — findlivemusic.ca
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-red);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

input, select, textarea {
  font-family: var(--font-body);
}

ul, ol {
  list-style: none;
}

/* ── Scrollbar styling ── */
::-webkit-scrollbar        { width: 10px; height: 8px; }
::-webkit-scrollbar-track  { background: rgba(0, 0, 0, 0.08); border-radius: 5px; }
::-webkit-scrollbar-thumb  { background: var(--color-red-dark); border-radius: 5px; min-height: 40px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-red); }

/* ── Screen system ── */
.screen {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.screen.active {
  display: flex;
  overflow: hidden;
}

/* ── Scrollable content area ── */
.scroll-content {
  flex: 1;
  overflow-y: auto;
}

/* ── Utility classes ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.hidden { display: none !important; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }

.w-full { width: 100%; }
.flex-1 { flex: 1; }

/* ── Responsive visibility ── */
@media (max-width: 600px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 601px) {
  .hide-desktop { display: none !important; }
}
