/* ==========================================================================
   DC Bet — page level blocks
   ========================================================================== */

.phead {
  position: relative;
  margin-top: 18px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  min-height: 190px;
  display: flex;
  align-items: center;
}

.phead__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .7;
}

.phead::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, rgba(6, 6, 8, .96) 12%, rgba(6, 6, 8, .6) 62%, rgba(6, 6, 8, .2));
}

.phead__inner {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 40px);
  max-width: 720px;
}

.phead h1 {
  margin-bottom: 8px;
}

.phead p {
  color: #cbc7c0;
  font-size: 15px;
  max-width: 58ch;
  margin: 0;
}

.section-lead {
  font-size: 15.5px;
  color: #c8c4bd;
  max-width: 72ch;
}

/* --------------------------------------------------------- catalog page -- */
.catbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 20px 0 18px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}

.catbar__search {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: #101116;
  border: 1px solid var(--line);
}

.catbar__search input {
  flex: 1;
  background: none;
  border: 0;
  outline: none;
  font-size: 14px;
}

.catbar__sort {
  height: 40px;
  padding: 0 34px 0 14px;
  border-radius: var(--r-pill);
  background: #101116;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13.5px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239a9aa5' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* ------------------------------------------------------------ game page -- */
.gplay {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #08080a;
  box-shadow: var(--shadow-2);
}

.gplay__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}

.gplay__title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gplay__prov {
  font-size: 11.5px;
  color: var(--muted-2);
}

.gplay__tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.gplay__tool {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: #c4c0b9;
  transition: all .18s var(--ease);
}

.gplay__tool:hover {
  color: var(--gold);
  border-color: rgba(232, 184, 75, .5);
}

.gplay__tool.is-on {
  color: #ff5d73;
}

.gplay__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050506;
}

.gplay__stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gplay__stage.is-full {
  position: fixed;
  inset: 0;
  z-index: 300;
  aspect-ratio: auto;
}

.glock {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
}

.glock__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(.32) saturate(.8);
  transform: scale(1.1);
}

.glock > * {
  position: relative;
  z-index: 2;
}

.glock__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(232, 184, 75, .12);
  border: 1px solid rgba(232, 184, 75, .4);
  color: var(--gold);
  animation: dc-pulse 2.4s infinite;
}

.glock h2 {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 26px);
}

.glock p {
  color: #c0bcb5;
  max-width: 44ch;
  margin: 0;
  font-size: 14px;
}

.glock__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.gfacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.gfact {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}

.gfact__k {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
}

.gfact__v {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--gold-2);
}

/* ------------------------------------------------------------- account -- */
.acct {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 18px;
  margin-top: 20px;
}

.acct__side {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 18px);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 16px;
}

.acct__id {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.acct__id .avatar {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.acct__nav {
  display: grid;
  gap: 3px;
}

.acct__nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  color: #b6b3ba;
  text-align: left;
  transition: all .16s var(--ease);
}

.acct__nav button:hover {
  background: var(--surface-2);
  color: var(--gold);
}

.acct__nav button.is-on {
  background: rgba(232, 184, 75, .13);
  color: var(--gold);
  box-shadow: inset 2px 0 0 var(--gold);
}

.acct__pane {
  display: none;
}

.acct__pane.is-on {
  display: block;
  animation: dc-rise .3s var(--ease);
}

.balgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.balcard {
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--grad-surface);
  border: 1px solid var(--line);
}

.balcard--main {
  border-color: rgba(232, 184, 75, .4);
  box-shadow: 0 0 26px rgba(232, 184, 75, .1);
}

.balcard__k {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 7px;
}

.balcard__v {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: #fff;
}

.balcard--main .balcard__v {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vipbar {
  height: 8px;
  border-radius: 6px;
  background: var(--surface-3);
  overflow: hidden;
  margin: 12px 0 8px;
}

.vipbar i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--grad-gold);
  box-shadow: 0 0 14px var(--gold-glow);
}

.ticklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: grid;
  gap: 9px;
}

.ticklist li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--muted);
}

.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 75, .55);
  background: radial-gradient(circle at 50% 50%, var(--gold) 0 3px, transparent 4px);
}

.ticklist strong {
  color: var(--gold-2);
}

.tierlist {
  display: grid;
  gap: 8px;
  margin: 16px 0 20px;
}

.tierrow {
  display: grid;
  grid-template-columns: 74px 96px 92px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13.5px;
  color: var(--muted);
}

.tierrow.is-done {
  border-color: rgba(232, 184, 75, .22);
}

.tierrow.is-now {
  border-color: rgba(232, 184, 75, .55);
  background: var(--grad-surface);
  box-shadow: 0 0 24px rgba(232, 184, 75, .09);
}

.tierrow__lvl {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.tierrow__name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.tierrow.is-now .tierrow__name {
  color: var(--gold-2);
}

.tierrow__need {
  color: var(--text-dim);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .tierrow {
    grid-template-columns: 1fr auto;
    row-gap: 4px;
  }

  .tierrow__lvl {
    order: 1;
  }

  .tierrow__need {
    order: 2;
    text-align: right;
  }

  .tierrow__name {
    order: 3;
  }

  .tierrow__perk {
    order: 4;
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------- promo pages -- */
.promolist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.promo {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .25s var(--ease);
}

.promo:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 184, 75, .45);
  box-shadow: 0 0 32px rgba(232, 184, 75, .14);
}

.promo__img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

.promo__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.promo__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}

.promo__body h3 {
  font-size: 18px;
  margin-bottom: 7px;
}

.promo__body p {
  font-size: 13.5px;
  color: #b6b3ba;
  flex: 1;
}

.promo__meta {
  display: flex;
  gap: 14px;
  font-size: 11.5px;
  color: var(--muted-2);
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--line-soft);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.tier {
  text-align: center;
  padding: 22px 18px;
  border-radius: var(--r-lg);
  background: var(--grad-surface);
  border: 1px solid var(--line);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.tier:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 184, 75, .5);
}

.tier img {
  width: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #08080a;
  box-shadow: 0 0 0 1px rgba(232, 184, 75, .22), 0 10px 26px rgba(0, 0, 0, .55);
}

.tier h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.tier__req {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.tier__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
  text-align: left;
}

.tier__perks li {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: #b6b3ba;
  margin: 0;
}

.tier__perks svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 3px;
}

/* ----------------------------------------------------------- info bits -- */
.legal {
  max-width: 860px;
}

.legal h2 {
  margin-top: 34px;
  padding-top: 10px;
  font-size: 21px;
}

.legal h3 {
  margin-top: 24px;
  font-size: 17px;
}

.legal p,
.legal li {
  font-size: 14.5px;
  line-height: 1.75;
  color: #bebab3;
}

.toc {
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  margin: 20px 0 28px;
}

.toc ol {
  margin: 0;
  columns: 2;
  column-gap: 30px;
}

.toc li {
  font-size: 13.5px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.feature {
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.feature:hover {
  border-color: rgba(232, 184, 75, .4);
  transform: translateY(-3px);
}

.feature__ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(232, 184, 75, .1);
  border: 1px solid rgba(232, 184, 75, .28);
  color: var(--gold);
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature p {
  font-size: 13.5px;
  color: #b0aca5;
  margin: 0;
}

.steplist {
  counter-reset: st;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.steplist li {
  counter-increment: st;
  position: relative;
  padding: 16px 18px 16px 60px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  font-size: 14px;
  color: #bebab3;
  margin: 0;
}

.steplist li::before {
  content: counter(st);
  position: absolute;
  left: 16px;
  top: 15px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #0a0a0c;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 13px;
}

.steplist li strong {
  display: block;
  color: #fff;
  margin-bottom: 3px;
}

.paytable th,
.paytable td {
  padding: 13px 16px;
  font-size: 13.5px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.paytable th {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: #101116;
}

.paytable td {
  color: #c4c0b9;
}

.paytable img {
  height: 24px;
  width: auto;
}

.err404 {
  text-align: center;
  padding: 40px 20px 20px;
}

.err404 img {
  width: min(320px, 68vw);
  margin: 0 auto 24px;
  border-radius: var(--r-lg);
}

@media (max-width: 900px) {
  .acct {
    grid-template-columns: 1fr;
  }

  .acct__side {
    position: static;
  }

  .acct__nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .acct__nav::-webkit-scrollbar {
    display: none;
  }

  .toc ol {
    columns: 1;
  }
}
