body {
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', sans-serif;
      background: linear-gradient(135deg, #000000, #1a1a1a);
      color: white;
      min-height: 100vh;
    }
.navbar {
      background-color: rgba(0, 0, 0, 0.85);
      padding: 12px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

.navbar a {
      color: white;
      text-decoration: none;
      margin: 0 10px;
      font-weight: bold;
      padding: 5px 10px;
      border-radius: 5px;
      transition: background-color 0.3s ease;
    }

    .navbar a.active,
    .navbar a:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }

    .title {
      font-weight: bold;
      font-size: 1.5rem;
      color: #f8c014;
    }

    .search-container {
      max-width: 600px;
      margin: 30px auto;
      position: relative;
    }

    .search-container input {
      width: 100%;
      padding: 12px 40px;
      background-color: #111;
      color: white;
      border: 1px solid #444;
      border-radius: 8px;
    }

    .search-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: white;
    }

    .discover-section {
      padding: 20px;
    }

    .genre-row {
      margin-bottom: 40px;
    }

    .genre-title {
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 10px;
      color: #f8c014;
      padding-left: 10px;
    }

    .scroll-container {
      display: flex;
      overflow-x: auto;
      gap: 16px;
      scroll-snap-type: x mandatory;
      padding: 10px;
    }

    .scroll-container::-webkit-scrollbar {
      height: 8px;
    }

    .scroll-container::-webkit-scrollbar-thumb {
      background: #444;
      border-radius: 4px;
    }

    .movie-card {
      position: relative;
      flex: 0 0 auto;
      width: 160px;
      background-color: #111;
      box-shadow: 0 0 15px rgba(255, 255, 255, 1);
      border-radius: 10px;
      overflow: hidden;
      scroll-snap-align: start;
      transition: transform 0.2s ease;
      cursor: pointer;
    }

    .movie-card:hover {
      transform: scale(1.05);
    }

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

    .movie-card h5 {
      margin: 10px;
      font-size: 0.9rem;
    }

    .info-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 5px;
      font-size: 0.75rem;
      opacity: 0;
      transition: opacity 0.3s;
      text-align: center;
    }

    .movie-card:hover .info-overlay {
      opacity: 1;
    }
    
    .LogoPNG {
        border-radius: 15%;
    }

    @media (max-width: 768px) {
      .movie-card {
        width: 130px;
      }

      .movie-card img {
        height: 200px;
      }
    }

    @media (max-width: 480px) {
      .movie-card {
        width: 100px;
      }

      .movie-card img {
        height: 160px;
      }
    }

.genre-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f8c014;
  cursor: pointer;
  text-decoration: underline;
}

.genre-title:hover {
  color: #c86bfa;
}
