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

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

body {
  font-family: var(--font-sans);
  color: var(--cream);
  background-color: var(--midnight);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(232, 102, 74, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(201, 169, 78, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(232, 102, 74, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  justify-content: center;
  padding: var(--space-6) var(--space-4) var(--space-10);
  overflow-x: hidden;
}

/* Container Centralizado para Link Hub */
.app-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Tipografia de Apoio */
h1, h2, h3, h4 {
  color: var(--cream-light);
  font-weight: 600;
  line-height: 1.2;
}

p {
  color: var(--cream-muted);
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* Foco Acessível Universal */
:focus-visible {
  outline: 2px solid var(--gold-shine);
  outline-offset: 3px;
}

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