/* 
  =========================================
  ESTILOS PREMIUM - LINK IN BIO
  ELEGANT DARK
  Matheus Corrêa Domingos
  =========================================
*/

/* =========================================================
   FONTES
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&family=Playfair+Display:ital,wght@1,500&display=swap');


/* =========================================================
   VARIÁVEIS
   ========================================================= */

:root {
  --color-blue: #3B82F6;
  --color-blue-light: #60A5FA;
  --color-blue-hover: #2563EB;
  --color-blue-dark: #1D4ED8;
  --color-blue-deep: #1E40AF;

  --color-bg: #070708;
  --color-card: #111112;
  --color-card-hover: #151517;

  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}


/* =========================================================
   BODY
   ========================================================= */

body {
  font-family: var(--font-sans);

  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(37, 99, 235, 0.10),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(59, 130, 246, 0.08),
      transparent 30%
    ),
    var(--color-bg);

  background-color: var(--color-bg);

  color: #f4f4f5;

  overflow-x: hidden;
}


/* =========================================================
   GRID PATTERN BACKGROUND
   ========================================================= */

.grid-pattern {
  background-size: 40px 40px;

  background-image:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    );
}


/* =========================================================
   GRADIENTE AZUL PRINCIPAL
   ========================================================= */

.blue-gradient {
  background: linear-gradient(
    135deg,
    #1D4ED8 0%,
    #3B82F6 45%,
    #60A5FA 100%
  );
}


/* =========================================================
   TEXTO COM GRADIENTE AZUL
   ========================================================= */

.blue-gradient-text {
  background: linear-gradient(
    135deg,
    #60A5FA 0%,
    #3B82F6 50%,
    #93C5FD 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}


/* =========================================================
   BORDA AZUL
   ========================================================= */

.blue-border {
  border-color: rgba(59, 130, 246, 0.45);
}


/* =========================================================
   BRILHO AZUL
   ========================================================= */

.blue-glow {
  box-shadow:
    0 0 20px rgba(59, 130, 246, 0.12),
    0 0 45px rgba(37, 99, 235, 0.06);
}


/* =========================================================
   ÍCONES SOCIAIS
   ========================================================= */

.social-icon {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}


.social-icon:hover {
  transform: translateY(-3px) scale(1.05);

  border-color:
    rgba(96, 165, 250, 0.65);

  background:
    rgba(59, 130, 246, 0.08);

  box-shadow:
    0 8px 25px rgba(37, 99, 235, 0.18);
}


/* =========================================================
   REELS
   ========================================================= */

.reel-card {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}


.reel-card:hover {
  transform: translateY(-3px);

  border-color:
    rgba(59, 130, 246, 0.55);

  box-shadow:
    0 12px 35px rgba(37, 99, 235, 0.12);
}


/* =========================================================
   NÚMERO DOS REELS
   ========================================================= */

.reel-number {
  background: linear-gradient(
    135deg,
    rgba(29, 78, 216, 0.95),
    rgba(59, 130, 246, 0.90)
  );
}


/* =========================================================
   PLACEHOLDER DOS REELS
   ========================================================= */

.reel-placeholder {
  background:
    linear-gradient(
      135deg,
      rgba(30, 64, 175, 0.16),
      rgba(59, 130, 246, 0.05)
    );
}


/* =========================================================
   EFEITO DE ROTAÇÃO LENTA
   ========================================================= */

@keyframes spin-slow {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}


.animate-spin-slow {
  animation:
    spin-slow 15s linear infinite;
}


/* =========================================================
   SHIMMER SWEEP
   =========================================================
   Mantido para compatibilidade com elementos antigos.
   O brilho continua neutro/branco.
   ========================================================= */

@keyframes shimmer {

  0% {
    transform:
      translateX(-150%);
  }

  50% {
    transform:
      translateX(100%);
  }

  100% {
    transform:
      translateX(100%);
  }

}


.shimmer-sweep {
  position: absolute;

  top: 0;
  left: 0;

  width: 150%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.25) 50%,
      transparent 100%
    );

  transform:
    skewX(-15deg)
    translateX(-150%);
}


.group:hover .shimmer-sweep {
  animation:
    shimmer 2s infinite linear;
}


/* =========================================================
   SCROLLBAR PREMIUM
   ========================================================= */

::-webkit-scrollbar {
  width: 6px;
}


::-webkit-scrollbar-track {
  background:
    rgba(255, 255, 255, 0.02);

  border-radius: 10px;
}


::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      rgba(29, 78, 216, 0.55),
      rgba(59, 130, 246, 0.45),
      rgba(96, 165, 250, 0.35)
    );

  border-radius: 10px;

  transition:
    background 0.3s;
}


::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      180deg,
      rgba(29, 78, 216, 0.85),
      rgba(59, 130, 246, 0.75),
      rgba(96, 165, 250, 0.65)
    );
}


/* =========================================================
   ACCORDION
   ========================================================= */

.accordion-content {
  max-height: 0;

  opacity: 0;

  overflow: hidden;

  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
}


.accordion-content.open {
  opacity: 1;

  max-height: 400px;
}


/* =========================================================
   BARRA DE PROFICIÊNCIA
   ========================================================= */

.progress-bar-fill {
  transition:
    width 1s cubic-bezier(0.4, 0, 0.2, 1);
}


/* =========================================================
   CAMPOS DE FORMULÁRIO
   ========================================================= */

input:focus,
textarea:focus,
select:focus {
  border-color:
    rgba(59, 130, 246, 0.70) !important;

  box-shadow:
    0 0 0 2px rgba(59, 130, 246, 0.08);
}


/* =========================================================
   BOTÕES AZUIS
   ========================================================= */

button.blue-gradient,
.blue-gradient {
  background:
    linear-gradient(
      135deg,
      #1D4ED8 0%,
      #3B82F6 48%,
      #60A5FA 100%
    );

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


button.blue-gradient:hover,
.blue-gradient:hover {
  opacity: 0.92;

  box-shadow:
    0 8px 25px rgba(37, 99, 235, 0.18);
}


/* =========================================================
   SELEÇÃO DE TEXTO
   ========================================================= */

::selection {
  background:
    #3B82F6;

  color:
    #ffffff;
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 640px) {

  .social-icon:hover {
    transform:
      translateY(-2px) scale(1.03);
  }

}


/* =========================================================
   REDUÇÃO DE MOVIMENTO
   ========================================================= */

@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;
  }

}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 3%;
}