/* Custom styles for SuperBOX affiliate site */

/* Additional animations and effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80% {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
    opacity: 0;
    transform: scale3d(.3, .3, .3);
  }
  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    transform: scale3d(.9, .9, .9);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(.97, .97, .97);
  }
  100% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.animate-bounceIn {
  animation: bounceIn 0.8s ease-out;
}

/* Custom gradient backgrounds */
.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-success {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.bg-gradient-warning {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Product card enhancements */
.product-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Coupon code styling */
.coupon-code {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  letter-spacing: 2px;
  padding: 12px 20px;
  background: linear-gradient(45deg, #f0f9ff, #e0f2fe);
  border: 2px dashed #0ea5e9;
  border-radius: 8px;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.coupon-code:hover {
  background: linear-gradient(45deg, #e0f2fe, #bae6fd);
  transform: scale(1.05);
}

/* Price display enhancements */
.price-original {
  position: relative;
}

.price-original::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #ef4444;
  transform: rotate(-5deg);
}

.price-sale {
  font-weight: 800;
  color: #059669;
  text-shadow: 0 1px 2px rgba(5, 150, 105, 0.3);
}

/* Button enhancements */
.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
  transform: translateY(-2px);
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Responsive design improvements */
@media (max-width: 768px) {
  .product-card {
    margin-bottom: 2rem;
  }
  
  .coupon-code {
    font-size: 14px;
    letter-spacing: 1px;
    padding: 8px 16px;
  }
  
  .btn-primary, .btn-success {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
}

/* Trust indicators styling */
.trust-indicator {
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.trust-indicator:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Feature list styling */
.feature-list li {
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list li:last-child {
  border-bottom: none;
}

/* Special offer banner */
.offer-banner {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  animation: pulse 2s infinite;
}

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

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .product-card {
    background: rgba(17, 24, 39, 0.8);
    border-color: rgba(75, 85, 99, 0.3);
  }
  
  .trust-indicator {
    background: rgba(17, 24, 39, 0.8);
    border-color: rgba(75, 85, 99, 0.3);
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .trust-indicator,
  .btn-primary,
  .btn-success,
  .coupon-code {
    transition: none;
  }
  
  .animate-fadeInUp,
  .animate-bounceIn,
  .offer-banner {
    animation: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .product-card {
    border: 2px solid #000;
  }
  
  .btn-primary,
  .btn-success {
    border: 2px solid #000;
  }
}