* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/*Hide the scrollbar*/
::-webkit-scrollbar {
  display: none;
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  color: white;
  background: #000;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/assets/netflix_login_background.jpg) no-repeat center
    center/cover;
  z-index: -1;
}

/* Header */
header {
  width: 100%;
  height: 70px;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4%;
  z-index: 999;
  transition: background-color 0.3s ease;
  border-radius: 5px;
  padding-top: 2.7rem;
}

.logo {
  text-decoration: none;
  position: relative;
  padding: 0 10px;
}

.logo img {
  height: 9rem;
  width: auto;
  display: block;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e50914;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.sign-in {
  background: #e50914;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
  min-width: 100px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sign-in i {
  font-size: 18px;
}

.sign-in:hover {
  background: transparent;
  transform: scale(1.05);
  box-shadow: 0 0 15px 0 rgba(255, 255, 255, 0.5);
}

.nav-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.movies-btn {
  background: #e50914;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
  min-width: 100px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.movies-btn i {
  font-size: 18px;
}

.movies-btn:hover {
  background: transparent;
  transform: scale(1.05);
  box-shadow: 0 0 15px 0 rgba(255, 255, 255, 0.5);
}

.about-btn {
  background: #e50914;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: button;
  transition: all 0.3s ease;
  border-radius: 5px;
  min-width: 100px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.about-btn i {
  font-size: 18px;
}

.about-btn:hover {
  background: transparent;
  transform: scale(1.05);
  box-shadow: 0 0 15px 0 rgba(255, 255, 255, 0.5);
}

.tv-shows-btn {
  background: #e50914;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
  min-width: 100px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tv-shows-btn i {
  font-size: 18px;
}

.tv-shows-btn:hover {
  background: transparent;
  transform: scale(1.05);
  box-shadow: 0 0 15px 0 rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 20px 20px;
}

.content h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 30px;
}

.content p {
  font-size: 1.2rem;
  margin: 10px 0;
  font-weight: 600;
}

.email-box {
  margin-top: 30px;
}

.email-box input {
  padding: 10px;
  width: 330px;
  border: none;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  height: 60px;
  border-radius: 5px;
}

.get-started {
  background: #e50914;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  height: 60px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.get-started:hover {
  background: #f40612;
  transform: scale(1.05);
}

/* Sign In Page */
.signin-container {
  background: transparent;
  padding: 60px 68px 40px;
  border-radius: 20px;
  min-height: 660px;
  width: 450px;
  margin: 0 auto;
  box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.5);
}

.signin-form h1 {
  color: white;
  font-size: 32px;
  margin-bottom: 28px;
}

.signin-form input {
  width: 100%;
  height: 50px;
  margin-bottom: 16px;
  border-radius: 4px;
  background: #333;
  border: none;
  padding: 16px 20px;
  color: white;
  font-size: 16px;
}

.signin-form input:focus {
  outline: none;
  background: #454545;
}

.signin-form button {
  width: 100%;
  height: 50px;
  background: #e50914;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  margin: 24px 0 12px;
  cursor: pointer;
  transition: all 0.7s ease;
}

.signin-form button:hover {
  background: transparent;
  transform: scale(1.05);
  box-shadow: 0 0 15px 0 rgba(255, 255, 255, 0.5);
}

.remember-me {
  display: flex;
  justify-content: space-between;
  color: #b3b3b3;
  font-size: 13px;
  margin-bottom: 16px;
}

.remember-me label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-link {
  color: #b3b3b3;
  text-decoration: none;
}

.help-link:hover {
  text-decoration: underline;
}

.Register-now {
  color: #737373;
  font-size: 16px;
  margin-top: 16px;
}

.Register-now a {
  color: white;
  text-decoration: none;
}

.Register-now a:hover {
  color: #e87c03;
}

.error-message {
  color: #e87c03;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
  background: rgba(232, 124, 3, 0.1);
  padding: 10px;
  border-radius: 4px;
}

/* Footer */
.footer {
  background: #141414;
  padding: 70px 45px;
  color: #757575;
  width: 100%;
  border-radius: 5px;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-content p {
  margin-bottom: 30px;
  font-size: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links a {
  color: #757575;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #757575;
  padding-top: 20px;
  font-size: 13px;
}

.footer-bottom select {
  background: transparent;
  color: #757575;
  border: 1px solid #757575;
  padding: 10px 20px;
  margin-right: 10px;
  cursor: pointer;
}

.footer-bottom select option {
  background: #000;
  color: #fff;
}

.footer-bottom span {
  color: #757575;
}

/* Movie and TV Show Cards */
.content-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.content-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 20px;
}

.content-card {
  width: 280px;
  flex: 0 0 280px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
  margin: 0 5px;
}

.content-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.content-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.card-footer {
  padding: 20px;
  height: auto;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-details {
  font-size: 1rem;
  color: #999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
}

.card-details span {
  padding: 0 5px;
}

.card-rating {
  color: #e50914;
  font-weight: bold;
}

/* Trending Section */
.trending-section {
  padding: 50px 4%;
  background: rgba(0, 0, 0, 0.6);
}

.trending-section h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #fff;
}

.slider-container {
  position: relative;
  width: 100%;
  padding: 0 40px;
}

.content-slider {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 20px 0;
  margin: 0 -20px;
}

.content-card {
  flex: 0 0 calc(20% - 16px);
  min-width: 200px;
  max-width: 300px;
  position: relative;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.content-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 10px;
  border-radius: 0 0 8px 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-card:hover {
  transform: scale(1.05);
  z-index: 1;
}

.content-card:hover .card-footer {
  opacity: 1;
}

.card-footer h3 {
  color: #fff;
  margin: 0;
  font-size: 1rem;
}

.card-footer p {
  color: #ccc;
  margin: 5px 0 0;
  font-size: 0.8rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* Movie Details Page */
.movie-details {
  display: flex;
  gap: 40px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  margin-top: 100px;
}

.movie-poster {
  flex: 0 0 300px;
}

.movie-poster img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.movie-info {
  flex: 1;
}

.movie-info h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.movie-metadata {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  color: #999;
}

.movie-description {
  color: #fff;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Video Section Styles */
.video-section {
  margin-top: 30px;
}

.video-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.video-container {
  width: 100%;
  border-radius: 10px;
  background: #000;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  max-height: 500px;
  display: block;
}

/* Media Queries */
.team-section {
  padding: 50px 4%;
  background: rgba(0, 0, 0, 0.7);
  min-height: 100vh;
}

.team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 50px;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 30px;
}

.member-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 44px 30px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.member-info h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 25px;
}

.member-info .id {
  color: #ccc;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.member-info .email {
  color: #ccc;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.member-info .section {
  color: #ccc;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 10px;
  display: inline-block;
}

.no-video-message {
  text-align: center;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 4px;
  font-size: 1.2rem;
  margin: 1rem 0;
}
