/* Reset Swiper slide sizing for proper responsiveness */
.swiper-slide {
  display: flex !important;
  justify-content: center !important;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Import fancy font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&display=swap');

.sb-affiliate-container {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.sb-title {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 2.8em;
  font-weight: 700;
  background: linear-gradient(90deg, #ff4d4d, #e53935, #b71c1c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  margin-bottom: 20px;
}
.sb-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #e53935;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  border-radius: 2px;
  animation: underlinePulse 2s ease-in-out infinite;
}
@keyframes underlinePulse {
  0%, 100% { width: 60px; opacity: 0.7; }
  50% { width: 100px; opacity: 1; }
}

.brand-card {
  position: relative;
  width: 100%;
  max-width: 180px;
  border: 2px dashed #e53935 !important;
  border-radius: 10px 0 10px 0;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.brand-card:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}
.brand-card img {
  display: block;
  width: 100%;
  height: auto;
}

.play-now {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: #e53935;
  color: #fff;
  padding: 12px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: blink 0.8s linear infinite;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Mobile: full-width cards */
@media (max-width: 767px) {
  .brand-card {
    max-width: none;
  }
}