* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Header Styles */
.header-section {
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.logo {
  font-size: 2.75rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0;
}

.menu-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.menu-btn:hover {
  opacity: 0.8;
}

.menu-icon {
  width: 40px;
  height: 40px;
}

.menu-text {
  font-size: 2rem;
  font-weight: 500;
  color: #000000;
}

/* Hero Section */
.hero-section {
  padding: 3rem 0;
  background-color: #ffffff;
}

.phone-preview-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.phone-preview {
  max-width: 85%;
  width: 100%;
  margin: 0 auto;
   position: relative;
    overflow: hidden;
    cursor: pointer;
}
.phone-preview:hover .content-item-play {
    opacity: 1;
}
.phone-preview:hover img {
    transform: scale(1.05);
}
.phone-preview img {
  width: 100%;
  height: 80vh;
}

.nav-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.nav-btn:hover {
  transform: scale(1.1);
}

.nav-btn img {
  width: 40px;
  height: 40px;
}

.nav-btn-up {
  position: absolute;
  top: -7%;
  left: 0%;
}
.nav-btn-back {
  position: absolute;
  top: -6%;
  right: 0%;
}
.nav-btn-prev{
    position: absolute;
    left: 0%;
}
.nav-btn-next{
    position: absolute;
    right: 0%;
}
.phone-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

/* Content Details */
.content-details {
  position: relative;
}

.content-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: -2.2px;
  margin-bottom: 2rem;
}
.content-details-title{
    display: none !important;
}
.content-card {
  background-color: #ebebeb;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.content-thumbnail {
  overflow: hidden;
}

.content-thumbnail img {
  width: 100%;
  height: 90%;
  object-fit: cover;
}

.content-description {
  font-size: 1.5rem;
  font-weight: 400;
  color: #000000;
  line-height: 1.6;
  margin-top: 7%;
}

/* Episode Section */
.episode-label {
  font-size: 1.25rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 0.75rem;
}

.episode-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.episode-btn {
  background-color: #ebebeb;
  border: 1px solid #ffffff;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  outline-offset: -6px;
  outline: 1px white solid;
}

.episode-btn:hover {
  background-color: #d0d0d0;
}

.episode-btn.active {
  background-color: #000000;
  color: #ffffff;
  /* outline-offset: -6px;
  outline: 1px white solid; */
}

.episode-icon {
  width: 24px;
  height: 24px;
}

/* Purchase Button */
.purchase-btn {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 0.7rem 1.25rem;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  outline-offset: -6px;
  outline: 1px white solid;
  margin-top: 10% !important;
}

.purchase-btn:hover {
  background-color: #333333;
  color: #ffffff;
}

/* More Content Section */
.more-content-section {
  padding: 4rem 0;
  background-color: #ffffff;
  margin: 0rem 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 2rem;
}

.content-item {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  position: relative;
    overflow: hidden;
    cursor: pointer;
}

.content-item-image {
  aspect-ratio: 0.8;
  overflow: hidden;
}

.content-item-image img {
  width: 100%;
  height: 100%;
  transition: transform .35s ease;
  object-fit: cover;
}
.content-item:hover img {
    transform: scale(1.05);
}
/* Play icon center position */
.content-item-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none; /* prevents blocking hover */
}

/* Show on hover */
.content-item:hover .content-item-play {
    opacity: 1;
} 
.content-item-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #000000;
  margin: 0;
}
.nav-btn-up img{
    transform: rotate(90deg);
}
.nav-btn-back img{
    transform: rotate(180deg);
}
.nav-btn-next img{
    transform: rotate(270deg);
}
/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .phone-preview-div{
        margin: 0%;
        padding: 0%;
    }
    .phone-preview{
        width: 92% !important;
        max-width: 93% !important;
    }
  .logo {
    font-size: 2rem;
    height: 18px;
  }
  .nav-btn img {
  width: 20px;  
  height: 20px;
  scale: 1;
}
  .nav-btn-up {
    position: absolute;
    top: -4%;
    left: -3%;
}
.nav-btn-back {
    position: absolute;
    top: -4%;
    right: -3%;
}
.nav-btn-prev {
    position: absolute;
    left: -3%;
}
.nav-btn-next {
    position: absolute;
    right: -3%;
}
.nav-btn-up img{
    transform: rotate(90deg);
}
.nav-btn-back img{
    transform: rotate(180deg);
}
.nav-btn-next img{
    transform: rotate(270deg);
}
.phone-controls {
    position: absolute;
    bottom: 5px;
}
  .content-title {
    font-size: 2rem;
    letter-spacing: -1.5px;
  }
  
  .content-description {
    font-size: 1.125rem;
  }
  
  .purchase-btn {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 1.5rem;
      margin-bottom: 1rem;
      color: white;
padding-top: 1rem;
  }
  .content-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

  .content-item-title {
    font-size: 1.125rem;
    color: white;
  }
  .content-div{
    display: flex;
    flex-wrap: nowrap;
  }
}

@media (max-width: 767.98px) {
  .logo {
    font-size: 1.5rem;
  }
  
  .menu-icon {
    width: 32px;
    height: 32px;
  }
  
  .content-title {
    font-size: 1.75rem;
  }
  
  .content-card {
    padding: 1rem 1rem;
    margin: 12px -10px;
  }
  
  .content-description {
    font-size: 0.8rem;
    line-height: 1rem;
    margin: 0;
  }
  .episode-section{
    top: -45%;
    position: absolute;
    justify-self: anchor-center;
  }
  .episode-btn {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
  .more-content-section {
    padding: 0rem 0 !important;
    background-color: #000000;
    margin-left: 0% !important;
    margin-right: 0% !important;
    padding-bottom: 2rem !important;
}
  .purchase-btn {
            font-size: 1rem;
        padding: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 2rem 0;
  }
  .menu-btn-series{
    top: 1.5%;
  }
  .phone-preview-wrapper {
    min-height: 400px;
  }
  
  .content-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.25rem; 
    color: white;
      margin-bottom: 1rem;
      padding-top: 1rem;
  }
  
  .content-item-title {
    font-size: 1rem;
    color: wheat;
  }
}

/* Focus Styles for Accessibility */
button:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: none;
}

