* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  background: #111;
  overflow-x: hidden;
}

/* Background Video */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
  z-index: -2;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 220px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  padding: 30px 20px;
}

.sidebar h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #00bfff;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 15px 0;
}

.sidebar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.sidebar ul li a:hover {
  color: #00bfff;
}

.back-home {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 0.9rem;
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.back-home:hover {
  color: #00bfff;
}

/* Main Content */
.content {
  margin-left: 240px;
  padding: 40px;
}

.category {
  margin-bottom: 70px;
}

.category h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  color: #00bfff;
}

/* Scrollable Cards */
.scroll-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.scroll-content {
  display: flex;
  gap: 20px;
  animation: scrollLoop linear infinite;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  min-width: 200px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 10px;
  transition: transform 0.3s;
}

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

.card p {
  padding: 8px;
  font-size: 1rem;
  color: #ddd;
}

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

/* Infinite Scroll Animation */
@keyframes scrollLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    text-align: center;
  }

  .content {
    margin: 0;
    padding: 20px;
  }

  .scroll-content {
    gap: 10px;
  }

  .card {
    min-width: 150px;
  }
}
