:root {
  /* Paleta de Cores (Ajustada para dourado) */
  --color-primary: #FFD700;        /* Dourado primário */
  --color-primary-accent: #FFA500; /* Laranja/dourado */
  --color-primary-light: #ffe766;  /* Dourado claro */
  --color-white: #ffffff;
  --color-muted: #444343;
  --text-color: #010101;

  /* Cores de feedback */
  --warning: #ffa500;
  --danger: #fc605b;
  --success: #33c648;

  /* Backgrounds */
  --bg-base: #efeff1;
  --bg-base-rgb: 239, 239, 241;
  --bg-secondary: #ffffff;
  --bg-secondary-rgb: 255, 255, 255;

  /* Border Radius */
  --radius-1: 4px;
  --radius-2: 0.8rem;
  --radius-3: 1.2rem;
  --radius-4: 2rem;
  --radius-5: 100%;

  /* Bordas e Transições */
  --gray-border: 1px solid rgba(89, 88, 88, 0.633);
  --transition: all 400ms ease;

  /* Gradients e Sombras */
  --gradient-1: linear-gradient(
    260deg,
    var(--color-primary-accent) 0%,
    var(--color-primary) 100%
  );
  --box-shadow-1: 0 4px 8px rgba(0, 0, 0, 0.2);
  --border-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075),
    0 0 0 1px hsla(0, 0%, 0%, 0.05),
    0 0.3px 0.4px hsla(0, 0%, 0%, 0.02),
    0 0.9px 1.5px hsla(0, 0%, 0%, 0.045),
    0 3.5px 6px hsla(0, 0%, 0%, 0.09);
}

/* Tema escuro */
[data-theme="dark"] {
  --color-muted: #a1a0a0;
  --text-color: #ffffff;

  --bg-base: #0a0a0c;
  --bg-base-rgb: 10, 10, 12;
  --bg-secondary: #171719;
  --bg-secondary-rgb: 23, 23, 25;

  --gray-border: 1px solid rgba(70, 68, 68, 0.633);
  --box-shadow-1: 0 4px 8px rgba(185, 185, 189, 0.2);
  --border-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.188),
    0 0 0 1px hsla(0, 2%, 13%, 0.05),
    0 0.3px 0.4px hsla(0, 2%, 13%, 0.05),
    0 0.9px 1.5px hsla(0, 2%, 36%, 0.045),
    0 3.5px 6px hsla(0, 1%, 20%, 0.09);
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  text-decoration: none;
}

html,
body {
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  background: var(--bg-base);
  color: var(--text-color);
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
  transition: background-color 0.6s ease; /* transição suave ao trocar de tema */
}

body {
  max-width: 2000px;
  margin: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Imagens */
img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}
img:hover {
  opacity: 0.97;
  transform: scale(1.02);
}

/* Links */
a {
  color: var(--text-color);
}

/* Textos */
p {
  font-size: 15px;
  line-height: 25px;
}

/* Container Principal */
.container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 50px 20px;
}

/* Flex utilitário */
.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Ícones */
.icon__container {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  opacity: 0.8;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.4s, color 0.4s, opacity 0.4s;
}
.icon__container:hover {
  transform: scale(1.2) rotate(5deg);
  color: var(--color-primary-light);
  opacity: 1;
}

/* Botões */
.btn {
  padding: 15px 25px;
  border-radius: var(--radius-2);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  background: var(--bg-secondary);
  transition: var(--transition);
  text-align: center;
  margin: 10px 0;
  /* Efeito glassmorphism leve */
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.btn:hover {
  color: var(--color-primary-accent);
  transform: translateY(-1px) scale(1.01);
}
.btn__primary {
  background: var(--gradient-1);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}
.btn__primary:hover {
  background: transparent;
  color: var(--color-primary);
  box-shadow: 0 0 1px 3px var(--color-primary);
}

/* Spotlight (efeito dourado ao fundo) */
/* Animação de pulsar */
@keyframes pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translateX(-50%) scale(1.07);
    opacity: 1;
  }
}
.spotlight {
  position: absolute;
  width: 350px;
  height: 350px;
  background: linear-gradient(
    190deg,
    var(--color-primary) 0%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(50px);
  z-index: 1;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: pulse 6s infinite;
}

/* NAVBAR */
#navbar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}
#navbar .theme__toggle {
  position: relative;
}
#navbar .theme__toggle input {
  position: absolute;
  visibility: hidden;
  width: 0;
  height: 0;
  opacity: 0;
}
#navbar .theme__toggle .fa-sun,
#navbar .theme__toggle .fa-moon {
  transform: scale(0);
  transition: var(--transition);
  color: var(--text-color);
}
#navbar .theme__toggle input:not(:checked) ~ .icon__container .fa-sun {
  transform: scale(1);
}
#navbar .theme__toggle input:checked ~ .icon__container .fa-moon {
  transform: scale(1);
}

/* HEADER */
#header {
  position: relative;
  text-align: center;
  padding-top: 100px; /* Espaço extra pra não cobrir a navbar */
}
.header__content {
  position: relative;
  z-index: 2; /* Para ficar por cima do spotlight */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.profile {
  width: 220px;
  height: 220px;
  border-radius: var(--radius-5);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s, box-shadow 0.5s;
}
.profile:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.35);
}

/* Títulos e textos */
.title {
  font-size: 40px;
  font-weight: 600;
  margin: 20px 0 10px;
  /* Text shadow dourado */
  text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}
.sub__title {
  font-size: 22px;
  margin-bottom: 10px;
  opacity: 0.95;
}
.description {
  font-size: 16px;
  max-width: 400px;
  margin: 0 auto;
  opacity: 0.9;
  text-align: center;
}

/* Links estilo LinkTree */
.links {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  width: 100%;
  max-width: 300px;
  gap: 10px;
}

/* Redes Sociais */
.social__handles {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

/* FOOTER */
#footer {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  border-radius: 50px 50px 0 0;
  box-shadow: var(--border-shadow);
  margin-top: 50px;
  backdrop-filter: saturate(150%) blur(15px);
}
#footer .spotlight {
  bottom: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  filter: blur(60px);
  text-align: center;
}
#footer .container {
  padding: 40px 20px;
}
.footer__content {
  text-align: center;
  position: relative;
  z-index: 2;
}
.footer__content .description {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

/* RESPONSIVO */
@media only screen and (max-width: 500px) {
  .title {
    font-size: 28px;
  }
  .sub__title {
    font-size: 16px;
  }
  .description {
    font-size: 14px;
  }
  .profile {
    width: 180px;
    height: 180px;
  }
}
