/* ==========================================================================
   Social Space - Base & Reset Styles
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar with Brand Gradient */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 5px;
  border: 2px solid var(--color-bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

/* Selection Color */
::selection {
  background: rgba(255, 0, 255, 0.4);
  color: #FFFFFF;
}

/* Headings in Solid White (No text gradient fill) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

p {
  color: var(--color-text-muted);
  font-weight: 400;
}

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

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

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

/* Background Ambient Dissipated Glow Orbs & Dynamic Canvas */
.app-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  will-change: transform;
}

/* Pink Dissipated Glow Orb */
.orb-pink {
  top: -10%;
  left: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #FF00FF 0%, rgba(255, 0, 255, 0.4) 45%, transparent 70%);
}

/* Yellow Dissipated Glow Orb */
.orb-yellow {
  bottom: 0%;
  right: 5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #FFC900 0%, rgba(255, 201, 0, 0.4) 45%, transparent 70%);
}

/* Cyan Contrast Dissipated Glow Orb */
.orb-cyan {
  top: 35%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #00FFFF 0%, rgba(0, 255, 255, 0.35) 45%, transparent 70%);
  opacity: 0.25;
}

/* Violet / Purple Ambient Dissipated Glow Orb */
.orb-purple {
  top: 60%;
  right: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7C3AED 0%, rgba(124, 58, 237, 0.35) 45%, transparent 70%);
  opacity: 0.28;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
  position: relative;
}

/* Gradient Line Accent Utility (Borda Fina / Linha em Degradê) */
.gradient-divider {
  height: 2px;
  width: 100%;
  max-width: 180px;
  margin: 1.5rem auto;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Accessibility */
.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;
}
