/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Hidden scrollbar - still scrollable */
.hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Visibility utilities */
.hidden {
  display: none !important;
}

.invisible {
  visibility: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-xs {
  gap: var(--space-xs);
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

/* Text utilities */
.text-center {
  text-align: center;
}

.text-gold {
  color: var(--color-accent-gold);
}

.text-muted {
  color: var(--color-text-secondary);
}

.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

.font-mono {
  font-family: var(--font-mono);
}

.uppercase {
  text-transform: uppercase;
}

/* Truncate text */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Interactive states */
.clickable {
  cursor: pointer;
  user-select: none;
}

.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Focus visible for keyboard navigation */
.focus-visible:focus {
  outline: none;
}

.focus-visible:focus-visible {
  outline: var(--border-width-thick) solid var(--color-accent-gold);
  outline-offset: var(--border-width);
}
