/* LOTORA promo — landing blocks (header, footer and tokens come from style.css) */

/* Keep the 1280px content column centered on wide screens, like the main site */
.phero {
  padding-left: max(80px, calc(50% - 640px)) !important;
  padding-right: max(80px, calc(50% - 640px)) !important;
}

/* ============ Promo 1 — cover ============ */
.phero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  background: var(--navy-hero);
}
/* background layer: explicit absolute so no container rule can pull it into flow */
.phero .phero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.phero .phero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.phero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(15, 25, 67, 0.97) 0%,
    rgba(15, 25, 67, 0.88) 46%,
    rgba(15, 25, 67, 0.35) 100%);
}
.phero .phero__copy,
.phero .nextdraw { position: relative; z-index: 2; }

.phero__copy {
  width: 640px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.phero__kicker {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.phero__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.15;
  color: #ffffff;
}
.phero__title span {
  display: block;
  margin-top: 8px;
  font-weight: 900;
  font-size: 92px;
  line-height: 1;
  letter-spacing: -3px;
}
.phero__lede {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.6;
}
.phero__acts { display: flex; align-items: center; gap: 24px; }
.phero__note { color: rgba(255, 255, 255, 0.55); font-size: 12px; }

/* next draw card */
.nextdraw {
  width: 460px;
  flex-shrink: 0;
  padding: 32px;
  border-radius: 16px;
  background: rgba(11, 18, 58, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nextdraw__cap {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nextdraw__when {
  margin-top: -12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
}
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown[hidden] { display: none; }
.countdown__cell {
  padding: 14px 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.countdown__num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.countdown__lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.nextdraw__rule { height: 1px; background: rgba(255, 255, 255, 0.1); }
.nextdraw__facts { display: flex; flex-direction: column; gap: 10px; }
.nextdraw__facts div { display: flex; justify-content: space-between; font-size: 14px; }
.nextdraw__facts dt { color: rgba(255, 255, 255, 0.6); }
.nextdraw__facts dd { color: #ffffff; font-weight: 700; }

/* ============ Promo 2 — three games ============ */
.pgames { background: #ffffff; }
.pgames__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pcard {
  position: relative;
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border-8);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    box-shadow 200ms var(--ease-standard),
    transform 200ms var(--ease-standard);
}
.pcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(27, 43, 107, 0.08);
}
.pcard--featured {
  background: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.12);
}
.pcard__flag {
  position: absolute;
  top: -13px;
  left: 32px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pcard__top { display: flex; align-items: center; justify-content: space-between; }
.pcard__name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--ink);
}
.pcard__price {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.pcard__balls { display: flex; gap: 6px; min-height: 38px; }
.pcard__balls .ball--38 { width: 36px; height: 36px; }
.pcard__tag {
  min-height: 38px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}
.pcard__facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--border-8);
  border-bottom: 1px solid var(--border-8);
}
.pcard__facts div { display: flex; justify-content: space-between; font-size: 14px; }
.pcard__facts dt { color: var(--muted); }
.pcard__facts dd { color: var(--ink); font-weight: 600; }
.pcard__facts dd.strong {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--primary);
}
.pcard__text { font-size: 14px; line-height: 1.6; color: var(--muted); }
.pcard .btn { margin-top: auto; width: 100%; }

/* ============ Promo 3 — steps + final CTA ============ */
.psteps { background: var(--bg-light); }
.psteps__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pstep {
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--border-6);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.pstep__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.pstep__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.pstep__text { font-size: 14px; line-height: 1.6; color: var(--muted); }
.pstep .link-underline { margin-top: auto; padding-top: 4px; }

.pcta {
  margin-top: 48px;
  padding: 40px 48px;
  border-radius: 16px;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.pcta__copy { max-width: 720px; display: flex; flex-direction: column; gap: 10px; }
.pcta__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.2;
  color: #ffffff;
}
.pcta__text { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.pcta__text a { color: var(--accent); font-weight: 700; text-decoration: underline; white-space: nowrap; }
.pcta__acts { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }

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