/* Landing Page Specific CSS - Netflix Style */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@300;400;500;600;700&display=swap");

:root {
  --blaze-gold: #d4af37;
  --blaze-gold-hover: #ffd700;
  --netflix-black: #141414;
  --netflix-dark-gray: #181818;
  --netflix-gray: #303030;
  --netflix-light-gray: #737373;
  --netflix-white: #ffffff;
}

/* Base Styles */
.landing-page {
  background-color: var(--netflix-white);
  color: var(--netflix-black);
  font-family: "Manrope", sans-serif;
  min-height: 100vh;
  position: relative;
}

/* Welcome page specific black background */
.welcome-page {
  color: var(--netflix-white);
}
.welcome-page a {
  color: var(--netflix-white);
}

/* Other pages white/subtle background */
.other-page {
  color: var(--netflix-white);
}
.other-page a {
  color: var(--netflix-white);
}

/* Content pages (movies, music) - subtle background like movies page */
.content-page {
  color: var(--netflix-white);
}
.content-page a {
  color: var(--netflix-white);
}

/* Navigation background consistency - REMOVED DUPLICATE, kept original below */

/* Landing Nav Dropdown Styles - moved from inline to CSS file */
.landing-nav-user-dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-nav-user-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
}

.landing-nav-user-toggle:hover {
  opacity: 0.9;
}

/* Dropdown menu styling */
.landing-nav-dropdown-menu {
  background-color: var(--netflix-dark-gray);
  border: 1px solid var(--netflix-gray);
  border-radius: 4px;
  min-width: 200px;
  padding: 8px 0;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1000;
}

.landing-nav-dropdown-menu li a {
  color: var(--netflix-white);
  padding: 8px 16px;
  display: block;
  text-decoration: none;
}

.landing-nav-dropdown-menu li a:hover {
  background-color: var(--netflix-gray);
  color: var(--netflix-white);
}

/* Fix dropdown positioning */
.dropdown-menu {
  position: absolute;
  right: 0;
  left: auto;
}

/* Other pages dropdown - white background with dark text */
.other-page .landing-nav-dropdown-menu {
  background-color: var(--netflix-white);
  border-color: var(--netflix-gray);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.other-page .landing-nav-dropdown-menu li a {
  color: var(--netflix-black);
}

.other-page .landing-nav-dropdown-menu li a:hover {
  background-color: var(--netflix-light-gray);
  color: var(--netflix-black);
}

/* Typography */
.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4,
.landing-page h5,
.landing-page h6 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.1;
}

/* Navigation Styles */
.landing-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 4%;
  transition: background 0.3s ease;
}

/* Other pages nav - lighter for better contrast on white */
.other-page .landing-nav {
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 20, 0.9) 0%,
    rgba(20, 20, 20, 0.5) 100%
  );
}

.landing-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.landing-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-nav-logo-img {
  height: 10rem;
  width: auto;
}

.landing-nav-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blaze-gold);
}

.landing-nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
}

.landing-nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
}

.landing-nav-link {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

/* Other pages text color */
.other-page .landing-nav-link,
.other-page .landing-nav-username {
  color: var(--netflix-black);
}

.landing-nav-link:hover,
.landing-nav-link.active {
  color: var(--blaze-gold);
  font-weight: bold;
}

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

.landing-nav-search {
  position: relative;
}

.landing-nav-search-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--netflix-white);
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.9rem;
  width: 200px;
  transition: width 0.3s ease;
}

.landing-nav-search-input:focus {
  outline: none;
  width: 250px;
  background: rgba(255, 255, 255, 0.15);
}

.landing-nav-search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--netflix-white);
  cursor: pointer;
}

.landing-nav-button {
  background: var(--blaze-gold);
  color: var(--netflix-black);
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.landing-nav-button:hover {
  background: var(--blaze-gold-hover);
}

.landing-nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.landing-nav-user-avatar {
  height: 32px;
  width: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.landing-nav-username {
  font-size: 1.6rem;
  font-weight: 500;
}

/* Mobile Navigation */
.landing-nav-mobile {
  display: none;
}

.landing-nav-mobile-toggle {
  background: none;
  border: none;
  color: var(--netflix-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu */
.landing-nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--netflix-black);
  z-index: 2000;
  overflow-y: auto;
}

.landing-nav-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--netflix-gray);
}

.landing-nav-mobile-logo {
  height: 30px;
  width: auto;
}

.landing-nav-mobile-close {
  background: none;
  border: none;
  color: var(--netflix-white);
  font-size: 1.5rem;
  cursor: pointer;
}

.landing-nav-mobile-list {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.landing-nav-mobile-item {
  margin-bottom: 15px;
}

.landing-nav-mobile-link {
  color: var(--netflix-white);
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.landing-nav-mobile-link:hover,
.landing-nav-mobile-link.active {
  color: var(--blaze-gold);
}

/* Footer Styles */
.landing-footer {
  background: var(--netflix-black);
  padding: 50px 4%;
  margin-top: 50px;
  border-top: 1px solid var(--netflix-gray);
}

.landing-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.landing-footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--netflix-light-gray);
}

.landing-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-footer-link {
  color: var(--netflix-gray);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 2;
  transition: color 0.2s ease;
}

.landing-footer-link:hover {
  color: var(--netflix-white);
  text-decoration: underline;
}

.landing-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--netflix-gray);
}

.landing-footer-select {
  background: var(--netflix-gray);
  color: var(--netflix-white);
  border: 1px solid var(--netflix-gray);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.landing-footer-copyright {
  color: var(--netflix-gray);
  font-size: 0.9rem;
}

/* Video Player Styles */
.landing-player {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-player-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 10;
}

.landing-player-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.landing-player-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-player-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.landing-player-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.landing-player-play,
.landing-player-volume {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--netflix-white);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.landing-player-play:hover,
.landing-player-volume:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.landing-player-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
}

.landing-player-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--netflix-red);
  border-radius: 2px;
  transition: width 0.1s ease;
}

.landing-player-info {
  position: relative;
  z-index: 20;
  max-width: 600px;
  padding: 0 40px;
}

.landing-player-title {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.landing-player-details {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1rem;
}

.landing-player-badge {
  background: var(--netflix-red);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

.landing-player-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--netflix-light-gray);
}

.landing-player-actions {
  display: flex;
  gap: 15px;
}

.landing-player-button {
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-player-button-primary {
  background: var(--netflix-white);
  color: var(--netflix-black);
}

.landing-player-button-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.landing-player-button-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--netflix-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.landing-player-button-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Content Sections */
.landing-section {
  padding: 40px 4%;
}

.landing-section-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.landing-section-slider {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 20px 0;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.landing-section-slider::-webkit-scrollbar {
  display: none;
}

.landing-content-card {
  flex: 0 0 auto;
  width: 200px;
  transition: transform 0.3s ease;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

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

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

/* Aspect Ratio Classes */
.aspect-2-3 {
  aspect-ratio: 2/3;
}

.aspect-1-1 {
  aspect-ratio: 1/1;
}

.aspect-16-9 {
  aspect-ratio: 16/9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .landing-nav-desktop {
    display: none;
  }

  .landing-nav-mobile {
    display: block;
  }

  .landing-player-title {
    font-size: 2rem;
  }

  .landing-section-title {
    font-size: 1.5rem;
  }

  .landing-content-card {
    width: 140px;
  }
}

@media (max-width: 480px) {
  .landing-nav-container {
    padding: 15px 3%;
  }

  .landing-player-title {
    font-size: 1.5rem;
  }

  .landing-content-card {
    width: 120px;
  }
}
