/* ===========================
   GLOBAL VARIABLES & RESET
=========================== */
:root {
  --black: #0a0a0a;
  --red: #e50914;
  --white: #f0f0f0;
  --gray: #777;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

a,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}


/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--white);
text-shadow:2px 1px 2px #ff0000;
}

h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }

/* Responsive typography */
@media (max-width: 768px) {
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
  h4 { font-size: 15px; }
}
@media (max-width: 480px) {
  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  h3 { font-size: 16px; }
  h4 { font-size: 14px; }
}



/* ===========================
   Categories
=========================== */


.meta span {
  background: #222;
  padding: 6px 10px;
  border-radius: 20px;
  margin: 0 8px 8px 0;
  display: inline-block;
  font-size: 13px;
  color: var(--white);
}

/* ===========================
   SHARE BUTTONS
=========================== */
.share-buttons {
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.share-buttons a {
  display: flex;
  align-items: center;
  background: #ff000094;
  color: var(--white);
  padding: 10px 14px;
  border-radius: 50px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
}
.share-buttons a:hover { opacity: 0.85; }
.share-buttons i {
  margin-right: 6px;
  font-size: 16px;
}

/* Tablet: keep text + icons */
@media (max-width: 991px) {
  .share-buttons { justify-content: center; }
  .share-buttons a {
    font-size: 13px;
    padding: 9px 12px;
  }
  .share-buttons i { font-size: 15px; }
}

/* Mobile: icons only */
@media (max-width: 576px) {
  .share-buttons { justify-content: center; gap: 14px; }
  .share-buttons a {
    padding: 12px;
    border-radius: 50%;
    font-size: 0; /* hide text */
    width: 15px;
    height: 15px;
    justify-content: center;
  }
  .share-buttons i {
    margin: 0;
    font-size: 18px;
  }
}

/* ===========================
   RELATED VIDEOS
=========================== */
.related-videos {
  margin-top: 50px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: #1c1c1c;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.4s ease forwards;
  animation-delay: var(--delay, 0ms);
}
.related-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
}
.related-card img { 
  width: 100%; 
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block; 
}
.related-info { padding: 10px; }
.related-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.related-info small {
  color: var(--gray);
  font-size: 12px;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 992px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ===========================
   LOAD MORE BUTTON
=========================== */
#load-more {
  display: block;
  margin: 20px auto;
  padding: 12px 30px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  min-width: 120px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#load-more:hover {
  background-color: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
#load-more:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#load-more:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
}
#load-more.loading {
  opacity: 0.7;
  cursor: not-allowed;
}
#load-more.loading::after {
  content: "...";
  animation: dots 1.5s infinite;
}
@keyframes dots {
  0%, 20% { content: ""; }
  40% { content: "."; }
  60% { content: ".."; }
  80%, 100% { content: "..."; }
}
@media (max-width: 768px) {
  #load-more { padding: 14px 35px; font-size: 18px; min-width: 100%; }
}
@media (max-width: 480px) {
  #load-more { padding: 16px 40px; font-size: 16px; width: 90%; max-width: 300px; }
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #e0e0e0;
  margin-top: 4rem;
  padding: 3rem 0 1rem 0;
  border-top: 1px solid #333;
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }



.age-verification {
  background: #ff4444;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}
.age-verification i { margin-right: 0.5rem; }

.legal-disclaimers {
  background: #333;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.legal-disclaimers h4 {
  color: #ff6b6b;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.legal-disclaimers p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  color: #ccc;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #444;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: #ff6b6b;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column; 
  align-items: center;     
  justify-content: center; 
  gap: 1rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #ffffff;
}


@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; }
  .social-links { justify-content: center; }
}

/* ===========================
   HEADER
=========================== */
.site-header {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  background: #000;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}
.site-header.hide { transform: translateY(-100%); }

.header-center { display: flex; justify-content: center; }
.logo {
  width: 200px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img {
  height: 90%;
  width: auto;
  object-fit: cover;
  object-position: center;
}
.search-toggle {
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  /* display: none; */
}
.nav-toggle {
  background: none;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  justify-self: end;
}
.header-search {
  grid-column: 1 / 4;
  margin-top: 10px;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.25s ease;
}
/* Visible when active */
.header-search.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.header-search input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 20px;
  border: none;
  outline: none;
  font-size: 14px;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 120px;
  height: 100%;
  background: #222;
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 1100;
  overflow-y: auto;
  visibility: hidden;
}
.side-menu.active { right: 0; visibility: visible; }
.side-menu ul { list-style: none; padding: 0; margin-top: 40px; }
.side-menu ul li { margin: 15px 0; }
.side-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}
.side-menu ul li a:hover { color: #ff5252; }
.side-menu .close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(97 83 83 / 27%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: none;
  z-index: 1050;
}

/* Header responsive */
@media (max-width: 992px) {
  .logo { width: 150px; height: 40px; }
}
@media (max-width: 768px) {
  .site-header {min-height: 30px;padding: 12px 15px;}
  .logo img {height:60%}
  .header-search { display: none; }
  .search-toggle { display: inline-block; }
  .logo { width: 200px; height: 35px; }
  .nav-toggle { font-size: 24px; }
}
@media (max-width: 480px) {
  .logo { width: 126px; height: 32px; }
  .nav-toggle, .search-toggle { font-size: 20px; }
}

/* ===========================
   TOAST
=========================== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 78%;
  transform: translateX(-50%);
  background-color: #980404;
  color: white;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 5px 4px 7px 3px rgb(255 255 255 / 66%);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.fade-out {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
}


/* Custom Player */


     /* Custom player styles */
        .video-container {
            position: relative;
            max-width: 100%;
            margin: 0 auto;
            background: #000;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0,0,0,0.5);
        }

        .video-player {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            background: #000;
            cursor: pointer;
        }

        .video-element {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .video-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            padding: 20px 15px 15px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            z-index: 10;
        }

        .video-container:hover .video-controls,
        .video-controls.show {
            transform: translateY(0);
        }

        .progress-container {
            width: 100%;
            height: 6px;
            background: rgba(255,255,255,0.2);
            border-radius: 3px;
            margin-bottom: 12px;
            cursor: pointer;
            position: relative;
        }

        .progress-bar {
            height: 100%;
            background: #ff4444;
            border-radius: 3px;
            width: 0;
            transition: width 0.1s ease;
        }

        .progress-handle {
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 12px;
            height: 12px;
            background: #ff4444;
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .progress-container:hover .progress-handle {
            opacity: 1;
        }

        .controls-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .controls-left {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .controls-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .control-btn {
            background: none;
            border: none;
            color: #fff;
            cursor: pointer;
            padding: 8px;
            border-radius: 4px;
            transition: background 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            min-height: 40px;
        }

        .control-btn:hover {
            background: rgba(255,255,255,0.1);
        }

        .control-btn svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }

        .play-btn svg {
            width: 24px;
            height: 24px;
        }

        .time-display {
            font-size: 14px;
            font-weight: 500;
            white-space: nowrap;
            color: #fff;
        }

        .volume-container {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .volume-slider {
            width: 60px;
            height: 4px;
            background: rgba(255,255,255,0.2);
            border-radius: 2px;
            cursor: pointer;
            position: relative;
        }

        .volume-bar {
            height: 100%;
            background: #fff;
            border-radius: 2px;
            width: 100%;
        }

        .loading-spinner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            border: 3px solid rgba(255,255,255,0.2);
            border-top: 3px solid #ff4444;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: none;
            z-index: 5;
        }

        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: rgb(230 61 61 / 54%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 5;
        }

        .play-overlay:hover {
            background: rgb(230 61 61 / 49%);
            transform: translate(-50%, -50%) scale(1.1);
        }

        .play-overlay svg {
            width: 32px;
            height: 32px;
            fill: #fff;
            margin-left: 4px;
        }

        .video-container.playing .play-overlay {
            opacity: 0;
            pointer-events: none;
        }

        /* Mobile and Tablet Responsive Styles */
        @media (max-width: 1024px) {
            .video-controls {
                padding: 15px 12px 12px;
            }
            
            .controls-left, .controls-right {
                gap: 12px;
            }
            
            .control-btn {
                min-width: 44px;
                min-height: 44px;
                padding: 10px;
            }
            
            .play-btn svg {
                width: 20px;
                height: 20px;
            }
            
            .control-btn svg {
                width: 16px;
                height: 16px;
            }
            
            .time-display {
                font-size: 13px;
            }
            
            .progress-container {
                height: 8px;
                margin-bottom: 10px;
            }
            
            .progress-handle {
                width: 16px;
                height: 16px;
                opacity: 1; /* Always visible on touch devices */
            }
        }

        @media (max-width: 768px) {
            body {
                padding: 10px;
            }
            
            .video-container {
                border-radius: 6px;
            }
            
            .video-controls {
                padding: 12px 10px 10px;
            }
            
            .controls-row {
                gap: 8px;
            }
            
            .controls-left, .controls-right {
                gap: 8px;
            }
            
            .control-btn {
                min-width: 40px;
                min-height: 40px;
                padding: 8px;
            }
            
            .play-btn svg {
                width: 18px;
                height: 18px;
            }
            
            .control-btn svg {
                width: 20px;
                height: 20px;
            }
            
            .time-display {
                font-size: 12px;
            }
            
            .volume-container {
                display: none;
            }
            
            .progress-container {
                height: 3px;
                margin-bottom: 8px;
            }
            
            .progress-handle {
                width: 12px;
                height: 12px;
            }
            
            /* Smaller play overlay for mobile */
            .play-overlay {
                width: 80px;
                height: 80px;
            }
            
            .play-overlay svg {
                width: 40px;
                height: 40px;
            }
            
            .loading-spinner {
                width: 30px;
                height: 30px;
                border-width: 2px;
            }
        }

        /* Tablet specific adjustments */
        @media (min-width: 769px) and (max-width: 1024px) {
            .play-overlay {
                width: 60px;
                height: 60px;
            }
            
            .play-overlay svg {
                width: 24px;
                height: 24px;
            }
        }

        /* Very small screens */
        @media (max-width: 480px) {
            body {
                padding: 5px;
            }
            
            .video-controls {
                padding: 10px 8px 8px;
            }
            
            .control-btn {
                min-width: 36px;
                min-height: 36px;
                padding: 6px;
            }
            
            .time-display {
                font-size: 11px;
            }
            
            .play-overlay {
                width: 45px;
                height: 45px;
            }
            
            .play-overlay svg {
                width: 18px;
                height: 18px;
            }
        }

        /* Touch device optimizations */
        @media (hover: none) and (pointer: coarse) {
            .video-controls {
                transform: translateY(0);
                opacity: 0.9;
                transition: opacity 0.3s ease;
            }
            
            .video-controls.hide {
                opacity: 0;
                pointer-events: none;
            }
            
            .control-btn:hover {
                background: none;
            }
            
            .control-btn:active {
                background: rgba(255,255,255,0.2);
                transform: scale(0.95);
            }
            
            .play-overlay:hover {
                transform: translate(-50%, -50%);
            }
            
            .play-overlay:active {
                transform: translate(-50%, -50%) scale(0.95);
            }
        }
  
        
  .meta a span {
  background: #222;
  padding: 6px 10px;
  border-radius: 20px;
  margin: 0 8px 8px 0;
  display: inline-block;
  font-size: 13px;
  color: var(--white);
  text-decoration: none;
}

.meta a span:hover {
  background: #444; /* Optional hover effect */
}

/* View Container */
.viewcontainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;
    height: auto;
    justify-content: space-around;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    cursor: pointer;
    text-align: center;
}

.button-container a {
    text-decoration: none;
    color: inherit;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s ease;
}

.button-container i.icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.icon {
    font-size: 20px;
    transition: color 0.3s ease;
}

.icon:hover {
    color: #de2a1b;
}

.button-container div {
    margin-top: 5px;
    font-size: 14px;
}

/* Liked state styling */
.liked .icon {
    color: #de2a1b;
}

/* Disabled state for views (since it's not clickable) */
.button-container:has(#view) {
    cursor: default;
}

#view:hover {
    color: inherit;
}
/* Favorite icon hover */
.favorite-btn:hover {
    color: #de2a1b;
}

/* Active favorite icon (already favorited) */
.favorited {
    color: #de2a1b;
}

