/* 
  LIQUID GLASS PRESET 
  Protocolo Visual: Liquid Glass (Vidro Líquido Realista)
*/

/* 1. O Recipiente do Vidro (Light Mode - Milky White) */
.liquid-glass {
  /* A Receita do Vidro Branco Leitoso */
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);

  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.6);

  /* Profundidade Soft */
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    /* Sombra suave */
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  /* Borda interna nítida */

  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Interatividade opcional */
.liquid-glass.interactive:hover {
  transform: translateY(-2px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.85);
}

/* 2. O Reflexo Especular (Brilho Branco sobre Branco) */
.liquid-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.1) 60%,
      transparent 100%);
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}

/* 3. A Camada Líquida (Background Animado) */
.liquid-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* Bem atrás */
  background: #f8fafc;
  /* Fundo CLARO base (Slate 50) - Day Light Mode */
  overflow: hidden;
  pointer-events: none;
  /* Não bloquear cliques */
}

.liquid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  /* O segredo da fusão líquida */
  opacity: 0.45;
  /* Mais sutil no fundo branco (Aquarela) */
  animation: float-liquid 10s infinite ease-in-out;
  will-change: transform;
  /* Performance optimization */
}

/* Variações de Cor */
.blob-1 {
  background: #3b82f6;
  /* Azul */
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  top: -10%;
  left: -10%;
  animation-delay: 0s;
  animation-duration: 18s;
}

.blob-2 {
  background: #8b5cf6;
  /* Roxo */
  width: 45vw;
  height: 45vw;
  max-width: 500px;
  max-height: 500px;
  top: 40%;
  right: -10%;
  animation-delay: -2s;
  animation-duration: 22s;
}

.blob-3 {
  background: #06b6d4;
  /* Ciano */
  width: 40vw;
  height: 40vw;
  max-width: 450px;
  max-height: 450px;
  bottom: -10%;
  left: 20%;
  animation-delay: -5s;
  animation-duration: 15s;
}

/* Animação de Flutuação */
@keyframes float-liquid {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}