/* Promocodes — padding shell, no side clipping */
.cab-page--promos {
  --pm-ink: #eef4ff;
  --pm-muted: #93a4c0;
  --pm-line: rgba(127, 224, 255, 0.14);
  --pm-panel: rgba(10, 16, 28, 0.92);
  --pm-cyan: #18b7ff;
  --pm-gold: #f5c451;
  --pm-danger: #fb7185;
  position: relative;
  width: 100%;
  max-width: var(--cab-shell, 1200px);
  margin: 0 auto;
  padding: 1rem var(--cab-gutter, 1.25rem) 3.25rem;
  box-sizing: border-box;
  isolation: isolate;
  overflow: visible;
}

.cab-page--promos::before {
  content: "";
  position: absolute;
  inset: -0.5rem 0 auto;
  height: 18rem;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, rgba(24, 183, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 55% 45% at 90% 10%, rgba(0, 60, 255, 0.1), transparent 55%);
  pointer-events: none;
}

.pm-hero {
  margin: 0 0 1.15rem;
  overflow: visible;
}

.pm-hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  color: var(--pm-cyan);
  font-family: var(--cab-font-display, "Unbounded", sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  overflow: visible;
}

.pm-hero__brand::before {
  content: "";
  width: 1.35rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

.cab-page--promos .cab-page__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--pm-ink);
  overflow: visible;
}

.cab-page--promos .cab-page__subtitle {
  margin: 0;
  max-width: 42rem;
  color: var(--pm-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.cab-page--promos .cab-page__subtitle a {
  color: var(--pm-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(24, 183, 255, 0.35);
}

.pm-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.pm-card {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--pm-line);
  border-radius: 16px;
  background: var(--pm-panel);
  transition: border-color 0.2s;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.pm-card:hover { border-color: rgba(24, 183, 255, 0.4); }

.pm-card--hero,
.pm-card--deposit {
  background:
    linear-gradient(145deg, rgba(24, 183, 255, 0.1), transparent 48%),
    var(--pm-panel);
  border-color: rgba(24, 183, 255, 0.28);
}

.pm-card--freespins {
  background:
    linear-gradient(145deg, rgba(245, 196, 81, 0.1), transparent 48%),
    var(--pm-panel);
  border-color: rgba(245, 196, 81, 0.25);
}

.pm-card.is-exhausted { opacity: 0.55; }

.pm-card__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  min-width: 0;
}

.pm-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pm-muted);
  line-height: 1.35;
  padding: 0.1rem 0;
  overflow: visible;
}

.pm-card--hero .pm-kicker,
.pm-card--deposit .pm-kicker { color: var(--pm-cyan); }
.pm-card--freespins .pm-kicker { color: var(--pm-gold); }

.pm-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--pm-line);
  color: #dbe4f0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  box-sizing: border-box;
  flex-shrink: 0;
}

.pm-card__title {
  margin: 0;
  font-family: var(--cab-font-display, "Unbounded", sans-serif);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--pm-ink);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.pm-code-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  min-width: 0;
}

.pm-code {
  margin: 0;
  padding: 0.1rem 0;
  border: 0;
  background: transparent;
  font-family: var(--cab-font-display, "Unbounded", sans-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--pm-cyan);
  cursor: pointer;
  text-align: left;
  word-break: break-word;
  min-width: 0;
  flex: 1 1 12rem;
  overflow: visible;
}

.pm-code:hover { color: #7fe0ff; }
.pm-code.is-copied { color: #86efac; }

.pm-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  min-width: 138px;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #18b7ff 0%, #003cff 100%);
  color: #fff;
  font-family: var(--cab-font-body, "Manrope", sans-serif);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.pm-copy:hover { filter: brightness(1.06); }
.pm-copy.is-copied { background: linear-gradient(135deg, #34d399 0%, #059669 100%); }
.pm-copy.is-exhausted,
.pm-copy:disabled {
  background: rgba(255, 255, 255, 0.06);
  color: #64748b;
  cursor: not-allowed;
  filter: none;
}

.pm-copy .cab-icon { width: 15px; height: 15px; flex-shrink: 0; }

.pm-meter { display: grid; gap: 0.4rem; min-width: 0; }
.pm-meter__track {
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.pm-meter__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18b7ff, #7fe0ff);
}
.pm-meter__fill.is-low { background: linear-gradient(90deg, #fb7185, #fbbf24); }
.pm-meter__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.9rem;
  color: var(--pm-muted);
  font-size: 0.78rem;
}
.pm-meter__meta strong { color: var(--pm-ink); font-weight: 700; }
.pm-meter__meta.is-low strong { color: var(--pm-danger); }

.pm-badge-free {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.pm-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  min-width: 0;
}

.pm-fact {
  min-width: 0;
  padding: 0.6rem 0.7rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  overflow: hidden;
}

.pm-fact__k {
  margin-bottom: 0.2rem;
  color: #6b7280;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.pm-fact__v {
  color: #e5eef8;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pm-section { margin-top: 1.35rem; }
.pm-section__title {
  margin: 0 0 0.75rem;
  font-family: var(--cab-font-display, "Unbounded", sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #d7dee8;
}

.pm-list { display: flex; flex-direction: column; gap: 0.65rem; }

.pm-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.9fr) auto;
  gap: 0.75rem 0.9rem;
  align-items: center;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--pm-line);
  border-radius: 14px;
  background: rgba(9, 14, 24, 0.72);
  min-width: 0;
  box-sizing: border-box;
}

.pm-row__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  min-width: 0;
}

.pm-row__code {
  margin: 0;
  font-family: var(--cab-font-display, "Unbounded", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--pm-cyan);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  overflow-wrap: anywhere;
}

.pm-row__value {
  margin: 0.2rem 0 0;
  color: var(--pm-muted);
  font-size: 0.84rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.pm-sync {
  margin: 1.1rem 0 0;
  color: #5b6575;
  font-size: 0.7rem;
  overflow-wrap: anywhere;
}

.cab-page--promos .cab-empty {
  padding: 1.75rem 1rem;
  border: 1px dashed var(--pm-line);
  border-radius: 14px;
  color: var(--pm-muted);
  text-align: center;
}

@media (min-width: 960px) {
  .pm-stack {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }

  .pm-card { min-height: 100%; }
}

@media (max-width: 959px) {
  .cab-page--promos {
    padding-bottom: 6.5rem;
  }
}

@media (max-width: 640px) {
  .pm-code-row {
    flex-direction: column;
    align-items: stretch;
  }

  .pm-copy {
    width: 100%;
    min-width: 0;
  }

  .pm-facts { grid-template-columns: 1fr; }
  .pm-row { grid-template-columns: 1fr; }
}

@media (min-width: 641px) and (max-width: 959px) {
  .pm-facts { grid-template-columns: 1fr 1fr; }
  .pm-facts .pm-fact:last-child { grid-column: 1 / -1; }
}
