/* 임시 — 홈 추첨식 7종 최신 결과 (앱 당첨 카드 유사) */
.promo-lottery-latest {
  margin-top: 28px;
}

.promo-lottery-latest__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.promo-lottery-latest__badge {
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5e5ce6;
  background: rgba(94, 92, 230, 0.12);
}

.promo-lottery-latest__status {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.promo-lottery-latest__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 720px) {
  .promo-lottery-latest__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .promo-lottery-latest__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.promo-lottery-card {
  border-radius: var(--radius-lg);
  padding: 14px 14px 16px;
  background: linear-gradient(165deg, #0f1a2e 0%, #0a1220 55%, #12182a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 28px rgba(10, 22, 40, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #f2f2f7;
}

.promo-lottery-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.promo-lottery-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  padding: 3px;
  flex-shrink: 0;
}

.promo-lottery-card__title-wrap {
  min-width: 0;
  flex: 1;
}

.promo-lottery-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.promo-lottery-card__meta {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: rgba(242, 242, 247, 0.62);
  font-variant-numeric: tabular-nums;
}

.promo-lottery-card__balls {
  margin-top: 4px;
}

.promo-lottery-card__row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: center;
}

.promo-lottery-card__row--keno {
  gap: 5px;
}

/* Power 6/55 — 6+1 볼 한 줄 */
.promo-lottery-card__row--power {
  flex-wrap: nowrap;
  gap: 4px;
}

.promo-lottery-card__row--power .promo-lottery-card__plus {
  font-size: 14px;
  padding: 0 1px;
}

.promo-lottery-card__plus {
  font-size: 18px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1;
  padding: 0 2px;
}

.promo-lottery-ball {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--ball-border, rgba(255, 255, 255, 0.65));
  background: linear-gradient(180deg, var(--ball-top, #fff) 0%, var(--ball-bottom, #ccc) 100%);
  color: var(--ball-ink, #fff);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.28),
    0 2px 8px var(--ball-glow, rgba(0, 0, 0, 0.2));
}

.promo-lottery-ball::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 16%;
  width: 42%;
  height: 26%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.promo-lottery-ball--sm {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  font-size: 12px;
}

.promo-lottery-ball--md {
  width: 38px;
  height: 38px;
  border-radius: 19px;
  font-size: 16px;
}

.promo-lottery-ball--compact {
  width: 31px;
  height: 31px;
  border-radius: 15px;
  font-size: 13px;
  flex-shrink: 0;
}

.promo-lottery-ball--wide {
  min-width: 52px;
  height: 38px;
  padding: 0 8px;
  border-radius: 19px;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.promo-lottery-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}

.promo-lottery-tag {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.promo-lottery-tag--accent {
  background: rgba(255, 214, 10, 0.16);
  border-color: rgba(255, 214, 10, 0.35);
  color: #ffd60a;
}

.promo-lottery-card__max3d-rank {
  margin-top: 8px;
}

.promo-lottery-card__max3d-label {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 242, 247, 0.55);
  text-align: center;
}

.promo-lottery-card--loading,
.promo-lottery-card--error {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: rgba(242, 242, 247, 0.7);
}

.promo-lottery-card--error {
  border-color: rgba(255, 59, 48, 0.35);
}

/* 전통복권 웹 조회 — 곧 제공 예고 */
.promo-trad-teaser {
  margin-top: 16px;
}

.promo-trad-teaser__inner {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 159, 10, 0.45);
  background: linear-gradient(180deg, rgba(255, 159, 10, 0.08) 0%, rgba(255, 248, 235, 0.72) 100%);
  padding: 18px 20px 20px;
  text-align: center;
}

.promo-trad-teaser__badge {
  margin: 0 0 8px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c93400;
  background: rgba(255, 159, 10, 0.18);
}

.promo-trad-teaser__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.promo-trad-teaser__text {
  margin: 0 auto 14px;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.promo-trad-teaser__text strong {
  color: var(--text-secondary);
  font-weight: 700;
}

.promo-trad-teaser__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.promo-trad-teaser__cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
