/* --- MINI CTA (glass blur + animowany gradient) --- */
.rebrandy-mini-cta-modern {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background-position: center;
  background-size: cover;
  padding: 32px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin:  auto;
  box-shadow: 0 8px 50px rgba(0,0,0,0.45);
}

/* Rozmycie tła */
.rebrandy-mini-cta-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(40px) brightness(0.7);
  background: rgba(15, 15, 15, 0.6);
  z-index: 0;
}

/* Światło subtelne */
.rebrandy-mini-cta-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 75%, rgba(255, 90, 90, 0.25), rgba(0, 0, 0, 0) 70%);
  mix-blend-mode: overlay;
  z-index: 0;
  animation: rebrandyMiniLight 16s ease-in-out infinite alternate;
}

@keyframes rebrandyMiniLight {
  0% { background-position: 0% 50%; opacity: 0.4; }
  100% { background-position: 100% 50%; opacity: 0.6; }
}

/* --- Treść CTA --- */
.rebrandy-mini-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  position: relative;
  z-index: 2;
  color: #fff;
}

.rebrandy-mini-cta-text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  margin: 0;
  color: #fff;
  line-height: 1.3;
}

/* --- ANIMOWANY GRADIENT --- */
.rebrandy-cta-animated {
  display: inline-block;
  background: linear-gradient(90deg, #ff8a8a, #8dbaff, #e9a8ff, #ff8a8a);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: rebrandyGradientFlow 6s ease-in-out infinite;
}

@keyframes rebrandyGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Przycisk --- */
.rebrandy-mini-cta-btn {
  background: #ff3b2d;
  color: #ffffff !important;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  transition: all 0.35s ease;
  box-shadow: 0 8px 22px rgba(255, 59, 45, 0.4);
  white-space: nowrap;
}

.rebrandy-mini-cta-btn:hover {
  background: linear-gradient(90deg, #ff3b2d, #ff6b5f);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 59, 45, 0.6);
}

.rebrandy-mini-cta-btn .arrow {
  transition: transform 0.35s ease;
}

.rebrandy-mini-cta-btn:hover .arrow {
  transform: translateX(6px);
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .rebrandy-mini-cta-modern {
    padding: 28px 20px;
    border-radius: 18px;
  }
  .rebrandy-mini-cta-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .rebrandy-mini-cta-btn {
    padding: 12px 30px;
  }
}
