@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Cores Bilheteria Express */
  --color-bg: #0f0f0f;
  --color-bg-elevated: #1a1a1a;
  --color-primary: #ff6b00;
  --color-primary-light: #ff8533;
  --color-primary-dark: #e55f00;
  --color-text: #ffffff;
  --color-text-muted: #a0a0a0;
  --color-success: #00c853;
  --color-border: #2a2a2a;
  
  /* Tipografia */
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*,
*::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(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background limpo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
  pointer-events: none;
  z-index: -1;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Imagens */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Botões reset */
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Scrollbar - escondida mas funcional */
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

/* Seleção de texto */
::selection {
  background: rgba(255, 107, 0, 0.3);
  color: var(--color-text);
}

/* Spinner genérico */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 107, 0, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Botão primary global */
.btn-primary {
  width: 100%;
  padding: 1rem;
  background: var(--color-primary);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-light);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Animação de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utilitários */
.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;
}

/* Responsividade para touch */
@media (pointer: coarse) {
  button,
  a {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Redução de movimento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
