/* Diamonds page — mobile-first redesign */

body.diamonds-page main > section {
  background-color: transparent;
}

body.diamonds-page main > section.dm-hero {
  padding: 0;
}

body.diamonds-page main > section.dm-pricing {
  padding: 2rem 0 2.5rem;
}

body.diamonds-page main > section.dm-guide-section {
  padding: 2.5rem 0 3.5rem;
}

.dm-page {
  background: var(--color-bg);
}

/* —— Hero —— */
.dm-hero {
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(155deg, #ede9fe 0%, #f5f3ff 28%, #ffffff 62%, #f0f9ff 100%);
}

.dm-hero__inner {
  padding: 2.25rem 0 2.5rem;
}

/* Title in the middle; game art on left & right (same row when wide enough) */
.dm-hero__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem clamp(0.75rem, 3vw, 2rem);
  margin-bottom: 1.35rem;
}

.dm-hero__header {
  flex: 1 1 100%;
  order: 1;
  text-align: center;
  max-width: 24rem;
  margin-inline: auto;
}

.dm-hero__figure {
  flex: 0 0 auto;
  order: 2;
  margin: 0;
  padding: 0;
  line-height: 0;
  position: relative;
  z-index: 2;
}

.dm-hero__figure img {
  display: block;
  width: clamp(7rem, 26vw, 11rem);
  height: auto;
  max-height: 9.5rem;
  object-fit: contain;
}

.dm-hero__figure--left {
  order: 2;
}

.dm-hero__figure--right {
  order: 3;
}

.dm-hero__figure--right img {
  width: clamp(6rem, 22vw, 9.5rem);
}

.dm-hero__actions {
  text-align: center;
}

.dm-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c3aed;
}

.dm-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.dm-hero__sub {
  margin: 0 auto 1.25rem;
  max-width: 22rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.dm-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.dm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5b21b6;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
}

.dm-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}

.dm-hero__cta .btn {
  width: 100%;
  max-width: 20rem;
}

/* —— Pricing layout —— */
.dm-pricing__intro {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.dm-pricing-grid {
  display: grid;
  gap: 1.25rem;
}

/* Featured pass */
.dm-pass-featured.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 48%, #6d28d9 100%) !important;
  border: none !important;
  color: #fff;
  box-shadow: 0 12px 32px rgba(76, 29, 149, 0.35);
}

.dm-pass-featured__action {
  width: 100%;
  display: flex;
  justify-content: center;
}

.dm-pass-featured::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  z-index: 0;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.dm-pass-featured__inner {
  position: relative;
  z-index: 1;
}

.dm-pass-featured__badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4c1d95;
  background: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.dm-pass-featured__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.dm-pass-featured__prices {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

.dm-pass-featured__prices span {
  padding: 0.35rem 0.7rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dm-pass-featured .btn {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #4c1d95;
  border: none;
  width: 100%;
  max-width: 16rem;
}

.dm-pass-featured .btn:hover {
  background: #f5f3ff;
  color: #4c1d95;
}

/* Price panels */
.dm-panel {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.dm-panel__head {
  margin: 0;
  padding: 0.85rem 1.15rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.dm-panel__head--popular {
  color: #0f172a;
  background: linear-gradient(90deg, #e0f2fe 0%, #f0f9ff 100%);
  border-bottom: 1px solid var(--color-border);
}

.dm-panel__head--coupon {
  color: #4c1d95;
  background: linear-gradient(90deg, #ede9fe 0%, #f5f3ff 100%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.dm-pack-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dm-pack {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.dm-pack:last-child {
  border-bottom: none;
}

.dm-pack:hover {
  background: var(--color-primary-light);
}

.dm-pack__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.dm-pack__gems {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.dm-pack__gems small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.dm-pack__tag {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6d28d9;
  background: #ede9fe;
  border-radius: var(--radius-sm);
}

.dm-pack__prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.dm-price-cell {
  padding: 0.45rem 0.35rem;
  text-align: center;
  background: var(--color-bg-muted);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.dm-price-cell dt {
  margin: 0 0 0.15rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.dm-price-cell dd {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* —— Guide —— */
.dm-guide-section {
  background: var(--color-bg-muted);
  border-top: 1px solid var(--color-border);
}

.dm-guide-wrap {
  max-width: 40rem;
  margin: 0 auto;
}

.dm-guide-wrap .dm-eyebrow {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.dm-guide__title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 800;
}

.dm-guide__lead {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.dm-steps-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.dm-step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.dm-step-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
  border-radius: var(--radius-full);
}

.dm-step-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.dm-note-cards {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.dm-note {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.dm-cta-band {
  padding: 1.25rem 1rem;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.dm-cta-band p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.dm-cta-band .btn {
  width: 100%;
  max-width: 20rem;
}

/* —— Responsive —— */
@media (min-width: 640px) {
  .dm-hero__inner {
    padding: 2.75rem 0 3rem;
  }

  .dm-hero__head {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .dm-hero__header {
    flex: 1 1 auto;
    order: 2;
    max-width: 28rem;
  }

  .dm-hero__figure--left {
    order: 1;
  }

  .dm-hero__figure--right {
    order: 3;
  }

  .dm-hero__figure img {
    width: clamp(7.5rem, 12vw, 11.5rem);
    max-height: 11rem;
  }

  .dm-hero__figure--right img {
    width: clamp(6.5rem, 10vw, 10rem);
    max-height: 10rem;
  }

  .dm-hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .dm-hero__cta .btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  .dm-pack {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
  }

  .dm-pack__top {
    flex: 0 0 7.5rem;
    margin-bottom: 0;
  }

  .dm-pack__prices {
    flex: 1;
    min-width: 0;
  }
}

@media (min-width: 900px) {
  body.diamonds-page main > section.dm-pricing {
    padding: 2.75rem 0 3rem;
  }

  .dm-pricing__intro {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
  }

  .dm-pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 56rem;
    margin-inline: auto;
  }

  .dm-pass-featured.card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 2rem;
    text-align: left;
  }

  .dm-pass-featured__inner {
    flex: 1;
    min-width: 0;
  }

  .dm-pass-featured__prices {
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .dm-pass-featured__action {
    flex-shrink: 0;
    width: auto;
    justify-content: flex-end;
  }

  .dm-pass-featured .btn {
    width: auto;
    min-width: 10.5rem;
    max-width: none;
  }

  .dm-panels-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .dm-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .dm-pack-list {
    flex: 1;
  }

  .dm-price-cell dt {
    font-size: 0.5625rem;
  }

  .dm-price-cell dd {
    font-size: 0.875rem;
  }

  .dm-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .dm-step-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
  }

  .dm-step-card__num {
    margin: 0 auto 0.5rem;
  }

  .dm-note-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .dm-hero__inner {
    padding: 3rem 0 3.25rem;
  }

  .dm-hero__figure img {
    width: clamp(8.5rem, 11vw, 13.5rem);
    max-height: 13rem;
  }

  .dm-hero__figure--right img {
    width: clamp(7rem, 9vw, 11.5rem);
    max-height: 11.5rem;
  }

  .dm-pricing-grid {
    max-width: 62rem;
  }

  .dm-pack__top {
    flex: 0 0 8.5rem;
  }

  .dm-guide-wrap {
    max-width: 52rem;
  }
}
