.discounts-page-title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.discounts-hero {
  padding: 5rem 0 2rem;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 213, 74, 0.08), transparent 24%);
}

.discounts-tab-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.discount-tab {
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.discount-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: var(--glow-purple);
}

.discount-tab.is-active {
  color: #12071f;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  box-shadow: var(--glow-gold);
  border-color: transparent;
}

.discounts-content-section {
  padding-top: 2rem;
}

.discounts-status-message {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.discounts-status-message.is-error {
  color: #ffe7ed;
  border-color: rgba(255, 107, 138, 0.28);
  background: rgba(255, 107, 138, 0.08);
}

.discounts-panel-head {
  margin-bottom: 1.4rem;
}

.discounts-panel-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.discounts-panel-head p {
  margin: 0;
  color: var(--text-soft);
}

/* ==========================
   Games Walkthrough Rows
   ========================== */

.discount-walkthrough-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.discount-walkthrough-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.16);
  background:
    linear-gradient(180deg, rgba(22, 13, 36, 0.95) 0%, rgba(17, 10, 28, 0.98) 100%);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.discount-walkthrough-row:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 213, 74, 0.28);
  box-shadow: var(--shadow-md), var(--glow-gold);
}

.discount-walkthrough-row-reverse .discount-walkthrough-copy {
  order: 2;
}

.discount-walkthrough-row-reverse .discount-walkthrough-image-wrap {
  order: 1;
}

.discount-walkthrough-copy {
  padding: 1.35rem 1.35rem 1.35rem 1.4rem;
}

.discount-step-tag {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discount-walkthrough-copy h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.12;
}

.discount-walkthrough-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.discount-walkthrough-image-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  height: 100%;
}

.discount-walkthrough-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================
   Standard Discount Cards
   ========================== */

.discount-standard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.discount-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(168, 85, 247, 0.16);
  background:
    linear-gradient(180deg, rgba(22, 13, 36, 0.95) 0%, rgba(17, 10, 28, 0.98) 100%);
  box-shadow: var(--shadow-sm);
}

.discount-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.discount-card-top h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.12;
}

.discount-type-badge {
  display: inline-flex;
  margin-bottom: 0.55rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 213, 74, 0.12);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.discount-card-description {
  margin: 0;
  color: var(--text-soft);
}

.discount-claim-box {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.discount-claim-label {
  display: inline-flex;
  margin-bottom: 0.4rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discount-claim-box p {
  margin: 0;
  color: var(--text);
  white-space: pre-line;
}

.discount-card-actions {
  display: flex;
}

.discount-card-actions .btn {
  width: 100%;
}

.discount-empty-state {
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.discount-empty-state h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.discount-empty-state p {
  margin: 0;
  color: var(--text-soft);
}

@media (max-width: 1100px) {
  .discount-standard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .discount-walkthrough-row,
  .discount-walkthrough-row-reverse {
    grid-template-columns: 1fr;
  }

  .discount-walkthrough-row-reverse .discount-walkthrough-copy,
  .discount-walkthrough-row-reverse .discount-walkthrough-image-wrap {
    order: initial;
  }
}

@media (max-width: 680px) {
  .discounts-hero {
    padding: 4.5rem 0 1.4rem;
  }

  .discount-standard-grid {
    grid-template-columns: 1fr;
  }

  .discount-card,
  .discount-walkthrough-copy {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}