/* GLOBAL */
body {
  margin: 0;
  background: #000;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  padding-left: 160px;
  padding-right: 160px;
  overflow-x: hidden;
}

/* NAVBAR BACKGROUND (full bleed, ignores body padding) */
.navbar-bg {
  background: #121212;

  /* FULL WIDTH FIX */
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* NAVBAR INNER (max width + same padding as body) */
.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-left: 160px;
  padding-right: 160px;
}

/* LEFT SIDE */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.logo {
  background: #f5c518;
  color: black;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 22px;
  text-decoration: none;
}

/* MENU BUTTON */
.menu-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #121212;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.menu-btn:hover {
  background-color: #252525;
}

.search-area {
  position: relative;
  flex: 1;
  max-width: 760px;
}

.search-wrapper {
  display: flex;
  background: white;
  border-radius: 4px;
  overflow: hidden;
  height: 30px;
  min-width: 3.5rem;
  border: 3px solid transparent;
  position: relative;
  z-index: 30;
}

.search-wrapper:focus-within {
  border-color: #f5c518;
}

.search-category {
  border: none;
  border-right: 1px solid #ccc;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 700;
  width: 74px;
  cursor: pointer;
  background: white;
  transition: all 0.2s ease;
}

.search-category:hover {
  background-color: #ededed;
}

.search-input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0 12px;
  font-size: 15px;
  outline: none;
}

.search-icon {
  background: #ffffff;
  border: none;
  padding: 0 16px;
  cursor: pointer;
  font-size: 20px;
  color: #666;
}

.search-dropdown {
  display: none;
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  z-index: 25;
  background: #1f1f1f;
  border-radius: 0 0 6px 6px;
  padding: 18px 0 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.65);
}

.search-area:focus-within .search-dropdown {
  display: block;
}

.search-dropdown h3 {
  margin: 0 22px 20px;
  color: #f5c518;
  font-size: 18px;
  font-weight: 800;
}

.search-suggestion {
  height: 34px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #f1f1f1;
  text-decoration: none;
  cursor: pointer;
  font-size: 18px;
  
}

.search-suggestion:hover {
  background: #2b2b2b;
}

.search-suggestion i {
  width: 20px;
  height: 20px;
  border: 3px solid #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* RIGHT SIDE */
.nav-right {
  display: flex;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background-color: #252525;
}

.pro {
  color: #00a7ff;
}

.sign-in {
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.sign-in:hover {
  background-color: #252525;
}

/* VERTICAL DIVIDER */
.divider {
  width: 2px;
  height: 80%;
  background: #444;
  border-radius: 2px;
}

/* CONTENT (uses body padding) */
.content {
  margin-top: 30px;
  background: #111;
  padding: 30px;
  border-radius: 8px;
  color: white;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  body {
    padding-left: 80px;
    padding-right: 80px;
  }
  .navbar-inner {
    padding-left: 80px;
    padding-right: 80px;
  }
  .search-wrapper {
    width: 350px;
  }
}

@media (max-width: 800px) {
  body {
    padding-left: 40px;
    padding-right: 40px;
  }
  .navbar-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  .search-wrapper {
    width: 260px;
  }
}

@media (max-width: 600px) {
  body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar-inner {
    padding-left: 20px;
    padding-right: 20px;
    flex-wrap: wrap;
    height: auto;
    gap: 10px;
  }

  .nav-left,
  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .search-wrapper {
    width: 100%;
  }
}
.hero-section {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  margin-top: 16px;
  border-bottom: 1px solid #222;
  padding-bottom: 18px;
}

.hero-main {
  position: relative;
  height: 488px;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}

#hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.65) 25%, transparent 65%);
}

.hero-arrow {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 44px;
  height: 64px;
  background: rgba(0,0,0,0.35);
  color: white;
  border: 1px solid #777;
  border-radius: 4px;
  font-size: 28px;
  cursor: pointer;
}

.hero-arrow.left { left: 0; }
.hero-arrow.right { right: 0; }

.hero-bottom {
  position: absolute;
  z-index: 4;
  left: 18px;
  right: 24px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: white;
}

.hero-poster {
  position: relative;
  width: 140px;
  height: 205px;
  border-radius: 8px;
  overflow: hidden;
  background: #222;
  flex-shrink: 0;
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-plus {
  position: absolute;
  z-index: 5;
  top: 8px;
  left: 10px;
  font-size: 32px;
  color: white;
}

.hero-play {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  background: transparent;
  color: white;
  font-size: 54px;
  cursor: pointer;
  border: none;
}

.hero-play:hover {
  color: #f5c518;
}

.hero-text h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 400;
}

.hero-text p {
  margin: 4px 0;
  color: #bbb;
  font-size: 18px;
}

.hero-stats {
  color: #aaa;
  font-size: 13px;
  display: flex;
  gap: 10px;
}

.hero-duration {
  margin-left: auto;
  font-size: 20px;
  color: #ccc;
}

.up-next {
  color: white;
}

.up-next h3 {
  color: #f5c518;
  margin: 4px 0 20px;
  font-size: 18px;
}

.next-item {
  display: grid;
  grid-template-columns: 76px 38px 1fr;
  gap: 12px;
  margin-bottom: 18px;
  align-items: center;
}

.next-item img {
  width: 76px;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
  background: #222;
}

.next-item button {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid white;
  color: white;
  cursor: pointer;
  border: none;
}

.next-item button:hover {
  color: #f5c518;
}

.next-item h4 {
  margin: 5px 0 2px;
  font-size: 15px;
  font-weight: 500;
}

.next-item p,
.next-item span {
  margin: 0;
  color: #bbb;
  font-size: 14px;
}

.browse-trailers {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .up-next {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-main {
    height: 420px;
  }

  .hero-poster {
    width: 95px;
    height: 145px;
  }

  .hero-text h2 {
    font-size: 20px;
  }

  .hero-duration {
    display: none;
  }
}

.hero-likes {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #bdbdbd;
}

.hero-like-icon {
  opacity: 0.9;
}

.featured-section {
  margin-top: 34px;
}

.section-title {
  color: #f5c518;
  font-size: 28px;
  margin: 0 0 22px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 350px);
  gap: 28px;
}

.featured-card {
  color: white;
}

.featured-image {
  width: 350px;
  height: 195px;
  border-radius: 8px;
  overflow: hidden;
  background: #222;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card h3 {
  font-size: 16px;
  margin: 12px 0 10px;
}

.featured-card a {
  color: #5799ef;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.popular-celebs-section {
  margin-top: 42px;
}

.white-section-title {
  color: white;
  font-size: 23px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}

.white-section-title span {
  width: 4px;
  height: 24px;
  background: #f5c518;
  border-radius: 3px;
}

.celeb-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.celeb-card {
  text-align: center;
  color: white;
  position: relative;
}

.celeb-label {
  text-align: left;
  color: #f5c518;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 0 12px;
}

.invisible {
  visibility: hidden;
}

.celeb-img-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #333;
}

.celeb-img-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.celeb-img-wrap button {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #333;
  background: #000;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.celeb-card h3 {
  margin: 0;
  font-size: 15px;
}

.celeb-card h3 span {
  color: #67ad4b;
  font-size: 13px;
}

.celeb-card p:last-child {
  margin: 2px 0 0;
  font-size: 15px;
}

.placeholder-person {
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-person i {
  font-size: 80px;
  color: #555;
}

.watch-section {
  margin-top: 42px;
  padding-bottom: 60px;
  display: block;
}

.watch-link {
  color: #5799ef;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-image {
    width: 100%;
  }

  .celeb-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .celeb-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .celeb-img-wrap {
    width: 120px;
    height: 120px;
  }

  .watch-section {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
.watch-section {
  margin-top: 42px;
  padding-bottom: 60px;
}

.watch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.watch-subtitle {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 23px;
}

.watch-subtitle span {
  width: 4px;
  height: 24px;
  border-radius: 3px;
  background: #f5c518;
}

.watchlist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 42px;
  text-align: center;
  color: white;
}

.watchlist-icon {
  width: 38px;
  height: 38px;
  background: #242424;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
}

.watchlist-empty h4 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.watchlist-empty p {
  margin-top: 10px;
  color: #adadad;
  font-size: 16px;
}

.watch-signin-btn {
  margin-top: 26px;
  background: #121826;
  color: #5799ef;
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.watch-signin-btn:hover {
  background: #1b2437;
}

@media (max-width: 700px) {
  .watch-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .watchlist-empty h4 {
    font-size: 22px;
  }

  .watchlist-empty p {
    font-size: 14px;
  }
}
.top10-section {
  margin-top: 46px;
  padding-bottom: 70px;
}

.top10-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.top10-card.big {
  background: #2f2f2f;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 300px;
  color: white;
}

.top10-poster-wrap {
  position: relative;
  height: 100%;
  min-height: 300px;
  background: #222;
}

.top10-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #1677d2;
  color: white;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 0 0 0 5px;
  z-index: 4;
}

.poster-save {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 34px;
  height: 42px;
  border: none;
  background: rgba(35, 35, 35, 0.85);
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.top10-info {
  padding: 16px 14px;
}

.top10-info h3 {
  margin: 0 0 22px;
  font-size: 16px;
}

.top10-info .meta {
  margin: 0 0 8px;
  color: #b8b8b8;
  font-weight: 600;
  font-size: 14px;
}

.rating {
  color: #d0d0d0;
  font-size: 14px;
}

.rating span {
  color: #f5c518;
}

.rating a,
.watched {
  color: #5799ef;
}

.watched {
  font-size: 14px;
  margin: 10px 0 20px;
}

.description {
  color: #c7c7c7;
  line-height: 1.4;
  font-size: 14px;
  margin: 0;
}

.top10-small-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.top10-small-card {
  position: relative;
  height: 230px;
  border-radius: 4px;
  overflow: hidden;
  background: #222;
}

.top10-small-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top10-small-card .rank-badge {
  left: 0;
  right: auto;
  border-radius: 0 0 5px 0;
}

@media (max-width: 1200px) {
  .top10-featured-grid {
    grid-template-columns: 1fr;
  }

  .top10-card.big {
    grid-template-columns: 160px 1fr;
  }

  .top10-small-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 650px) {
  .top10-card.big {
    grid-template-columns: 120px 1fr;
    min-height: 220px;
  }

  .top10-poster-wrap {
    min-height: 220px;
  }

  .description {
    display: none;
  }

  .top10-small-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: #1f1f1f;
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}

.menu-overlay.active {
  transform: translateY(0);
}

.menu-overlay-inner {
  padding: 24px 250px 60px;
}

.menu-overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.menu-close-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #f5c518;
  color: #000;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px 80px;
  width: 100%;
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.menu-column h3 {
  margin: 0 0 2px;
  color: white;
  font-size: 21px;
}

.menu-column h3 i {
  color: #f5c518;
  margin-right: 8px;
  font-size: 16px;
}

.menu-column a {
  color: #e2e2e2;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
}

.menu-column a:hover {
  text-decoration: underline;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1400px) {
  .menu-overlay-inner {
    padding-left: 120px;
    padding-right: 120px;
  }
}

@media (max-width: 1000px) {
  .menu-overlay-inner {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 800px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 600px) {
  .menu-overlay-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}