* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background: #000; color: #fff; overflow-x: hidden; }

.hero { position: relative; width: 100%; min-height: 85vh; display: flex; flex-direction: column; overflow: hidden; }

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('heroimage.jpg');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1; }

.hero-top-fade {
  position: absolute; top: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.72) 0%, transparent 100%);
  z-index: 2;
}

.hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to bottom, transparent 0%, #141414 100%);
  z-index: 2;
}

.glow-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent 0%, #b20710 20%, #e50914 40%, #ff4d78 65%, transparent 100%);
  z-index: 3;
}

/* NAVBAR */
.navbar {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 4%;
}

.netflix-logo {
  color: #e50914;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1px;
  text-shadow: 0 2px 16px rgba(229,9,20,0.5);
  user-select: none;
  text-transform: uppercase;
}

.sign-in-btn {
  background: #e50914;
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.sign-in-btn:hover { background: #f6121d; }

/* HERO CONTENT */
.hero-content {
  position: relative; z-index: 5; flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 20px 120px;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  max-width: 680px;
  margin-bottom: 18px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.9);
  animation: fadeUp 0.7s ease both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 10px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.9);
  animation: fadeUp 0.7s 0.15s ease both;
}

.hero-desc {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: #e5e5e5;
  margin-bottom: 30px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.9);
  animation: fadeUp 0.7s 0.25s ease both;
}

/* EMAIL FORM */
.email-form {
  display: flex;
  max-width: 580px;
  width: 100%;
  animation: fadeUp 0.7s 0.35s ease both;
}

.email-input {
  flex: 1;
  padding: 18px 20px;
  font-size: 1rem;
  background: rgba(20,20,20,0.82);
  border: 1px solid #7a7a7a;
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.email-input::placeholder { color: #999; }
.email-input:focus { border-color: #ccc; }

.get-started-btn {
  background: #e50914;
  color: #fff;
  border: none;
  padding: 18px 26px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.2s;
}
.get-started-btn:hover { background: #f6121d; }
.get-started-btn .arrow { font-size: 1.4rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .email-form { flex-direction: column; }
  .email-input {
    border-right: 1px solid #7a7a7a;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
  }
  .get-started-btn { border-radius: 0 0 4px 4px; justify-content: center; }
}

/* ── CURVE DIVIDER ── */
.curve-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #141414;
  margin-top: -2px;
}
.curve-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

.curve-shape {
  position: absolute;
  top: 0;
  left: -5%;
  width: 110%;
  height: 200%;
  background: #141414;
  border-radius: 0 0 50% 50%;
}

.curve-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: none;
  border-bottom: none;
  overflow: hidden;
}

.curve-glow::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -5%;
  width: 110%;
  height: 200%;
  border-radius: 0 0 50% 50%;
  border-bottom: 3px solid transparent;
  box-shadow: 0 4px 8px 0px #e50914;
  filter: blur(2px);
}
 
/* ── TRENDING SECTION ── */
.trending-section {
  background: #141414;
  padding: 40px 0 50px;
  position: relative;
}
.trending-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
}
 
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e5e5e5;
  padding: 0 4%;
  margin-bottom: 20px;
}
 
/* Slider */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 4%;
}
 
.cards-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0 20px;
  flex: 1;
}
.cards-track::-webkit-scrollbar { display: none; }
 
/* Each card */
.card-item {
  position: relative;
  flex: 0 0 220px;
  display: flex;
  align-items: flex-end;
}
 
.rank {
  font-size: 7rem;
  font-weight: 900;
  color: #141414;
  -webkit-text-stroke: 3px #555;
  line-height: 1;
  margin-right: -18px;
  z-index: 2;
  user-select: none;
  flex-shrink: 0;
}
 
.card-poster {
  position: relative;
  width: 160px;
  height: 220px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
}
 
.card-poster:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 30px rgba(0,0,0,0.8);
  z-index: 10;
}
 
.n-badge {
  color: #e50914;
  font-size: 1rem;
  font-weight: 900;
  font-style: italic;
  align-self: flex-start;
}
 
.poster-label {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
 
/* Slider buttons */
.slider-btn {
  background: rgba(20,20,20,0.7);
  border: 1px solid #444;
  color: #fff;
  font-size: 2rem;
  width: 40px;
  height: 80px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  z-index: 5;
}
.slider-btn:hover { background: rgba(60,60,60,0.9); }
.prev-btn { margin-right: 8px; }
.next-btn { margin-left: 8px; }
 
/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .card-item { flex: 0 0 160px; }
  .card-poster { width: 120px; height: 170px; }
  .rank { font-size: 5rem; margin-right: -14px; }
  .slider-btn { display: none; }
}
/* MORE REASONS TO JOIN */
.reasons-section {
  background: #000;
  padding: 60px 4%;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.reason-card {
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 12px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  transition: transform 0.25s;
}
.reason-card:hover { transform: translateY(-4px); }

.reason-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
}

.reason-desc {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.reason-icon {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.reason-icon svg { width: 64px; height: 64px; color: #c084fc; }
.reason-icon--download svg { color: #e879f9; }
.reason-icon--watch svg    { color: #a78bfa; }
.reason-icon--kids svg     { color: #f472b6; }

@media (max-width: 1024px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .reason-title { font-size: 1.2rem; }
}

/* FAQ SECTION */
.faq-section {
  background: #000;
  padding: 60px 4%;
}

.faq-list {
  margin-top: 24px;
  padding-right: 40px;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
}

.faq-item {
  background: #2d2d2d;
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: #2d2d2d;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
  gap: 16px;
}
.faq-question:hover { background: #404040; }

.faq-icon {
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #2d2d2d;
}

.faq-answer p {
  padding: 4px 28px 28px;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.7;
  border-top: 2px solid #000;
  padding-top: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .faq-question { font-size: 1rem; padding: 18px 20px; }
  .faq-answer p { font-size: 0.95rem; padding: 16px 20px 20px; }
  .faq-icon { font-size: 1.6rem; }
}

/* FOOTER */
.footer {
  background: #000;
  padding: 40px 9% 60px;
  color: #737373;
}

.footer-cta {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-cta-text {
  font-size: 1rem;
  color: 
rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-links {
  margin-top: 40px;
  margin-bottom: 40px;
}

.footer-links a {
  color: 
rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  text-decoration: underline;
}
.footer-links a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 40px;
}
.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 32px;
}

.footer-grid a {
  color: 
rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-decoration: underline;
}
.footer-grid a:hover { color: #fff; }

.footer-lang { margin-bottom: 24px; }

.lang-select {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 36px 10px 40px;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23737373' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zM2.04 7H4a12.5 12.5 0 0 1 1.8-5.4A6 6 0 0 0 2.04 7zM8 1c-.17 0-.66.55-1.1 1.57A10.6 10.6 0 0 0 5.06 7h5.88A10.6 10.6 0 0 0 9.1 2.57C8.66 1.55 8.17 1 8 1zM5.06 9a10.6 10.6 0 0 0 1.84 4.43C7.34 14.45 7.83 15 8 15c.17 0 .66-.55 1.1-1.57A10.6 10.6 0 0 0 10.94 9H5.06zM12 7h1.96a6 6 0 0 0-3.76-5.4A12.5 12.5 0 0 1 12 7zm1.96 2H12a12.5 12.5 0 0 1-1.8 5.4A6 6 0 0 0 13.96 9zM4 9a12.5 12.5 0 0 1-1.8-2zM2.04 9A6 6 0 0 0 5.8 14.4 12.5 12.5 0 0 1 4 9H2.04z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%23737373' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: left 12px center, right 12px center;
  appearance: none;
  -webkit-appearance: none;
}
.lang-select:hover { border-color: #fff; color: #fff; }

.footer-region {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-recaptcha {
  font-size: 0.8rem;
  color: #737373;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cta .email-form { flex-direction: column; }
  .footer-cta .email-input {
    border-right: 1px solid #7a7a7a;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
  }
  .footer-cta .get-started-btn { border-radius: 0 0 4px 4px; justify-content: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
