/*
 * =====================================================================
 *  ŞANS ÇARXI — SAYT CSS ("lfm-whl-" prefiksi)   Yer: /modules/wheel/assets/wheel.css
 *  Rəng: brend yaşılı + bənövşəyi (oyun) vurğu.
 * =====================================================================
 */
.lfm-whl-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 22px; border-radius: 28px; color: #fff;
    background: radial-gradient(70% 140% at 100% 0%, #a78bfa 0%, transparent 55%), linear-gradient(135deg, #15803d 0%, #166534 60%, #052e16 100%); box-shadow: 0 24px 50px -28px rgba(21, 128, 61, .9); }
@media (min-width: 768px) { .lfm-whl-hero { padding: 32px 40px; } }
.lfm-whl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 11.5px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.lfm-whl-hero h1 { margin: 12px 0 6px; font-size: clamp(26px, 4vw, 36px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; }
.lfm-whl-hero p { max-width: 560px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.lfm-whl-bal { padding: 12px 18px; border-radius: 20px; background: rgba(255, 255, 255, .14); }
.lfm-whl-bal small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.lfm-whl-bal b { font-size: 26px; font-weight: 900; color: #fde68a; font-variant-numeric: tabular-nums; }

/* ---- Çarx ---- */
.lfm-whl-box { position: relative; width: min(100%, 440px); aspect-ratio: 1; }
.lfm-whl-box canvas { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 10px #111827, 0 0 0 14px #fbbf24, 0 30px 60px -20px rgba(15, 23, 42, .6);
    transition: transform 5.2s cubic-bezier(.12, .7, .08, 1); will-change: transform; }
.lfm-whl-ptr { position: absolute; z-index: 2; top: -18px; left: 50%; width: 34px; height: 44px; transform: translateX(-50%);
    background: linear-gradient(#fde68a, #f59e0b); clip-path: polygon(50% 100%, 0 0, 100% 0); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }
.lfm-whl-hub { position: absolute; z-index: 2; top: 50%; left: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, #e5e7eb); box-shadow: 0 0 0 5px #111827, 0 8px 18px rgba(0, 0, 0, .35); font-size: clamp(11px, 2.4vw, 15px); font-weight: 900; color: #166534; text-transform: uppercase; }
.lfm-whl-hub:disabled { cursor: default; }
.lfm-whl-box.is-spinning .lfm-whl-ptr { animation: lfmWhlTick .12s linear infinite; }
@keyframes lfmWhlTick { 50% { transform: translateX(-50%) rotate(-8deg); } }
.lfm-whl-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 240px; margin-top: 32px; padding: 15px 26px; border-radius: 18px; color: #fff; font-weight: 900; font-size: 16px;
    background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 16px 28px -16px rgba(22, 163, 74, .9); transition: transform .12s, opacity .15s; }
.lfm-whl-go:active { transform: scale(.97); }
.lfm-whl-go:disabled { opacity: .5; cursor: not-allowed; }
.lfm-whl-go.is-paid { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 16px 28px -16px rgba(109, 40, 217, .9); }
.lfm-whl-info { margin-top: 10px; font-size: 13px; color: #64748b; text-align: center; min-height: 20px; }

/* ---- Şanslar / qaliblər / tarixçə ---- */
.lfm-whl-odds { display: grid; gap: 8px; }
.lfm-whl-odds li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #334155; }
.lfm-whl-odds i { width: 14px; height: 14px; flex: none; border-radius: 5px; }
.lfm-whl-odds span { flex: 1; min-width: 0; font-weight: 700; }
.lfm-whl-odds small { color: #94a3b8; font-weight: 600; }
.lfm-whl-odds b { font-variant-numeric: tabular-nums; font-weight: 900; color: #111827; }
.lfm-whl-recent { display: grid; gap: 4px; max-height: 300px; overflow: auto; }
.lfm-whl-recent li { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid #f8fafc; }
.lfm-whl-recent li > span { font-size: 20px; }
.lfm-whl-recent div { flex: 1; min-width: 0; }
.lfm-whl-recent b { display: block; font-size: 13px; font-weight: 800; color: #111827; }
.lfm-whl-recent small { display: block; font-size: 12px; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lfm-whl-recent em { font-style: normal; font-size: 11px; color: #94a3b8; white-space: nowrap; }
.lfm-whl-hist { display: grid; gap: 2px; }
.lfm-whl-hist li { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid #f8fafc; }
.lfm-whl-hist li > span { width: 38px; height: 38px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 13px; background: #f1f5f9; font-size: 18px; }
.lfm-whl-hist li > span.is-points, .lfm-whl-hist li > span.is-money { background: #fef3c7; }
.lfm-whl-hist li > span.is-physical { background: #ede9fe; }
.lfm-whl-hist b { font-size: 14px; font-weight: 800; color: #111827; }
.lfm-whl-hist small { font-size: 12px; color: #94a3b8; }
.lfm-whl-hist em { font-style: normal; font-weight: 900; color: #15803d; white-space: nowrap; font-size: 13px; }
.lfm-whl-hist em.is-pending { color: #b45309; } .lfm-whl-hist em.is-delivered { color: #15803d; } .lfm-whl-hist em.is-cancelled { color: #94a3b8; }

/* ---- Nəticə pəncərəsi ---- */
.lfm-whl-modal { position: fixed; inset: 0; z-index: 350; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); }
.lfm-whl-card { width: min(360px, 100%); padding: 28px 22px 22px; border-radius: 28px; background: #fff; text-align: center; animation: lfmWhlPop .35s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes lfmWhlPop { from { transform: scale(.7); opacity: 0; } }
.lfm-whl-card > span { display: block; font-size: 64px; line-height: 1; }
.lfm-whl-card b { display: block; margin-top: 12px; font-size: 22px; font-weight: 900; color: #111827; }
.lfm-whl-card p { margin-top: 6px; font-size: 14px; color: #64748b; }
.lfm-whl-card .lfm-whl-go { margin-top: 18px; min-width: 0; width: 100%; }
