/* Welcome Page Styles - Optimized for Performance */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

/* Z-Index Management System - Preventing Stacking Conflicts
 * 
 * Header Elements:
 * - Main Navigation: z-index: 9998
 * - Announcement Banner: z-index: 9997
 * - Dropdown Menus: z-index: 9999
 * - Mobile Menu: z-index: 9999
 * 
 * Offer Popup (Must be above header):
 * - Popup Overlay: z-index: 10000
 * - Close Button: z-index: 10001
 * - Popup Content: z-index: 10002
 */

/* Base Styles */
.arabic-font { 
  font-family: 'Cairo', sans-serif; 
}

/* Tag System */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  margin: 1px 2px 1px 0;
  color: #fff;
  background: var(--tag-bg, #FF6B00);
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(255,107,0,0.1);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.tag:hover { 
  transform: translateY(-1px); 
  box-shadow: 0 2px 6px rgba(255,107,0,0.15); 
}

.tag-orange { background: #FF6B00; }
.tag-red { background: rgba(255,65,54,0.15); color: #FF4136; border: 1px solid rgba(255,65,54,0.2); }
.tag-light { background: #fff; color: #FF6B00; border: 1px solid #FF6B00; }

/* Site Cards */
.site-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 2px 12px 0 rgba(255,107,0,0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #fef7f0;
  position: relative;
  overflow: hidden;
}

.site-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF6B00, #FF4136);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-card:hover::before { opacity: 1; }
.site-card:hover {
  box-shadow: 0 8px 25px 0 rgba(255,107,0,0.12);
  transform: translateY(-3px) scale(1.02);
  border-color: #ffe5d0;
}

.site-logo {
  width: 100px; 
  height: 100px; 
  object-fit: contain; 
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #fff7f0 0%, #fff 100%);
  border-radius: 1rem; 
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(255,107,0,0.08);
  transition: transform 0.2s ease;
}

.site-card:hover .site-logo { transform: scale(1.05); }

/* CTA Button */
.cta-btn {
  background: linear-gradient(135deg, #FF6B00 0%, #FF5A00 100%);
  color: #fff;
  border-radius: 999px;
  padding: 0.6rem 1.8rem;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  margin-top: 0.8rem;
  box-shadow: 0 2px 8px rgba(255,107,0,0.15);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.cta-btn:hover::before { left: 100%; }
.cta-btn:hover { 
  background: linear-gradient(135deg, #FF4136 0%, #FF2A1F 100%); 
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,107,0,0.25);
}

/* Site Tags */
.site-tags {
  margin-bottom: 0.6rem;
  margin-top: 0.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  justify-content: center;
  max-width: 100%;
}

/* Status Badge */
.status-badge {
  position: absolute;
  top: 0.8rem; 
  left: 0.8rem;
  background: linear-gradient(135deg, #FF6B00 0%, #FF5A00 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 0.8rem;
  padding: 0.25rem 0.8rem;
  box-shadow: 0 2px 6px rgba(255,107,0,0.15);
  z-index: 2;
}

.status-badge.unavailable {
  background: linear-gradient(135deg, rgba(255,65,54,0.15) 0%, rgba(255,65,54,0.1) 100%); 
  color: #FF4136;
  border: 1px solid rgba(255,65,54,0.2);
}

/* Main Background */
.main-bg {
  background: linear-gradient(135deg, #fff 0%, #fff7f0 50%, #fff 100%);
  min-height: 100vh;
  padding: 0;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(255,107,0,0.03) 0%, rgba(255,65,54,0.02) 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,107,0,0.08);
}

.site-name {
  background: linear-gradient(135deg, #FF6B00 0%, #FF4136 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.tip-section {
  background: linear-gradient(135deg, #fff 0%, #fff7f0 100%);
  border: 1px solid rgba(255,107,0,0.1);
  border-radius: 1.25rem;
  box-shadow: 0 2px 12px rgba(255,107,0,0.05);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.6s ease-out; }

/* Search Section */
.search-section {
  margin-bottom: 2rem;
}

.search-container {
  max-width: 600px;
  margin: 0 auto;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 999px;
  font-size: 1rem;
  font-family: 'Cairo', sans-serif;
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
  outline: none;
  border-color: #FF6B00;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.15);
  transform: translateY(-1px);
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1.1rem;
}

.clear-search-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clear-search-btn:hover {
  background: #e5e7eb;
  color: #374151;
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: white;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Cairo', sans-serif;
}

.filter-btn:hover {
  border-color: #FF6B00;
  color: #FF6B00;
  transform: translateY(-1px);
}

.filter-btn.active {
  background: #FF6B00;
  color: white;
  border-color: #FF6B00;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.2);
}

/* Trend Badge */
.trend-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: linear-gradient(135deg, #FF6B00, #FF4136);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
  z-index: 10;
  animation: trendPulse 2s ease-in-out infinite;
}

.trend-badge i {
  font-size: 0.8rem;
  color: #FFD700;
}

.trend-text {
  font-family: 'Cairo', sans-serif;
}

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

/* Manual Service Notice */
.manual-service-notice {
  margin: 0.5rem 0;
  text-align: center;
}

.manual-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  animation: manualPulse 2s ease-in-out infinite;
}

.auto-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FF6B00 0%, #FF4136 100%);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  animation: manualPulse 2s ease-in-out infinite;
}

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

/* Site card states */
.site-card.hidden {
  display: none;
}

.site-card.highlight {
  animation: highlightPulse 0.6s ease-in-out;
}

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

/* No results message */
.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
  font-size: 1.1rem;
  font-family: 'Cairo', sans-serif;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Trending Section */
.trending-section {
  margin: 3rem 0;
  padding: 2rem 0;
}

.trending-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.trending-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #FF6B00, #FF4136);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trending-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  font-weight: 500;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.trending-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #f3f4f6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trending-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF6B00, #FF4136);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trending-card:hover::before {
  opacity: 1;
}

.trending-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: #FF6B00;
}

.trending-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #FF6B00, #FF4136);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.trending-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.trending-site-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: contain;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trending-site-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
}

.trending-content {
  position: relative;
}

.trending-category {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.trending-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.trending-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 600;
}

.trending-stat i {
  color: #FF6B00;
  font-size: 0.8rem;
}

.trending-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.trending-tag {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #fbbf24;
}

.trending-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #FF6B00 0%, #FF5A00 100%);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.25);
}

.trending-cta:hover {
  background: linear-gradient(135deg, #FF4136 0%, #FF2A1F 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
  color: white;
}

.trending-cta i {
  transition: transform 0.3s ease;
}

.trending-cta:hover i {
  transform: translateX(-4px);
}

/* Site-specific trending card themes */
.shein-trending {
  border-left: 4px solid #ff69b4;
}

.shein-trending .trending-badge {
  background: linear-gradient(135deg, #ff69b4, #ff1493);
}

.aliexpress-trending {
  border-left: 4px solid #ff6b35;
}

.aliexpress-trending .trending-badge {
  background: linear-gradient(135deg, #ff6b35, #ff4500);
}

.temu-trending {
  border-left: 4px solid #4ecdc4;
}

.temu-trending .trending-badge {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

/* Responsive Design */
@media (max-width: 768px) {
  .trending-title {
    font-size: 1.8rem;
  }
  
  .trending-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .trending-card {
    padding: 1.2rem;
  }
  
  .trending-category {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .trending-section {
    margin: 2rem 0;
    padding: 1rem 0;
  }
  
  .trending-title {
    font-size: 1.5rem;
  }
  
  .trending-subtitle {
    font-size: 1rem;
  }
}

/* Offer Popup Styles */
.offer-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000; /* Higher than header elements */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(10px);
  /* Ensure proper stacking context */
  transform: translateZ(0);
  will-change: opacity, visibility;
}

.offer-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.offer-popup-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10002; /* Higher than overlay and close button */
}

.offer-popup-overlay.show .offer-popup-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.offer-popup-content {
  padding: 1.5rem;
  text-align: center;
}

.offer-close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
  z-index: 10001; /* Higher than popup overlay */
}

.offer-close-btn:hover {
  background: #e5e7eb;
  color: #374151;
  transform: rotate(90deg);
}

.offer-popup-header {
  margin-bottom: 1.5rem;
}

.offer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B00 0%, #FF4136 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.3);
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.offer-logo-icon {
  font-size: 2rem;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.offer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  background: linear-gradient(135deg, #FF6B00, #FF4136);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Countdown Section */
.countdown-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 16px;
  padding: 1.25rem;
  border: 2px solid #f59e0b;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.2);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: countdownShimmer 3s infinite;
}

@keyframes countdownShimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.countdown-header {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.countdown-header:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.countdown-icon {
  font-size: 1.25rem;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.countdown-header:hover .countdown-icon {
  transform: scale(1.1);
  color: #d97706;
}

.countdown-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #92400e;
  margin: 0;
  display: inline;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.countdown-item {
  background: white;
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  min-width: 2.5rem;
  border: 2px solid #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.countdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
  transition: left 0.5s ease;
}

.countdown-item:hover::before {
  left: 100%;
}

.countdown-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}

.countdown-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #d97706;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: countdownValuePulse 2s ease-in-out infinite;
}

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

.countdown-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.countdown-separator {
  font-size: 1.25rem;
  font-weight: 800;
  color: #d97706;
  margin: 0 0.25rem;
  animation: countdownSeparatorBlink 1s ease-in-out infinite;
}

@keyframes countdownSeparatorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Call to Action */
.offer-cta-section {
  text-align: center;
}

.offer-cta-btn {
  background: linear-gradient(135deg, #FF6B00 0%, #FF5A00 100%);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.3);
  margin-bottom: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cairo', sans-serif;
}

.offer-cta-btn:hover {
  background: linear-gradient(135deg, #FF4136 0%, #FF2A1F 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
}

.offer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.offer-dismiss-btn {
  background: #f3f4f6;
  color: #6b7280;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Cairo', sans-serif;
}

.offer-dismiss-btn:hover {
  background: #e5e7eb;
  color: #374151;
}

.dont-show-again {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.dont-show-again input[type="checkbox"] {
  accent-color: #FF6B00;
  width: 0.875rem;
  height: 0.875rem;
}

.dont-show-again label {
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
}

/* Urgency States */
.offer-popup-overlay.urgent .countdown-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
  border-color: #f59e0b;
  animation: urgentPulse 2s ease-in-out infinite;
}

.offer-popup-overlay.critical .countdown-section {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  border-color: #ef4444;
  animation: criticalPulse 1s ease-in-out infinite;
}

.offer-popup-overlay.urgent .countdown-item {
  border-color: #f59e0b;
  animation: urgentBounce 1.5s ease-in-out infinite;
}

.offer-popup-overlay.critical .countdown-item {
  border-color: #ef4444;
  background: #fef2f2;
  animation: criticalShake 0.5s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(245, 158, 11, 0.2); }
  50% { box-shadow: 0 10px 28px rgba(245, 158, 11, 0.4); }
}

@keyframes criticalPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(239, 68, 68, 0.2); }
  50% { box-shadow: 0 10px 28px rgba(239, 68, 68, 0.4); }
}

@keyframes urgentBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes criticalShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-1px); }
  75% { transform: translateX(1px); }
}

/* Responsive Design */
@media (max-width: 480px) {
  .offer-popup-container {
    width: 95%;
    margin: 1rem;
    max-width: 350px;
  }
  
  .offer-popup-content {
    padding: 1.25rem;
  }
  
  .countdown-item {
    padding: 0.5rem 0.375rem;
    min-width: 2.25rem;
  }
  
  .countdown-value {
    font-size: 1.125rem;
  }
  
  .countdown-label {
    font-size: 0.5rem;
  }
  
  .countdown-separator {
    font-size: 1.125rem;
  }
  
  .offer-logo {
    width: 50px;
    height: 50px;
  }
  
  .offer-logo-icon {
    font-size: 1.75rem;
  }
  
  .offer-title {
    font-size: 1.125rem;
  }
} 