* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

body {
  background-color: #121212;
  color: #ffffff;
}

.container {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 5fr;
  min-height: 100vh;
}

/* Sidebar styles */
.sidebar {
  background-color: #161a2b;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.search-container {
  position: relative;
  margin-bottom: 1rem;
}

.search-container input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  color: white;
}

.search-icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.nav-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-item {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
  background-repeat: no-repeat;
  background-position: 0.7rem center;
  background-size: 20px 20px;
}

/* Individual background images */
.trending-icon {
  background-image: url("https://c.animaapp.com/ZOKpjuCJ/img/streamline-trending-content-solid.svg");
}

.new-icon {
  background-image: url("https://c.animaapp.com/ZOKpjuCJ/img/material-symbols-star.svg");
}

.popular-icon {
  background-image: url("https://c.animaapp.com/ZOKpjuCJ/img/mingcute-love-fill.svg");
}

.premium-icon {
  background-image: url("https://c.animaapp.com/ZOKpjuCJ/img/fluent-premium-12-filled.svg");
}

.filter-item span {
  font-size: 0.9rem;
}

.filter-item.active {
  background-color: #bcd100;
}

.filter-item.premium {
  background-color: rgba(188, 209, 0, 0.8);
}

.filter-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.filter-item.active:hover {
  background-color: #a8bb00;
}

.divider {
  height: 1px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 1rem 0;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 3px solid #bcd100;
}

.nav-item img {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
}

.nav-item span {
  color: rgba(255, 255, 255, 0.8);
}

.nav-item.active span {
  color: #bcd100;
}

/* Main content styles */
.main-content {
  padding: 1rem;
  overflow-y: auto;
}

.hero-banner {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
  height: 300px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  width: 60%;
  z-index: 2;
}

.hero-banner img {
  position: absolute;
  top: 0;
  right: 0;
  max-height: 100%;
  z-index: 1;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #bcd100;
  margin-bottom: 1rem;
}

.hero-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.subscribe-button {
  padding: 0.5rem 1.5rem;
  background-color: #bcd100;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.subscribe-button:hover {
  background-color: #9eae00;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.section-title img {
  width: 24px;
  height: 24px;
}

.games-grid {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.2rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  cursor: grab; /* Shows a grab cursor to indicate draggable */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.games-grid::-webkit-scrollbar {
  display: none;
}

.games-grid:active {
  cursor: grabbing; /* Changes cursor while dragging */
}

.game-card {
  flex: 0 0 200px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1/1.2;
}

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

.game-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0 10px 0 10px;
  font-size: 0.8rem;
  font-weight: 500;
}

.game-badge.new {
  background-color: #006bc3;
}

.game-badge.premium {
  background-color: #bcd100;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .mobile-nav {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: #1a1a1a;
  }

  .hero-content {
    width: 100%;
  }

  .hero-banner img {
    opacity: 0.3;
  }

  .game-card {
    flex: 0 0 160px;
  }
}

/* For tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    grid-template-columns: 200px 1fr;
  }

  .hero-content {
    width: 80%;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

.slider-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.1rem;
}

.nav-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #bcd100;
}

.nav-arrow {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  /* width: 20px;
  height: 20px; */
}
.nav-arrow:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-arrow:disabled {
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
}
