/*
Theme Name: LustHub Clean Uncut Pro
Theme URI: https://example.com/lusthub
Author: LustHub Team
Author URI: https://example.com
Description: Ultra clean, lightweight, and high-performance video streaming WordPress theme. Styled with pristine Uncut dark aesthetic, responsive post grids, fast AJAX views, and 1-click video player monetization.
Version: 5.0.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lusthub
Tags: video, custom-header, grid-layout, featured-images, dark-mode, responsive
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --text: #f1f1f1;
  --muted: #b8b8b8;
  --main: #e91e63;
  --second: #03a9f4;
  --bg: #0f0f0f;
  --overlay: rgba(255, 255, 255, 0.08);
  --hover: rgba(255, 255, 255, 0.18);
  --border: #353535;
  --shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  --radius: 5px;
  --transition: all 0.25s ease;
}

html, body {
  background-color: #0f0f0f !important;
  color: #f1f1f1;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(circle at top center, #2c2b2c 0%, #0f0f0f 65%);
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--main);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 10px;
}

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
strong { font-weight: 600; }
p { color: var(--muted); margin-bottom: 12px; }
img { max-width: 100%; height: auto; display: block; }

.site-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 15px 10px;
  width: 100%;
  flex: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 15, 15, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 10px;
}

.site-branding {
  min-width: 0;
}

.site-title {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.site-title a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.site-logo-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(255, 26, 83, 0.45));
  transition: transform 0.25s ease;
}

.site-title a:hover .site-logo-icon {
  transform: scale(1.06);
}

.brand-text-wrap {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.02em;
  font-weight: 900;
  white-space: nowrap;
}

.brand-part-desi {
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.brand-badge-heat {
  background: linear-gradient(135deg, #e11d48 0%, #ff1744 50%, #ff5722 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 1.5px 6px;
  border-radius: 4px;
  margin: 0 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-block;
  vertical-align: middle;
}

.brand-part-hub {
  background: linear-gradient(135deg, #38bdf8 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 0.04em;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
}

.header-search {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}

.search-form {
  display: flex;
  align-items: center;
  background: #1e1e1e;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.search-field {
  width: 100%;
  background: transparent;
  border: none;
  padding: 7px 12px;
  color: var(--text);
  font-size: 13.5px;
  outline: none;
}

.search-submit {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 0 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit:hover {
  color: var(--main);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.main-navigation .menu {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.main-navigation .menu-item a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius);
}

.main-navigation .menu-item a:hover {
  color: #fff;
  background: var(--overlay);
}

.menu-icon {
  width: 16px;
  height: 16px;
}

/* Grid & Posts */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.post-card {
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: var(--main);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.post-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-duration-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.82);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}

.post-card-content {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}

.post-card:hover .post-card-title {
  color: var(--main);
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  font-size: 11.5px;
  color: var(--muted);
}

.card-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-icon {
  width: 14px;
  height: 14px;
}

/* Single Video View */
.video-section {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-ad-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.video-play-circle {
  width: 68px;
  height: 68px;
  background: rgba(233, 30, 99, 0.9);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 0 25px rgba(233, 30, 99, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-ad-overlay:hover .video-play-circle {
  transform: scale(1.1);
  background: #ff1744;
}

.single-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.video-telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #181818;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

.telemetry-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
}

.telemetry-item strong {
  color: #fff;
}

.telemetry-badge-hd {
  background: #e91e63;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.single-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.acbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #202020;
  border: 1px solid var(--border);
  color: #f1f1f1;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.acbtn:hover {
  background: #2a2a2a;
  border-color: #555;
  color: #fff;
}

.acbtn.btn-vip {
  background: linear-gradient(135deg, #e91e63 0%, #ff5722 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.acbtn.btn-vip:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.tags-section {
  background: #141414;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 20px;
}

.tags-header {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.taxonomies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-chip {
  display: inline-block;
  padding: 4px 10px;
  background: #222;
  border: 1px solid #333;
  color: #bbb;
  font-size: 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.tag-chip:hover {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

/* Pagination */
.pagination {
  margin: 30px 0 10px 0;
  text-align: center;
}

.pagination-list {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-num .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  background: #1c1c1c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--text);
}

.pagination-num .page-numbers:hover,
.pagination-num .page-numbers.current,
.pagination-num.is-current .page-numbers {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

/* Footer */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 20px 10px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-navigation .menu {
  display: flex;
  list-style: none;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-navigation .menu a {
  color: var(--muted);
}

.footer-navigation .menu a:hover {
  color: var(--main);
}

/* Responsive */
@media (max-width: 860px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .header-search {
    grid-column: 1 / -1;
    max-width: 100%;
    order: 3;
  }
  .menu-toggle {
    display: flex;
  }
  .main-navigation {
    display: none;
    grid-column: 1 / -1;
    order: 4;
    width: 100%;
  }
  .site-header.is-open .main-navigation {
    display: block;
    padding-top: 10px;
  }
  .main-navigation .menu {
    flex-direction: column;
    gap: 4px;
  }
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .single-title {
    font-size: 17px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
