/* =============================================================================
   mb-lottery.css — ticket lottery page (lottery/show.blade.php).
   Builds on mb-checkout.css (co-card, co-input, co-btn …).
   ============================================================================= */

.lt-page { max-width: 720px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.lt-hero {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
    margin-bottom: 12px; padding: 22px 18px;
    border-radius: 24px;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(252, 211, 77, .28), transparent 60%),
        radial-gradient(360px 240px at 0% 100%, rgba(59, 130, 246, .28), transparent 60%),
        linear-gradient(135deg, #0B1026 0%, #1E1B4B 45%, #3B0764 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 22px 44px -22px rgba(59, 7, 100, .7);
}
@media (min-width: 640px) { .lt-hero { padding: 28px 28px; gap: 20px; } }
.lt-hero-copy { position: relative; z-index: 1; min-width: 0; }
.lt-status {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px; border-radius: 999px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    font-size: .72rem; font-weight: 800;
}
.lt-status-active i { font-size: .5rem; color: #4ADE80; animation: lt-blink 1.6s ease-in-out infinite; }
.lt-status-sold_out i, .lt-status-drawn i { color: #FCD34D; }
@keyframes lt-blink { 50% { opacity: .35; } }
.lt-headline {
    margin: 12px 0 6px;
    font-family: 'Noto Sans Bengali', var(--ct-font-display) !important;
    font-size: 1.55rem; font-weight: 800; line-height: 1.3; color: #fff;
}
@media (min-width: 640px) { .lt-headline { font-size: 2rem; } }
.lt-hl-price { color: #FCD34D; }
.lt-hl-prize {
    background: linear-gradient(90deg, #fff, #C4B5FD 60%, #93C5FD);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lt-sub { margin: 0; font-size: .8rem; color: rgba(255,255,255,.7); }
.lt-hero-stats { position: relative; z-index: 1; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.lt-hero-stats > div {
    display: flex; flex-direction: column; min-width: 0; text-align: center;
    padding: 8px 10px; border-radius: 12px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.lt-hero-stats strong { font-family: var(--ct-font-display) !important; font-size: .98rem; color: #fff; }
.lt-hero-stats span { font-size: .66rem; color: rgba(255,255,255,.65); font-weight: 600; }

.lt-hero-visual { position: relative; z-index: 1; width: 112px; display: flex; justify-content: center; }
@media (min-width: 640px) { .lt-hero-visual { width: 160px; } }
.lt-hero-img { width: 100%; height: auto; border-radius: 20px; object-fit: cover; }
.lt-phone {
    position: relative;
    width: 96px; height: 190px;
    border-radius: 24px; padding: 6px;
    background: linear-gradient(145deg, #E5E7EB, #9CA3AF 40%, #F3F4F6 60%, #6B7280);
    box-shadow: 0 24px 40px -14px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.5);
    transform: rotate(8deg);
    animation: lt-float 4.5s ease-in-out infinite;
}
@media (min-width: 640px) { .lt-phone { width: 120px; height: 236px; border-radius: 28px; } }
.lt-phone-screen {
    position: relative; width: 100%; height: 100%;
    border-radius: 19px; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    background:
        radial-gradient(circle at 30% 20%, #F472B6 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, #60A5FA 0%, transparent 50%),
        linear-gradient(160deg, #7C3AED, #1E1B4B);
    color: #fff;
}
@media (min-width: 640px) { .lt-phone-screen { border-radius: 22px; } }
.lt-phone-screen i { font-size: 1.6rem; opacity: .95; }
.lt-phone-win { font-family: var(--ct-font-display) !important; font-size: 1.3rem; font-weight: 800; letter-spacing: .08em; color: #FCD34D; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.lt-phone-sub { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.lt-phone-island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 12px; border-radius: 999px; background: #0B0B0F; z-index: 2; }
.lt-ticket-float {
    position: absolute; left: -10px; bottom: 14px;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 10px; border-radius: 10px;
    background: #FCD34D; color: #422006;
    font-size: .74rem; font-weight: 800;
    box-shadow: 0 10px 20px -8px rgba(0,0,0,.6);
    transform: rotate(-8deg);
}
@keyframes lt-float { 50% { transform: rotate(8deg) translateY(-8px); } }

/* ── Progress ─────────────────────────────────────────────────────────── */
.lt-progress-card { padding: 16px; }
.lt-progress-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.lt-big { font-family: var(--ct-font-display) !important; font-size: 1.6rem; font-weight: 700; color: var(--ct-ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.lt-big small { font-size: .9rem; color: var(--ct-subtle); font-weight: 600; }
.lt-left { text-align: right; }
.lt-left .lt-big { color: var(--ct-rose); }
.lt-muted { font-size: .74rem; font-weight: 600; color: var(--ct-muted); }
.lt-bar { height: 14px; border-radius: 14px; background: var(--ct-surface-2); box-shadow: inset 0 0 0 1px var(--ct-line); overflow: hidden; }
.lt-bar-fill {
    height: 100%; border-radius: 14px;
    background: linear-gradient(90deg, #F59E0B, #F97316, #E11D48, #F59E0B);
    background-size: 300% 100%;
    animation: lt-shine 4s linear infinite;
    transition: width .6s var(--ct-ease);
}
@keyframes lt-shine { to { background-position: -300% 0; } }
.lt-bar-legend { margin-top: 8px; font-size: .74rem; font-weight: 600; color: var(--ct-muted); }
.lt-bar-legend span { color: var(--ct-ink); font-weight: 800; }

/* ── Quantity chips 1x–5x ─────────────────────────────────────────────── */
.lt-multi { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding-top: 8px; }
@media (max-width: 380px) { .lt-multi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lt-multi-btn {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 1px;
    padding: 12px 4px 10px;
    border-radius: 14px; border: 1.5px solid var(--ct-line);
    background: var(--ct-surface);
    cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: border-color var(--ct-fast) var(--ct-ease), background-color var(--ct-fast) var(--ct-ease), transform var(--ct-fast) var(--ct-ease), box-shadow var(--ct-fast) var(--ct-ease);
}
.lt-multi-btn:hover { border-color: color-mix(in srgb, var(--ct-violet) 35%, #fff); }
.lt-multi-btn:active { transform: scale(.96); }
.lt-multi-x { font-family: var(--ct-font-display) !important; font-size: 1.15rem; font-weight: 800; color: var(--ct-ink); line-height: 1.1; }
.lt-multi-price { font-size: .76rem; font-weight: 800; color: var(--ct-violet); }
.lt-multi-n { font-size: .62rem; font-weight: 600; color: var(--ct-muted); }
.lt-multi-btn.is-active {
    border-color: var(--ct-violet);
    background: linear-gradient(160deg, var(--ct-violet-50), #fff);
    box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--ct-violet) 70%, transparent), inset 0 0 0 1px var(--ct-violet);
}
.lt-multi-btn.is-active .lt-multi-x { color: var(--ct-violet); }
.lt-multi-tag {
    position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
    padding: 1px 6px; border-radius: 999px;
    background: var(--ct-blue); color: #fff;
    font-size: .52rem; font-weight: 800; white-space: nowrap;
}
.lt-multi-tag-best { background: linear-gradient(90deg, #F97316, #E11D48); }
.lt-odds { margin: 10px 0 0; text-align: center; font-size: .78rem; color: var(--ct-muted); }
.lt-odds strong { color: var(--ct-violet); }

/* ── Form ─────────────────────────────────────────────────────────────── */
.lt-fields { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 560px) { .lt-fields { grid-template-columns: 1fr 1fr; } }
.lt-hint { margin-top: 2px; font-size: .72rem; color: var(--ct-muted); }
.lt-hint i { color: var(--ct-emerald); margin-right: 3px; }
.lt-wallet { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: .8rem; color: var(--ct-muted); }
.lt-wallet i { color: var(--ct-amber); }
.lt-wallet strong { color: var(--ct-ink); }
.lt-addfunds { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 10px; background: var(--ct-amber-50); color: var(--ct-amber) !important; font-weight: 800; font-size: .76rem; text-decoration: none !important; border: 1px solid color-mix(in srgb, var(--ct-amber) 25%, #fff); }
.lt-alert { margin-top: 12px; padding: 10px 12px; border-radius: var(--ct-r-sm); background: var(--ct-danger-50); color: var(--ct-danger); border: 1px solid color-mix(in srgb, var(--ct-danger) 25%, #fff); font-size: .82rem; font-weight: 600; }
body .lt-cta {
    margin-top: 12px; height: 56px; font-size: 1.02rem !important;
    background: linear-gradient(90deg, #7C3AED, #2563EB) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 12px 24px -12px rgba(124, 58, 237, .8) !important;
}

/* ── Tickets / chips ──────────────────────────────────────────────────── */
.lt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lt-chip {
    display: inline-flex; align-items: center;
    padding: 4px 10px; border-radius: 8px;
    background: var(--ct-violet-50); color: var(--ct-violet);
    border: 1px dashed color-mix(in srgb, var(--ct-violet) 35%, #fff);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    font-size: .8rem; font-weight: 800; letter-spacing: .03em; white-space: nowrap;
}
.lt-chip-gold { background: #FEF3C7; color: #92400E; border-color: #FCD34D; }
.lt-chip-new { animation: lt-pop .45s var(--ct-ease); }
@keyframes lt-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.lt-chance { margin-left: auto; font-size: .74rem; font-weight: 600; color: var(--ct-muted); white-space: nowrap; }
.lt-chance strong { color: var(--ct-violet); }

/* ── How it works ─────────────────────────────────────────────────────── */
.lt-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .lt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lt-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--ct-r); background: var(--ct-surface-2); border: 1px solid var(--ct-line); }
.lt-steps strong { display: block; font-size: .86rem; color: var(--ct-ink); }
.lt-steps span:not(.lt-step-ico) { display: block; margin-top: 2px; font-size: .74rem; line-height: 1.5; color: var(--ct-muted); }
.lt-step-ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; }
.lt-steps li:nth-child(1) .lt-step-ico { background: linear-gradient(135deg, #8B5CF6, var(--ct-violet)); }
.lt-steps li:nth-child(2) .lt-step-ico { background: linear-gradient(135deg, #3B82F6, var(--ct-blue)); }
.lt-steps li:nth-child(3) .lt-step-ico { background: linear-gradient(135deg, #FBBF24, #D97706); }
.lt-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lt-trust span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--ct-emerald-50); color: var(--ct-emerald); font-size: .72rem; font-weight: 700; }

/* ── Recent buyers ────────────────────────────────────────────────────── */
.lt-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; color: var(--ct-emerald); }
.lt-live span { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; animation: mb-live 1.8s ease-out infinite; box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
@keyframes mb-live { 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.lt-recent { padding-top: 6px !important; padding-bottom: 6px !important; }
.lt-recent-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ct-line); }
.lt-recent-row:last-child { border-bottom: 0; }
.lt-avatar { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--ct-violet), var(--ct-blue)); }
.lt-recent-row:nth-child(3n+2) .lt-avatar { background: linear-gradient(135deg, var(--ct-emerald), var(--ct-teal)); }
.lt-recent-row:nth-child(3n) .lt-avatar { background: linear-gradient(135deg, #F97316, var(--ct-rose)); }
.lt-recent-main { flex: 1; min-width: 0; }
.lt-recent-name { font-size: .88rem; font-weight: 700; color: var(--ct-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-empty { padding: 18px 0; text-align: center; font-size: .86rem; font-weight: 600; color: var(--ct-muted); }
.lt-empty i { color: var(--ct-violet); margin-right: 4px; }

/* ── Winner ───────────────────────────────────────────────────────────── */
.lt-winner {
    margin-bottom: 12px; padding: 22px 18px; text-align: center;
    border-radius: var(--ct-r-xl);
    background: linear-gradient(135deg, #FFF7E0, #FFFDF5 50%, #FDF2DC);
    border: 1px solid #F5E1B0;
    box-shadow: 0 14px 30px -16px rgba(180, 83, 9, .4);
}
.lt-winner-icon { width: 58px; height: 58px; margin: 0 auto 8px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, #FBBF24, #D97706); box-shadow: 0 10px 20px -8px rgba(217,119,6,.7); }
.lt-winner-label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: #B45309; }
.lt-winner-name { margin-top: 2px; font-family: var(--ct-font-display) !important; font-size: 1.5rem; font-weight: 700; color: var(--ct-ink); }
.lt-winner-meta { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 8px; font-size: .84rem; font-weight: 700; color: var(--ct-muted); }
.lt-winner-date { margin-top: 6px; font-size: .74rem; color: var(--ct-muted); }
.lt-winner-you { margin-top: 12px; padding: 10px; border-radius: var(--ct-r); background: var(--ct-emerald-50); color: var(--ct-emerald); font-size: .82rem; font-weight: 700; }
