/* ===================================================================
   VEGAMOVIES THEME CLONE (CUSTOMIZED FOR SHORT FILMS & CLASSICS)
   Ultra-High Performance • Cloudflare Pages Native
=================================================================== */

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

:root {
  --vega-bg: #18191c;
  --vega-card: #222326;
  --vega-card-border: #383a40;
  --vega-header: #141518;
  --vega-text: #c4c4c4;
  --vega-text-white: #ffffff;
  --vega-green: #39bd12;
  --vega-red: #ff0808;
  --vega-yellow: #e6a016;
  --vega-blue: #009de1;
  --vega-imdb-star: #ffc107;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Changa', 'Inter', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-main);
  background-color: var(--vega-bg);
  color: var(--vega-text);
  overflow-y: scroll;
}

body {
  background-color: var(--vega-bg);
  background-image: url('assets/images/film-background.jpg');
  background-repeat: repeat;
  background-attachment: fixed;
  color: var(--vega-text);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ================= VEGAMOVIES HEADER ================= */
.site-header {
  background: var(--vega-header);
  border-bottom: 2px solid #282a30;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.top-header-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-fallback-text {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.logo-fallback-text span {
  color: var(--vega-green);
}

.header-search-form {
  position: relative;
  flex: 0 1 360px;
}

.header-search-input {
  width: 100%;
  padding: 9px 36px 9px 14px;
  background: #23252a;
  border: 1px solid #3c3f47;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header-search-input:focus {
  border-color: var(--vega-blue);
  box-shadow: 0 0 0 2px rgba(0, 157, 225, 0.25);
  background: #2a2d34;
}

.header-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b949e;
  font-size: 14px;
}

/* ================= MAIN NAVIGATION BAR ================= */
.main-nav-bar {
  background: #111215;
  border-top: 1px solid #26272e;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.nav-container::-webkit-scrollbar { display: none; }

.nav-menu-list {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-menu-list li a {
  display: block;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #d1d5db;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
}

.nav-menu-list li a:hover,
.nav-menu-list li.active a {
  color: var(--vega-yellow);
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: var(--vega-yellow);
}

.edge-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1e2026;
  border: 1px solid #363942;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #2ecc71;
}
.edge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 6px #2ecc71;
}

/* ================= VEGAMOVIES 4 MAIN COLORED BUTTONS ================= */
.vega-main-buttons {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 1150px !important;
  margin: 16px auto 14px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
}

.vega-main-buttons > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--vega-green) !important;
  color: #fff !important;
  text-decoration: none !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  transition: filter 0.15s ease, transform 0.15s ease !important;
  font-family: var(--font-heading) !important;
}

.vega-main-buttons > a:nth-child(2) { background: var(--vega-red) !important; }
.vega-main-buttons > a:nth-child(3) { background: var(--vega-yellow) !important; }
.vega-main-buttons > a:nth-child(4) { background: var(--vega-blue) !important; }

.vega-main-buttons > a:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-2px);
}

.vega-main-buttons > a > .btn-content {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 44px !important;
  padding: 8px 12px !important;
  color: #fff !important;
  font: 700 13px/1.3 var(--font-heading), sans-serif !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  letter-spacing: 0.5px;
}

/* ================= VEGAMOVIES CATEGORY BUTTONS ================= */
.vega-category-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  width: 100%;
  max-width: 1150px;
  margin: 8px auto 16px;
  padding: 0 12px;
  box-sizing: border-box;
}

.vega-category-buttons a,
.vega-category-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  background: #25262c;
  border: 1px solid #3c3e47;
  border-radius: 4px;
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  font: 600 12px/1.3 var(--font-main), sans-serif;
  transition: all 0.15s ease;
  cursor: pointer;
}

.vega-category-buttons a:hover,
.vega-category-buttons button:hover,
.vega-category-buttons button.active {
  background: #34363f;
  border-color: var(--vega-yellow);
  color: var(--vega-yellow) !important;
}

/* ================= ADVANCED FILTER CONTROL STRIP ================= */
.filter-controls-strip {
  background: #1b1c20;
  border-top: 1px solid #2d2f36;
  border-bottom: 1px solid #2d2f36;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.filter-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #8b949e;
  font-family: var(--font-heading);
}

.vega-select {
  padding: 7px 24px 7px 10px;
  background: #24252a;
  color: #fff;
  border: 1px solid #383a42;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6a016' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 0.8em;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}
.vega-select:focus, .vega-select:hover {
  border-color: var(--vega-yellow);
}

.btn-reset-vega {
  padding: 7px 12px;
  background: rgba(255, 8, 8, 0.15);
  color: #ff5454;
  border: 1px solid rgba(255, 8, 8, 0.35);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.15s ease;
}
.btn-reset-vega:hover {
  background: var(--vega-red);
  color: #fff;
}

/* ================= MAIN CONTAINER ================= */
.main-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

.section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #2d2f36;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.section-heading-vega {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-heading-vega span.highlight {
  color: var(--vega-yellow);
}

.results-meta {
  font-size: 12px;
  color: #8b949e;
}

/* ================= VEGAMOVIES 5-COLUMN MOVIE GRID ================= */
.movie-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 26px 18px !important;
  align-items: stretch;
  box-sizing: border-box;
}

.movie-grid .post-item {
  --accent: #00c8ff;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--vega-card) !important;
  border: 1px solid var(--vega-card-border) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-sizing: border-box;
  isolation: isolate;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Dynamic Accent Colors (Cycling through cards) */
.movie-grid .post-item:nth-child(5n+1) { --accent: #00c8ff; }
.movie-grid .post-item:nth-child(5n+2) { --accent: #a855f7; }
.movie-grid .post-item:nth-child(5n+3) { --accent: #ff5470; }
.movie-grid .post-item:nth-child(5n+4) { --accent: #00d6a0; }
.movie-grid .post-item:nth-child(5n+5) { --accent: #ffbd45; }

.movie-grid .post-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent) !important;
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.5), 0 0 18px color-mix(in srgb, var(--accent) 25%, transparent);
}

.post-item-wrap {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* 3:4 Aspect Ratio Poster Box */
.blog-pic {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #151618 !important;
}

.blog-picture {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.35s ease, filter 0.35s ease !important;
  display: block;
}

.movie-grid .post-item:hover .blog-picture {
  transform: scale(1.06);
  filter: brightness(1.08);
}

/* Video Quality Label (Top-Left) */
.video-label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  background: var(--vega-green);
  color: #fff;
  font: 800 11px/1.2 var(--font-heading), sans-serif;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 0 0 7px 0;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* IMDb Rating Badge (Top-Right) */
.movie-imdb-badge {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 4px 8px !important;
  margin: 0 !important;
  background: rgba(9, 16, 24, 0.92) !important;
  color: #fff !important;
  border-radius: 0 0 0 7px !important;
  font: 700 11px/1.3 var(--font-main), sans-serif !important;
  white-space: nowrap !important;
}

.movie-imdb-badge .imdb-star {
  color: var(--vega-imdb-star) !important;
  font-size: 13px !important;
}

/* Listing Content / Title Area */
.listing-content {
  padding: 10px 12px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.post-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
}

.entry-title {
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #fff !important;
  font-family: var(--font-main) !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entry-title a {
  color: #fff;
}
.post-item:hover .entry-title a {
  color: var(--accent);
}

.card-tagline-text {
  font-size: 11.5px;
  color: #8b949e;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.card-cast-snippet {
  font-size: 11px;
  color: #a0aec0;
  margin-top: auto;
  border-top: 1px solid #2d2f36;
  padding-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-cast-snippet strong {
  color: var(--vega-yellow);
}

/* ================= VEGAMOVIES SIGNATURE POST MODAL ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.vega-post-modal {
  background: #1b1c21;
  border: 1px solid #363942;
  border-radius: 8px;
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: translateY(15px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .vega-post-modal {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #444;
}
.modal-close-btn:hover {
  background: var(--vega-red);
  color: #fff;
}

/* Modal Content Styling (Vegamovies Post Style) */
.vega-post-content {
  padding: 24px 20px;
}

.vega-post-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.35;
  border-bottom: 2px solid var(--vega-yellow);
  padding-bottom: 12px;
}

/* The Classic Vegamovies Info Box */
/* ================= VEGAMOVIES DECORATED MOVIE INFO BOX ================= */
.vega-info-box {
  background: linear-gradient(145deg, #1d1f25 0%, #15161a 100%);
  border: 2px dashed #00c8ff;
  border-radius: 10px;
  padding: 22px 24px;
  margin: 20px auto 28px;
  max-width: 780px;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.12), inset 0 0 15px rgba(0, 200, 255, 0.03);
  text-align: center;
}

.vega-info-header {
  text-align: center;
  margin-bottom: 18px;
}

.vega-info-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.35);
  color: #00c8ff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 22px;
  border-radius: 30px;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(0, 200, 255, 0.22);
}

.vega-info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  margin: 0 auto;
}

.vega-info-row {
  background: rgba(255, 255, 255, 0.025);
  transition: all 0.2s ease;
}

.vega-info-row:hover {
  background: rgba(0, 200, 255, 0.05);
}

.vega-info-row td {
  padding: 8px 12px;
  vertical-align: middle;
}

.info-label-cell {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  text-align: right !important;
  width: 42%;
  color: #f5b041 !important;
  font-weight: 700;
  font-size: 13.5px;
  border-left: 2px solid transparent;
  white-space: nowrap;
}

.vega-info-row:hover .info-label-cell {
  border-left-color: #00c8ff;
}

.vega-info-row td.colon {
  width: 20px;
  text-align: center !important;
  color: #00c8ff;
  font-weight: 800;
  padding: 8px 0;
  user-select: none;
}

.info-val-cell {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  text-align: left !important;
  width: 55%;
  color: #f1f5f9 !important;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

.highlight-title {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Badges for technical specs */
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  vertical-align: middle;
}
.badge-green { background: #27ae60; color: #fff; }
.badge-blue { background: #0284c7; color: #fff; }
.badge-purple { background: #8e44ad; color: #fff; }
.badge-orange { background: #d35400; color: #fff; }
.badge-cyan { background: rgba(0, 200, 255, 0.2); color: #00e5ff; border: 1px solid rgba(0, 200, 255, 0.4); }

@media (max-width: 600px) {
  .vega-info-box {
    padding: 16px 12px;
  }
  .info-label-cell {
    width: 44%;
    font-size: 12px;
    padding: 7px 6px;
  }
  .info-val-cell {
    font-size: 12px;
    padding: 7px 6px;
  }
  .badge {
    font-size: 10.5px;
    padding: 2px 6px;
  }
}

/* Synopsis / Storyline */
.vega-storyline-box {
  background: #18191e;
  border: 1px solid #2d2f36;
  border-radius: 6px;
  padding: 18px;
  margin: 20px auto;
  max-width: 780px;
  font-size: 14px;
  line-height: 1.7;
}

.vega-storyline-title {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--vega-green);
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.vega-quote-callout {
  border-left: 3px solid var(--vega-yellow);
  padding: 10px 14px;
  margin: 14px 0;
  background: rgba(230, 160, 22, 0.08);
  color: #f7d794;
  font-style: italic;
  font-size: 13.5px;
}

/* ================= READ MORE BUTTON & ANIMATION ================= */
.readmore-btn-wrap {
  text-align: center;
  margin-top: 14px;
  padding-top: 4px;
}

.btn-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.35);
  color: #00c8ff;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 24px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.btn-readmore:hover {
  background: #00c8ff;
  color: #000;
  border-color: #00c8ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 200, 255, 0.35);
}

.readmore-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.synopsis-preview p,
.synopsis-full p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.synopsis-full {
  animation: fadeInSynopsis 0.3s ease;
}

@keyframes fadeInSynopsis {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Trailer Video Container */
.vega-trailer-box {
  max-width: 780px;
  margin: 20px auto;
}

.video-responsive {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  border: 1px solid #333;
}
.video-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Screenshots Section */
.vega-screenshots-container {
  max-width: 780px;
  margin: 24px auto;
  text-align: center;
}

.vega-ss-header-banner {
  background: linear-gradient(90deg, #ff0808, #d68910, #39bd12);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.vega-ss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .vega-ss-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.vega-ss-card {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #333;
  cursor: pointer;
  background: #000;
  position: relative;
}

.vega-ss-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.vega-ss-card:hover .vega-ss-img {
  transform: scale(1.08);
}

/* ================= VEGAMOVIES DOWNLOAD AREA & BUTTONS ================= */
.vega-download-area {
  max-width: 780px;
  margin: 28px auto 10px;
  text-align: center;
}

.vega-dl-header-banner {
  background: #18191e;
  border: 1px solid #39bd12;
  color: #39bd12;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 6px;
  margin-bottom: 14px;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(57, 189, 18, 0.12);
}

.vega-dl-btn-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-vega-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  font-family: var(--font-heading);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
  width: 100%;
  box-sizing: border-box;
}

.btn-vega-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.btn-vega-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  text-align: center;
}

.btn-vega-main {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-vega-sub {
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-sub-pill {
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.btn-sub-dot {
  opacity: 0.6;
}

/* Green Save to Drive button */
.btn-vega-drive {
  background: linear-gradient(135deg, #0f9d58, #2ea010);
  border: 1px solid #3fd918;
}
.btn-vega-drive:hover {
  background: linear-gradient(135deg, #12b867, #39c714);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57, 189, 18, 0.4);
}

/* Blue Open on Drive button */
.btn-vega-open {
  background: linear-gradient(135deg, #1a5fb4, #1c71d8);
  border: 1px solid #3584e4;
}
.btn-vega-open:hover {
  background: linear-gradient(135deg, #1c71d8, #3584e4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 113, 216, 0.4);
}

/* Back button */
.vega-back-wrap {
  text-align: center;
  margin-top: 24px;
}

.btn-vega-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #ff6b6b;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-vega-back:hover {
  background: #e74c3c;
  color: #fff;
  border-color: #e74c3c;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(231, 76, 60, 0.35);
}

/* Mobile specific responsive adjustments */
@media (max-width: 480px) {
  .vega-dl-header-banner {
    font-size: 11px;
    letter-spacing: 0.3px;
    padding: 7px 8px;
    gap: 4px;
  }
  .btn-vega-dl {
    padding: 11px 14px;
    gap: 10px;
  }
  .btn-vega-icon {
    font-size: 18px;
  }
  .btn-vega-main {
    font-size: 12.5px;
    letter-spacing: 0.3px;
  }
  .btn-vega-sub {
    font-size: 10.5px;
    gap: 4px;
  }
  .btn-sub-pill {
    padding: 1px 5px;
    font-size: 10.5px;
  }
  .btn-vega-back {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 16px;
    font-size: 12.5px;
  }
}

/* ================= SCREENSHOT LIGHTBOX ================= */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox-modal.active { opacity: 1; pointer-events: auto; }

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav-btn:hover { background: var(--vega-yellow); color: #000; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ================= SAVE TO GOOGLE DRIVE MODAL ================= */
.drive-modal-dialog {
  background: #1e2026;
  border: 2px solid var(--vega-green);
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  padding: 24px;
  position: relative;
}

.drive-header-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
}

.drive-input-box {
  width: 100%;
  padding: 10px 14px;
  background: #121316;
  border: 1px solid #3c3e47;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  margin: 12px 0 16px;
}
.drive-input-box:focus {
  border-color: var(--vega-green);
  outline: none;
}

/* ================= VEGAMOVIES FOOTER ================= */
.site-footer {
  background: #111215;
  border-top: 1px solid #282a30;
  padding: 24px 16px;
  text-align: center;
  font-size: 12px;
  color: #8b949e;
  line-height: 1.6;
}

.footer-disclaimer {
  max-width: 900px;
  margin: 0 auto 12px;
}

/* ================= RESPONSIVE LAYOUTS ================= */
@media (max-width: 1100px) {
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }
  .vega-main-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 580px) {
  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
  }
  .top-header-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .header-search-form {
    flex: 1 1 auto;
  }
  .vega-main-buttons > a > .btn-content {
    font-size: 11px !important;
    padding: 6px 8px !important;
  }
}

/* ================= STANDALONE MOVIE POST PAGE ================= */
.vega-single-post-page {
  max-width: 1050px;
  margin: 20px auto 40px;
  padding: 0 16px;
  box-sizing: border-box;
}

.vega-single-post-card {
  background: #1b1c21;
  border: 1px solid #363942;
  border-radius: 10px;
  padding: 30px 24px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.vega-breadcrumb {
  font-size: 12.5px;
  color: #8b949e;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.vega-breadcrumb a {
  color: #00c8ff;
  text-decoration: none;
  font-weight: 600;
}

.vega-breadcrumb a:hover {
  text-decoration: underline;
}

.vega-post-featured-poster {
  display: flex;
  justify-content: center;
  margin: 22px auto 28px;
}

.vega-post-featured-poster img {
  width: 290px;
  max-width: 90%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #363942;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.vega-post-featured-poster img:hover {
  transform: scale(1.02);
  border-color: #00c8ff;
}
