/* HELL LORDS GLOBAL.CSS */
/* ==================== HELL LORDS GLOBAL.CSS ==================== */

:root {
    --bg: #0a0a0a;
    --card: #111111;
    --text: #e0e0e0;
    --muted: #888888;
    --red: #c8102e;
    --red-dark: #a00;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    line-height: 1.5;
}

/* === BASIC LAYOUT / "TAILWIND-LIKE" UTILS (so your existing HTML works) === */

* {
    box-sizing: border-box;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* mimic your max-w-7xl usage */
.max-w-7xl {
    max-width: 1280px;
}

/* mimic mx-auto / padding helpers you used */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}

.py-12 {
    padding-top: 48px;
    padding-bottom: 48px;
}

/* Optional: nicer phone spacing */
@media (max-width: 480px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

a {
    color: var(--red);
    text-decoration: none;
}

a:hover {
    color: white;
    text-decoration: underline;
}

.index-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;

    display: flex;
    justify-content: center;   /* centers horizontally */
}

.index-banner {
    height: auto;
    display: block;
    max-width: 100%;           /* prevents overflow on mobile */
}

/* NAV */
.nav-strip {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    background: #111;
    border-bottom: 1px solid #222;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 9999px;
    color: var(--red);
    font-weight: 700;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--red);
    color: white;
    transform: translateY(-3px);
}

/* MOVIE GRID (used on home + genre pages) */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 24px;
}

.movie-card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    transition: all 0.3s;
}

.movie-card:hover {
    border-color: var(--red);
    transform: translateY(-8px);
}

.movie-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.movie-card .info {
    padding: 14px;
}

.movie-card h3 {
    font-size: 1.1rem;
    margin: 0 0 6px;
    line-height: 1.3;
}

.movie-card .year {
    color: var(--muted);
    font-size: 0.9rem;
}

.movie-card .stars {
    font-size: 0.85rem;
    color: var(--red);
    margin-top: 8px;
}

/* CATALOGUE */
.cat-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.cat-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 2rem;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.cat-card {
    background: var(--card);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.cat-card:hover {
    border-color: var(--red);
    transform: translateY(-6px);
}

.cat-card summary {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--red);
    cursor: pointer;
}

.count {
    color: var(--muted);
    font-size: 0.95rem;
    margin-left: 8px;
}

.pages {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-link {
    padding: 0.6rem 1.2rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
}

.page-link:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

/* MOVIE CARD (duplicate block kept exactly as-is) */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 24px;
}

.movie-card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    transition: all .3s;
}

.movie-card:hover {
    border-color: var(--red);
    transform: translateY(-8px);
}

.movie-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.movie-card .info {
    padding: 14px;
}

.movie-card h3 {
    font-size: 1.1rem;
    margin: 0 0 6px;
    line-height: 1.3;
}

.movie-card .year {
    color: var(--muted);
    font-size: 0.9rem;
}

.movie-card .stars {
    font-size: 0.85rem;
    color: var(--red);
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.stars-dd,
.genres-dd,
.desc-box {
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(0,0,0,0.35);
}

.stars-dd summary,
.genres-dd summary,
.desc-box summary {
    cursor: pointer;
    font-weight: 700;
    user-select: none;
}

.stars-dd summary::-webkit-details-marker,
.genres-dd summary::-webkit-details-marker,
.desc-box summary::-webkit-details-marker {
    display: none;
}

.stars-dd summary::after,
.genres-dd summary::after,
.desc-box summary::after {
    content: "▾";
    float: right;
    opacity: 0.8;
}

.stars-dd[open] summary::after,
.genres-dd[open] summary::after,
.desc-box[open] summary::after {
    content: "▴";
}

.stars a,
.genres a {
    display: inline-block;
    margin: 6px 8px 0 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    text-decoration: none;
}

.stars a:hover,
.genres a:hover {
    background: rgba(255,0,102,0.18);
}

.stars-list,
.genres-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.stars-list li,
.genres-list li {
    margin-bottom: 6px;
}

.stars-list a,
.genres-list a {
    display: block;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    text-decoration: none;
    transition: background 0.2s ease;
}

.stars-list a:hover,
.genres-list a:hover {
    background: rgba(255,0,100,0.2);
}




/* =========================================================
   MOVIE PAGE (gallery-movie.php) — DROP-IN CSS PATCH
   Paste at VERY BOTTOM of global.css
   ========================================================= */

.movie-title-main{
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin: 20px 0 25px;
}

.movie-hero{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px){
  .movie-hero{
    flex-direction: row;
    align-items: flex-start;
  }
  .cover-column{
    width: 40%;
    max-width: 460px;
  }
  .details-column{
    flex: 1;
  }
}

/* COVER FLIP */
.cover-flip{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
  border: 1px solid #2a2a2a;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.cover-flip img{
  width: 100%;
  height: auto;
  display: block;
}

/* back cover overlay */
.cover-flip .cover-back{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111;
  opacity: 0;
  transition: opacity .35s ease;
}

/* hide front image on hover + show back */
.cover-flip:hover .cover-back{
  opacity: 1;
}
.cover-flip:hover img:first-child{
  opacity: 0;
  transition: opacity .35s ease;
}

/* THEATER BUTTONS */
.theater-buttons{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.btn-theater{
  display: inline-block;
  min-width: 160px;
  text-align: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  background: #1a1a1a;
  border: 1px solid #333;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn-theater:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255,105,180,0.25);
}

/* META STRIP */
.meta-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 16px;
}

.meta-strip span{
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
}

/* DESCRIPTION BOX */
.desc-box{
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.35);
}

.desc-toggle{
  margin-top: 10px;
  display: inline-block;
  cursor: pointer;
  font-weight: 800;
  user-select: none;
}

/* HEADERS */
.section-title{
  margin: 28px 0 12px;
  font-size: 1.8rem;
  font-weight: 900;
}

/* TAG LIST (stars/genres/acts) */
.tag-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list a{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}

.tag-list a:hover{
  background: rgba(255,20,147,0.22);
  transform: translateY(-2px);
}

/* SCENES LIST */
.scene-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scene-row{
  padding: 10px 12px;
  border-radius: 12px;
  background: #141414;
  border: 1px solid #2a2a2a;
}

.scene-row a{
  font-weight: 800;
}

/* ===== MOVIE PAGE COVER SIZE CONTROL ===== */
@media (min-width: 992px){
  .cover-column{
    width: 32%;
    max-width: 340px;   /* ~50% of what you had */
  }
}

/* keeps the cover from “growing” too tall */
.cover-flip{
  max-width: 340px;
  margin: 0 auto;       /* centers cover in the column */
}



/* ===== MOVIE PAGE WIDTH CONTROL ===== */
.container{
  max-width: 1100px;   /* 50–75% feel on desktop */
  margin: 0 auto;
  padding: 20px;
}


/* ===== DESCRIPTION TOGGLE SUPPORT ===== */

/* This is the missing piece */
.hidden {
  display: none;
}

/* Optional styling improvements */
.desc-box {
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.35);
}

.desc-toggle {
  margin-top: 12px;
  display: inline-block;
  cursor: pointer;
  font-weight: 800;
  transition: opacity .2s ease;
}

.desc-toggle:hover {
  opacity: .7;
}


/* =========================================================
   SCENE GALLERY PATCH (gallery-scene.php)
   Paste at VERY BOTTOM of global.css
   ========================================================= */

/* tighten this page container a bit */
.container.mx-auto.px-4.py-8.max-w-7xl{
  max-width: 1200px;            /* was 1280 */
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
}

/* headline on scene page (your template uses tailwind classes) */
.text-4xl{
  font-size: 2.4rem;
  line-height: 1.15;
}
.font-black{ font-weight: 900; }
.text-red-600{ color: #c8102e; }
.mb-8{ margin-bottom: 24px; }

/* ====== Scene hero layout (title + optional cover) ====== */
/* Constrain scene page width */
.scene-hero{
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  gap: 2.25rem;                 /* slightly tighter */
  align-items: flex-start;
}

/* Desktop layout */
@media (min-width: 900px){
  .scene-hero{
    flex-direction: row;        /* ensure it's flex row */
  }
}

/* Mobile stacks */
@media (max-width: 899px){
  .scene-hero{
    flex-direction: column;
  }
}

/* cover flip block */
.scene-cover{
  width: 100%;
  max-width: 415px;             /* was 360px (~+15%) */
}
.scene-cover .cover-flip{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #222;
  box-shadow: 0 18px 36px rgba(0,0,0,0.65);
  background: #0f0f0f;
}
.scene-cover .cover-flip img{
  width: 100%;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.scene-cover .cover-back{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
}
.scene-cover .cover-flip:hover .cover-back{
  opacity: 1;
}

/* ====== Thumbs grid (5x5 desktop, responsive down) ====== */
.thumbs-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;                    /* was 12px */
  max-width: 760px;             /* prevents grid from stretching too wide */
}

@media (min-width: 640px){
  .thumbs-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
  }
}
@media (min-width: 1024px){
  .thumbs-grid{
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 980px;           /* keeps thumbs “thumb sized” */
  }
}

/* each tile */
.thumb-wrapper{
  border-radius: 10px;          /* slightly smaller */
  overflow: hidden;
  background: #0f0f0f;
  border: 1px solid #222;
  box-shadow: 0 8px 18px rgba(0,0,0,0.50);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.thumb-wrapper:hover{
  transform: translateY(-4px);  /* was -6px */
  border-color: rgba(200,16,46,.55);
  box-shadow: 0 14px 28px rgba(200,16,46,0.16);
}

/* thumb image */
.thumb{
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 4 / 3;          /* CHANGED: true thumbs (was 2/3 = tall) */
  object-fit: cover;
  cursor: pointer;
}

/* ====== CTA buttons under grid ====== */
.scene-cta{
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.scene-cta a{
  display: inline-block;
  min-width: 160px;
  text-align: center;
  padding: 12px 18px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 999px;
  color: #c8102e;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

.scene-cta a:hover{
  background: #c8102e;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(200,16,46,0.25);
}



/* ====== simple lightbox (optional JS toggles this) ====== */
.scene-lightbox{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.scene-lightbox.active{ display: flex; }

.scene-lightbox img{
  max-width: min(1100px, 95vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(200,16,46,0.25);
}

.scene-lightbox .close{
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 44px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 6px 10px;
}

/* =========================================================
   VIVIDSEXVIDEO.COM — COLOR PALETTE OVERRIDE (DROP-IN)
   Paste at VERY BOTTOM of global.css
   Keeps all functional CSS — only overrides colors & vibe.
   ========================================================= */

/* ---- Palette (warm gold / espresso / cream) ---- */
:root{
  --bg: #000000;              /* true black */
  --card: #2b1a12;            /* deep espresso brown (content panels) */
  --card-2: #1b0f0a;          /* darker inner panels */
  --stroke: rgba(255,255,255,0.10);

  --title-box: #c17600;       /* your burnt gold */
  --accent: #c17600;          /* primary accent = gold */
  --accent-2: #ffb24a;        /* highlight gold for glow/hover borders */

  --text: #f7e2c8;            /* warm cream */
  --muted: rgba(247,226,200,0.65);

  --glow: rgba(193,118,0,0.35);
  --glow-strong: rgba(255,178,74,0.45);
}

/* ---- Base page ---- */
html, body{
  background: var(--bg) !important;
  color: var(--text) !important;
}

/* Links */
a{
  color: var(--accent) !important;
}
a:hover{
  color: #ffffff !important;
}

/* ---- Header / Banner ---- */
.index-hero{
  background: var(--bg) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.index-banner{
  filter: saturate(1.05) contrast(1.05);
}

/* ---- Nav ---- */
.nav-strip{
  background: rgba(10,5,3,0.90) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.nav-btn{
  background: rgba(27,15,10,0.95) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: var(--accent) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,0.45);
}
.nav-btn:hover{
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #111 !important; /* gold button with dark text looks expensive */
  box-shadow: 0 14px 30px var(--glow) !important;
}

/* ---- Big titles ---- */
.index-title,
.cat-title,
.movie-title-main,
.section-title,
.scene-index-title,
.star-page-title,
.text-red-600{
  color: var(--accent) !important;
  text-shadow: 0 0 14px var(--glow) !important;
}

/* Optional: title "box" vibe for section headers if you use them */
.section-title{
  display: inline-block;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(193,118,0,0.10);
  border: 1px solid rgba(193,118,0,0.25);
}

/* ---- Cards / tiles / boxes ---- */
.movie-card,
.cat-card,
.movie-block,
.scene-row,
.scene-line,
.thumb-wrapper,
.desc-box,
.meta-strip span,
.stars-dd,
.genres-dd{
  background: linear-gradient(180deg, rgba(43,26,18,0.92), rgba(27,15,10,0.92)) !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: var(--text) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,0.65) !important;
}

/* Hover "gold edge + glow" */
.movie-card:hover,
.cat-card:hover,
.movie-block:hover,
.scene-row:hover,
.scene-line:hover,
.thumb-wrapper:hover{
  border-color: rgba(255,178,74,0.55) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.70), 0 0 24px var(--glow) !important;
}

/* ---- Text inside cards ---- */
.movie-card .year,
.scene-row-stars,
.count{
  color: var(--muted) !important;
}

/* ---- Pills / tags / page links ---- */
.page-link,
.tag-list a,
.stars a,
.genres a{
  background: rgba(0,0,0,0.25) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: var(--text) !important;
}
.page-link:hover,
.tag-list a:hover,
.stars a:hover,
.genres a:hover{
  background: rgba(193,118,0,0.18) !important;
  border-color: rgba(255,178,74,0.55) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px var(--glow) !important;
}

/* ---- Theater buttons ---- */
.btn-theater,
.scene-cta a{
  background: rgba(27,15,10,0.95) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: var(--accent) !important;
}
.btn-theater:hover,
.scene-cta a:hover{
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #111 !important;
  box-shadow: 0 14px 28px var(--glow-strong) !important;
}

/* ---- Cover blocks ---- */
.cover-flip,
.scene-cover .cover-flip{
  background: rgba(27,15,10,0.95) !important;
  border-color: rgba(255,255,255,0.10) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.78) !important;
}

/* ---- Lightbox / glow box ---- */
.scene-lightbox{
  background: rgba(0,0,0,0.94) !important;
}
.scene-lightbox img{
  border: 1px solid rgba(255,178,74,0.25) !important;
  box-shadow: 0 0 28px var(--glow), 0 24px 80px rgba(0,0,0,0.85) !important;
}
.scene-lightbox .close{
  background: rgba(27,15,10,0.92) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}
.scene-lightbox .close:hover{
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #111 !important;
  box-shadow: 0 12px 26px var(--glow) !important;
}

/* ---- Readability safety ---- */
.movie-card h3 a,
.movie-title a,
.scene-row a{
  color: var(--accent) !important;
}
.movie-card h3 a:hover,
.movie-title a:hover,
.scene-row a:hover{
  color: #ffffff !important;
}

/* ---- Optional: subtle background texture effect ---- */
body:before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(193,118,0,0.08), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(255,178,74,0.06), transparent 60%),
    radial-gradient(900px 600px at 50% 90%, rgba(193,118,0,0.05), transparent 60%);
  opacity: 1;
  z-index: 0;
}
body > *{
  position: relative;
  z-index: 1;
}

