/* ==========================================
   1. RESET & ROOT VARIABLES
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #0c0806;
  --bg-card: #150f0b;
  --bg-card-alt: #1a130e;
  --border-color: #2b1f16;
  --accent-gold: #d8963e;
  --accent-amber: #c37b27;
  --accent-gold-dim: rgba(216, 150, 62, 0.15);
  --text-primary: #ebd9c5;
  --text-secondary: #8c7867;
  --font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.4;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ==========================================
   2. NAVBAR
   ========================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px;
  background: rgba(12, 8, 6, 0.98);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: 'Cinzel', serif;
}

.title-main {
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1;
}

.title-sub {
  font-weight: 800;
  font-size: 15px;
  color: var(--accent-gold);
  line-height: 1.2;
}

.tagline {
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 1.2px;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
}

.login-btn {
  background: transparent;
  border: 1px solid var(--accent-amber);
  color: var(--accent-gold);
  padding: 8px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s ease;
}

.login-btn:hover {
  background: var(--accent-amber);
  color: #000;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* USER PROFILE DROPDOWN MENU */
.user-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.user-menu-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card, #150f0b);
  border: 1px solid var(--border-color, #2b1f16);
  padding: 4px 12px 4px 6px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  user-select: none;
  transition: all 0.2s ease;
}

.user-menu-pill:hover,
.user-dropdown-wrapper.active .user-menu-pill {
  border-color: var(--accent-gold, #d8963e);
  background: var(--bg-card-alt, #1a130e);
}

.user-menu-pill img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ff9800;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
}

.user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-arrow {
  font-size: 11px;
  color: var(--text-secondary, #8c7867);
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.user-dropdown-wrapper.active .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--accent-gold, #d8963e);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 230px;
  background: var(--bg-card, #150f0b);
  border: 1px solid var(--border-color, #2b1f16);
  border-radius: 10px;
  padding: 10px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1100;
  animation: navbarDropdownFade 0.2s ease forwards;
}

.user-dropdown-wrapper.active .user-dropdown-menu {
  display: block;
}

@keyframes navbarDropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-header {
  padding: 6px 16px 10px;
}

.dropdown-header .user-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #ebd9c5);
  display: block;
}

.user-handle {
  font-size: 0.85rem;
  color: #8c7867;
  font-weight: 400;
  display: block;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color, #2b1f16);
  margin: 6px 0;
}

.dropdown-items {
  display: flex;
  flex-direction: column;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: var(--text-secondary, #8c7867);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-item i {
  width: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--accent-gold, #d8963e);
}

.dropdown-item:hover {
  background: rgba(216, 150, 62, 0.15);
  color: var(--accent-gold, #d8963e);
}

.dropdown-item.logout-item {
  color: #e74c3c;
}

.dropdown-item.logout-item i {
  color: #e74c3c;
}

.dropdown-item.logout-item:hover {
  background: rgba(231, 76, 60, 0.1);
}

/* ==========================================
   3. HERO SECTION
   ========================================== */
.hero {
  position: relative;
  height: 380px;
  background: url('assets/header.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12, 8, 6, 0.95) 25%, rgba(12, 8, 6, 0.3) 70%, rgba(12, 8, 6, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.hero-subtitle {
  color: var(--accent-gold);
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  margin: 10px 0;
  color: #ffffff;
}

.hero-title .highlight {
  color: var(--accent-gold);
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

.explorebtn {
  background: linear-gradient(135deg, var(--accent-gold), #b86e20);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(216, 150, 62, 0.2);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

/* ==========================================
   4. PATTERN DIVIDER & CATEGORIES
   ========================================== */
.pattern-divider {
  height: 12px;
  background: #1e130a url('assets/pattern_border.png') repeat-x center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.categories-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 20px 50px;
  background: #0f0a07;
  overflow-x: auto;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.category .cat-icon {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--accent-gold);
  opacity: 0.7;
}

.category p {
  font-size: 11px;
  color: var(--text-secondary);
}

.category.active,
.category:hover {
  border-color: var(--accent-gold);
  background: var(--bg-card-alt);
  box-shadow: 0 0 12px rgba(216, 150, 62, 0.15);
}

.category.active .cat-icon,
.category:hover .cat-icon {
  opacity: 1;
}

.category.active p,
.category:hover p {
  color: var(--accent-gold);
}

/* ==========================================
   5. SECTIONS & HORIZONTAL SCROLLING GRIDS
   ========================================== */
.section {
  padding: 40px 60px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--accent-gold);
}

.view-all {
  color: var(--text-secondary);
  font-size: 12px;
  text-decoration: none;
}

.mood-grid,
.pack-grid {
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  max-width: 100%;
}

.mood-grid::-webkit-scrollbar,
.pack-grid::-webkit-scrollbar {
  height: 6px;
}

.mood-grid::-webkit-scrollbar-thumb,
.pack-grid::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-sm);
}

.mood-grid::-webkit-scrollbar-thumb:hover,
.pack-grid::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* ==========================================
   6. CARDS (MOOD & PACKS)
   ========================================== */
.mood-card {
  flex: 0 0 200px;
  height: 180px;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

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

.mood-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(12, 8, 6, 0.95), transparent);
}

.mood-info h3 {
  font-size: 14px;
  color: #fff;
}

.mood-info p {
  font-size: 10px;
  color: var(--text-secondary);
}

.pack-card {
  flex: 0 0 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pack-img-wrap {
  position: relative;
  height: 150px;
}

.pack-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pack-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(12, 8, 6, 0.8);
  color: #fff;
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

.card-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-gold-dim);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.card-play-btn:hover {
  background: var(--accent-gold);
  color: #000;
  box-shadow: 0 0 12px rgba(216, 150, 62, 0.4);
}

.pack-details {
  padding: 12px;
}

.pack-details h3 {
  font-size: 13px;
  color: #fff;
  margin-bottom: 2px;
}

.pack-details p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pack-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 13px;
}

.like-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
}

.like-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ==========================================
   7. INFO & TESTIMONIAL SECTION
   ========================================== */
.info-section {
  padding-top: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

}

.info-card,
.features-card,
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;

}

.download-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  background: var(--accent-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 18px;
  flex-shrink: 0;
}

.info-content h3 {
  color: var(--accent-gold);
  font-size: 15px;
  margin-bottom: 4px;
}

.info-content p {
  font-size: 11px;
  color: var(--text-secondary);
}

.features-card h3 {
  color: var(--accent-gold);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-family: 'Cinzel', serif;
}

.features-card ul {
  list-style: none;
}

.features-card li {
  font-size: 11px;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-card li i {
  color: var(--accent-gold);
}

.testimonial-card {
  position: relative;
}

.quote-icon {
  color: var(--accent-gold);
  font-size: 20px;
  margin-bottom: 10px;
}

.quote-text {
  font-size: 11px;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.artist-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.artist-profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.artist-profile h4 {
  font-size: 12px;
  color: var(--accent-gold);
}

.artist-profile span {
  font-size: 10px;
  color: var(--text-secondary);
}

.testimonial-dots {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 4px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-color);
}

.dot.active {
  background: var(--accent-gold);
}

/* ==========================================
   8. PATTERN BANNER & FOOTER
   ========================================== */
.pattern-banner {
  background: #100a07;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pattern-banner p {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent-gold);
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-icons a:hover {
  border-color: var(--accent-gold);
  background: var(--accent-gold-dim);
}

.site-footer {
  padding: 50px 60px 30px;
  background: #080503;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 30px;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: 'Cinzel', serif;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 11px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-gold);
}

.brand-col p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.newsletter-col p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.newsletter-input {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.newsletter-input input {
  background: transparent;
  border: none;
  padding: 8px 12px;
  color: #fff;
  font-size: 11px;
  outline: none;
  flex: 1;
}

.newsletter-input button {
  background: var(--accent-gold);
  border: none;
  padding: 8px 12px;
  color: #000;
  cursor: pointer;
}

/* ==========================================
   9. RESPONSIVE QUERIES
   ========================================== */
@media (max-width: 1024px) {

  .navbar,
  .hero,
  .categories-bar,
  .section,
  .pattern-banner,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;

  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 36px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

.hidden {
  display: none !important;
}


/* ==========================================
   MARKETPLACE EXPLANATION SECTION
   ========================================== */
.platform-explain-section {
  background: linear-gradient(to bottom, #0c0806, #120c08);
  border-bottom: 1px solid var(--border-color);
}

.center-header {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}

.center-header h2 {
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.platform-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.platform-card.featured-step {
  background: var(--bg-card-alt);
  border-color: rgba(216, 150, 62, 0.4);
}

.platform-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: var(--accent-gold-dim);
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 20px;
}

.platform-card h3 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 8px;
  font-family: 'Cinzel', serif;
}

.platform-card p {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive adjustment for mobile */
@media (max-width: 1024px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================
   STICKY SELLER NOTICE BANNER
   ========================================== */
.seller-notice-banner {
  position: sticky;
  top: 67px;
  /* Matches the approximate height of your sticky navbar */
  z-index: 99;
  /* Stays below the navbar (z-index 100) but above content */
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-alt));
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  padding: 14px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.seller-notice-banner i {
  color: var(--accent-gold);
  font-size: 16px;
  flex-shrink: 0;
}

.seller-notice-banner p {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: 0.3px;
}

.seller-notice-banner strong {
  color: var(--accent-gold);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}

/* Responsive adjustment for mobile */
@media (max-width: 1024px) {
  .seller-notice-banner {
    padding: 12px 20px;
    flex-direction: column;
    gap: 8px;
  }
}