/* This would be compiled with TailwindCSS */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Basic compiled Tailwind CSS for IPTV SUISSE theme */
/* Core utilities and base styles */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

/* Colors */
.bg-dark {
  background-color: #0F0F0F;
}
.bg-primary-600 {
  background-color: #7c3aed;
}
.bg-netflix-red {
  background-color: #E50914;
}
.text-white {
  color: #FFFFFF;
}
.text-gray-300 {
  color: #d1d5db;
}
.border-gray-700 {
  border-color: #374151;
}

/* Typography */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}

/* Layout */
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: 1rem;
}
.p-4 {
  padding: 1rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mb-4 {
  margin-bottom: 1rem;
}

/* Effects */
.rounded {
  border-radius: 0.25rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition-property: background-color, border-color, color, fill, stroke;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
  background-color: #E50914;
  color: #FFFFFF;
}
.btn-primary:hover {
  background-color: #FF1722;
}

/* Responsive */
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
  .sm\:flex {
    display: flex;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Custom Animations for How It Works Section */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.4;
  }
}

@keyframes pulse-slow-delay {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes shimmer-bg {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes text-glow {
  0%, 100% {
    text-shadow: 0 0 8px rgba(229, 9, 20, 0.3);
  }
  50% {
    text-shadow: 0 0 16px rgba(229, 9, 20, 0.6);
  }
}

@keyframes flow-pulse {
  0% {
    opacity: 0.1;
    background-position: 0% 50%;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.1;
    background-position: 100% 50%;
  }
}

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

@keyframes subtle-bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.4;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-pulse-slow-delay {
  animation: pulse-slow-delay 7s 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-shimmer-bg {
  background: linear-gradient(to right, #E50914 10%, #FF5252 50%, #E50914 90%);
  background-size: 200% auto;
  animation: shimmer-bg 3s linear infinite;
}

.animate-text-glow {
  animation: text-glow 3s ease-in-out infinite;
}

.animate-flow-pulse {
  background-size: 200% 200%;
  animation: flow-pulse 3s ease infinite;
}

.animate-number-bounce {
  animation: number-bounce 0.6s ease;
}

.group:hover .group-hover\:animate-number-bounce {
  animation: number-bounce 0.6s ease;
}

.group:hover .group-hover\:animate-subtle-bounce {
  animation: subtle-bounce 1s ease;
}

.group:hover .group-hover\:animate-ripple {
  animation: ripple 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.parallax {
  transform: translateZ(-10px) scale(1.1);
}