/* Block 3.2 — Fixed Bottom Banner */

#pcs-bottom-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8999;
  background: linear-gradient(135deg, #161616, #0d0d0d);
  border-top: 2px solid #febf00;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  padding-bottom: calc(10px + constant(safe-area-inset-bottom));
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

/* Avatar */
.pcs-banner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #febf00;
  flex-shrink: 0;
}

/* Text block */
.pcs-banner-text-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pcs-banner-offer-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
  white-space: nowrap;
}

.pcs-banner-main-text {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Countdown timer */
.pcs-banner-timer {
  color: #febf00;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* CTA button */
#pcs-banner-btn {
  background: #febf00;
  color: #000;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(254, 191, 0, 0.35);
  transition: filter 0.15s, transform 0.15s;
}

#pcs-banner-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Mobile: tighten layout */
@media (max-width: 480px) {
  .pcs-banner-main-text {
    font-size: 0.75rem;
  }
  #pcs-banner-btn {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
  }
}
