/* Promotional Code Page Styles */
.promo-code-card {
  max-width: 600px;
  margin: 2rem auto;
  background: rgba(26, 37, 41, 0.8);
  border: 1px solid rgba(43, 80, 188, 0.4);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(34, 211, 238, 0.08)
  position: relative;
  overflow: hidden;
}

.promo-code-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(43, 80, 188, 0.08) 0%, rgba(43, 80, 188, 0.03) 100%);
  pointer-events: none;
  z-index: 0;
}

.promo-code-card>* {
  position: relative;
  z-index: 1;
}

.promo-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.promo-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.promo-card-header h2 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 20px rgba(43, 80, 188, 0.3);
}

.promo-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.promo-form-container {
  margin-top: 2rem;
}

.promo-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.promo-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.promo-form label {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(34, 47, 56, 0.8);
  border: 2px solid rgba(43, 80, 188, 0.3);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.promo-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(34, 211, 238, 0.08)
  background: rgba(34, 47, 56, 0.95);
}

.promo-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.btn-promo-redeem {
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, rgba(43, 80, 188, 0.2) 0%, rgba(43, 80, 188, 0.1) 100%);
  border: 2px solid var(--accent);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-promo-redeem::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(43, 80, 188, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-promo-redeem:hover::before {
  left: 100%;
}

.btn-promo-redeem:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(43, 80, 188, 0.3) 0%, rgba(43, 80, 188, 0.2) 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(34, 211, 238, 0.08)
  transform: translateY(-2px);
}

.btn-promo-redeem:active:not(:disabled) {
  transform: translateY(0);
}

.btn-promo-redeem:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-promo-redeem svg {
  transition: transform 0.3s ease;
}

.btn-promo-redeem:hover:not(:disabled) svg {
  transform: translateX(5px);
}

/* Success Box */
.promo-success-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
  border: 2px solid rgba(34, 197, 94, 0.5);
  border-radius: 16px;
  text-align: center;
  animation: successFadeIn 0.5s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(34, 211, 238, 0.08)
}

@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(34, 197, 94, 0.2) 100%);
  border: 3px solid rgba(34, 197, 94, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #22c55e;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: successPulse 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(34, 211, 238, 0.08)
}

@keyframes successPulse {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(34, 211, 238, 0.08)
    transform: scale(1);
  }

  50% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(34, 211, 238, 0.08)
    transform: scale(1.05);
  }
}

.success-content h3 {
  color: #22c55e;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.success-content p {
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .promo-code-card {
    margin: 1rem;
    padding: 2rem 1.5rem;
  }

  .promo-card-header h2 {
    font-size: 1.5rem;
  }

  .promo-icon {
    font-size: 3rem;
  }

  .promo-input {
    font-size: 1rem;
    padding: 0.875rem 1rem;
  }

  .btn-promo-redeem {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .success-content h3 {
    font-size: 1.25rem;
  }
}
