/* ============================================================
   LOTHEUS — Social Media Video Publishing Tool Stylesheet
   Modern, sleek, dark-mode SaaS aesthetic
   ============================================================ */

/* CSS Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  background-color: #07090E;
  color: #F8FAFC;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #07090E;
}

::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 9999px;
  border: 2px solid #07090E;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Background Grid Pattern */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.mask-radial {
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
}

/* Glassmorphism accents */
.glass-panel {
  background: rgba(14, 19, 31, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom Glow Effects */
.glow-primary {
  box-shadow: 0 0 35px -5px rgba(99, 102, 241, 0.3);
}

.glow-accent {
  box-shadow: 0 0 35px -5px rgba(6, 182, 212, 0.3);
}

/* Button Shimmer Effect */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: rotate(30deg) translateX(-100%);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  100% {
    transform: rotate(30deg) translateX(100%);
  }
}

/* Channel Card Hover Pulse */
.channel-item {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-item:hover {
  transform: translateX(4px);
  border-color: rgba(99, 102, 241, 0.4);
}

/* Range Input Styling */
input[type="range"] {
  -webkit-appearance: none;
  background: #1E293B;
  border-radius: 9999px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366F1;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
  border: 2px solid #FFFFFF;
  transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366F1;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
  border: 2px solid #FFFFFF;
}

/* FAQ Accordion Transitions */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), opacity 0.2s ease;
  opacity: 0;
}

.faq-answer.open {
  max-height: 500px;
  opacity: 1;
  display: block;
  transition: max-height 0.35s ease-in-out, opacity 0.25s ease-in-out;
}

.faq-arrow.rotated {
  transform: rotate(180deg);
  color: #818CF8;
}

/* Toast Notification Animation */
.toast-msg {
  animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
