/* ------------------- */
/* VIBE CASSINO ESPORTIVO - ATUALIZADO */
/* ------------------- */

body {
  font-family: 'Inter', sans-serif;
  background-color: #0F172A;
  transition: background 0.5s ease;
  overflow-x: hidden;
  position: relative;
}

/* EFEITO DE ILUMINAÇÃO SUAVE COM LUZES DIFUSAS */
body::after {
  content: '';
  position: fixed;
  top: 10%;
  left: 60%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(34,197,94,0.12), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

/* ------------------- */
/* TEXTURA COM MOVIMENTO SUTIL */
/* ------------------- */

@keyframes backgroundShift {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

.textured-bg {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.95)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231E293B' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  background-repeat: repeat;
  animation: backgroundShift 60s linear infinite;
  position: relative;
  overflow: hidden;
}

.textured-bg::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34,197,94,0.1), transparent 60%);
  filter: blur(150px);
  pointer-events: none;
}

/* ------------------- */
/* BOTÕES COM GRADIENTE E GLOW */
/* ------------------- */

.cta-button-gradient {
  background: linear-gradient(90deg, #22C55E, #06B6D4);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.cta-button-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3), 0 5px 15px rgba(6, 182, 212, 0.2);
}

/* ------------------- */
/* CAIXAS COM GLOW NEON */
/* ------------------- */

.glow-effect {
  border: 2px solid #22C55E;
  box-shadow:
    0 0 15px rgba(34, 197, 94, 0.4),
    0 0 30px rgba(6, 182, 212, 0.3),
    inset 0 0 10px rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  padding: 20px;
}

/* ------------------- */
/* LOADER ANIMADO */
/* ------------------- */

.loader {
  border: 4px solid #1E293B;
  border-top: 4px solid #22C55E;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ------------------- */
/* CARROSSEL DE PARCEIROS */
/* ------------------- */

@keyframes partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}

.partner-carousel {
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
  mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.partner-track {
  display: flex;
  width: 300%;
  animation: partner-scroll 20s linear infinite;
}

.partner-carousel:hover .partner-track {
  animation-play-state: paused;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1e293b;
  border-radius: 12px;
  border: 1px solid #334155;
  height: 100px;
  width: calc(100% / 9);
  margin: 0 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.partner-carousel:hover .partner-card {
  border-color: #22C55E;
  transform: translateY(-5px);
}

.partner-card img {
  max-height: 50px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.8) grayscale(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.partner-carousel:hover .partner-card img {
  filter: brightness(1) grayscale(0);
  opacity: 1;
}

/* ------------------- */
/* PROVAS SOCIAIS - SEÇÃO DE CARDS */
/* ------------------- */

.proof-section {
  background-color: #0e1320;
  padding: 4rem 2rem;
  text-align: center;
}

.proof-section h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 2rem;
  font-weight: 700;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.proof-card {
  background-color: #131a2d;
  border-radius: 12px;
  padding: 1rem;
  width: 100%;
  max-width: 320px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.proof-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
/* ------------------- */
/* EFEITO PULSAR DEPOIMENTOS */
/* ------------------- */

/* Animação que altera a cor da borda e adiciona uma sombra (glow) */
@keyframes pulse-glow {
  0% {
    border-color: #334155; /* Cor inicial da borda (slate-700) */
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.2);
  }
  50% {
    border-color: #22C55E; /* Cor verde brilhante no pico da pulsação */
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.5); /* Efeito de brilho (glow) */
  }
  100% {
    border-color: #334155; /* Retorna à cor inicial */
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.2);
  }
}

/* Classe que aplica a animação aos cards */
.testimonial-card-pulse {
  animation: pulse-glow 2.5s ease-in-out infinite;
}
@keyframes soft-pulse {
  0%, 100% {
    transform: scale(1) rotate(var(--rotate));
    opacity: 0.4;
  }
  50% {
    transform: scale(1.08) rotate(var(--rotate));
    opacity: 0.6;
  }
}

.animate-soft-pulse {
  animation: soft-pulse 2.5s infinite ease-in-out;
}
/* Aumentar o tamanho e posicionar bem as imagens */
.decor-img {
    position: absolute;
    width: 180px;
    opacity: 0.3;
    z-index: 1;
    transition: transform 0.3s ease-in-out;
}

@media (min-width: 768px) {
    .decor-img {
        width: 220px;
    }
}

/* Efeito RGB com glow */
.glow-pulse {
    animation: rgb-glow 4s infinite;
    border-radius: 12px;
}

/* Animação RGB */
@keyframes rgb-glow {
    0% {
        box-shadow: 0 0 12px #00ffcc, 0 0 24px #00ffaa, 0 0 36px #00f0ff;
    }
    50% {
        box-shadow: 0 0 12px #00aaff, 0 0 24px #00ffaa, 0 0 36px #33ffcc;
    }
    100% {
        box-shadow: 0 0 12px #00ffcc, 0 0 24px #00ffaa, 0 0 36px #00f0ff;
    }
}
