/* ===== VARIÁVEIS GLOBAIS ===== */
:root {
  /* Cores principais */
  --primary-dark: #1a1a2e;
  --secondary-dark: #162447;
  --accent-blue: #1f4068;
  --highlight-blue: #4fc3f7;
  --text-light: #e6e6e6;
  --text-muted: #b0b0b0;
  
  /* Cores de status */
  --success-green: rgba(76, 175, 80, 0.2);
  --warning-orange: rgba(255, 152, 0, 0.2);
  --info-purple: rgba(156, 39, 176, 0.2);
  
  /* Bordas */
  --border-radius: 10px;
  --border-color: rgba(79, 195, 247, 0.2);
  
  /* Sombras */
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.5);
  --shadow-blue: 0 4px 12px rgba(79, 195, 247, 0.2);
  
  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== RESET E ESTILOS GERAIS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  color: var(--text-light);
}

h2 {
  font-size: 1.8rem;
  color: var(--highlight-blue);
}

h3 {
  font-size: 1.3rem;
  color: var(--highlight-blue);
}

h4 {
  font-size: 1.1rem;
  color: var(--text-light);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--highlight-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===== BOTÕES GERAIS ===== */
button {
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  border: none;
  outline: none;
  transition: all var(--transition-normal);
}

.nav-button {
  background: rgba(79, 195, 247, 0.2);
  color: var(--text-light);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.nav-button:hover {
  background: rgba(79, 195, 247, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* ===== UTILITÁRIOS ===== */
.hidden {
  display: none !important;
}

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

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

.badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85em;
  font-family: 'Roboto Mono', monospace;
  font-weight: 500;
  border: 1px solid;
}

.badge-orange {
  background: var(--warning-orange);
  border-color: rgba(255, 152, 0, 0.3);
}

.badge-green {
  background: var(--success-green);
  border-color: rgba(76, 175, 80, 0.3);
}

.badge-purple {
  background: var(--info-purple);
  border-color: rgba(156, 39, 176, 0.3);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 500px;
    opacity: 1;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fade-in {
  animation: fadeIn 0.5s ease;
}

.slide-down {
  animation: slideDown 0.3s ease;
}

.spin {
  animation: spin 1s linear infinite;
}
