* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #000;
  color: #fff;
}

.netflix-header {
  position: relative;
  z-index: 2;
  height: 10%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.netflix-header img {
  width: 150px;
}

.netflix-header-form select {
  padding: 5px 15px;
  background-color: rgba(2, 2, 5, 0.6);
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  margin-right: 10px;
}

.netflix-header-form select option {
  background: #fff;
  color: #000;
}

.netflix-header-form button {
  font-size: 15px;
  padding: 7px 15px;
  background-color: #e50914;
  color: #fff;
  border: none;
  border-radius: 5px;
  outline: none;
  font-weight: 600;
}

/* HERO WRAPPER */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* SKEWED POSTER GRID */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../../../images/ui/netflix/images/bg/netflix-bg.jpg");
  background-size: cover;
  background-position: center;
  transform: rotate(0deg) scale(1);
  filter: brightness(1);
}

/* DARK OVERLAYS */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero::before {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.4)
  );
}

.hero::after {
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 1)
  );
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  height: 80%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.7rem;
  font-weight: 800;
  line-height: 1.3;
}

.sub {
  font-size: 1.4rem;
  margin: 30px 0 30px;
  font-weight: 600;
}

.small {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* FORM */
.form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.form input {
  padding: 16px;
  width: 450px;
  max-width: 100%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #555;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
}

.form button {
  background: #e50914;
  border: none;
  padding: 12px 28px;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  border-radius: 5px;
}

/* trending */
.container {
  max-width: 1300px;
  margin: auto;
  padding-top: 60px;
  background: #000;
}
.container h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
}

.trending-row {
  padding: 0 20px;
  display: flex;
  gap: 40px;

  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;

  padding-bottom: 14px;
  scroll-behavior: smooth;
}

/* Chrome / Edge */
.trending-row::-webkit-scrollbar {
  height: 8px;
}

/* default hidden */
.trending-row::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
}

/* 👇 HOVER par scrollbar dikhe */
.trending-row:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
}

.trend-card {
  position: relative;
  min-width: 220px;
  flex-shrink: 0;
}

.trend-card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.trend-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* BIG RANK NUMBER */
.rank {
  position: absolute;
  left: -18px;
  bottom: -20px;
  font-size: 120px;
  font-weight: 900;
  color: black;
  -webkit-text-stroke: 3px #999;
  z-index: 1;
}

/* reason */
.reason-row {
  display: flex;
  gap: 20px;
}

/* CARD */
.reason-card {
  flex: 1;
  background: linear-gradient(180deg, #1b1f4a 0%, #160f1f 70%);
  border-radius: 15px;
  padding: 26px;
  min-height: 260px;
  position: relative;
}

/* TEXT */
.reason-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.reason-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #cfcfcf;
  max-width: 90%;
}

/* ICON */
.reason-card .icon {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 70px;
}

/* faqs */
.faq {
  background: #000;
  padding: 70px 60px;
  color: #fff;
}

.faq h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

.faq-list {
  max-width: 100%;
}

.faq-item {
  margin-bottom: 10px;
  background: #2d2d2d;
}

.faq-item input {
  display: none;
}

/* QUESTION BAR */
.faq-item label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  font-size: 22px;
  cursor: pointer;
}

.faq-item label:hover {
  background: #3a3a3a;
}

/* ICON */
.faq-item .icon {
  font-size: 32px;
  transition: transform 0.3s ease;
}

/* ANSWER */
.faq-content {
  max-height: 0;
  overflow: hidden;
  background: #2d2d2d;
  transition: max-height 0.4s ease;
}

.faq-content p {
  padding: 20px 26px;
  font-size: 18px;
  line-height: 1.5;
  color: #ddd;
}

/* OPEN STATE */
.faq-item input:checked ~ .faq-content {
  max-height: 500px;
  border-top: 1px solid #000;
}

.faq-item input:checked + label .icon {
  transform: rotate(45deg);
}

/* EMAIL CTA */
.footer-cta {
  background: #000;
  padding: 60px 20px 30px;
  text-align: center;
  color: #fff;
}

.cta-text {
  font-size: 18px;
  margin-bottom: 18px;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cta-form input {
  width: 380px;
  max-width: 100%;
  padding: 16px;
  background: #111;
  border: 1px solid #444;
  color: #fff;
  font-size: 16px;
  border-radius: 4px;
}

.cta-form button {
  background: #e50914;
  color: #fff;
  border: none;
  padding: 16px 26px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* FOOTER */
.footer {
  background: #000;
  padding: 50px 60px;
  color: #b3b3b3;
  font-size: 14px;
}

.footer-call {
  margin-bottom: 30px;
}

.footer-call a {
  color: #b3b3b3;
}

/* LINKS GRID */
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #b3b3b3;
  text-decoration: underline;
}

/* LANGUAGE */
.footer-lang select {
  color: #fff;
  margin-bottom: 20px;
}

/* COUNTRY */
.footer-country {
  margin-bottom: 20px;
}

/* NOTE */
.footer-note {
  font-size: 13px;
  color: #777;
}

.footer-note a {
  color: #0071eb;
}

/* RESPONSIVE */
@media (max-width: 1350px) {
  .container {
    margin: 0 20px;
  }
}

@media (max-width: 1024px) {
  .reason-row {
    flex-wrap: wrap;
  }

  .reason-card {
    flex: 1 1 calc(50% - 18px);
  }

  .container {
    margin: 0 20px;
  }
}

@media (max-width: 768px) {
  /* HEADER */
  .netflix-header {
    padding: 15px 20px;
  }

  .netflix-header img {
    width: 110px;
  }

  .netflix-header-form select,
  .netflix-header-form button {
    font-size: 13px;
    padding: 6px 10px;
  }

  /* HERO WRAPPER */
  .hero {
    position: relative;
    max-height: 500px;
    overflow: hidden;
  }

  /* SKEWED POSTER GRID */
  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/bg/netflix-bg.jpg");
    background-size: cover;
    background-position: center;
    transform: rotate(0deg) scale(1);
    filter: brightness(1);
  }

  /* HERO */
  .hero-content {
    height: auto;
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
    line-height: 1.2;
  }

  .sub {
    font-size: 1.1rem;
    margin: 20px 0;
  }

  .small {
    font-size: 0.95rem;
  }

  .form input {
    width: 100%;
  }

  .form button {
    width: 100%;
    font-size: 18px;
  }

  /* CONTAINER */

  .container h2 {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
    .netflix-header{
        height: 15%;
    }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .container {
    max-width: 1300px;
    margin: auto;
    padding-top: 25px;
    background: #000;
    margin: 0 20px;
  }
  .container h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
  }

  .trending-row {
    padding: 0 20px;
    display: flex;
    gap: 15px;

    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 14px;
    scroll-behavior: smooth;
  }

  /* Chrome / Edge */
  .trending-row::-webkit-scrollbar {
    height: 8px;
  }

  /* default hidden */
  .trending-row::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
  }

  /* 👇 HOVER par scrollbar dikhe */
  .trending-row:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
  }

  .trend-card {
    position: relative;
    min-width: 100px;
    height: 150px;
    flex-shrink: 0;
  }

  .trend-card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  .trend-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
  }

  /* BIG RANK NUMBER */
  .rank {
    position: absolute;
    left: -10px;
    bottom: 0px;
    font-size: 60px;
    font-weight: 900;
    color: black;
    -webkit-text-stroke: 3px #ffffff;
    z-index: 1;
  }

  /* reason */
  .reason-row {
    display: flex;
    gap: 20px;
  }

  /* CARD */
  .reason-card {
    flex: 1;
    background: linear-gradient(180deg, #1b1f4a 0%, #160f1f 70%);
    border-radius: 15px;
    padding: 20px;
    min-height: 240px;
    position: relative;
  }

  /* TEXT */
  .reason-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
  }

  .reason-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #cfcfcf;
    max-width: 90%;
  }

  /* ICON */
  .reason-card .icon {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 60px;
  }

  .reason-card {
    flex: 1 1 100%;
  }

  /* footer */
  .footer {
    padding: 25px 30px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-bottom: 30px;
  }
}
