/* Custom CSS for Slypee - Converted from Tailwind */

:root {
  --background: 0 50% 7%;
  --foreground: 0 0% 98%;
  --card: 0 35% 12%;
  --card-foreground: 0 0% 98%;
  --primary: 0 72% 51%;
  --primary-foreground: 0 0% 100%;
  --secondary: 45 93% 57%;
  --secondary-foreground: 0 0% 10%;
  --border: 0 20% 25%;
  --radius: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
}

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

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

@keyframes scale-in {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

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

.animate-scroll {
  animation: scroll 60s linear infinite;
}

.animate-scale-in {
  animation: scale-in 0.3s ease-out;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu {
  display: none;
}

.mobile-menu.active {
  display: block;
}

/* Accordion Styles */
.accordion-item {
  margin-bottom: 1rem;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-weight: bold;
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  background: transparent;
  color: hsl(var(--foreground));
  transition: color 0.3s;
}

.accordion-trigger:hover {
  color: hsl(var(--primary));
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: hsl(var(--foreground) / 0.7);
  line-height: 1.75;
}

.accordion-content.active {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.accordion-icon {
  transition: transform 0.3s;
}

.accordion-icon.active {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: hsl(var(--card));
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  margin-top: 0.5rem;
}

.dropdown-content.active {
  display: block;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: hsl(var(--border));
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 9999;
  animation: fade-in 0.3s ease-out;
  max-width: 400px;
}

.toast.success {
  border-color: hsl(120 100% 40%);
}

.toast-close {
  margin-left: 1rem;
  cursor: pointer;
  opacity: 0.7;
}

.toast-close:hover {
  opacity: 1;
}
