/* Vouchers marketplace specific styles */

/* Category Hero */
.category-hero {
  text-align: center;
  padding: 40px 0;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent-2);
}

.category-hero h1 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 16px;
  text-shadow: 0 8px 40px rgba(110, 255, 214, 0.1);
}

.category-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Platforms Grid */
.platforms-grid {
  margin-top: 32px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2 {
  margin: 0;
  color: var(--text);
}

.filter-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.filter-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-select:hover {
  border-color: var(--accent);
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(110, 255, 214, 0.2);
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.platform-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.platform-card:hover::before {
  opacity: 0.1;
}

.platform-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(110, 255, 214, 0.15);
}

.platform-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.platform-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.platform-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.platform-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.seller-count {
  background: rgba(110, 255, 214, 0.1);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price-range {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

.platform-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent), transparent);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.platform-card:hover .platform-glow {
  opacity: 0.1;
  transform: translate(-50%, -50%) scale(2);
}

/* Sell Section */
.sell-section {
  margin-top: 48px;
  text-align: center;
}

.sell-section h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.sell-section p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.sell-section .btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(110, 255, 214, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sell-section .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.sell-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(110, 255, 214, 0.4);
  filter: brightness(1.1);
}

.sell-section .btn:hover::before {
  left: 100%;
}

.sell-section .btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(110, 255, 214, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .category-hero h1 {
    font-size: 2rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .platform-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .platform-card {
    padding: 24px 20px;
  }
  
  .platform-icon {
    font-size: 2.5rem;
  }
  
  .platform-stats {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .category-hero h1 {
    font-size: 1.8rem;
  }
  
  .category-hero p {
    font-size: 1rem;
  }
  
  .platform-card h3 {
    font-size: 1.3rem;
  }
  
  .sell-section h2 {
    font-size: 1.8rem;
  }
}
