/* ==========================================================================
   NEORANKUP / ASCENSION STORE — THEME & DESIGN SYSTEM
   Identidade visual oficial:
   - Void Obsidian (#09080F)
   - Deep Amethyst Surface (#15111F)
   - Elevated Card Surface (#24183A)
   - Royal Ascension Purple (#7542C8)
   - Luminous Arcane Violet (#A66BFF)
   - Celestial Lilac Highlight (#D6C4FF)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  color-scheme: dark;

  /* Cores Principais — Ascension Store */
  --bg-primary: #09080F;
  --bg-secondary: #0F0C18;
  --bg-surface: #15111F;
  --bg-surface-elevated: #24183A;
  --bg-surface-hover: #2E1F4A;

  /* Tons de Roxo e Destaque Arcano */
  --purple-primary: #A66BFF;
  --purple-secondary: #7542C8;
  --purple-light: #A66BFF;
  --lilac: #D6C4FF;
  --purple-glow: rgba(166, 107, 255, 0.25);
  --purple-glow-strong: rgba(166, 107, 255, 0.45);

  /* Texto */
  --text-primary: #F8F5FF;
  --text-secondary: #B8ABD4;
  --text-muted: #7F729C;
  --text-inverse: #09080F;

  /* Bordas e Divisores */
  --border-subtle: rgba(214, 196, 255, 0.12);
  --border-medium: rgba(214, 196, 255, 0.22);
  --border-focus: #A66BFF;
  --border-active: #D6C4FF;

  /* Estados e Badges Semânticos */
  --success: #10B981;
  --success-bg: rgba(16, 185, 129, 0.14);
  --warning: #F59E0B;
  --warning-bg: rgba(245, 158, 11, 0.14);
  --danger: #EF4444;
  --danger-bg: rgba(239, 68, 68, 0.14);
  --info: #3B82F6;
  --info-bg: rgba(59, 130, 246, 0.14);

  /* Fontes e Tipografia */
  --font-display: 'Cinzel', 'Plus Jakarta Sans', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Espaçamentos e Layout */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Efeitos e Sombras */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 26px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 44px rgba(0, 0, 0, 0.65);
  --shadow-purple: 0 8px 32px rgba(117, 66, 200, 0.32);
  --shadow-purple-lg: 0 16px 48px rgba(166, 107, 255, 0.38);

  /* Transições suaves */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 80% 10%, rgba(117, 66, 200, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 12% 82%, rgba(166, 107, 255, 0.10) 0%, transparent 42%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  background-attachment: fixed;
}

/* Scrollbar moderno */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #24183A;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--purple-secondary);
}

/* Acessibilidade: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Seleção de texto */
::selection {
  background: var(--purple-secondary);
  color: #FFFFFF;
}

/* Tipografia Base */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-title, .brand-text {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

a {
  color: var(--purple-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--lilac);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
