.site-bg-static {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-moedas .site-bg-veil {
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.55) 0%, rgba(7, 8, 10, 0.22) 52%, rgba(7, 8, 10, 0.48) 100%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.12) 0%, rgba(7, 8, 10, 0.55) 100%);
}

.hero-moedas {
  min-height: calc(100vh - var(--header) - var(--preview) - 5px);
  height: auto;
  align-items: start;
  overflow: visible;
}

.hero-moedas .hero-inner {
  grid-template-columns: minmax(18rem, 1fr) minmax(0, 420px);
  align-items: start;
}

.hero-moedas .hero-copy-wrap {
  min-width: 0;
  max-width: 38rem;
}

.hero-moedas .hero-copy-wrap .hero-copy {
  max-width: none;
}

.hero-moedas .hero-copy-wrap [hidden] {
  display: none !important;
}

.hero-guest-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-guest-list li {
  position: relative;
  padding-left: 1.15em;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.35;
}

.hero-guest-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.42em;
  height: 0.42em;
  background: var(--gold);
}

.hero-moedas .hero-copy {
  min-width: 0;
  max-width: 38rem;
}

.hero-moedas .shop-row[hidden] {
  display: none !important;
}

.hero-moedas .shop-row {
  padding-top: 28px;
  padding-bottom: 48px;
}

.hero-moedas .checkout-card.rescue-box {
  margin-top: 0;
  padding-top: 22px;
  border-top: 0;
}

.checkout-card {
  width: 100%;
  max-width: 420px;
  min-width: 0;
  justify-self: end;
  box-sizing: border-box;
  padding: 22px 22px 20px;
  background: rgba(7, 8, 10, 0.78);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow), 0 0 28px rgba(201, 160, 42, 0.12);
  backdrop-filter: blur(10px);
}

.checkout-card [hidden] { display: none !important; }

.checkout-card h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.checkout-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(224, 184, 74, 0.18);
  border-radius: 8px;
}

.checkout-user img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.checkout-user strong {
  display: block;
  color: var(--ink);
}

.checkout-user span {
  color: var(--muted);
  font-size: 0.88rem;
}

.checkout-user .checkout-sair {
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--gold);
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.checkout-field {
  display: block;
  margin: 0 0 12px;
}

.checkout-field span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.92rem;
}

.checkout-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid rgba(224, 184, 74, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
}

.checkout-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid rgba(224, 184, 74, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
}

.checkout-field input:focus,
.checkout-field select:focus {
  outline: 2px solid rgba(224, 184, 74, 0.45);
  outline-offset: 1px;
}

.checkout-amount {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-amount input {
  text-align: right;
}

.checkout-prefix,
.checkout-suffix {
  color: var(--muted);
  white-space: nowrap;
}

.pack-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.pack-picks button {
  min-height: 52px;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--ink);
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: grid;
  justify-items: center;
  line-height: 1.15;
}

.pack-picks button strong {
  font-size: 1.05rem;
}

.pack-picks button span {
  font-family: Outfit, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.86;
}

.pack-picks button:hover,
.pack-picks button.is-on {
  color: #1a1408;
  background: linear-gradient(180deg, #f0d078 0%, #c9a02a 100%);
  border-color: #e6c15a;
}

.checkout-deal {
  margin: -6px 0 14px;
  min-height: 1.3em;
  color: var(--gold, #e0b84a);
  font-size: 0.92rem;
}

.checkout-card .btn {
  width: 100%;
  cursor: pointer;
}

.checkout-card .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.checkout-msg {
  margin: 12px 0 0;
  min-height: 1.4em;
  font-size: 0.92rem;
  color: var(--muted);
}

.checkout-msg.is-ok { color: var(--ok); }
.checkout-msg.is-err { color: #ff8b8b; }

.rescue-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(224, 184, 74, 0.22);
}

.rescue-box[hidden],
.rescue-stats[hidden],
#resgate-pagar[hidden],
#fila-pagar[hidden] { display: none !important; }

.rescue-box h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.rescue-copy {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: break-word;
}

.rescue-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.rescue-stats div {
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(224, 184, 74, 0.18);
  text-align: center;
}

.rescue-stats dt {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rescue-stats dd {
  margin: 4px 0 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.15rem;
}

.rescue-box .btn { margin-top: 8px; }

@media (max-width: 720px) {
  .rescue-stats { grid-template-columns: 1fr; }
}

.steam-login {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.steam-login h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-steam {
  gap: 10px;
  color: #fff;
  background: linear-gradient(180deg, #2a475e 0%, #1b2838 100%);
  border-color: #66c0f4;
}

.btn-steam svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hist-section[hidden] { display: none !important; }

.hist-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.hist-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(7, 8, 10, 0.55);
  border: 1px solid rgba(224, 184, 74, 0.22);
}

.hist-item.is-pending {
  border-color: rgba(102, 192, 244, 0.45);
}

.hist-item.hist-fila {
  border-color: rgba(224, 184, 74, 0.38);
}

.hist-tipo {
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.hist-item strong {
  color: var(--ink);
}

.hist-extra,
.hist-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.hist-item a {
  color: var(--gold);
  width: fit-content;
}

.hist-empty {
  padding: 16px 14px;
  color: var(--muted);
  background: rgba(7, 8, 10, 0.55);
  border: 1px solid rgba(224, 184, 74, 0.22);
}

.convert-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.convert-row li {
  padding: 16px 14px;
  background: rgba(7, 8, 10, 0.55);
  border: 1px solid rgba(224, 184, 74, 0.28);
  text-align: center;
}

.convert-row strong {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.convert-row span {
  color: #fff;
}

@media (max-width: 1100px) {
  .hero-moedas .hero-inner {
    grid-template-columns: 1fr;
  }
  .checkout-card {
    justify-self: stretch;
    width: 100%;
    max-width: 420px;
  }
}

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