/* General styles for body */
body {
  margin: 0;
  background-color: black;
  color: #ffffff;
  width: 100%; /* Ensure full width of the viewport */
  height: 100%; /* Ensure the body fills the viewport */
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Navbar container */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    to bottom, 
    rgba(0, 0, 0, 0.8) 0%,  /* Solid black at the top */
    rgba(0, 0, 0, 0) 100%   /* Fully transparent at the bottom */
  );
  position: fixed;
  top: 0;
  width: 100%;
  padding-top: 0.694vw; /* ~10px for desktop */
  height: 5.56vw; /* ~80px for desktop */
  z-index: 1000;
}

.navbar.scrolled {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 30%,    /* Fully opaque black at the top */
    rgba(0, 0, 0, 0) 100% /* Semi-transparent at the bottom */
  );
}

/* Left section of the navbar */
.navbar-left {
  display: flex;
  align-items: center;
  padding-left: 3.5vw; /* ~50px for desktop */
  gap: 1.04vw; /* ~15px for desktop */
}

/* Logo image */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 3.06vw; /* ~44px for desktop */
  width: auto;
  opacity: 25%;
}

/* Logo text */
.logo-text {
  font-size: 1.25vw; /* ~18px for desktop */
  font-weight: 500;
  opacity: 10%;
  text-decoration: none;
}

/* Right section of the navbar */
.navbar-right {
  display: flex;
  align-items: center;
  padding-right: 3.5vw; /* ~50px for desktop */
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  pointer-events: none;
  align-items: center; /* Center vertically */
  justify-content: left; /* Center horizontally */
  background: linear-gradient(
    to bottom, 
    rgba(0, 0, 0, 0) 65%,  /* Solid black at the top */
    rgba(0, 0, 0, 1) 100%   /* Fully transparent at the bottom */
  )
}

/* Hero Image */
.hero-image {
  width: 100vw;  /* Full width of the viewport (~1440px for desktop) */
  aspect-ratio: 2 / 1;  /* Adjust to match your image’s aspect ratio */
}

.hero-image img {
  width: 100%; /* Make the image responsive */
  height: 100%; /* Cover the container height */
  object-fit: cover; /* Ensure the image scales without distortion */
  position: absolute; /* Place the image behind other elements */
  top: 0;
  left: 0;
  z-index: -1; /* Ensure the image is behind the gradients */
}

.hero-content {
  position: absolute;
  z-index: 2;
  text-align: left;
  padding: 4.58vw; /* ~66px for desktop */
  pointer-events: all;
}

.hero-metadata {
  display: flex;
  justify-content: left;
  align-items: center;
  opacity: 0.8;
  gap: 0px 0.69vw; /* ~10px for desktop */
  margin-bottom: 0.35vw; /* ~5px for desktop */
  height: 0.07vw; /* ~1px for desktop (approximation for 1rem) */
}

.small-gap, .large-gap {
  display: flex;
}

.small-gap {
  gap: 0px 0.69vw; /* ~10px for desktop */
  align-items: center;
}

.large-gap {
  gap: 0px 0.69vw; /* ~10px for desktop */
}

.m {
  font-size: 2.22vw; /* ~32px for desktop */
  font-weight: 500;
}

.ixed-media, .price, .separator, .year {
  font-size: 0.83vw; /* ~12px for desktop */
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 7vw; /* ~90px for desktop */
  font-family: 'VT323', 'Courier New', Courier, monospace;
  color: rgba(0, 0, 0, 0.3); /* Makes the fill transparent */
  -webkit-text-stroke: 0.14vw #32FC00; /* ~2px for desktop */
  font-weight: 500;
  filter: drop-shadow(0.35vw 0.35vw 0 rgba(50, 252, 0, 0.3)); /* ~5px drop shadow for desktop */
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25vw; /* ~18px for desktop */
  font-weight: 200;
  line-height: 1.3;
  opacity: 0.8;
  margin-top: 0.7vw; /* ~10px for desktop */
  max-width: 26.94vw; /* ~388px for desktop */
}

.hero-footer {
  position: absolute;
  bottom: -10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: rgba(255, 255, 255, 1);
  font-size: 0.9vw; /* ~13px for desktop */
  font-weight: 200;
  opacity: 0.2;
  box-sizing: border-box;
}

.footer-item {
  display: flex;
  align-items: center;
  height: auto; /* Maintain aspect ratio */
}

/* Left-aligned items */
.footer-left {
  display: flex;
  align-items: center;
  gap: 1.39vw; /* ~20px for desktop */
  padding: 1vw 3.5vw; /* ~14px top/bottom, ~50px left/right for desktop */
}

.rating-box {
  border: 0.07vw solid rgba(255, 255, 255, 0.8); /* ~1px for desktop */
  padding: 0.2vw 0.5vw; /* ~3px top/bottom, ~7px left/right for desktop */
  font-size: 0.97vw; /* ~14px for desktop */
  font-weight: 500;
  display: inline-block;
}

.content-warning {
  font-size: 0.97vw; /* ~14px for desktop */
}

/* Icon Sizes */
.spatial-audio img {
  width: 8vw; /* ~115px for desktop */
}

.hd img {
  width: 2.57vw; /* ~37px for desktop */
}

/* Right-aligned items */
.footer-right {
  display: flex;
  align-items: center;
  gap: 1.39vw; /* ~20px for desktop */
  padding: 1vw 3.5vw; /* ~14px top/bottom, ~50px left/right for desktop */
}

.cc img {
  width: 2.43vw; /* ~35px for desktop */
}

.full-screen img {
  width: 2.64vw; /* ~38px for desktop */
}

.volume img {
  width: 2.43vw; /* ~35px for desktop */
}

.episodes-section {
  background-color: #131313;
  padding: 1.5vw 3.5vw; /* ~22px top/bottom, ~50px left/right for desktop */
  margin: 1.5vw 3.5vw; /* ~22px top/bottom, ~50px left/right for desktop */
  color: #ffffff;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.episodes-intro {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Align intro paragraph left and parental advisory right */
  width: 100%;
  opacity: 0.8;
}

.intro-paragraph {
  font-size: 1.11vw; /* ~16px for desktop */
  color: #bfbfbf;
  width: 72.014vw; /* ~1037px for desktop */
  margin-right: 1vw; /* ~14px for desktop */
  text-align: left;
  flex-shrink: 0; /* Prevents the paragraph from shrinking */
}

.parental-advisory-icon {
  width: 9.375vw; /* ~135px for desktop */
  height: auto;
  margin-left: 1vw; /* ~14px for desktop */
  flex-shrink: 0; /* Prevents the icon from shrinking */
}

/* Header with Episodes Title and Season Dropdown */
.episodes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5vw; /* ~22px for desktop */
  opacity: 0.8;
}

.episodes-title {
  font-size: 2vw; /* ~29px for desktop */
  font-weight: bold;
  letter-spacing: 0.1vw; /* ~1.4px for desktop */
}

.dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.season-dropdown {
  font-size: 1vw; /* ~14px for desktop */
  padding: 0.5vw 3.5vw 0.5vw 2.5vw; /* ~7px top/bottom, ~50px right, ~36px left for desktop */
  background-color: #1c1c1c;
  color: #ffffff;
  border: 0.1vw solid #ffffff; /* ~1.4px for desktop */
  appearance: none; /* Hide default dropdown arrow */
  cursor: pointer;
  width: 100%; /* Ensures full width */
}

.season-dropdown:focus {
  outline: none; /* Removes the blue focus border */
}

/* Disabled style for grayed-out seasons */
.disabled-option {
  color: #888888;
}

/* Custom dropdown arrow styling */
.dropdown-arrow {
  position: absolute;
  top: 50%;
  right: 1vw;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1vw;
  color: #ffffff;
}

.episode-list {
  display: flex;
  flex-direction: column;
  gap: 1.5vw;
  opacity: 0.8;
}

.first-episode-card {
  background-color: #262626; /* Solid gray background for first episode */
  padding: 1.5vw;
}

.episode-card {
  display: flex;
  align-items: center;
  padding: 1.5vw 0; /* Adjusted padding for episode spacing */
  gap: 2vw;
}

.episode-number {
  font-size: 2.083vw; /* Adjust as needed for the size of the episode number */
  color: #ffffff;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8vw; /* Width of the number box */
  height: 8vw; /* Height of the number box */
  text-align: center;
  margin-right: -2vw;
  opacity: 0.8;
}


.episode-info {
  flex: 1; /* Allows the episode info to take up available space */
  margin-right: 1vw;
  opacity: 0.8;
}

.community-requirement {
  display: flex;
  font-size: 0.972vw; 
  color: #ffffff;
  background-color: #333333;
  padding: 0.7vw 2.5vw;
  text-align: center;
  align-items: center;
  align-self: flex-start; /* Aligns the box at the top of the card */
  width: 10vw;
  height: 8.75vw;
  margin-right: 2vw;
  opacity: 0.6;
}

.episode-image-wrapper {
  position: relative;
  display: flex; /* Added */
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  width: 15vw;
  margin-right: 2vw;
}

.episode-image {
  display: block;
  width: 100%;
  height: auto;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 0.24vw; /* Adjust height for the bar thickness */
  background-color: rgba(255, 255, 255, 0.15); /* White with 20% opacity */
}

.progress-watched {
  height: 100%;
  background-color: #41B8B0; /* The watched indicator color */
  width: 10%; /* Set the watched percentage width */
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 1.81vw; /* ~26px for desktop */
  background-color: transparent;
  align-items: center;
  text-align: center;
  opacity: 0.50;
  padding: 0.5vw 1vw; /* ~7px top/bottom, ~14px left/right for desktop */
  border-radius: 0.5vw; /* ~7px for desktop */
  font-weight: bolder;
  line-height: 1;
}

.lock-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4.7vw; /* ~68px for desktop */
  height: auto;
  opacity: 0.9;
}

.episode-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Ensures proper alignment with wrapped content */
}

.episode-info h3 {
  font-size: 1.5vw; /* ~22px for desktop */
  margin: 0;
}

.episode-length {
  font-size: 1.2vw; /* ~17px for desktop */
  font-weight: 200;
  white-space: nowrap; /* Prevents the text from wrapping */
}

.episode-description {
  font-size: 1vw; /* ~14px for desktop */
  margin: 0.5vw 0 1vw; /* ~7px top, 0px sides, ~14px bottom for desktop */
  color: #bfbfbf;
}

.episode-divider.first-divider {
  display: none;
}

.episode-divider {
  height: 0.1vw; /* ~1px for desktop */
  background-color: rgba(255, 255, 255, 0.2);
}

.episode-divider.first {
  opacity: 0;
}

.episodes-gradient {
  position: absolute;
  height: 27.4vw; /* ~395px for desktop */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  pointer-events: none;
  padding: 3.5vw; /* ~50px padding on sides for desktop */
  bottom: 0.694vw; /* ~10px for desktop */
  left: 0.694vw;   /* ~10px for desktop */
  right: 0.694vw;  /* ~10px for desktop */
}

/* Content Section Styles */
.content-section {
  background-color: #131313;
  padding: 1.5vw 3.5vw; /* ~22px top/bottom, ~50px left/right for desktop */
  margin: 1.5vw 3.5vw; /* ~22px top/bottom, ~50px left/right for desktop */
  color: #ffffff;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.content-title {
  font-size: 2.5vw; /* ~36px for desktop */
  font-weight: bolder;
  margin-bottom: 0.21vw; /* ~3px for desktop */
  opacity: 0.6;
}

.content-subtitle {
  font-size: 1.25vw; /* ~18px for desktop */
  font-weight: 300;
  padding: 0px;
  margin: 0 0 1.38vw 0; /* ~20px bottom for desktop */
  opacity: 0.6;
}
.content-columns {
  display: flex;
  justify-content: space-around;
  margin-bottom: 0.35vw; /* ~5px for desktop */
  font-size: 1.25vw; /* ~18px for desktop */
  font-weight: 200;
  gap: 3vw; /* ~43px for desktop */
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.4);
}

.column {
  flex: 1;
}

.column-title {
  font-size: 1.53vw; /* ~22px for desktop */
  font-weight: bold;
  margin-bottom: 0.69vw; /* ~10px for desktop */
}

/* Footer Section Styles */
.page-footer-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 3.5vw 1.75vw 3.5vw; /* ~50px left/right, ~25px bottom for desktop */
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.25vw; /* ~18px for desktop */
  font-weight: 200; 
}

/* Adjust styles for all tablets and larger smartphones */
@media only screen and (max-width: 768px) {

  .navbar {
    justify-content: center;
    padding-top: 0.694vw; /* ~5px for mobile */
    height: 19.49vw; /* ~150px for mobile */
    z-index: 1000;
    background: linear-gradient(
      to bottom, 
      rgba(0, 0, 0, 0.8) 50%,  /* Solid black at the top */
      rgba(0, 0, 0, 0) 100%   /* Fully transparent at the bottom */
    );
  }

  .navbar-right {
    padding-right: 0;
  }

  .navbar-left {
    display: none;
  }

  .hero-section {
    justify-content: center;
    align-items: flex-end;
    margin-top: 10.15vw; /* ~79px for mobile */
  }

  .hero-image {
    height: 105.9vw; /* ~826px for mobile */
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0px;
    width: 100vw; /* ~390px for mobile */
    height: 15.90vw; /* ~124px for mobile */
  }

  .hero-title {
    position: absolute;
    padding: 0;
    font-size: 13.54vw; /* ~105px for mobile */
    text-align: center;
    bottom: 13.92vw; /* ~108px for mobile */
    -webkit-text-stroke: 0.24vw #32FC00; /* ~2px for mobile */
    filter: drop-shadow(0.75vw 0.65vw 0 rgba(50, 252, 0, 0.5)); /* ~6px by ~5px for mobile */
  }

  .hero-metadata {
    position: absolute;
    opacity: 0.80;
    bottom: 10.5vw; /* ~82px for mobile */
  }

  .m {
    font-size: 2.55vw; /* ~20px for mobile */
    font-weight: 500;
  }

  .ixed-media, .price, .separator, .year {
    font-size: 2.05vw; /* ~16px for mobile */
    font-weight: 300;
  }

  .hero-subtitle {
    position: absolute;
    bottom: 0;
    width: 60vw; /* ~234px for mobile */
    font-size: 2vw; /* ~16px for mobile */
    max-width: fit-content;
    opacity: 0.6;
    margin: 0;
  }

  .hero-footer,  .content-warning, .parental-advisory-icon {
    display: none;
  }

  .episodes-section {
    background-color: black;
    margin: 0 3.5vw; /* ~14px for mobile */
    opacity: 1;
  }

  .intro-paragraph {
    font-size: 3.08vw; /* ~24px for mobile */
    width: 85.54vw; /* ~334px for mobile */
    padding: 0;
    opacity: 0.8;
  }

  .dropdown-wrapper {
    display: none;
  }

  .first-episode-card {
    background-color: transparent;
  }

  .episode-card {
    display: block;
  }

  .episode-number, .community-requirement {
    display: none;
  }

  .overlay-text {
    font-size: 8.21vw; /* ~64px for mobile */
  }

  .episode-info h3, .episode-length {
    font-size: 3.08vw; /* ~24px for mobile */
    margin-bottom: 1.54vw; /* ~6px for mobile */
    font-weight: 500;
    opacity: 1;
  }

  .episode-info h3 {
    max-width: 80%;
  }

  .episode-info {
    margin: 3.59vw 0; /* ~14px for mobile */
    align-items: flex-start;
    opacity: 1;
  }

  .episode-description, .episodes-title {
    font-size: 3.08vw; /* ~24px for mobile */
  }

  .episode-description {
    opacity: 0.8;
  }

  .episode-image-wrapper, .progress-bar {
    width: 100%;
  }

  .episode-image-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.5);
  }

  .progress-bar {
    height: 0.60vw; /* ~5px for mobile */
  }

  .lock-icon {
    width: 17vw; /* ~66px for mobile */
  }

  .episode-divider.first-divider {
    display: block;
  }

  .episode-divider {
    background-color: rgba(255, 255, 255, 0.3);
    margin-bottom: 5.13vw; /* ~20px for mobile */
  }

  .content-section {
    background-color: transparent;
    margin: 0 3.5vw 1.5vw 3.5vw; /* ~14px left/right, ~6px bottom for mobile */
    padding: 7vw 3.5vw 1.5vw 3.5vw; /* ~27px top, ~14px left/right, ~6px bottom for mobile */
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .content-title {
    font-size: 6.16vw; /* ~24px for mobile */
    margin-top: 0;
    opacity: 0.8;
  }

  .content-subtitle {
    margin-bottom: 6.5vw; /* ~25px for mobile */
  }

  .content-subtitle, .column-title, .content-columns {
    font-size: 3.08vw; /* ~12px for mobile */
  }

  .content-columns {
    color: white;
  }

  .column-title {
    opacity: 0.8;
  }

  .column {
    margin-top: 13vw; /* ~50px for mobile */
    }

   .column p {
    opacity: 0.6;
   } 

  .content-columns .column:nth-child(1) {
    margin-top: 0;
  }

  .content-columns {
    display: block;
  }

  .episodes-gradient {
    display: none;
  }

  .logo-image {
    height: 6vw; /* ~23px for mobile */
  }

  .page-footer-section {
    font-size: 3.08vw; /* ~12px for mobile */
    margin: 0 7vw 3vw 7vw; /* ~27px left/right, ~12px bottom for mobile */
  }

}
