/* Custom CSS for DirectForTV HTML Version */
/* Tailwind CDN will handle base styles, this file contains custom utilities */

:root {
  --background: 220 25% 7%;
  --foreground: 210 40% 98%;
  --card: 220 20% 10%;
  --card-foreground: 210 40% 98%;
  --popover: 220 20% 10%;
  --popover-foreground: 210 40% 98%;
  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 189 94% 43%;
  --secondary-foreground: 0 0% 100%;
  --muted: 220 15% 20%;
  --muted-foreground: 215 20% 65%;
  --accent: 266 83% 58%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 210 40% 98%;
  --border: 220 15% 20%;
  --input: 220 15% 20%;
  --ring: 217 91% 60%;
  --radius: 0.75rem;
}

* {
  border-color: hsl(var(--border));
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

html {
  scroll-behavior: smooth;
}

/* Gradient Utilities */
.gradient-primary {
  background: linear-gradient(135deg, hsl(217 91% 60%), hsl(189 94% 43%));
}

.gradient-hero {
  background: linear-gradient(135deg, hsl(217 91% 60%), hsl(266 83% 58%), hsl(189 94% 43%));
}

.gradient-accent {
  background: linear-gradient(90deg, hsl(189 94% 43%), hsl(217 91% 60%));
}

/* Shadow Utilities */
.shadow-glow {
  box-shadow: 0 0 40px hsl(217 91% 60% / 0.3);
}

.shadow-card {
  box-shadow: 0 10px 30px -10px hsl(0 0% 0% / 0.5);
}

/* Transition Utilities */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out;
}

.animate-slide-down {
  animation: slideDown 0.3s ease-out;
}

/* Swiper Custom Styles */
.hero-pagination {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
  background: hsl(0 0% 100% / 0.3);
  width: 48px;
  height: 4px;
  border-radius: 999px;
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, hsl(217 91% 60%), hsl(189 94% 43%));
  height: 6px;
}

.hero-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid hsl(0 0% 100% / 0.2);
  background: hsl(0 0% 100% / 0.08);
  color: hsl(0 0% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-nav-btn:hover {
  background: linear-gradient(135deg, hsl(217 91% 60%), hsl(189 94% 43%));
  border-color: transparent;
  box-shadow: 0 10px 30px hsl(217 91% 60% / 0.4);
  transform: translateY(-2px);
}

.hero-nav-btn svg {
  stroke-width: 2;
}

/* Custom Button Styles */
.btn-gradient {
  background: linear-gradient(135deg, hsl(217 91% 60%), hsl(189 94% 43%));
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-gradient:hover {
  box-shadow: 0 0 40px hsl(217 91% 60% / 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--foreground));
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-outline:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--primary));
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 40;
  top: 5rem;
}

.mobile-menu {
  position: fixed;
  top: 5rem;
  left: 0;
  right: 0;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 10px 30px -10px hsl(0 0% 0% / 0.5);
  z-index: 50;
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
}

/* Form Styles */
input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: hsl(var(--input));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  ring: 2px;
  ring-color: hsl(var(--ring));
}

/* Utility Classes */
.text-primary {
  color: hsl(var(--primary));
}

.text-secondary {
  color: hsl(var(--secondary));
}

.text-accent {
  color: hsl(var(--accent));
}

.bg-card {
  background: hsl(var(--card));
}

.bg-muted {
  background: hsl(var(--muted));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.border-border {
  border-color: hsl(var(--border));
}

/* Hero Swiper Styles */
.hero-slide {
  position: relative;
  height: 600px;
}

@media (min-width: 768px) {
  .hero-slide {
    height: 700px;
  }
}

