/* Base Reset and Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--dss-font-sans);
  background: var(--dss-bg-void);
  color: var(--dss-text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow: hidden;
}

#app {
  width: 100vw;
  height: 100vh;
  position: relative;
}

a {
  color: var(--dss-accent-pulse);
  text-decoration: none;
  transition: opacity var(--dss-duration-response) var(--dss-ease-smooth);
}

a:hover {
  opacity: 0.8;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.hidden {
  display: none !important;
}

.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;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--dss-accent-pulse);
  outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dss-bg-space);
}

::-webkit-scrollbar-thumb {
  background: var(--dss-text-muted);
  border-radius: var(--dss-radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dss-text-secondary);
}
