/* ============================================
   Simplifica Links — Style Sheet
   Guia de Marca v2.0 · Rebranding 2026
   Mobile-first • Responsive • Tema: universo
   ============================================ */

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

:root {
  /* Paleta oficial — Guia de Marca v2.0 */
  --deep-blue: #0B309A;
  --rich-teal: #116173;
  --bright-cyan: #28DBDC;
  --neon-green: #39FF14;
  --luminous-lime: #C1FFD7;

  /* Aplicação */
  --color-text: #F4F8FF;
  --color-text-muted: rgba(214, 226, 248, 0.72);
  --color-footer: rgba(214, 226, 248, 0.45);
  --color-btn-bg: rgba(11, 48, 154, 0.16);
  --color-btn-border: rgba(40, 219, 220, 0.22);
  --color-btn-hover-bg: rgba(11, 48, 154, 0.32);
  --color-btn-hover-border: rgba(40, 219, 220, 0.55);
  --color-shadow: rgba(11, 48, 154, 0.45);

  /* Fundo — espaço profundo */
  --gradient-bg:
    radial-gradient(ellipse 120% 70% at 70% -10%, rgba(11, 48, 154, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 15% 110%, rgba(17, 97, 115, 0.30) 0%, transparent 60%),
    linear-gradient(160deg, #030716 0%, #050C24 40%, #071033 75%, #081338 100%);

  /* Sizing */
  --max-width: 480px;
  --border-radius: 14px;
  --btn-height: 56px;
  --btn-gap: 14px;

  /* Tipografia — Sora (títulos e marca) / Manrope (textos e UI) */
  --font-heading: 'Sora', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--gradient-bg);
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Universo — camada de fundo
   ============================================ */
.space {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.space__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Nebulosas — brilhos difusos nas cores base */
.space__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.4;
  animation: nebulaFloat 26s ease-in-out infinite alternate;
}

.space__nebula--blue {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--deep-blue) 0%, transparent 70%);
  top: -140px;
  left: -120px;
}

.space__nebula--teal {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--rich-teal) 0%, transparent 70%);
  bottom: -120px;
  right: -100px;
  animation-delay: -13s;
}

@keyframes nebulaFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, 25px) scale(1.1);
  }

  100% {
    transform: translate(-25px, 45px) scale(0.94);
  }
}

/* Planetas com órbita (símbolo da marca) sobrevoando */
.space__orbiter {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
}

.space__orbiter--1 {
  width: 88px;
  height: 88px;
  top: 14%;
  left: -100px;
  animation: flyAcross 75s linear infinite, orbiterSpin 24s linear infinite;
}

.space__orbiter--2 {
  width: 52px;
  height: 52px;
  top: 62%;
  left: -70px;
  animation: flyAcross 105s linear infinite, orbiterSpin 30s linear infinite reverse;
  animation-delay: -40s, 0s;
}

.space__orbiter--3 {
  width: 36px;
  height: 36px;
  top: 38%;
  left: -50px;
  animation: flyAcross 130s linear infinite, orbiterSpin 20s linear infinite;
  animation-delay: -90s, -8s;
}

@keyframes flyAcross {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }

  4% {
    opacity: 0.35;
  }

  50% {
    transform: translateX(60vw) translateY(-6vh);
    opacity: 0.35;
  }

  96% {
    opacity: 0.35;
  }

  100% {
    transform: translateX(120vw) translateY(-12vh);
    opacity: 0;
  }
}

@keyframes orbiterSpin {
  to {
    rotate: 360deg;
  }
}

/* --- Container --- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  padding: 48px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
}

/* --- Header / Profile --- */
.profile {
  text-align: center;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.6s var(--transition-fast) both;
}

.profile__avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}

.profile__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(40, 219, 220, 0.3);
  box-shadow: 0 0 30px var(--color-shadow), 0 0 60px rgba(40, 219, 220, 0.12);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.profile__avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--color-shadow), 0 0 80px rgba(40, 219, 220, 0.22);
}

.profile__avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--deep-blue), var(--bright-cyan), var(--luminous-lime), var(--rich-teal), var(--deep-blue));
  opacity: 0.65;
  z-index: -1;
  animation: spin 6s linear infinite;
}

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

.profile__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff 30%, var(--bright-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile__handle {
  font-size: 0.9rem;
  color: var(--bright-cyan);
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.profile__bio {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 340px;
  margin: 0 auto;
}

/* --- Link Buttons --- */
.links {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--btn-gap);
  margin-bottom: 36px;
}

.links__item {
  animation: fadeSlideUp 0.5s var(--transition-fast) both;
}

.links__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--btn-height);
  padding: 14px 20px;
  border-radius: var(--border-radius);
  background: var(--color-btn-bg);
  border: 1px solid var(--color-btn-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.links__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 48, 154, 0.25), rgba(40, 219, 220, 0.15));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.links__btn:hover,
.links__btn:focus-visible {
  background: var(--color-btn-hover-bg);
  border-color: var(--color-btn-hover-border);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 30px rgba(11, 48, 154, 0.35), 0 0 20px rgba(40, 219, 220, 0.12), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.links__btn:hover::before,
.links__btn:focus-visible::before {
  opacity: 1;
}

.links__btn:active {
  transform: translateY(0) scale(0.99);
}

.links__btn:focus-visible {
  outline: 2px solid var(--bright-cyan);
  outline-offset: 3px;
}

.links__icon {
  width: 22px;
  height: 22px;
  margin-right: 12px;
  flex-shrink: 0;
  opacity: 0.85;
}

.links__label {
  position: relative;
  z-index: 1;
}

/* --- Highlighted Button (CTA principal) --- */
.links__btn--highlight {
  background: linear-gradient(135deg, rgba(11, 48, 154, 0.55), rgba(17, 97, 115, 0.5));
  border: 1px solid rgba(40, 219, 220, 0.45);
  padding: 18px 22px;
  font-size: 1.05rem;
  box-shadow:
    0 0 20px rgba(40, 219, 220, 0.15),
    0 0 40px rgba(11, 48, 154, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.links__btn--highlight::before {
  background: linear-gradient(135deg, rgba(11, 48, 154, 0.35), rgba(40, 219, 220, 0.25));
}

.links__btn--highlight:hover,
.links__btn--highlight:focus-visible {
  background: linear-gradient(135deg, rgba(11, 48, 154, 0.7), rgba(17, 97, 115, 0.65));
  border-color: rgba(40, 219, 220, 0.7);
  box-shadow:
    0 0 30px rgba(40, 219, 220, 0.28),
    0 0 60px rgba(11, 48, 154, 0.35),
    0 8px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* --- Social Icons Row --- */
.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  animation: fadeSlideUp 0.5s 0.7s var(--transition-fast) both;
}

.socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-btn-bg);
  border: 1px solid var(--color-btn-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-text);
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.socials__link:hover,
.socials__link:focus-visible {
  background: var(--color-btn-hover-bg);
  border-color: var(--color-btn-hover-border);
  color: var(--bright-cyan);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(11, 48, 154, 0.4), 0 0 16px rgba(40, 219, 220, 0.15);
}

.socials__link:focus-visible {
  outline: 2px solid var(--bright-cyan);
  outline-offset: 3px;
}

.socials__link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Footer --- */
.footer {
  margin-top: auto;
  text-align: center;
  padding: 16px 0;
  animation: fadeSlideUp 0.5s 0.85s var(--transition-fast) both;
}

.footer__text {
  font-size: 0.8rem;
  color: var(--color-footer);
  letter-spacing: 0.02em;
}

.footer__link {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-text);
}

/* --- Animations --- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (min-width: 600px) {
  .container {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .profile__avatar {
    width: 110px;
    height: 110px;
  }

  .profile__name {
    font-size: 1.75rem;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .space__orbiter {
    display: none;
  }
}

/* --- Print --- */
@media print {
  body {
    background: #fff;
  }

  .space {
    display: none;
  }

  .container {
    color: #000;
  }

  .links__btn {
    border: 1px solid #ccc;
    color: #000;
    background: #f9f9f9;
  }
}
