/* ============================================
   SAFANDY COUNTDOWN BANNER
   ============================================ */

.sfcb {
  background: linear-gradient(90deg, #1a1a1a 0%, #2a1a10 50%, #1a1a1a 100%);
  color: #fff;
  direction: rtl;
  text-align: center;
  padding: 10px 16px;
  position: relative;
  z-index: 999;
  font-family: 'Cairo', sans-serif;
  width: 100%;
}

.sfcb-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.sfcb-fire {
  font-size: 18px;
  animation: sfcbPulse 1.5s ease-in-out infinite;
}

@keyframes sfcbPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.sfcb-text {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* Timer */
.sfcb-timer {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr; /* numbers always LTR */
}

.sfcb-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 38px;
}

.sfcb-num {
  background: rgba(246, 83, 0, 0.9);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 3px 8px;
  border-radius: 6px;
  min-width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.sfcb-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
  font-weight: 600;
}

.sfcb-sep {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 800;
  font-size: 16px;
  padding: 0 1px;
  align-self: flex-start;
  margin-top: 3px;
}

/* Urgency flash when under 1 hour */
.sfcb.sfcb-urgent .sfcb-num {
  background: #E53E3E;
  animation: sfcbFlash 1s ease-in-out infinite;
}

@keyframes sfcbFlash {
  0%, 100% { background: #E53E3E; }
  50% { background: #C53030; }
}

/* Mobile: slightly smaller */
@media (max-width: 480px) {
  .sfcb {
    padding: 8px 12px;
  }

  .sfcb-text {
    font-size: 13px;
  }

  .sfcb-num {
    font-size: 14px;
    padding: 2px 6px;
    min-width: 32px;
  }

  .sfcb-fire {
    font-size: 16px;
  }
}
