/*
Theme Name: NicheTubex Dark
Description: Fully styled adult video theme with fixed player and layout
Version: 1.0
Author: You
*/

/* === Base Styles === */
body {
  background: #0d0d0d;
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

a {
  color: #ff5e00;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === Header & Navigation === */
.site-header {
  background: #111;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: bold;
  color: #ff5e00;
  font-size: 1.5rem;
}
.logo img {
  max-height: 50px;
}
.main-menu ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.main-menu a {
  color: white;
  font-weight: 500;
}

/* === Video Grid === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  padding: 1rem;
}
.video-card {
  background: #1f1f1f;
  padding: 1rem;
  border-radius: 10px;
}
.thumbnail img {
  width: 100%;
  border-radius: 8px;
}
.meta {
  font-size: 0.9rem;
  color: #bbb;
}

/* === Single Video Page Layout === */
.single-video-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.video-player-section {
  flex: 1 1 1200px;
  max-width: 1200px;
}

.video-title {
  font-size: 28px;
  font-weight: 900;
  color: #ff4081;
  margin-bottom: 20px;
}

#video-locker {
  position: relative;
  width: 100%;
  padding-bottom: 45%;
  background: #000;
  margin-bottom: 20px;
}

.video-embed-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
}

.video-embed-wrapper iframe,
.video-embed-wrapper video,
.video-embed-wrapper embed,
.video-embed-wrapper object {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* === Ads === */
.ad-banner-top,
.ad-banner-bottom,
#ad-slot,
.ad-slot {
  background: #333;
  height: 90px;
  margin: 1rem 0;
  text-align: center;
  border-radius: 6px;
}

/* === Related Sidebar === */
.related-videos-sidebar {
  flex: 1 1 350px;
  max-width: 350px;
  background: #111;
  border-radius: 8px;
  padding: 15px;
  color: #eee;
}
.related-video-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  text-decoration: none;
  color: #eee;
  border-radius: 6px;
  padding: 6px;
  transition: background-color 0.2s ease;
}
.related-video-item:hover {
  background-color: #222;
}
.related-video-thumb {
  width: 120px;
  height: 67px;
  border-radius: 6px;
  overflow: hidden;
}
.related-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-video-title {
  font-weight: 600;
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-video-meta {
  font-size: 12px;
  color: #aaa;
}

/* === Trending Section === */
.trending-section {
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}
.trending-section h2 {
  font-size: 22px;
  color: #ff4081;
  margin-bottom: 15px;
  font-weight: 700;
}
.trending-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding-bottom: 10px;
}
.trending-video-item {
  min-width: 180px;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  color: white;
  text-align: center;
  flex-shrink: 0;
  text-decoration: none;
}
.trending-video-item img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #444;
}
.trending-video-title {
  padding: 8px 6px 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trending-video-meta {
  font-size: 12px;
  color: #aaa;
  padding-bottom: 8px;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 1rem;
  background: #1a1a1a;
  color: #aaa;
}

@media (max-width: 700px) {
  .video-item {
    min-width: 140px;
    max-width: 140px;
    flex-shrink: 0;
  }

  .video-thumb {
    height: auto;
    border-radius: 6px;
  }

  .video-title {
    font-size: 12px;
    line-height: 1.3;
    white-space: normal;
  }

  .category-title {
    font-size: 18px;
  }

  .category-title .see-all {
    font-size: 12px;
    padding: 4px 10px;
  }
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 0;
  margin: 0 0 10px 0;
}
.footer-links ul li a {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
}
.footer-links ul li a:hover {
  text-decoration: underline;
}
footer {
  padding: 20px;
  background: #111;
  color: #aaa;
  text-align: center;
  font-size: 14px;
}

