.main-content {
  position: relative;
  z-index: 20;
  padding: 0 4%;
  width: 100%;
  margin-top: -50px;
}

.label-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 40px;
}

.label, .section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  border-left: 4px solid #E50914;
  padding-left: 12px;
}

/* TABS & SCROLL */
.tabs-container {
  display: flex;
  gap: 12px;
  margin: 30px 0 20px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-btn {
  background: #1f2024;
  color: #ccc;
  border: 1px solid #333;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #E50914;
  border-color: #E50914;
  color: #fff;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.horizontal-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 30px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  margin: 0 4%;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

.slider-layout {
  display: flex;
  gap: 18px;
}

/* CARDS */
.grid-card {
  aspect-ratio: 2/3;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: #1f2024;
  transition: transform 0.3s ease;
  width: 170px;
  flex-shrink: 0;
  scroll-snap-align: start;
  cursor: pointer;
}

.grid-card:hover {
  transform: translateY(-5px);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 10px 10px 10px;
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  color: #eee;
  line-height: 1.3;
}

.ep-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(229, 9, 20, 0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

#my-collection-section.hidden {
    display: none;
}

@media (max-width: 768px) {
  .main-content { 
    margin-top: 20px; 
  }
  .slider-layout .grid-card {
    width: 130px;
  }
  .tabs-container { 
    margin-top: 15px; 
  }
}