/* =======================
   🌿 Base Styles & Colors
======================= */
:root {
  --dark: #2b2b2b;
  --darker: #222;
  --muted: #9aa0a6;
  --accent: #ffcc00;
  --card-bg: #fff;
  --border: #e6e6e6;
  --radius: 6px;
  font-family: "Inter", system-ui, Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f3f3f3;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.center-btn {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

.home-btn {
  display: inline-block;
  background: linear-gradient(90deg, #0ea5a4, #10b981);        /* grey background */
  color: white;             /* black text */
  padding: 12px 450px;         /* square-ish shape */
  border-radius: 8px;         /* smooth shape */
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s ease-in-out;
  margin-top: 0px;
}

.home-btn:hover {
  color: rgb(255, 255, 255);
  background: linear-gradient(90deg, #10b981, #0ea5a4);
  transform: translateY(-2px);
  transition: 0.3s, transform 0.2s;
}

/* =======================
   🧭 Top Navigation
======================= */
/* Top nav */
.topbar{
  background:var(--dark);
  color:white;
  padding:12px 22px;
  display:flex;
  padding-right: 45px;
  align-items:center;
  gap:0px;
}
.logo{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:20px;
  text-decoration: none;
}
.logo .mark{
  background:linear-gradient(90deg, #0ea5a4, #10b981);
  color:white;
  padding:6px 10px;
  border-radius:4px;
  font-weight:800;
}
nav{
  margin-left:70px;
  display:flex;
  gap:20px;
  align-items:center;
  font-weight:600;
}
nav a{
  color:rgba(255, 255, 255, 0.9);
  text-decoration:none;
  padding:6px 8px;
  font-size: 18px;
  border-radius:4px;
  
}
nav a:hover{
  color: rgb(255, 255, 255);
  background: linear-gradient(90deg, #10b981, #0ea5a4);
  transform: translateY(-2px);
  transition: 0.3s, transform 0.2s;
}
.spacer{flex:1}

.top-controls{
  display:flex;
  margin-right: -13px;
  gap:10px;
  align-items:center;
}
.btn:hover{
  transform: translateY(-2px);
  transition: 0.3s, transform 0.2s;
}
/* =======================
   🔍 Search & Buttons
======================= */

.btn { 
  background:linear-gradient(90deg, #0ea5a4, #10b981); 
  color:white; 
  border:1px solid rgba(255,255,255,0.06); 
  padding:8px 12px; 
  border-radius:4px; 
  cursor:pointer; 
  font-weight:600;
 }
.btn.secondary { 
  background:linear-gradient(90deg, #0ea5a4, #10b981); 
  border:1px solid rgba(255,255,255,0.12); 
}

/* =======================
   📦 Page Containers
======================= */
.container { 
  max-width:1200px; 
  margin:22px auto; 
  padding:0 0px;
  padding-bottom: 5px; 
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* classes page narrower */
.classes-container {
  max-width: 1200px;
  margin: 0 auto;
  }
/* === Adjust grid spacing for Home and Video Pages only === */
.home-page .video-grid {
  margin-bottom: 0px;
  padding-bottom: 0;
}

.video-page-container {
  max-width: 1200px;   /* matches your other pages exactly */
  margin: 40px auto;
  padding: 20px 0;     /* same horizontal spacing as homepage */
}

/* =======================
   🧘 Grid Layout
======================= */
.grid { 
  display:grid; 
  grid-template-columns:repeat(3,1fr); 
  gap:18px;
  padding-bottom: 25px;
}

/* =======================
   🖼 Video Cards (single definition)
======================= */
.card {
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:6px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 1px 0 rgba(0,0,0,0.02);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform:translateY(-4px); 
  box-shadow:0 4px 12px rgba(0,0,0,0.08); 
}

/* =======================
   🌿 Video Thumbnails
======================= */
.thumb {
  position: relative;
  height: 240px; /* 🔼 increased from 180px */
  background: linear-gradient(90deg, #eee, #f9f9f9);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps image full and clean */
  
}

.card:hover .thumb {
  transform: translateY(-4px);
}

.card-body { 
  padding:0px; 
  padding-left: 15px;
  padding-right: 2px;
  flex:1; 
  display:flex; 
  flex-direction:column;
}

/* Reduce video title spacing only on homepage */
.home-page .card-body {
  padding: 6px 8px;
}

.home-page .card-body h3 {
  margin: 4px 0 4px;
  padding-left: 5px;
  font-size: 15px;
  line-height: 1.3;
}

.title { font-weight:700; 
  margin:10px 0 10px 0; 
  color:#222; 
  font-size:15px; 
}
.card-link { 
  display:block; 
  text-decoration:none; 
  color:inherit; 
}

/* 🌿 Hero Slider */
.hero-slider {
  max-width: 1210px;
  margin: 20px auto 40px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  
  .slider {
  position: relative;
  width: 100%;
  height: 300px;
  }
  
.slides {
  display: flex;
  position: relative;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
}

  .slide img {
  width: 100%;
  height: 100%;
  object-fit: Fill;
  border-radius: 16px;
  }
  
  .caption {
  position: absolute;
  bottom: 40px;
  left: 60px;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  }
  
  .caption h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  }
  
  .caption p {
  font-size: 1rem;
  opacity: 0.9;
  }
  /* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 22px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  z-index: 5;
  }
  
  .arrow:hover {
  background: rgba(0,0,0,0.6);
  }
  
  .arrow.prev { left: 15px; }
  .arrow.next { right: 15px; }
  


/* =======================
   🧾 Pagination (single place)
======================= */
.pagination {
  background:#1c1c1c;
  padding:20px 0; 
  text-align:center; 
  border-top:1px solid #333; 
  border-bottom:1px solid #333;
}
.page-btn, 
.page-num {
  display:inline-block; 
  color:#ccc; 
  text-decoration:none; 
  margin:0 6px; 
  padding:6px 12px;
  border-radius:4px; 
  background:rgba(255,255,255,0.05); 
  font-weight:600; 
  font-size:14px;
  transition:.3s;
}
.page-btn:hover,
.page-num:hover { 
  background:#ffcc00; 
  color:#222; }
.page-num.active { 
  background:#ffcc00; 
  color:#222; }


/* Footer */
.footer {
    position: relative;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 75px 20px 60px;
}
.footer-overlay {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq57ciVCfyulfzdrwGdksd7E9ucQFEiKByke6OIYQbrvRJSBtialwLUVdPKxMfTPnbEX9trjzJXr8TBBB1elMvrTwlTlqAIGQOT8jYVFBv_GEi2hVH2mYrmxChMhB_mxIUPwVVrKDFhJkduwx7S0CzzWBDtTy9MY9FpM9to3VGAEPlLvwjXDjpO2OZ9Wve/s16000/Footer%202.jpg);
    padding: 40px 0;
}

.footer-content {
  max-width:900px;
  margin:0 auto;
}
.footer-logo {
  font-size:24px;
  font-weight:700;
  margin-bottom:24px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
}

.logo-mark {
  background:linear-gradient(90deg, #0ea5a4, #10b981);
  color:white;
  padding:6px 10px;
  border-radius:4px;
  font-weight:800;
  letter-spacing:1px;
}

.logo-text {
  color:white;
  letter-spacing:1px;
}

.footer-links {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:28px;
  margin-bottom:20px;
}

.footer-links a {
  color:#eee;
  text-decoration:none;
  font-size:17px;
  font-weight:500;
  transition:color 0.3s;
  padding: 6px 8px;
  border-radius: 4px;
}

.footer-links a:hover {
  color: rgb(255, 255, 255);
  transform: translateY(-2px);
  transition: 0.3s, transform 0.2s;
  background:linear-gradient(90deg, #0ea5a4, #10b981);
  
}
.footer-copy p {
  font-size:14px;
  color:#ddd;
  margin:4px 0;
  line-height:1.6;
}


/* === Video Title Styling (Video Watching Page) === */
#videoTitle {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-top: -40px;     /* was 5px → lifts title and video up */
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

  /* Tighten related video card spacing */
.video-page #relatedVideos .card-body {
  padding: 6px 8px;
}

.video-page #relatedVideos .card-body h3 {
  margin: 4px 0 4px;
  font-size: 15px;
  line-height: 1.3;
}


  /* --- Video Actions (Like & Fav Buttons) --- */
  .video-actions {
  display: flex;
  align-items: center;
  gap: 20px;               /* slightly more gap between buttons */
  margin-top: 18px;
  margin-bottom: -30px;
  }
  
  .action-btn {
  background: #fff;
  border: 2px solid #ccc;  /* thicker border for premium feel */
  color: #444;
  font-size: 16px;         /* ⬆️ bigger text */
  padding: 10px 20px;      /* ⬆️ larger button */
  border-radius: 8px;      /* softer corners */
  cursor: pointer;
  font-weight: 700;        /* bolder text for clarity */
  transition: all 0.3s ease;
  }
  
  .action-btn:hover {
  background: #f5f5f5;
  border-color: #999;
  }
  
  /* Like button toggled (heart red) */
  .action-btn.liked {
  color: red;
  border-color: red;
  }
  
  /* Fav button toggled (star gold) */
  .action-btn.fav {
  color: gold;
  border-color: gold;
  }
  /* Optional: tweak heading + form spacing inside */
  .bunny-player {
  position: relative;
  padding-top: 40%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  }
  .bunny-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  }
/* =======================
   🧘 Membership Box
======================= */
.membership-box {
  flex: 1;
  min-width: 280px;
  background:linear-gradient(90deg, #0ea5a4, #10b981);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 480px;
}

.membership-plans {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-btn {
  padding: 12px;
  background: red;
  color: white;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  font-weight: 700;
  width: 100%;
}

.plan-btn.active-plan {
  background: black;
}

.signup-btn {
  width: 100%;
  background: white;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  color:black;
}


/* =======================
   🌿 About Us Page
======================= */
.about-hero {
  background: #ffffff;
  text-align: center;
  padding: 30px 20px 40px;
  border-bottom: 1px solid #e6e9ee;
}
.about-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 10px;
}
.about-hero .subtitle {
  color: var(--muted);
  font-size: 18px;
}

.about-content {
  background: #d7d7d7;
  padding: 60px 0;
  padding-left: 30px;
  padding-right: 30px;
  border-radius: 15px;
  color: #222;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.about-text h2 {
  margin-top: 30px;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}
.about-text ul {
  margin: 12px 0 20px 20px;
  list-style: disc;
  color: #444;
}
.about-text p {
  margin-bottom: 16px;
  color: #333;
}
.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

/* =======================
   🌿 Contact Us Page
======================= */
.contact-content {
  background: #d7d7d7;
  padding: 60px 0;
  padding-left: 30px;
  padding-right: 30px;
  border-radius: 15px;
  color: #222;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2,
.contact-form h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.contact-info p {
  color: #333;
  margin-bottom: 16px;
  line-height: 1.6;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.contact-details li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #444;
}

.contact-form form label {
  display: block;
  margin-bottom: 12px;
  color: #0f1724;
  font-size: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #e6e9ee;
  background: #fff;
  font-size: 14px;
  margin-top: 6px;
}
.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  margin-top: 10px;
}

#formMessage {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
}

/* =======================
   🌿 Policy Pages
======================= */
.policy-content {
  background: #d7d7d7;
  padding: 60px 0;
  color: #222;
  line-height: 1.7;
  padding-left: 30px;
  padding-right: 30px;
  border-radius: 15px;
}
.policy-content h2 {
  margin-top: 30px;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}
.policy-content p,
.policy-content ul {
  margin-bottom: 16px;
  color: #333;
}
.policy-content ul {
  list-style: disc;
  margin-left: 20px;
}
/* =======================
   🌿 Models Page
======================= */
.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 10px 0;
  padding-top: 0px;
}

.model-card {
  background: #000000;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.model-thumb img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.model-body {
  padding: 0px;
}

.model-body h3 {
  margin: 8px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: white;
}

.models-page .page-head {
  margin-top: 30px;
  margin-bottom: 10px;
}

.model-thumb {
  position: relative;
}

.badge-model-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 15px;
  padding: 4px 8px;
  border-radius: 4px;
}

.model-card-link {
  text-decoration: none;
  color: inherit;
}

.model-card-link h3 {
  text-decoration: none;
}

/* =======================
   🌿 Model Profile Page
======================= */
.model-hero {
  margin-top: 60px;
  margin-bottom: 40px;
}

.model-profile {
  display: flex;
  align-items: center;
  gap: 40px;
}

.model-photo img {
  width: 270px;
  height: 370px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.model-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
}
.model-specialty {
  color:#000000;
  font-weight: 600;
  font-size: 16px;
  margin-top: 6px;
}
.model-bio {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-top: 10px;
}

/* NAV: remove link underline in top-controls and make anchors look like buttons */
.top-controls a.btn,
.top-controls a.btn.secondary {
  text-decoration: none;    /* remove underline */
  display: inline-flex;     /* preserve button layout */
  align-items: center;
  color: white;
  justify-content: center;
}
/* =======================
   🎥 Video Page Layout
======================= */

.video-section {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* Default layout */
#videoMainColumn {
  flex: 3;
  min-width: 600px;
}

.membership-box {
  flex: 1;
}

/* Expanded state (active plan) */
#videoMainColumn.expanded {
  flex: 1 1 100%;
  max-width: 100%;
}

.video-wrapper.expanded {
  width: 100%;
}

.membership-box.hidden {
  display: none !important;
}

.video-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.video-actions button{
white-space: nowrap;
}
.video-actions .meta-btn{
white-space: nowrap;
}
/* ⭐ Favorite Active State */
#favBtn.active {
  background-color: #ff0000;
  border-color: #FF0000;
  color: rgb(255, 255, 255);
  transition: all 0.25s ease;
}

/* Optional pulse animation on add */
#favBtn.active {
  animation: favPulse 0.4s ease;
}

@keyframes favPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* Favourite message */
.fav-message {
  margin-left: 10px;
  font-size: 13px;
  color: #2e7d32;
  white-space: nowrap;
}

/* 👍 Like active */
#likeBtn.active {
  background-color: #ffcc00;
  border-color: #ffcc00;
  color: #000;
  transition: all 0.25s ease;
}

#likeBtn.active {
  animation: likePulse 0.35s ease;
}

@keyframes likePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

#modelBtn {
  cursor: pointer;
}

#modelBtn:hover {
  background: #f0f0f0;
}
.video-wrapper {
  position: relative;
  width: 100%;
}

/* Lock overlay */
.video-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lock-box {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 300px;
}

.lock-box h3 {
  margin-bottom: 8px;
}

.lock-box p {
  font-size: 14px;
  color: #555;
}
.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;   /* 🔥 THIS IS THE KEY */
  overflow: hidden;
  background: #000;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1.5px);
  transform: scale(1.03); /* prevents blur edges */
  
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  backdrop-filter: blur(1px);
}
.big-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #000;
  font-size: 32px;
  border: none;
  cursor: pointer;
  margin-bottom: 12px;
}

.upgrade-btn {
  background: linear-gradient(90deg, #0ea5a4, #10b981);;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
}
.upgrade-btn:hover {
  background: #ffffff;
  color: black;
  transform: translateY(-2px);
  transition: 0.3s, transform 0.2s;
}

/* ========================= */
/* Categories Grid (Studio-style, Separate) */
/* ========================= */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.category-card {
  background: #111;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.category-name {
  font-size: 18px;
  font-weight: 600;
}

.category-count {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: #ff2d55;
  color: #fff;
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 999px;
}

/* Reduce spacing only for category videos page */
.category-videos-page .model-hero {
  margin-top: 20px;
  margin-bottom: 10px;
}
.category-videos-page .model-profile {
  gap: 0;
}

.category-header {
  margin: -25px 0 10px;
}

/* Tighten spacing only for category videos page */
.category-videos-page .card-body {
  padding: 6px 8px;
}

.category-videos-page .card-body h3,
.category-videos-page .card-body .title {
  margin: 4px 0 4px;
  font-size: 15px;
  line-height: 1.3;
}
/* =========================
   🎬 Video Badges
========================= */

.thumb {
  position: relative;
  overflow: hidden;
}

.badge-hd {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #ffd000;
  color: #000;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.badge-views {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
}
/* Tighten spacing only for category videos page */
.studio-videos-page .card-body {
  padding: 6px 8px;
}

.studio-videos-page .card-body h3,
.studio-videos-page .card-body .title {
  margin: 4px 0 4px;
  font-size: 15px;
  line-height: 1.3;

}

/* Tight spacing for movie videos page */
.movie-videos-page .card-body {
  padding: 6px 8px;
}

.movie-videos-page .card-body h3,
.movie-videos-page .card-body .title {
  margin: 4px 0 4px;
  font-size: 15px;
  line-height: 1.3;
}
/* =========================
   🏢 Studio Page Custom Layout
   (Does NOT affect models page)
========================= */

.studios-page .models-grid {
  grid-template-columns: repeat(3, 1fr);
}

.studios-page .model-thumb img {
  height: 120px; /* smaller studio logo height */
  object-fit: cover; /* prevents zoom distortion */
  background: white; /* fills empty area nicely */
}
/* ======================
   JuicyAds Banner Wrapper
====================== */

.ad-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 35px 0;
}

.ad-banner script,
.ad-banner iframe {
  max-width: 100%;
}
.hamburger{
  display:none;
}

/* =========================
   📱 MOBILE RESPONSIVE FIX
   (DO NOT TOUCH DESKTOP)
========================= */

@media (max-width: 768px) {

  /* Fix container padding */
  .container {
    padding: 0 15px;
  }
  /* Fix slider */
  .slider {
    height: 105px;
  }
  .top-controls{
    display:none;
  }

  .hero-slider {
    margin: 10px 10px 25px;
  }

  /* Fix video grid */
  .video-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }

  /* Fix models & movies grid */
  .home-models-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  /* Fix big buttons */
  .home-btn {
    padding: 12px 20px !important;
    width: 100%;
    text-align: center;
    font-size: 14px;
  }

  .center-btn {
    padding: 0 15px;
  }

  /* Fix titles */
  .page-title {
    font-size: 20px;
  }
}

/* ============================= */
/* MOBILE NAV FIX */
/* ============================= */

@media (max-width: 768px) {

  /* Hide desktop nav */
  .desktop-nav {
    display: none;
  }

  /* Hide desktop buttons */
  .desktop-only {
    display: none !important;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
    font-size: 24px;
    cursor: pointer;
    color: white;
  }

  /* Center logo */
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Mobile dropdown */
  .mobile-menu {
    display: none;
    flex-direction: column;
    background: #111;
    padding: 15px;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu a {
    padding: 10px 0;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #222;
  }
}


/* ============================= */
/* DESKTOP NAV FIX */
/* ============================= */

@media (min-width: 769px) {

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* =========================
   📱 Netflix Style Login (Mobile Only)
========================= */

@media (max-width: 768px) {

  body {
    margin: 0;
  }

  .login-container {
    position: relative;
    min-height: 100vh;
    background: url("https://wanuxi-storage.sgp1.cdn.digitaloceanspaces.com/2022/10/Mystwood-Manor-GB.jpg") center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  /* Dark overlay */
  .login-container::before {
    content: "";
    position: relative;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 0;
  }

  .login-left-image {
    display: none !important;
  }

  .login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    padding: 100px 25px !important;
    background: rgba(0,0,0,40%) !important;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
  }

  .login-card h1,
  .login-card p {
    color: #fff;
  }

  .login-input {
    background: #111;
    border: 1px solid #333;
    color: #fff;
  }

  .login-input::placeholder {
    color: #aaa;
  }

  .login-btn {
    background: #e50914 !important;
    font-weight: 700;
  }

  .login-btn:hover {
    background: #f6121d !important;
  }

  .forgot-password a,
  .login-footer a {
    color: #fff !important;
  }

  .login-footer {
    color: #bbb;
  }
}
/* =========================
   📱 Netflix Style Signup (Mobile Only)
========================= */

@media (max-width: 768px) {

  body {
    margin: 0;
  }

  .signup-container {
    position: relative;
    min-height: 100vh;
    background: url("https://cdni.pornpics.com/1280/7/108/66176572/66176572_026_38db.jpg") center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  /* Dark overlay */
  .signup-container::before {
    content: "";
    position: relative;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 0;
  }

  /* Hide left features */
  .signup-features {
    display: none !important;
  }

  .signup-left-image {
    display: none !important;
  }

  .signup-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    padding: 35px 25px !important;
    background: rgba(0,0,0,40%) !important;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
  }

  .signup-card h1,
  .signup-card p,
  .signup-footer,
  .signup-terms {
    color: #fff;
  }

  .signup-input {
    background: #111;
    border: 1px solid #333;
    color: #fff;
  }

  .signup-input::placeholder {
    color: #aaa;
  }

  .signup-btn {
    background: #e50914 !important;
    font-weight: 700;
  }

  .signup-btn:hover {
    background: #f6121d !important;
  }

  .signup-footer a {
    color: #fff !important;
  }

}
/* =========================
   📱 Classes Page Mobile Fix
========================= */
@media (max-width: 768px) {

  .classes-container .grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .classes-container .card {
    border-radius: 10px;
  }

  .classes-container .thumb {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .classes-container .card-body {
    padding: 8px 10px;
  }

  .classes-container .title {
    font-size: 15px;
    margin: 6px 0;
  }
}
/* =========================
   📱 Video Page Mobile Fix
========================= */
@media (max-width: 768px) {

  /* Stack layout vertically */
  .video-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* Override inline style flex container */
  .video-section > div {
    min-width: unset !important;
    width: 100% !important;
    flex: unset !important;
  }

  /* Make video fully responsive */
  .video-wrapper {
    width: 100%;
  }

  .video-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  #videoTitle {
    font-size: 18px;
    margin-top: -15px;
    margin-bottom: 12px;
    text-align: left;
  }

  /* Actions in single scroll row */
  .video-actions {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 0px;
    margin-top: 10px;
    margin-bottom: -35px;
  }

  .video-actions::-webkit-scrollbar {
    display: none;
  }

  .video-actions button {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 8px 12px;
  }

  /* Related videos one by one */
  .video-page #relatedVideos {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

.upgrade-btn{
    padding:10px 18px;
    font-size: 14px;
    border-radius: 12px;
}
.video-thumbnail img{
  filter: blur(0.8px);
  transform: scale(1.02);
}
}

/* =========================
   📱 Models Page Mobile Fix
========================= */
@media (max-width: 768px) {

  body.models-page .models-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  body.models-page .model-thumb img {
    height: 220px;
  }

  body.models-page .model-body h3 {
    font-size:14px;
  }
}

/* =========================
   📱 Categories Page Mobile Fix
========================= */
@media (max-width: 768px) {

  body.categories-page .models-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  body.categories-page .model-thumb img {
    height: 200px;
  }

}

/* =========================
   📱 Model Videos Page Mobile
========================= */
@media (max-width: 768px) {

  .model-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .model-photo img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
  }

  .model-info h1 {
    font-size: 20px;
  }

  .model-bio {
    font-size: 14px;
    padding: 0 10px;
  }

  /* Videos one by one */
  .model-videos-grid,
  #modelVideos {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

}
/* =========================
   📱 Studio Videos Page Mobile
========================= */
@media (max-width: 768px) {

  .studio-videos-page .page-title {
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
  }

  .studio-videos-page .grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

}

/* =========================
   📱 Category Videos Mobile Fix
========================= */
@media (max-width: 768px) {

  body.category-videos-page #categoryVideos {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
}
/* =========================
   📱 Movies Page Poster Height
========================= */
@media (max-width: 768px) {

  body.movies-page .model-thumb img {
    height: 250px; /* adjust to your liking */
    object-fit: cover; /* keeps it clean */
    width: 100%;
  }
}

/* =========================
   📱 Dashboard Mobile Fix
========================= */
@media (max-width: 768px) {

  /* Stack left & right vertically */
  .dashboard-container {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }

  .dashboard-left,
  .dashboard-right {
    width: 100%;
    margin: 0;
  }

  /* Remove negative margins breaking layout */
  .dashboard-right {
    margin-top: 0 !important;
  }

  .dashboard-card {
    margin-left: 0 !important;
  }

  /* Favorites grid one by one */
  .fav-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

}

/* =========================
   📱 Movie Videos Page Mobile Fix
========================= */
@media (max-width: 768px) {

  body.movie-videos-page #movieVideos {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.movie-videos-page .model-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  body.movie-videos-page .model-photo img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  body.movie-videos-page .model-info h1 {
    font-size: 20px;
  }
}

/* =========================
   📱 Movies Page Mobile Layout
========================= */
@media (max-width: 768px) {

  .movies-page .home-models-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .movies-page .model-thumb img {
    height: 180px;
    object-fit: cover;
  }

  .movies-page .model-body h3 {
    font-size: 14px;
    margin: 6px 0;
  }

}

/* =========================
   📱 Homepage Models & Movies Mobile Upgrade
========================= */
@media (max-width: 768px) {

  /* Reduce model/movie card height on homepage */
  .home-page .home-models-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .home-page .home-models-grid .model-thumb img {
    height: 250px; /* Same feel as models page */
    object-fit: cover;
  }

  .home-page .home-models-grid .model-body {
    padding: 0px;
  }

  .home-page .home-models-grid .model-body h3 {
    font-size: 14px;
    margin: 6px 0;
  }

}
/* =========================
   📱 Studio Page Mobile Fix (2 Per Row)
========================= */
@media (max-width: 768px) {

  body.studios-page .models-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  body.studios-page .model-thumb img {
    height: 110px; /* slightly smaller for mobile */
  }

}
/* =========================
   🎬 Dashboard Favorite Cards Fix
========================= */

.fav-grid .card-body {
  padding: 6px 8px !important;
}

.fav-grid .card-body h3,
.fav-grid .card-body .title {
  margin: 4px 0 4px !important;
  font-size: 15px;
  line-height: 1.3;
}

.fav-grid .thumb {
  height: 200px; /* match homepage card height */
}

.fav-grid .thumb img {
  object-fit: cover;
}

/* ============================
   SEARCH BOX (MOBILE FIRST)
============================ */

.search-wrapper {
  position: relative;
  margin-right: 10px;
}

#searchInput {
  width: 120px;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: #ffffff;
  color: #000;
  font-size: 14px;
  outline: none;
}

#searchInput::placeholder {
  color: #333;
}

.search-results {
  position: absolute;
  top: 42px;
  left: 0;
  width: 260px;
  background: #111;
  border-radius: 10px;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.search-item {
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 10px;
  cursor: pointer;
  border-bottom: 1px solid #222;
}

.search-item:hover {
  background: #1c1c1c;
}

.search-item img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
}

.search-item span {
  color: white;
  font-size: 14px;
}
/* =============================
   MOBILE NAV + SEARCH FIX
============================= */
@media (max-width: 768px) {

  .topbar {
    display: grid;
    grid-template-columns: 36px 1fr 40px;
    align-items: center;
    padding: 12px 14px;
    gap: 6px; /* small premium spacing */
  }

  /* Hide spacer completely on mobile */
  .spacer {
    display: none !important;
  }

  /* Hide desktop nav */
  .desktop-nav {
    display: none !important;
  }

  /* Hide desktop buttons */
  .desktop-only {
    display: none !important;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
    font-size: 30px;
    cursor: pointer;
  }

  .logo {
  justify-self: center;
  margin-left: -16px; /* brings logo slightly left */
}


  /* Place search on right */
  .top-controls {
    display: flex !important;
    justify-content: flex-end;
  }

  /* Search input */
  #searchInput {
    width: 60px;
    height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 13px;
    background: #fff;
    color: #000;
  }
}
/* =============================
   📱 EXPAND SEARCH (MOBILE ONLY)
============================= */
@media (max-width: 768px) {

  .search-wrapper {
    position: relative;
    transition: all 0.3s ease;
  }

  /* Default small search */
  #searchInput {
    width: 60px;
    transition: all 0.3s ease;
  }

  /* Expanded search */
  .search-wrapper.active {
    position: absolute;
    left: 50px; /* after hamburger */
    right: 10px;
    top: 12px;
    z-index: 999;
  }
  .search-wrapper.active #searchInput {
    width: 100%;
    height: 40px;
  }
}
/* Hide top-right logout button on mobile only */
@media (max-width: 768px) {
  #navLogout {
    display: none !important;
  }
}
@media (max-width: 768px) {

  #navDashboard,
  #navLogout {
    display: none !important;
  }

}