/* Quantum Codes Distinction - Kawaii-Cyberpunk Edition */
/* Created by Cuserob - Visual Creation & Interface Design 🎨✨ */
/* Differentiates between Marketplace Discount Codes and Promotion Activation Codes */

/* ========================================
   MARKETPLACE DISCOUNT CODES
   ======================================== */

/* Rename quantum codes to discount codes in marketplace */
.quantum-marketplace-container .quantum-codes-title {
  position: relative;
}

.quantum-marketplace-container .quantum-codes-title::after {
  content: ' (Discount Codes)';
  font-size: 0.8em;
  color: #00ffff;
  font-weight: normal;
  opacity: 0.8;
}

/* Marketplace discount code styling */
.marketplace-discount-codes {
  background: rgba(0, 255, 255, 0.05);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
}

.discount-code-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00ffff, #0099ff);
  color: #000;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.4);
}

.discount-code-item {
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1rem 0;
  transition: all 0.3s ease;
}

.discount-code-item:hover {
  border-color: #00ffff;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
  transform: translateY(-2px);
}

.discount-percentage {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

/* ========================================
   PROMOTION ACTIVATION CODES
   ======================================== */

/* Promotion activation code styling */
.promotion-activation-codes {
  background: rgba(255, 0, 255, 0.05);
  border: 2px solid rgba(255, 0, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
}

.activation-code-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff00ff, #ff0080);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 0.5rem;
  box-shadow: 0 2px 10px rgba(255, 0, 255, 0.4);
}

.activation-code-item {
  background: rgba(255, 0, 255, 0.1);
  border: 2px solid rgba(255, 0, 255, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1rem 0;
  transition: all 0.3s ease;
}

.activation-code-item:hover {
  border-color: #ff00ff;
  box-shadow: 0 5px 20px rgba(255, 0, 255, 0.3);
  transform: translateY(-2px);
}

.activation-reward {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.reward-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.6));
}

.reward-text {
  font-weight: 600;
  color: #ff00ff;
  text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

/* ========================================
   CODE TYPE INDICATORS
   ======================================== */

/* Visual distinction headers */
.marketplace-codes-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.marketplace-codes-header h3 {
  margin: 0;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #00ffff, #0099ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promotions-codes-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.promotions-codes-header h3 {
  margin: 0;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #ff00ff, #ff0080);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Code type labels */
.code-type-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.code-type-discount {
  background: rgba(0, 255, 255, 0.2);
  border: 2px solid #00ffff;
  color: #00ffff;
}

.code-type-activation {
  background: rgba(255, 0, 255, 0.2);
  border: 2px solid #ff00ff;
  color: #ff00ff;
}

/* ========================================
   USAGE INSTRUCTIONS
   ======================================== */

.code-usage-info {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.marketplace-usage-info {
  border-color: rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 255, 0.05);
}

.marketplace-usage-info::before {
  content: '💡 ';
  color: #00ffff;
  font-size: 1.2rem;
}

.promotions-usage-info {
  border-color: rgba(255, 0, 255, 0.3);
  background: rgba(255, 0, 255, 0.05);
}

.promotions-usage-info::before {
  content: '🎁 ';
  color: #ff00ff;
  font-size: 1.2rem;
}

/* ========================================
   VISUAL SEPARATORS
   ======================================== */

.codes-separator {
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    #00ffff 20%, 
    #ff00ff 50%, 
    #00ffff 80%, 
    transparent);
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.codes-separator::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.5), 
    transparent);
  animation: separator-shine 3s linear infinite;
}

@keyframes separator-shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .marketplace-codes-header,
  .promotions-codes-header {
    flex-direction: column;
    text-align: center;
  }
  
  .code-type-label {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .discount-percentage {
    font-size: 1.2rem;
  }
  
  .activation-reward {
    flex-direction: column;
    text-align: center;
  }
}