/* =======================
   🌿 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:18px;
}
.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:100px;
  display:flex;
  gap:25px;
  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: -20px;
  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: 30px;
  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: 296px;
  }
  
.slides {
  display: flex;
  position: relative;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
}

  .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  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; }
  
  /* Responsive */
  @media (max-width: 768px) {
  .slider { height: 300px; }
  .caption h2 { font-size: 1.5rem; }
  .caption p { font-size: 0.9rem; }
  }

/* =======================
   🧾 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: url('https://images.unsplash.com/photo-1508672019048-805c876b67e2?auto=format&fit=crop&w=1400&q=80')
              no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 75px 20px 60px;
}
.footer-overlay {
  background: rgba(0,0,0,0.55);
  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;
}

@media(max-width:700px){
  .footer{padding:60px 20px;}
  .footer-links{flex-direction:column;gap:10px;}
}

/* === 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;
}
  @media (max-width: 768px) {
  #videoTitle {
    margin-top: -15px; /* smaller lift on mobile screens */
  }
  }
  
  /* 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);
}

@media(max-width:900px){
  .about-grid{grid-template-columns:1fr;}
  .about-hero{padding:60px 20px 30px;}
  .about-hero h1{font-size:28px;}
}
/* =======================
   🌿 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;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-content {
    padding: 40px 0;
  }
}
/* =======================
   🌿 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: 10px;
  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;
}

@media (max-width: 900px) {
  .model-profile {
    flex-direction: column;
    text-align: center;
  }
  .model-photo img {
    width: 100%;
    height: auto;
    max-width: 320px;
  }
}
/* 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.25);
  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 Centering Fix
========================= */

.ad-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.ad-banner ins {
  display: block;
  margin: 0 auto;
}
/* =========================
   📱 MOBILE RESPONSIVE FIX
   (DO NOT TOUCH DESKTOP)
========================= */

@media (max-width: 768px) {

  /* Fix container padding */
  .container {
    padding: 0 15px;
  }

  /* Fix navigation */
  .topbar {
    flex-wrap: wrap;
    padding: 10px 15px;
  }

  nav {
    margin-left: 0 !important;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 14px;
    padding: 4px 6px;
  }

  /* Fix slider */
  .slider {
    height: 145px;
  }

  .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 NAVBAR PREMIUM
========================= */

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #111;
  padding: 15px;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Hide on desktop */
.desktop-only {
  display: inline-block;
}

/* Mobile Rules */
@media (max-width: 768px) {

  .desktop-nav {
    display: none;
  }

  .desktop-only {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .topbar {
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    margin: 0 auto;
    font-size: 18px;
  }

  .mobile-menu.active {
    display: flex;
  }
}
/* ==========================================
   📱 COMPLETE VIDEO PAGE MOBILE FIX
   (Safe Override – Desktop Not Affected)
========================================== */

@media (max-width: 768px) {

  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden;
  }

  /* Video layout column */
  .video-section {
    flex-direction: column !important;
    gap: 15px;
  }

  /* Override inline min-width:600px */
  .video-section > div {
    min-width: 100% !important;
    width: 100% !important;
  }

  /* Video wrapper full width */
  #videoWrapper {
    width: 100% !important;
  }

  /* Video thumbnail (locked state) */
  .video-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Video title */
  #videoTitle {
    font-size: 18px;
    margin: 8px 0 12px;
  }

  /* Video actions in straight horizontal line */
  .video-actions {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
    margin-top: 10px;
  }

  .video-actions::-webkit-scrollbar {
    display: none;
  }

  .action-btn {
    font-size: 13px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  /* Related videos: 1 per row */
  .video-page .grid,
  #relatedVideos {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 12px;
  }

}



