/* Lottery / Rifas — visual premium BRPlay */
.bp-lot { margin-bottom: 2rem; }

.bp-lot__hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  border-radius: 20px;
  padding: 1.4rem 1.5rem 1.5rem;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(226, 177, 90, 0.22);
  background:
    radial-gradient(1200px 280px at 10% -20%, rgba(226, 177, 90, 0.16), transparent 55%),
    radial-gradient(800px 240px at 100% 120%, rgba(230, 57, 70, 0.14), transparent 50%),
    var(--surface, #141820);
}
.bp-lot__hero-main { flex: 1 1 16rem; min-width: 0; }
.bp-lot__hero-side {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.bp-lot__hero-cta {
  white-space: nowrap;
}
.bp-lot__hero::after {
  content: "";
  position: absolute;
  inset: auto -20px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(226, 177, 90, 0.06);
  pointer-events: none;
}
.bp-lot__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e2b15a;
}
.bp-lot__kicker i { margin-right: 0.35rem; }
.bp-lot__hero h2 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text, #fff);
}
.bp-lot__hero-lead {
  margin: 0;
  max-width: 46rem;
  color: var(--text-muted, #94a3b8);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bp-lot__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.bp-lot__bal {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
}
.bp-lot__bal strong { color: #e2b15a; font-weight: 800; }

.bp-lot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 0.85rem;
}
.bp-lot__grid--hub { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.bp-lot__card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--line, rgba(255,255,255,0.08));
  background: var(--surface, #161c26);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
a.bp-lot__card:hover {
  border-color: rgba(226, 177, 90, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  color: inherit;
}
.bp-lot__card--static { cursor: default; }
.bp-lot__card.is-done { opacity: 0.78; }

.bp-lot__ico {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-content: center;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(226,177,90,0.2), rgba(230,57,70,0.12));
  border: 1px solid rgba(226, 177, 90, 0.28);
  color: #e2b15a;
  font-size: 1.15rem;
}
.bp-lot__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.18rem; }
.bp-lot__body strong { font-size: 1rem; font-weight: 900; }
.bp-lot__body small { font-size: 0.78rem; color: var(--text-dim-2, #94a3b8); line-height: 1.35; }
.bp-lot__price { font-size: 0.84rem; font-weight: 800; color: #e2b15a; font-style: normal; }
.bp-lot__go { color: var(--text-dim-2, #64748b); font-size: 0.75rem; }

.bp-lot__grid--raffles {
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 900px) {
  .bp-lot__grid--raffles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bp-lot-rf {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  padding: 1.25rem 1.3rem 1.2rem;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(226, 177, 90, 0.22);
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(226, 177, 90, 0.1), transparent 55%),
    var(--surface, #161c26);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.bp-lot-rf.is-done { opacity: 0.82; }
.bp-lot-rf.has-claim {
  border-color: rgba(226, 177, 90, 0.5);
  box-shadow: 0 0 0 1px rgba(226, 177, 90, 0.16), 0 16px 40px rgba(0, 0, 0, 0.28);
}
.bp-lot-rf__head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.bp-lot-rf .bp-lot__ico {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  border-radius: 16px;
  font-size: 1.35rem;
}
.bp-lot-rf__titles { flex: 1; min-width: 0; }
.bp-lot-rf__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}
.bp-lot-rf__titles h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.bp-lot-rf__desc {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: var(--text-dim-2, #94a3b8);
  line-height: 1.45;
}
.bp-lot-rf__kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.bp-lot-kind {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.28rem 0.7rem 0.28rem 0.38rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(226, 177, 90, 0.2);
  color: #f3d7a0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
}
.bp-lot-kind i {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: rgba(226, 177, 90, 0.14);
  font-size: 0.68rem;
  color: #e2b15a;
}
.bp-lot-rf__prizes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.bp-lot-ptile {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 58px;
  padding: 0.5rem 0.65rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(226, 177, 90, 0.16);
}
.bp-lot-ptile__img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-content: center;
  border-radius: 10px;
  background: rgba(226, 177, 90, 0.1);
  color: #e2b15a;
  overflow: hidden;
}
.bp-lot-ptile__img img { width: 100%; height: 100%; object-fit: contain; }
.bp-lot-ptile__lab {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f3d7a0;
}
.bp-lot-ptile--more {
  justify-content: center;
  color: #cbd5e1;
  border-style: dashed;
}
.bp-lot-rf__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.bp-lot-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(226, 177, 90, 0.12);
  border: 1px solid rgba(226, 177, 90, 0.22);
  color: #f3d7a0;
  font-size: 0.72rem;
  font-weight: 700;
}
.bp-lot-chip img { width: 16px; height: 16px; object-fit: contain; }
.bp-lot-chip--more { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: #cbd5e1; }
.bp-lot-rf__progress { display: grid; gap: 0.4rem; }
.bp-lot-rf__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.bp-lot-rf__price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #e2b15a;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.bp-lot-rf__price small { display: block; font-size: 0.72rem; font-weight: 600; color: var(--text-dim-2, #94a3b8); letter-spacing: 0; }
.bp-lot-rf__meta .bp-btn { min-width: 8.2rem; text-align: center; }
.bp-lot-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.bp-lot-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e2b15a, #ef4455);
}
.bp-lot-rf__sold { font-size: 0.8rem; color: var(--text-dim-2, #94a3b8); font-weight: 600; }
.bp-lot-rf__sold strong { color: #fff; }
.bp-lot__badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim-2, #94a3b8);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line, rgba(255,255,255,0.1));
}
.bp-lot__badge--live {
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(22, 163, 74, 0.12);
}
.bp-lot__win { font-size: 0.78rem; font-style: normal; color: #fbbf24; }

/* Detail */
.bp-lot-raffle__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
@media (min-width: 980px) {
  .bp-lot-raffle__layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
}
.bp-lot-side { display: grid; gap: 0.85rem; }
.bp-lot-prizebox {
  border-radius: 20px;
  border: 1px solid rgba(226, 177, 90, 0.24);
  background:
    radial-gradient(380px 140px at 100% 0%, rgba(226, 177, 90, 0.12), transparent 60%),
    var(--surface, #161c26);
  box-shadow: 0 14px 32px rgba(0,0,0,0.26);
  overflow: hidden;
}
.bp-lot-prizebox__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.85rem;
  border-bottom: 1px solid rgba(226, 177, 90, 0.12);
}
.bp-lot-prizebox__head > i {
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  border-radius: 12px;
  background: rgba(226, 177, 90, 0.14);
  color: #e2b15a;
  font-size: 1.05rem;
}
.bp-lot-prizebox__head strong { display: block; font-size: 1rem; font-weight: 900; }
.bp-lot-prizebox__head small { color: var(--text-dim-2, #94a3b8); font-size: 0.75rem; }
.bp-lot-prizebox__list { padding: 0.55rem 0.7rem 0.8rem; display: grid; gap: 0.45rem; }
.bp-lot-prize {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.06);
}
.bp-lot-prize__img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-content: center;
  border-radius: 12px;
  background: rgba(226, 177, 90, 0.1);
  border: 1px solid rgba(226, 177, 90, 0.2);
  overflow: hidden;
  color: #e2b15a;
  font-size: 1.15rem;
}
.bp-lot-prize__img img { width: 100%; height: 100%; object-fit: contain; }
.bp-lot-prize__txt { min-width: 0; }
.bp-lot-prize strong { display: block; font-size: 0.92rem; font-weight: 800; line-height: 1.25; }
.bp-lot-prize small { color: var(--text-dim-2, #94a3b8); font-size: 0.74rem; }

.bp-lot__winbox {
  text-align: center;
  padding: 1.4rem 1rem 1.2rem;
}
.bp-lot__winbox i { font-size: 1.8rem; color: #e2b15a; }
.bp-lot__win-big { font-size: 1.1rem; margin: 0.6rem 0 0.2rem; }
.bp-lot__win-big strong {
  display: inline-block;
  margin-left: 0.3rem;
  font-size: 2rem;
  color: #e2b15a;
  letter-spacing: -0.03em;
}
.bp-lot__claim {
  margin-top: 0.85rem;
  padding: 0.95rem 1rem 1rem;
  border-radius: 14px;
  background: rgba(226, 177, 90, 0.08);
  border: 1px solid rgba(226, 177, 90, 0.22);
  text-align: left;
}
.bp-lot__claim h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
}
.bp-lot__claim-hint {
  margin: 0.65rem 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.4;
}
.bp-lot-claimlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.bp-lot-claimlist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--line, rgba(255,255,255,0.08));
}
.bp-lot-claimlist__ico {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-content: center;
  border-radius: 8px;
  background: rgba(226,177,90,0.12);
  color: #e2b15a;
  overflow: hidden;
}
.bp-lot-claimlist__ico img { width: 100%; height: 100%; object-fit: contain; }
.bp-lot-claimlist__txt { flex: 1; min-width: 0; }
.bp-lot-claimlist__txt strong { display: block; font-size: 0.86rem; }
.bp-lot-claimlist__txt small { color: var(--text-dim-2, #94a3b8); font-size: 0.72rem; }
.bp-lot-claimlist li em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fbbf24;
}
.bp-lot-claimlist li em.is-ok { color: #86efac; }
.bp-lot-claimlist li.is-claimed { opacity: 0.72; }

.bp-lot__alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(226, 177, 90, 0.32);
  background: rgba(226, 177, 90, 0.1);
}
.bp-lot__alert strong { display: block; margin-bottom: 0.2rem; }
.bp-lot__alert p { margin: 0; font-size: 0.82rem; color: var(--text-muted, #94a3b8); }
.bp-lot-rf.has-claim { border-color: rgba(226, 177, 90, 0.5); }
.bp-lot__sec {
  margin: 1.35rem 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e2b15a;
}
.bp-lot-rf.is-claimed {
  opacity: 0.92;
  border-color: rgba(134, 239, 172, 0.28);
  background:
    radial-gradient(420px 140px at 100% 0%, rgba(47, 174, 110, 0.1), transparent 60%),
    var(--surface, #141820);
}
.bp-lot-rf.is-claimed .bp-lot__ico { color: #86efac; }
.bp-lot-rf__when {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: var(--text-dim-2, #94a3b8);
}
.bp-lot-rf__ok {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86efac;
}

.bp-lot-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(2.55rem, 1fr));
  gap: 0.4rem;
  margin: 0.35rem 0 1rem;
}
.bp-lot-numbers .number {
  display: inline-grid;
  place-content: center;
  min-width: 0;
  height: 2.55rem;
  border-radius: 11px;
  border: 1px solid var(--line, rgba(255,255,255,0.1));
  background: rgba(0, 0, 0, 0.28);
  color: var(--text-muted, #94a3b8);
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  user-select: none;
}
.bp-lot-numbers a.number.allowed { color: #fff; cursor: pointer; border-color: rgba(255,255,255,0.14); }
.bp-lot-numbers a.number.allowed:hover {
  border-color: rgba(226, 177, 90, 0.55);
  color: #fde68a;
}
.bp-lot-numbers a.number.active {
  background: linear-gradient(160deg, #e2b15a, #c48a2a);
  border-color: transparent;
  color: #1a1205;
  box-shadow: 0 6px 16px rgba(226, 177, 90, 0.28);
}
.bp-lot-numbers .number.my {
  border-color: rgba(56, 189, 248, 0.5);
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.12);
}
.bp-lot-numbers .number:not(.allowed):not(.my) { opacity: 0.45; }
.bp-lot-numbers__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.bp-lot__price-live { font-weight: 800; color: #e2b15a; }
.bp-lot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  color: var(--text-dim-2, #94a3b8);
}
.bp-lot-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.bp-lot-legend i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 3px;
  display: inline-block;
}
.bp-lot-legend .lg-free { background: rgba(255,255,255,0.18); }
.bp-lot-legend .lg-sel { background: #e2b15a; }
.bp-lot-legend .lg-mine { background: #38bdf8; }
.bp-lot-legend .lg-taken { background: rgba(255,255,255,0.08); }

.bp-lot-loto-form { display: grid; gap: 0.45rem; min-width: 140px; }

.bp-lot__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.bp-lot__stat {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(226, 177, 90, 0.12);
}
.bp-lot__stat b { display: block; font-size: 1.2rem; font-weight: 900; }
.bp-lot__stat span { font-size: 0.7rem; color: var(--text-dim-2, #94a3b8); font-weight: 600; }

@media (max-width: 640px) {
  .bp-lot__hero { padding: 1.1rem 1rem 1.15rem; }
  .bp-lot__hero h2 { font-size: 1.28rem; }
  .bp-lot-rf { padding: 1.05rem 1rem 1rem; }
  .bp-lot-rf__titles h3 { font-size: 1.15rem; }
  .bp-lot-rf__prizes { grid-template-columns: 1fr; }
  .bp-lot-rf__price { font-size: 1.15rem; }
}
