/* Custom Styles & Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  color-scheme: dark;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #232332 #09090d;
}

:root {
  --bg-primary: #070709;
  --bg-secondary: #0e0e13;
  --bg-card: #13131a;
  --bg-card-hover: #181822;
  --border-subtle: #222230;
  --border-focus: #e50914;
  --accent-red: #e50914;
  --accent-glow: rgba(229, 9, 20, 0.35);
  --text-primary: #f5f5f7;
  --text-secondary: #9a9ab0;
}

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

::selection {
  background-color: #e50914;
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #09090d;
}
::-webkit-scrollbar-thumb {
  background: #232332;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e50914;
}

/* Card Glow Effect */
.glow-card {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-subtle);
}

.glow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.45);
  box-shadow: 0 12px 30px -10px rgba(229, 9, 20, 0.22);
}

/* Hero Title Gradient */
.title-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 40%, #e50914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-gradient {
  background: linear-gradient(135deg, #e50914 0%, #ff3838 50%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(7, 7, 9, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Ad Placement Placeholder */
.ad-slot-box {
  background: rgba(20, 20, 28, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Toast Notification */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #14141d;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid #e50914;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(229, 9, 20, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Line Clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Print Styles */
@media print {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
  }
  .glass-nav, .ad-slot-box, #toast, footer, button, .glow-card:hover {
    display: none !important;
  }
  a {
    color: #000000 !important;
    text-decoration: underline !important;
  }
}
