/* BichoCoins shop: storefront, game page, order page. Loaded after store.css. */

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 8px;
}

.nav a:hover {
  background: var(--brand-soft);
}

.nav .lang {
  color: var(--brand);
  border: 1px solid var(--line);
  margin-left: 4px;
}

.disclaimer {
  max-width: 720px;
  margin: 0 auto 8px;
  line-height: 1.45;
}

.testbar {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--warn-soft);
  color: var(--warn-ink);
  font-weight: 700;
  font-size: 0.8125rem;
  text-align: center;
}

.block {
  margin-top: 36px;
}

.sect {
  font-size: 1.375rem;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero {
  max-width: none;
  padding: 24px 0 8px;
}

.hero h1,
.hero .lead {
  max-width: 680px;
}

.hero-actions {
  margin-top: 20px;
  max-width: 260px;
}

.trust {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

/* Game tiles: neutral own-style badges */
.tile {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, #4b5fd1, #1d3fbf);
}

.tile-lg {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.tile-fortnite { background: linear-gradient(145deg, #8a52f0, #4a23b5); }
.tile-cod-warzone { background: linear-gradient(145deg, #55705b, #1f2c22); }
.tile-cod-mobile { background: linear-gradient(145deg, #13a592, #0a5f56); }
.tile-free-fire { background: linear-gradient(145deg, #f7843a, #c23b08); }
.tile-pubg { background: linear-gradient(145deg, #e9a90c, #a1620a); }
.tile-counter-strike { background: linear-gradient(145deg, #3f82d6, #17407f); }
.tile-bic { background: linear-gradient(145deg, #fff3cf, #ffe08a); }

.gcards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.gcard {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  min-height: 88px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.gcard:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.1);
  transform: translateY(-1px);
}

.gcard-off {
  opacity: 0.75;
}

.gcard-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gcard-name {
  font-weight: 700;
  line-height: 1.25;
}

.gcard-sub {
  color: var(--muted);
  font-size: 0.8125rem;
}

.gcard-price {
  margin-top: 4px;
  font-size: 0.9375rem;
}

.badge {
  position: absolute;
  top: -9px;
  right: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn-ink);
  border: 1px solid #f0d58a;
  font-size: 0.6875rem;
  font-weight: 700;
}

.how {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.how li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 8px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.faq summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq details[open] summary {
  color: var(--brand);
}

.faq details p {
  padding: 0 16px 16px;
  color: var(--muted);
}

/* Game page */
.crumbs {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

.game-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.game-head h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
}

.shop-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}

.step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.step legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 12px;
}

.step .field + .field {
  margin-top: 16px;
}

.packs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
}

.pack {
  position: relative;
  display: block;
  cursor: pointer;
}

.pack input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.pack-face {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  min-height: 84px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pack:hover .pack-face {
  border-color: var(--brand);
}

.pack input:checked + .pack-face {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand);
  background: var(--brand-soft);
}

.pack input:focus-visible + .pack-face {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.pack input:disabled {
  cursor: not-allowed;
}

.pack.is-low .pack-face {
  background: #f2f4f7;
}

.pack input:disabled + .pack-face {
  opacity: 0.6;
}

.pack-amt {
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
}

.pack-amt small {
  margin-left: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.pack-price {
  font-weight: 600;
  color: var(--brand);
}

.pack-low {
  margin-top: 4px;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--warn-ink);
}

.where {
  font-size: 0.9375rem;
}

.where summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
}

.where p {
  padding: 10px 12px;
  background: var(--brand-soft);
  border-radius: 10px;
}

.pms {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr));
}

.pm {
  position: relative;
  display: block;
  cursor: pointer;
}

.pm input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.pm-face {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-weight: 700;
  font-size: 0.9375rem;
}

.pm input:checked + .pm-face {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.pm input:focus-visible + .pm-face {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 12px;
  background: var(--warn-soft);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  color: var(--warn-ink);
}

.check input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--brand);
}

.field-err {
  color: var(--err);
  font-size: 0.875rem;
  font-weight: 600;
}

.summary-box {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.summary-box div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-box .total strong {
  font-size: 1.375rem;
}

.btn.big {
  min-height: 54px;
  font-size: 1.0625rem;
}

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

.note-box {
  padding: 12px 14px;
  background: var(--brand-soft);
  border-radius: 10px;
  border-left: 4px solid var(--brand);
}

.bic-panel {
  max-width: 720px;
}

.notfound {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

/* Order page */
.order {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.order-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.order-head > div {
  flex: 1;
  min-width: 160px;
}

.order-head h1 {
  font-size: 1.5rem;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.8125rem;
  font-weight: 700;
}

.pill-delivered,
.pill-refunded {
  background: var(--ok-soft);
  color: var(--ok);
}

.pill-expired,
.pill-cancelled,
.pill-failed,
.pill-partial,
.pill-refunding {
  background: var(--warn-soft);
  color: var(--warn-ink);
}

.banner {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
}

.banner-warn {
  background: var(--warn-soft);
  color: var(--warn-ink);
}

.banner-info {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: grid;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tl-dot {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.timeline .done .tl-dot,
.timeline .current .tl-dot {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.timeline .done .tl-dot {
  background: var(--ok);
  border-color: var(--ok);
}

.timeline .current .tl-dot {
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.timeline .todo {
  color: var(--muted);
}

.tl-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.tl-text small {
  color: var(--muted);
  font-size: 0.8125rem;
}

.pay-grid {
  display: grid;
  gap: 14px;
  margin: 0;
}

.pay-grid dt {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.copyable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.mono {
  font-family: var(--mono);
  font-weight: 600;
  word-break: break-all;
  min-width: 0;
}

.addr {
  font-size: 0.875rem;
}

.big-num {
  font-size: 1.25rem;
}

.qr-wrap {
  margin: 0;
  display: flex;
  justify-content: center;
}

.countdown {
  text-align: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.sim-actions {
  display: grid;
  gap: 10px;
}

.delivered {
  border-color: var(--ok);
  background: var(--ok-soft);
}

.delivered h2 {
  color: var(--ok);
}

.codes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.codes li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--line);
}

.code {
  font-size: 1.125rem;
  letter-spacing: 0.04em;
}

.kv {
  display: grid;
  gap: 8px;
  margin: 0;
}

.kv div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.kv dt {
  color: var(--muted);
}

.kv dd {
  text-align: right;
  font-weight: 600;
}

.sr-copy {
  position: fixed;
  left: -9999px;
}

@media (min-width: 640px) {
  .sim-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gcard {
    transition: none;
  }
}

@media (max-width: 520px) {
  .top-in {
    flex-wrap: wrap;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .nav a {
    padding: 0 8px;
  }
}
