/* Lotto predictions ad landing page (/lotto-predictions/). Mobile first. */
.lp { --lp-purple: #5949b3; --lp-deep: #2a0f5c; --lp-gold: #f4b72c; --lp-ball: linear-gradient(86deg, #ec038b 0%, #fb6468 44%, #fbb936 100%); background: #f6f3fb; padding-bottom: 90px; }
.lp-hero { position: relative; overflow: hidden; padding: 36px 0 100px; background: radial-gradient(circle at 15% 85%, rgba(236,3,139,.45), transparent 45%), radial-gradient(circle at 90% 15%, rgba(251,185,54,.35), transparent 40%), linear-gradient(180deg, #4c1e9e 0%, var(--lp-deep) 100%); color: #fff; text-align: center; }
.lp-hero-inner { max-width: 640px; margin: 0 auto; }
.lp-kicker { display: inline-block; padding: 6px 16px; border-radius: 20px; background: rgba(244,183,44,.16); color: var(--lp-gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.lp-game-icon { width: 96px; height: 96px; margin: 20px auto 14px; padding: 12px; border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; }
.lp-game-icon img { max-width: 100%; max-height: 100%; }
.lp-hero h1 { margin: 0; color: #fff; font-size: 40px; line-height: 1.1; }
.lp-hero h1 span { display: block; margin-top: 6px; color: var(--lp-gold); font-size: 22px; letter-spacing: .04em; }
.lp-sub { margin: 14px auto 0; max-width: 460px; color: #d6caff; font-size: 16px; }
.lp-countdown { display: inline-block; margin-top: 24px; padding: 12px 22px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.lp-countdown small { display: block; color: #d6caff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.lp-countdown div { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.lp-countdown b { margin: 0 2px; color: var(--lp-gold); }
.lp-countdown.is-closed small { font-size: 14px; text-transform: none; letter-spacing: 0; }
.lp-bonus { width: fit-content; margin: 16px auto 0; padding: 8px 18px; border-radius: 22px; background: var(--lp-ball); color: #fff; font-weight: 700; box-shadow: 0 8px 20px rgba(236,3,139,.35); }

.lp-main { margin-top: -70px; position: relative; }
.lp-pick { position: relative; max-width: 720px; margin: 0 auto; padding: 34px 16px 26px; border-radius: 22px; background: #fff; text-align: center; box-shadow: 0 18px 50px rgba(42,15,92,.18); border-top: 5px solid var(--lp-gold); }
.lp-ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 5px 18px; border-radius: 16px; background: var(--lp-gold); color: var(--lp-deep); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.lp-pick h2 { margin: 6px 0 18px; color: var(--lp-purple); font-size: 26px; }
.lp-pick p { margin: 14px 0 20px; color: #555; }
.lp-balls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-balls span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lp-ball); color: #fff; font-weight: 700; box-shadow: 0 6px 10px rgba(243,42,126,.22); }
.lp-balls-big span { width: 58px; height: 58px; font-size: 22px; background: radial-gradient(circle at 32% 28%, #ffe7a3 0%, #fbb936 38%, #f08a1c 100%); box-shadow: 0 10px 18px rgba(240,138,28,.35); animation: lp-pop .5s cubic-bezier(.2,1.4,.4,1) both; animation-delay: calc(var(--i) * .12s + .2s); }
.lp-balls span.lp-white { background: #fff; color: var(--lp-purple); box-shadow: inset 0 0 0 2px #e2d9f0; }
@keyframes lp-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lp-balls-big span { animation: none; } }

.lp-cta { display: inline-block; padding: 15px 34px; border-radius: 30px; background: var(--lp-ball); color: #fff !important; font-size: 18px; font-weight: 700; box-shadow: 0 10px 22px rgba(236,3,139,.3); transition: transform .15s; }
.lp-cta:hover { transform: translateY(-2px); }
.lp-cta-ghost { padding: 10px 24px; font-size: 15px; background: #fff; color: var(--lp-purple) !important; box-shadow: inset 0 0 0 2px var(--lp-purple); }
.lp-cta-note { display: block; margin-top: 10px; color: #888; }

.lp-sets { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 720px; margin: 22px auto 0; }
.lp-set { padding: 22px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 6px 24px rgba(42,15,92,.08); }
.lp-set h3 { margin: 0 0 4px; color: var(--lp-purple); font-size: 20px; }
.lp-set p { margin: 0 0 14px; color: #666; font-size: 14px; }
.lp-set .lp-balls { margin-bottom: 16px; }
.lp-set-due .lp-balls span { background: linear-gradient(135deg, #7b6cf0, var(--lp-purple)); box-shadow: 0 6px 10px rgba(89,73,179,.25); }

.lp-heading { margin: 44px 0 16px; color: var(--lp-purple); font-size: 26px; text-align: center; }
.lp-analysis { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lp-card { padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 6px 24px rgba(42,15,92,.08); }
.lp-card h3 { margin: 0; color: var(--lp-purple); font-size: 18px; }
.lp-card-sub { margin: 2px 0 14px; color: #888; font-size: 13px; }
.lp-mini { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lp-ball); color: #fff; font-size: 13px; font-weight: 700; }
.lp-mini-white { background: #fff; color: var(--lp-purple); box-shadow: inset 0 0 0 2px #e2d9f0; }
.lp-bars, .lp-due, .lp-pairs { margin: 0; padding: 0; list-style: none; }
.lp-bars li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.lp-bars div { flex: 1; height: 10px; border-radius: 6px; background: #f1ecf8; overflow: hidden; }
.lp-bars i { display: block; height: 100%; border-radius: 6px; background: var(--lp-ball); }
.lp-bars b { width: 34px; color: var(--lp-purple); font-size: 13px; text-align: right; }
.lp-due li { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; color: #555; font-size: 14px; }
.lp-due b, .lp-pairs b { color: var(--lp-purple); }
.lp-pairs li { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 14px; }
.lp-pairs b { margin-left: 8px; }
.lp-split { height: 16px; border-radius: 10px; background: linear-gradient(135deg, #7b6cf0, var(--lp-purple)); overflow: hidden; }
.lp-split i { display: block; height: 100%; background: var(--lp-ball); }
.lp-split-labels { display: flex; justify-content: space-between; margin-top: 6px; color: var(--lp-purple); font-weight: 700; font-size: 14px; }
.lp-fact { margin: 16px 0 0; color: #555; font-size: 14px; }

.lp-last { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 16px; padding: 20px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 6px 24px rgba(42,15,92,.08); }
.lp-last h3 { margin: 0; color: var(--lp-purple); font-size: 18px; }
.lp-last p { margin: 2px 0 0; color: #888; font-size: 13px; }
.lp-last a { color: var(--lp-purple); font-weight: 700; }

.lp-final { margin-top: 30px; padding: 34px 22px; border-radius: 22px; background: linear-gradient(135deg, #4c1e9e, var(--lp-deep)); color: #fff; text-align: center; }
.lp-final h2 { margin: 0 0 8px; color: #fff; font-size: 26px; }
.lp-final p { margin: 0 0 20px; color: #d6caff; }
.lp-switch { margin-top: 24px; text-align: center; }
.lp-switch > span { display: block; margin-bottom: 10px; color: #888; font-size: 14px; }
.lp-switch div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-switch a { padding: 8px 14px; border-radius: 20px; background: #fff; color: var(--lp-purple); font-weight: 700; font-size: 14px; box-shadow: 0 3px 10px rgba(42,15,92,.08); }
.lp-note { margin: 26px 0 0; color: #999; font-size: 13px; text-align: center; }

.lp-sticky { position: fixed; right: 0; bottom: 0; left: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 24px rgba(42,15,92,.15); }
.lp-sticky small { display: block; color: #888; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.lp-sticky strong { color: var(--lp-purple); font-size: 16px; white-space: nowrap; }
.lp-sticky .lp-cta { padding: 11px 22px; font-size: 16px; white-space: nowrap; }

@media (min-width: 768px) {
  .lp-hero { padding: 56px 0 120px; }
  .lp-hero h1 { font-size: 54px; }
  .lp-hero h1 span { font-size: 26px; }
  .lp-balls-big span { width: 72px; height: 72px; font-size: 26px; }
  .lp-sets { grid-template-columns: 1fr 1fr; }
  .lp-analysis { grid-template-columns: 1fr 1fr; }
  .lp-last { flex-direction: row; justify-content: space-between; text-align: left; }
  .lp-sticky { display: none; }
  .lp { padding-bottom: 40px; }
}
@media (min-width: 1200px) { .lp-analysis { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { body:has(.lp-sticky) .scrollToTop { display: none !important; } }

/* Lotto slip: our pick marked in pen, like a paper coupon. */
.lp-slip { box-sizing: border-box; width: 100%; max-width: 420px; margin: 0 auto 20px; padding: 10px 8px 12px; border-radius: 6px; background: #fffaf0; background-image: repeating-linear-gradient(0deg, transparent 0 22px, rgba(196,40,72,.04) 22px 23px); border: 1px dashed #e3b8c2; box-shadow: 0 6px 18px rgba(42,15,92,.1); transform: rotate(-1.2deg); }
.lp-slip-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 2px solid #c42848; color: #c42848; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.lp-slip-head strong { font-size: 14px; }
.lp-slip-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.lp-slip-grid span { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border: 1px solid #f0cdd5; border-radius: 3px; color: #c42848; font-size: 11px; font-weight: 700; background: #fff; }
.lp-slip-grid span.is-marked { color: #1d2d8f; background: #eef1ff; }
.lp-slip-grid svg { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); overflow: visible; }
.lp-slip-grid path { fill: none; stroke: #1d3fd1; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 110; stroke-dashoffset: 110; animation: lp-ink .7s ease-out forwards; }
.lp-slip-grid span.is-marked path { animation-delay: calc(var(--o) * .35s + .4s); }
@keyframes lp-ink { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .lp-slip-grid path { animation: none; stroke-dashoffset: 0; } }
.lp-pick .lp-balls-big span { width: 50px; height: 50px; font-size: 19px; }
@media (min-width: 768px) {
  .lp-slip-grid span { font-size: 13px; }
  .lp-pick .lp-balls-big span { width: 62px; height: 62px; font-size: 23px; }
}
.lp-lucky { display: block; margin-top: 16px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 2px dashed #e3d8f5; text-align: center; color: #555 !important; }
.lp-lucky strong { display: block; color: var(--lp-purple); font-size: 17px; }
.lp-lucky span { font-size: 14px; }
