/* CTA Discord — estilo card (referência: minibucks.com.br) */

.discord-cta-card-section {
  position: relative;
}

.discord-cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    165deg,
    rgba(24, 24, 28, 0.95) 0%,
    rgba(14, 14, 18, 0.98) 100%
  );
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.45);
}

.discord-cta-card__watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.07;
  color: #5865f2;
  will-change: transform;
}

.discord-cta-card__watermark--tr {
  top: -8%;
  right: -4%;
  width: min(42vw, 220px);
  height: auto;
  animation: discord-cta-float-tr 9s ease-in-out infinite;
}

.discord-cta-card__watermark--bl {
  bottom: -12%;
  left: -6%;
  width: min(48vw, 260px);
  height: auto;
  animation: discord-cta-float-bl 11s ease-in-out infinite;
}

@keyframes discord-cta-float-tr {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-6px, 10px) rotate(-3deg);
  }
}

@keyframes discord-cta-float-bl {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(8px, -12px) rotate(3deg);
  }
}

.discord-cta-card__inner {
  position: relative;
  z-index: 1;
  padding: 2rem 1.25rem 1.75rem;
  text-align: center;
}

@media (min-width: 640px) {
  .discord-cta-card__inner {
    padding: 2.5rem 2rem 2rem;
  }
}

.discord-cta-card__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #5865f2;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
  animation: discord-cta-bob 3.2s ease-in-out infinite;
  will-change: transform;
}

.discord-cta-card__icon-btn svg {
  width: 1.75rem;
  height: 1.75rem;
  animation: discord-cta-icon-wiggle 4s ease-in-out infinite;
}

@keyframes discord-cta-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes discord-cta-icon-wiggle {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-4deg) scale(1.03);
  }
  75% {
    transform: rotate(4deg) scale(1.03);
  }
}

.discord-cta-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fafafa;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .discord-cta-card__title {
    font-size: 1.75rem;
  }
}

.discord-cta-card__desc {
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgb(163 163 163);
}

.discord-cta-card__pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.625rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.discord-cta-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e5e5e5;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-cta-card__pill-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  flex-shrink: 0;
  will-change: transform, box-shadow;
}

.discord-cta-card__pill:nth-child(1) .discord-cta-card__pill-dot {
  animation-delay: 0s;
}

.discord-cta-card__pill:nth-child(2) .discord-cta-card__pill-dot {
  animation-delay: 0.42s;
}

.discord-cta-card__pill:nth-child(3) .discord-cta-card__pill-dot {
  animation-delay: 0.84s;
}

.discord-cta-card__pill-dot--green {
  background: #22c55e;
  animation: discord-cta-dot-bounce-green 1.35s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.discord-cta-card__pill-dot--blue {
  background: #3b82f6;
  animation: discord-cta-dot-bounce-blue 1.35s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.discord-cta-card__pill-dot--purple {
  background: #a855f7;
  animation: discord-cta-dot-bounce-purple 1.35s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* Salto com “esmagar”, subida e pequeno ressalto (efeito pulo) */
@keyframes discord-cta-dot-bounce-green {
  0%,
  100% {
    transform: translateY(0) scale(1, 1);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.55);
  }
  12% {
    transform: translateY(0) scale(1.15, 0.75);
  }
  28% {
    transform: translateY(-12px) scale(1.15, 1.2);
    box-shadow: 0 10px 18px rgba(34, 197, 94, 0.8);
  }
  48% {
    transform: translateY(0) scale(1, 1);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.55);
  }
  62% {
    transform: translateY(-5px) scale(1.08, 1.1);
  }
  78% {
    transform: translateY(0) scale(1, 1);
  }
}

@keyframes discord-cta-dot-bounce-blue {
  0%,
  100% {
    transform: translateY(0) scale(1, 1);
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
  }
  12% {
    transform: translateY(0) scale(1.15, 0.75);
  }
  28% {
    transform: translateY(-12px) scale(1.15, 1.2);
    box-shadow: 0 10px 18px rgba(59, 130, 246, 0.8);
  }
  48% {
    transform: translateY(0) scale(1, 1);
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
  }
  62% {
    transform: translateY(-5px) scale(1.08, 1.1);
  }
  78% {
    transform: translateY(0) scale(1, 1);
  }
}

@keyframes discord-cta-dot-bounce-purple {
  0%,
  100% {
    transform: translateY(0) scale(1, 1);
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.55);
  }
  12% {
    transform: translateY(0) scale(1.15, 0.75);
  }
  28% {
    transform: translateY(-12px) scale(1.15, 1.2);
    box-shadow: 0 10px 18px rgba(168, 85, 247, 0.85);
  }
  48% {
    transform: translateY(0) scale(1, 1);
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.55);
  }
  62% {
    transform: translateY(-5px) scale(1.08, 1.1);
  }
  78% {
    transform: translateY(0) scale(1, 1);
  }
}

.discord-cta-card__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .discord-cta-card__footer {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
}

.discord-cta-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.5rem;
  border-radius: 0.65rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  text-decoration: none;
  width: 100%;
  max-width: 20rem;
}

@media (min-width: 640px) {
  .discord-cta-card__btn {
    width: auto;
    max-width: none;
  }
}

.discord-cta-card__btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 22px rgba(88, 101, 242, 0.45);
}

.discord-cta-card__btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.discord-cta-card__stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
}

.discord-cta-card__stats-label {
  font-size: 0.8125rem;
  color: rgb(163 163 163);
}

.discord-cta-card__stats-num {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #5865f2;
  margin: 0.15rem 0;
}

.discord-cta-card__stats-sublabel {
  font-size: 0.8125rem;
  color: rgb(163 163 163);
}

@media (prefers-reduced-motion: reduce) {
  .discord-cta-card__watermark--tr,
  .discord-cta-card__watermark--bl,
  .discord-cta-card__icon-btn,
  .discord-cta-card__icon-btn svg,
  .discord-cta-card__pill-dot--green,
  .discord-cta-card__pill-dot--blue,
  .discord-cta-card__pill-dot--purple {
    animation: none !important;
  }
}