/* Modern Erotic Website Design - Dark Theme - Mobile-First Optimized */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #ff4757;
  --secondary-color: #ff6b7a;
  --accent-color: #ff8e9e;
  --dark-bg: #0a0a0a;
  --darker-bg: #050505;
  --card-bg: #1a1a1a;
  --card-hover: #252525;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  --border-color: #333333;
  --gradient-primary: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
  --gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
  --shadow-primary: 0 8px 32px rgba(255, 71, 87, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  
  /* Mobile-specific variables */
  --mobile-padding: 1rem;
  --mobile-margin: 0.5rem;
  --mobile-font-size: 0.9rem;
  --mobile-button-height: 48px;
  --mobile-touch-target: 44px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 2rem; /* Ensure footer is visible */
}

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

::-webkit-scrollbar-track {
  background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Navbar Styling - Mobile First */
.navbar {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  min-height: var(--mobile-touch-target);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.5rem 0;
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  margin: 0 0.25rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.75rem 0.5rem !important;
  min-height: var(--mobile-touch-target);
  display: flex;
  align-items: center;
  font-size: var(--mobile-font-size);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Mobile Navigation Improvements */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  min-height: var(--mobile-touch-target);
  min-width: var(--mobile-touch-target);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  min-width: 200px;
  margin-top: 0.5rem;
}

.dropdown-item {
  color: var(--text-secondary);
  transition: all 0.3s ease;
  padding: 0.75rem 1rem;
  min-height: var(--mobile-touch-target);
  display: flex;
  align-items: center;
  font-size: var(--mobile-font-size);
}

.dropdown-item:hover {
  background: var(--gradient-primary);
  color: white;
}

/* Main Content - Mobile First */
.main-content {
  margin-top: 80px;
  padding: var(--mobile-padding) 0;
  min-height: calc(100vh - 80px);
}

/* Hero Section - Mobile Optimized */
.hero-section {
  background: var(--gradient-secondary);
  padding: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 3vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* Hero Stats - Mobile Grid */
.hero-stats {
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 0.75rem;
}

.stat-number {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: clamp(0.75rem, 2.5vw, 0.9rem);
  margin: 0;
}

/* Card Styling - Mobile Optimized */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: var(--mobile-margin);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 1rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* Video Duration */
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
}

.duration-badge {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Badge Styling */
.badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 500;
}

/* Button Styling - Mobile Touch Friendly */
.btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-height: var(--mobile-button-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: var(--mobile-font-size);
  touch-action: manipulation;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}

.btn-danger {
  background: var(--gradient-primary);
  color: white;
}

.btn-danger:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}

.btn-outline-light {
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.btn-outline-light:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Video Grid - Mobile Responsive */
.video-grid {
  margin-top: 1rem;
}

.video-card {
  margin-bottom: var(--mobile-margin);
  transition: all 0.3s ease;
}

/* Category Filter - Mobile Optimized */
.category-filter {
  margin-bottom: 1.5rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  justify-content: center;
}

.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  min-height: var(--mobile-button-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--mobile-font-size);
  touch-action: manipulation;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
}

/* Video Overlay */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover .video-overlay {
  opacity: 1;
}

.play-button {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-primary);
}

.play-button:hover {
  transform: scale(1.1);
  background: var(--secondary-color);
}

/* Form Controls - Mobile Optimized */
.form-control {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 16px; /* Prevents zoom on iOS */
  transition: all 0.3s ease;
  min-height: var(--mobile-button-height);
}

.form-control:focus {
  background: var(--card-bg);
  border-color: var(--primary-color);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 71, 87, 0.25);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* Footer - Mobile Optimized */
.footer {
  background: var(--darker-bg);
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: var(--mobile-font-size);
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
  .container {
    padding-left: var(--mobile-padding);
    padding-right: var(--mobile-padding);
  }
  
  .navbar-nav {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid var(--border-color);
  }
  
  .dropdown-menu {
    border: none;
    background: transparent;
    box-shadow: none;
    margin-top: 0;
  }
  
  .dropdown-item {
    background: var(--card-bg);
    margin: 0.25rem 0;
    border-radius: 8px;
  }
  
  .hero-section {
    padding: 1.5rem 0;
  }
  
  .filter-buttons {
    gap: 0.25rem;
  }
  
  .filter-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .card-body {
    padding: 0.75rem;
  }
  
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .video-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .stat-item {
    padding: 0.5rem;
  }
  
  .filter-buttons {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .card-img-top {
    height: 160px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .video-card:hover {
    transform: none;
  }
  
  .card:hover .video-overlay {
    opacity: 1;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .filter-btn:hover {
    background: var(--card-bg);
    color: var(--text-secondary);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #ffffff;
    --text-secondary: #ffffff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
  }
  
  .main-content {
    margin-top: 60px;
  }
} 

/* Categories Page - Minimal Design */
.categories-page {
  margin-top: 80px;
  padding: 3rem 0;
  min-height: calc(100vh - 80px);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
  backdrop-filter: blur(20px);
}

.categories-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.categories-header h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* Minimal Category Box Design */
.category-box-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.category-box-link:hover {
  text-decoration: none;
  color: inherit;
}

.category-box-link:focus {
  text-decoration: none;
  color: inherit;
  outline: none;
}

.category-box {
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  backdrop-filter: blur(20px);
  border: 3px solid rgba(255, 215, 0, 0.4);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.1);
}

.category-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.category-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 50%, rgba(255, 215, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.category-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.7);
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.25), rgba(255, 215, 0, 0.1));
}

.category-box:hover::before {
  transform: scaleX(1);
}

.category-box:hover::after {
  opacity: 1;
}

.category-icon {
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 215, 0, 0.15));
  border: 2px solid rgba(255, 215, 0, 0.5);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.category-icon i {
  font-size: 1.6rem;
  color: #ffd700;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.category-box:hover .category-icon {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.35), rgba(255, 215, 0, 0.25));
  border-color: rgba(255, 215, 0, 0.7);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.category-box:hover .category-icon i {
  transform: scale(1.1);
  color: #ffed4e;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.category-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffd700;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.category-box:hover h3 {
  color: #ffed4e;
  text-shadow: 0 2px 12px rgba(255, 215, 0, 0.5);
}

.category-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  position: relative;
  z-index: 2;
  font-weight: 500;
  transition: all 0.3s ease;
}

.category-box:hover p {
  color: rgba(255, 255, 255, 1);
}

.category-link {
  color: #ffd700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  opacity: 0.8;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  background: rgba(255, 215, 0, 0.15);
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.category-box:hover .category-link {
  opacity: 1;
  transform: translateX(3px);
  background: rgba(255, 215, 0, 0.25);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Mobile Responsive for Categories */
@media (max-width: 768px) {
  .categories-page {
    margin-top: 70px;
    padding: 2rem 0;
  }
  
  .categories-header {
    margin-bottom: 2rem;
  }
  
  .categories-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .category-box-link {
    display: block;
  }
  
  .category-box {
    padding: 1.2rem 0.8rem;
    min-height: 130px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.1);
  }
  
  .category-icon {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 215, 0, 0.5);
  }
  
  .category-icon i {
    font-size: 1.4rem;
  }
  
  .category-box h3 {
    font-size: 1rem;
    font-weight: 700;
  }
  
  .category-box p {
    font-size: 0.75rem;
    font-weight: 500;
  }
  
  .category-link {
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
  }
}

@media (max-width: 576px) {
  .category-box-link {
    display: block;
  }
  
  .category-box {
    padding: 1rem 0.6rem;
    min-height: 120px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.1);
  }
  
  .category-icon {
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255, 215, 0, 0.5);
  }
  
  .category-icon i {
    font-size: 1.3rem;
  }
  
  .category-box h3 {
    font-size: 0.9rem;
    font-weight: 700;
  }
  
  .category-box p {
    font-size: 0.7rem;
    font-weight: 500;
  }
  
  .category-link {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
  }
}

/* Touch-friendly improvements for categories */
@media (hover: none) and (pointer: coarse) {
  .category-box:hover {
    transform: none;
  }
  
  .category-box:hover .category-icon i {
    transform: none;
  }
  
  .category-box:hover .category-link {
    transform: none;
  }
  
  .video-box:hover {
    transform: none;
  }
  
  .video-box:hover .video-icon i {
    transform: none;
  }
  
  .video-box:hover .video-link {
    transform: none;
  }
}

/* Mobile Responsive for Video Boxes */
@media (max-width: 768px) {
  .video-box {
    padding: 1.2rem 0.8rem;
    min-height: 180px;
  }
  
  .video-icon {
    width: 55px;
    height: 55px;
  }
  
  .video-icon i {
    font-size: 1.8rem;
  }
  
  .video-box .video-title {
    font-size: 1rem;
  }
  
  .video-box .video-description {
    font-size: 0.8rem;
  }
  
  .video-link {
    font-size: 1rem;
    padding: 0.3rem 0.7rem;
  }
}

@media (max-width: 576px) {
  .video-box {
    padding: 1rem 0.8rem;
    min-height: 160px;
  }
  
  .video-icon {
    width: 50px;
    height: 50px;
  }
  
  .video-icon i {
    font-size: 1.6rem;
  }
  
  .video-box .video-title {
    font-size: 0.95rem;
  }
  
  .video-box .video-description {
    font-size: 0.75rem;
  }
  
  .video-link {
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Category Page Specific Styles */
.category-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(20, 20, 20, 0.8));
  border-radius: 20px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.category-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
}

.category-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.category-header p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  margin: 0;
}

/* Enhanced Video Boxes for Category Page - Golden Style */
.video-box {
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.video-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.video-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 50%, rgba(255, 215, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
}

.video-box:hover::before {
  transform: scaleX(1);
}

.video-box:hover::after {
  opacity: 1;
}

.video-icon {
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
  border: 2px solid rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
}

.video-icon i {
  font-size: 2rem;
  color: #ffd700;
  transition: all 0.3s ease;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.video-box:hover .video-icon {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
  border-color: rgba(255, 215, 0, 0.6);
  transform: scale(1.1);
}

.video-box:hover .video-icon i {
  transform: scale(1.1);
  color: #ffed4e;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.video-box .video-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffd700;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-box:hover .video-title {
  color: #ffed4e;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.video-box .video-description {
  color: var(--text-primary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  font-weight: 500;
  transition: all 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-box:hover .video-description {
  color: var(--text-primary);
  font-weight: 600;
}

.video-box .video-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.video-box .video-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.video-box .video-stats .views,
.video-box .video-stats .duration {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-secondary);
}

.video-box .video-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.video-box .category-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.video-link {
  color: #ffd700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
  border: 1px solid rgba(255, 215, 0, 0.4);
  margin-top: 0.5rem;
}

.video-box:hover .video-link {
  opacity: 1;
  transform: translateX(5px);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 3px 12px rgba(255, 215, 0, 0.4);
}

/* Related Categories Section */
.related-category-box {
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(20, 20, 20, 0.8));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.related-category-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.3);
}

.related-category-box i {
  font-size: 1.5rem;
  color: #ffd700;
  transition: all 0.3s ease;
}

.related-category-box:hover i {
  transform: scale(1.1);
  color: #ffed4e;
}

.related-category-box span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Breadcrumb Styling */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item a {
  color: #ffd700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #ffed4e;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.breadcrumb-item.active {
  color: var(--text-secondary);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
  content: ">";
} 

/* Image fallback styles */
img[src=""], img:not([src]), img[src*="default-thumb.jpg"], img[src*="default-avatar.png"], img[src*="logo.png"] {
  display: none;
}

img[src=""], img:not([src]), img[src*="default-thumb.jpg"], img[src*="default-avatar.png"], img[src*="logo.png"] + .play-overlay {
  display: flex !important;
}

/* Video thumbnail fallback */
.video-thumbnail img[src=""], 
.video-thumbnail img:not([src]), 
.video-thumbnail img[src*="default-thumb.jpg"] {
  display: none;
}

.video-thumbnail img[src=""], 
.video-thumbnail img:not([src]), 
.video-thumbnail img[src*="default-thumb.jpg"] + .play-overlay {
  display: flex !important;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
  border: 2px solid rgba(255, 215, 0, 0.3);
}

/* Logo fallback */
.navbar-brand img[src=""], 
.navbar-brand img:not([src]), 
.navbar-brand img[src*="logo.png"] {
  display: none;
}

.navbar-brand img[src=""], 
.navbar-brand img:not([src]), 
.navbar-brand img[src*="logo.png"] + .navbar-brand-text {
  display: inline-block !important;
} 