/* =====================================================================
   SPONSOR CARD STYLES (used by sponsors.js)
   ===================================================================== */
.sponsor-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  animation: sponsorFadeUp .35s ease both;
}
.sponsor-card {
  width: 100%;
  max-width: 420px;
  background: var(--chat-surface, #0b0b0c);
  border: 1px solid var(--chat-border, rgba(245, 217, 10, .35));
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding: 16px 18px 18px;
  transition: border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.sponsor-card:hover {
  border-color: var(--chat-accent, #f5d90a);
  box-shadow: 0 6px 18px rgba(245,217,10,.12);
}

/* ---- top bar: Sponsored badge + Skip Ad ---- */
.sponsor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sponsor-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--chat-accent, #f5d90a);
  background: rgba(245,217,10,.1);
  border: 1px solid rgba(245,217,10,.4);
  padding: 4px 10px;
  border-radius: 999px;
}
.sponsor-skip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--chat-text-dim, rgba(255,255,255,.6));
  background: transparent;
  border: 1px solid var(--chat-border, rgba(255,255,255,.15));
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.sponsor-skip svg { width: 11px; height: 11px; }
.sponsor-skip:hover {
  color: #fff;
  border-color: rgba(255,82,82,.6);
  background: rgba(255,82,82,.12);
}

/* ---- main row: logo + name/tagline ---- */
.sponsor-main {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.sponsor-logo {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sponsor-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sponsor-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.sponsor-info { min-width: 0; }
.sponsor-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--chat-text, #fff);
  line-height: 1.3;
}
.sponsor-tagline {
  font-size: 12.5px;
  color: var(--chat-text-dim, rgba(255,255,255,.6));
  margin-top: 2px;
}

/* ---- location ---- */
.sponsor-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--chat-accent, #f5d90a);
  margin-bottom: 10px;
}
.sponsor-location svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* ---- features / description ---- */
.sponsor-features {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--chat-text-dim, rgba(255,255,255,.55));
  margin-bottom: 16px;
}

/* ---- action buttons: Call / WhatsApp / Instagram ---- */
.sponsor-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sponsor-btn {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  background: transparent;
  border: 1px solid var(--chat-accent, #f5d90a);
  color: var(--chat-accent, #f5d90a);
  border-radius: 9px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.sponsor-btn svg { width: 14px; height: 14px; }
.sponsor-btn:hover {
  background: var(--chat-accent, #f5d90a);
  color: #0b0b0c;
  transform: translateY(-1px);
}

@keyframes sponsorFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sponsorFadeOut {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(.95); }
}

@media (max-width: 767px) {
  .sponsor-wrapper { margin: 16px 0; }
  .sponsor-card { max-width: 100%; margin: 0 12px; padding: 14px 14px 16px; }
  .sponsor-logo { width: 56px; height: 56px; }
  .sponsor-name { font-size: 15.5px; }
  .sponsor-actions { flex-wrap: wrap; }
  .sponsor-btn { flex: 1 1 30%; }
}
