@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: #06090e;
  color: #f1f5f9;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
}

/* Glassmorphism Styles */
.glass-nav {
  background: rgba(6, 9, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Card Hover Shadows */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 30px -10px rgba(229, 9, 20, 0.3), 0 0 20px 0 rgba(229, 9, 20, 0.15);
  border-color: rgba(229, 9, 20, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #1f293d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Hide scrollbars cleanly on mobile and utility classes */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

@media (max-width: 768px) {
  ::-webkit-scrollbar {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
  }
}

/* Video Player Aspect Ratio */
.video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Skeleton Loading Shimmer */
.skeleton {
  background: linear-gradient(90deg, #0f172a 25%, #1e293b 50%, #0f172a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}

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

/* Side Banner Ads Styles */
.side-ad-banner {
  position: fixed;
  top: 80px;
  bottom: 12px;
  z-index: 30;
  display: none;
  flex-direction: column;
  pointer-events: auto;
  overflow-y: auto;
  scrollbar-width: none;
}
.side-ad-banner::-webkit-scrollbar {
  display: none;
}

/* Medium widescreen (1520px - 1679px) */
@media (min-width: 1520px) {
  .side-ad-banner {
    display: flex;
  }
  .side-ad-left {
    right: calc(50vw + 640px + 8px);
    width: 120px;
  }
  .side-ad-right {
    left: calc(50vw + 640px + 8px);
    width: 120px;
  }
}

/* Large widescreen (1680px - 1839px) */
@media (min-width: 1680px) {
  .side-ad-left {
    right: calc(50vw + 640px + 10px);
    width: 160px;
  }
  .side-ad-right {
    left: calc(50vw + 640px + 10px);
    width: 160px;
  }
}

/* Full HD 1920px & Ultrawide (1840px+) */
@media (min-width: 1840px) {
  .side-ad-left {
    right: calc(50vw + 640px + 12px);
    width: 300px;
  }
  .side-ad-right {
    left: calc(50vw + 640px + 12px);
    width: 300px;
  }
}
