/*
 * =====================================================================
 *  LAFON XAL — SAYT CSS ("lfm-pts-" prefiksi)   Yer: /modules/points/assets/points.css
 *  Rəng: brend yaşılı fonunda qızılı (amber) "xal" vurğusu.
 *  Modul bağlananda bu fayl yüklənmir — dashboard-a təsir etmir.
 * =====================================================================
 */
/* ---- Başlıq bloku ---- */
.lfm-pts-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; padding: 26px 22px; border-radius: 28px; color: #fff;
    background: radial-gradient(80% 140% at 100% 0%, #fbbf24 0%, transparent 50%), 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-pts-hero { padding: 36px 42px; } }
.lfm-pts-hero-in { position: relative; z-index: 1; flex: 1; min-width: 0; }
.lfm-pts-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-pts-hero h1 { margin: 14px 0 8px; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; }
.lfm-pts-hero p { max-width: 560px; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.55; }
.lfm-pts-bal { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding: 16px 18px; border-radius: 22px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); max-width: 560px; }
.lfm-pts-bal small { display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .75); }
.lfm-pts-bal b { display: block; margin-top: 2px; font-size: 38px; line-height: 1.05; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fde68a; }
.lfm-pts-bal em { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.lfm-pts-lv { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; color: #92400e; font-weight: 900; font-size: 13px; }
.lfm-pts-lv i { font-style: normal; }
.lfm-pts-lv.is-silver { color: #475569; } .lfm-pts-lv.is-platinum { color: #6d28d9; }
.lfm-pts-art { display: none; position: relative; width: 170px; height: 170px; flex: none; }
@media (min-width: 768px) { .lfm-pts-art { display: block; } }
.lfm-pts-art span { position: absolute; inset: 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 64px; color: #92400e;
    background: radial-gradient(circle at 35% 30%, #fef3c7, #fbbf24 60%, #d97706); box-shadow: inset 0 -8px 16px rgba(146, 64, 14, .35), 0 18px 30px -12px rgba(0, 0, 0, .5); animation: lfmPtsFloat 4s ease-in-out infinite; }
.lfm-pts-art i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fde68a; opacity: .8; animation: lfmPtsTw 2.4s ease-in-out infinite; }
.lfm-pts-art i:nth-of-type(1) { top: 8px; left: 18px; } .lfm-pts-art i:nth-of-type(2) { bottom: 14px; right: 6px; animation-delay: .8s; } .lfm-pts-art i:nth-of-type(3) { top: 40%; right: -4px; width: 6px; height: 6px; animation-delay: 1.6s; }
@keyframes lfmPtsFloat { 50% { transform: translateY(-8px) rotate(-6deg); } }
@keyframes lfmPtsTw { 50% { transform: scale(.4); opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .lfm-pts-art span, .lfm-pts-art i { animation: none; } }

/* ---- Düymələr ---- */
.lfm-pts-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 16px; background: #fff; color: #166534; font-weight: 900; font-size: 15px; transition: transform .12s, background .15s; }
.lfm-pts-btn:active { transform: scale(.97); }
.lfm-pts-btn.is-ghost { background: rgba(255, 255, 255, .14); color: #fff; }
.lfm-pts-btn.is-solid { background: #16a34a; color: #fff; }
.lfm-pts-btn.is-solid:hover { background: #15803d; }
.lfm-pts-btn.is-armed { background: #f59e0b; }
.lfm-pts-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---- Səviyyə ---- */
.lfm-pts-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.lfm-pts-steps li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; background: #f8fafc; text-align: center; opacity: .55; }
.lfm-pts-steps li.is-done { opacity: 1; }
.lfm-pts-steps li.is-cur { background: #fffbeb; box-shadow: inset 0 0 0 2px #fbbf24; }
.lfm-pts-steps i { font-style: normal; font-size: 22px; line-height: 1; }
.lfm-pts-steps b { font-size: 12px; font-weight: 900; color: #111827; }
.lfm-pts-steps small { font-size: 10.5px; color: #9ca3af; font-variant-numeric: tabular-nums; }
.lfm-pts-prog { height: 10px; border-radius: 999px; background: #f1f5f9; overflow: hidden; }
.lfm-pts-prog span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #fbbf24, #16a34a); transition: width .6s; }

/* ---- Çevirmə forması ---- */
.lfm-pts-conv { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: center; }
@media (min-width: 640px) { .lfm-pts-conv { grid-template-columns: minmax(0, 1fr) auto auto; } }
.lfm-pts-in { position: relative; }
.lfm-pts-in input { width: 100%; padding-right: 54px !important; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lfm-pts-in span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 800; color: #9ca3af; pointer-events: none; }
.lfm-pts-eq { display: flex; align-items: center; gap: 6px; color: #9ca3af; }
.lfm-pts-eq b { font-size: 20px; font-weight: 900; color: #15803d; font-variant-numeric: tabular-nums; }
.lfm-pts-quick { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.lfm-pts-quick button { padding: 6px 12px; border-radius: 999px; background: #f1f5f9; font-size: 12px; font-weight: 800; color: #334155; }
.lfm-pts-quick button:hover { background: #dcfce7; color: #166534; }
.lfm-pts-note { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 14px; background: #f8fafc; font-size: 13px; color: #64748b; }

/* ---- Qazanma yolları ---- */
.lfm-pts-ways { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .lfm-pts-ways { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.lfm-pts-ways a { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 22px; background: #f8fafc; border: 1px solid #f1f5f9; transition: transform .15s, box-shadow .15s; }
.lfm-pts-ways a:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -22px rgba(15, 23, 42, .45); }
.lfm-pts-ways a > span { width: 46px; height: 46px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.lfm-pts-ways a.is-rose > span { background: #ffe4e6; color: #e11d48; }
.lfm-pts-ways a.is-violet > span { background: #ede9fe; color: #7c3aed; }
.lfm-pts-ways a.is-blue > span { background: #e0f2fe; color: #0284c7; }
.lfm-pts-ways a.is-amber > span { background: #fef3c7; color: #d97706; }
.lfm-pts-ways b { font-size: 16px; font-weight: 900; color: #111827; }
.lfm-pts-ways p { font-size: 13px; color: #64748b; line-height: 1.45; flex: 1; }
.lfm-pts-ways em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 13px; font-weight: 800; color: #16a34a; }

/* ---- Tarixçə ---- */
.lfm-pts-hist { display: grid; gap: 2px; }
.lfm-pts-hist li { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid #f8fafc; }
.lfm-pts-hist li:last-child { border-bottom: 0; }
.lfm-pts-ic { width: 40px; height: 40px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #fef3c7; color: #b45309; }
.lfm-pts-hist li.is-neg .lfm-pts-ic { background: #f1f5f9; color: #64748b; }
.lfm-pts-hist b { font-size: 14px; font-weight: 800; color: #111827; }
.lfm-pts-hist small { font-size: 12px; color: #9ca3af; }
.lfm-pts-hist em { font-style: normal; font-weight: 900; color: #15803d; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lfm-pts-hist li.is-neg em { color: #64748b; }
