/* --- Base layout --- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.tracking-wider {
  letter-spacing: 0.1em;
}

/* Make all text readable on dark bg */
body {
  color: #eaeaea;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center 0;
  transition: background-position 0.1s ease-out;
}


footer {
  width: 100%;
  flex-shrink: 0;
  background: #1a1a1a;
}


footer a {
  text-decoration: none;
  font-size: 1.1rem;
}

footer a:hover {
  text-decoration: underline;
}


.contact-link {
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}


.curve-top,
.curve-bottom {
  width: 100%;
  flex-shrink: 0;
  line-height: 0;
}

.curve-top svg,
.curve-bottom svg {
  display: block;
  width: 100%;
  height: auto;
}


/* --- Main layout --- */
main.container {
  width: 100%;
  max-width: 900px;
  margin-left: 8%;
  padding-left: 0;
  padding-right: 0;
}

.content-wrapper {
  width: 640px;
  max-width: 100%;
  min-width: 0;
}

/* --- Video Section --- */
.video-section {
  margin-top: 2rem;
}

.video-frame {
  width: 100%;
  max-width: 640px;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000;
}

/* When video is not playing (poster visible), cover fit */
.video-player:not([poster=""]) {
  object-fit: contain;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
/* 50px add this to control up and down position of bg foto */
  body {
    background-size: cover !important;
    background-position: 60% top !important;
    background-repeat: no-repeat !important;
  }

  main.container {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 1.25rem !important;
  }

  .content-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .reel-list,
  .video-section,
  .live-banner {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* .reel-list {
  margin-top: rem;
} */


/* text over poster photo for video */
.video-placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 0.75rem;
}

.video-placeholder-overlay span {
  color: #eaeaea;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 1.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.audio-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 1rem;
  width: 100%;
  max-width: 640px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* --- Play / Pause Button --- */
.play-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 20px;
  height: 32px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 0;
  transition: transform 0.1s ease;
}

.play-btn:hover {
  transform: scale(1.05);
}

/* Equal triangle play shape */
.triangle {
  width: 0;
  height: 0;
  border-left: 10px solid #eaeaea;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* Hover color */
.play-btn:hover .triangle {
  border-left-color: #d7b369;
}

/* Pause icon (same size, always visible white) */
.pause-icon {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.pause-icon span {
  width: 3px;
  height: 12px;
  background-color: #eaeaea;
  border-radius: 1px;
}

.play-btn:hover .pause-icon span {
  background-color: #d7b369;
}

/* --- Audio Details & Progress --- */
.audio-details {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.audio-title {
  font-weight: 600;
  color: #eaeaea;
  margin-bottom: 0.25rem;
}

/* Keep download button small and aligned */
.download-link {
  color: #9a9a9a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  align-self: center;
  margin-bottom: 0;
  white-space: nowrap;
}

.download-link:hover {
  color: #d7b369;
}

/* --- Progress Row --- */
.progress-row {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.progress-bar-bg {
  width: 100%;
  min-width: 0;
  height: 6px;
  background: #333;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: #d7b369;
  transition: width 0.1s linear;
}

.time-display {
  color: #b0b0b0;
  font-size: 0.9rem;
  width: auto;
  min-width: 75px;
  text-align: right;
  white-space: nowrap;
}


.navbar {
  background: linear-gradient(to bottom, #0a0a0a 0%, #0a0a0a 0%, #1a1a1a 50%);
  position: relative;
  border-bottom: 1px solid #111 !important;
}


.navbar-slope-divider {
  width: 100%;
  height: 140px;
  background: #1a1a1a;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
  position: relative;
  z-index: 1;
}

.live-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 640px;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.7rem 1.75rem;
  border-radius: 6px;
  background: #e8291f;
  color: #fff;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1.4s infinite ease-in-out;
}

.live-text {
  font-size: 1.2rem;
  font-weight: 500;
}

.live-watch {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: underline;
  color: white;
  margin-left: auto;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.navbar,
.navbar-slope-divider,
.curve-top,
.curve-bottom,
footer {
  border: 0 !important;
  outline: 0 !important;
}