* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif; 
  background: #0a0a0a; 
  color: #ffffff; 
  line-height: 1.6;
  overflow-x: hidden;
}

.navbar {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 15px 4%;
  background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 100%);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
}

.navbar img { 
  height: 45px; 
  filter: brightness(1.2);
  transition: transform 0.3s ease;
}

.navbar img:hover {
  transform: scale(1.05);
}

.nav-links { 
  display: flex; 
  align-items: center; 
  gap: 25px; 
}

.nav-links a { 
  color: #e5e5e5; 
  text-decoration: none; 
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover {
  color: #ffd700;
  transform: translateY(-2px);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.search-bar {
  padding: 12px 20px;
  border-radius: 25px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-width: 250px;
  font-size: 14px;
}

.search-bar:focus {
  outline: none;
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.search-bar::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Hero Banner - Netflix Style */
.banner {
  height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 4%;
  margin-top: 70px;
  position: relative;
}

.banner::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, #0a0a0a);
  pointer-events: none;
}

.banner h1 {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffd700, #ffed4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  max-width: 600px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.banner p {
  font-size: 1.2rem;
  max-width: 500px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.banner-buttons {
  display: flex;
  gap: 15px;
}

.btn-play, .btn-info {
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-play {
  background: #ffd700;
  color: #000;
}

.btn-play:hover {
  background: #ffed4a;
  transform: translateY(-2px);
}

.btn-info {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-info:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: #ffd700;
}

/* Content Rows - Netflix Style */
.row {
  margin: 50px 4% 0;
  position: relative;
}

.row h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #e5e5e5;
  position: relative;
  padding-left: 15px;
}

.row h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 25px;
  background: #ffd700;
  border-radius: 2px;
}

/* Content Lists - Netflix Style */
.list {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 15px;
  padding: 10px 0 20px 0;
}

.list::-webkit-scrollbar {
  display: none;
}

.list img {
  width: 200px;
  height: 280px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  flex-shrink: 0;
  border: 2px solid transparent;
}

.list img:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
  border-color: #ffd700;
  filter: brightness(1.1);
}

    .modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.9);
      backdrop-filter: blur(10px);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .modal-content {
      background: linear-gradient(135deg, #1a1a1a, #222);
      padding: 30px;
      width: 90%;
      max-width: 900px;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      text-align: center;
      border-radius: 15px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.8);
      border: 1px solid rgba(255, 215, 0, 0.2);
    }

    .modal-body {
      display: flex;
      align-items: flex-start;
      gap: 25px;
      margin-bottom: 25px;
    }

    .modal-body img {
      width: 300px;
      height: 400px;
      object-fit: cover;
      border-radius: 10px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }

    .modal-text {
      flex: 1;
      text-align: left;
    }

    .modal-text h3 {
      color: #ffd700;
      font-size: 2rem;
      margin-bottom: 15px;
      font-weight: 700;
    }

    .modal-text p {
      color: #e5e5e5;
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 15px;
    }

    .modal img {
      width: 25%;
      border-radius: 5px;
    }

    .stars { 
      color: #ffd700; 
      font-size: 1.2rem;
      margin: 10px 0;
    }
    
    .close {
      position: absolute;
      top: 15px; 
      right: 25px;
      cursor: pointer;
      font-size: 28px;
      color: #ffd700;
      transition: all 0.3s ease;
    }

    .close:hover {
      color: #ffed4a;
      transform: scale(1.1);
    }

    .server-selector {
      margin: 20px 0;
      text-align: left;
    }

    .server-selector label {
      color: #ffd700;
      font-weight: 600;
      margin-bottom: 10px;
      display: block;
    }

    .server-selector select {
      background: #333;
      color: #fff;
      border: 2px solid #555;
      padding: 10px;
      border-radius: 8px;
      font-size: 14px;
      transition: border-color 0.3s ease;
    }

    .server-selector select:focus {
      outline: none;
      border-color: #ffd700;
    }


    .search-modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(15px);
      display: none;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      z-index: 15;
    }

    .search-modal input {
      width: 400px;
      padding: 15px 20px;
      border-radius: 8px;
      border: 2px solid #333;
      background: #1a1a1a;
      color: #fff;
      font-size: 16px;
      margin-bottom: 30px;
      transition: all 0.3s ease;
    }

    .search-modal input:focus {
      outline: none;
      border-color: #ffd700;
      box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    }

    .search-modal .results {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      max-width: 1200px;
      max-height: 60vh;
      overflow-y: auto;
    }

    .search-modal img {
      width: 150px;
      height: 200px;
      object-fit: cover;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    }

    .search-modal img:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
      border: 2px solid #ffd700;
    }

    .search-modal .close {
      position: absolute;
      top: 30px;
      right: 40px;
      font-size: 32px;
      color: #ffd700;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .search-modal .close:hover {
      color: #ffed4a;
      transform: scale(1.1);
    }

/* MOBILE DISPLAY START */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: row;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .nav-links a, .search-bar {
    width: 100%;
  }

  .search-bar {
    margin-top: 10px;
  }

  .banner {
      height: 30vh;
  }
    
  .modal-body {
    align-items: center;
  }

  .modal-body img {
    width: 40%;
  }

  .modal-text {
    text-align: center;
  }

  .list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .list img {
    width: 120px;
  }

  .search-modal input {
    margin-top: 50px;
    width: 90%;
  }

  .search-modal .results {
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .banner h1 {
    font-size: 20px;
    padding: 5px;
  }

  .row h2 {
    font-size: 18px;
  }

  .modal-content {
    width: 95%;
    padding: 15px;
  }

  .modal-body img {
    width: 40%;
  }

  .search-modal .close {
    font-size: 24px;
    top: 10px;
    right: 20px;
  }
}
/* MOBILE DISPLAY END */

.footer {
  background: linear-gradient(135deg, #1a1a1a, #222);
  color: #ccc;
  padding: 30px 20px;
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid #333;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}

.footer-links a:hover {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .footer-content {
    font-size: 14px;
  }

  .footer-links {
    flex-direction: row;
    gap: 8px;
  }
}
