/* =========================================================
   AZTOP.NET — VIP sayt bloku
   1) TOP siyahısında VIP sətri (index.php, .vipx)
   2) Sayt səhifəsində VIP kartı (infos.php, .vipcard)
   ========================================================= */

/* ---------- 1) TOP siyahısında VIP sətri ----------
   Cədvəlin adi sətri ilə eyni quruluş (eyni sütunlar, eyni yaşıl düymə),
   yalnız qızılı fon, VIP tac nişanı, ✓ işarəsi və küncdə tac. */
.az-top100-table tbody tr.vipx-tr td {
    background: url(img/dotted.gif) 0 100% repeat-x, #fff1cc;
}
.az-top100-table tbody tr.vipx-tr td.vipx-last { position: relative; overflow: hidden; }
.vipx-rank { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.vipx-label { font-size: 10px; font-weight: 800; letter-spacing: .5px; color: #d99a00; line-height: 1; }
.az-top100-table tr.vipx-tr .site-cell > div { display: flex; flex-wrap: wrap; align-items: center; column-gap: 5px; }
.az-top100-table tr.vipx-tr .site-cell small { flex: 0 0 100%; }
.vip-verified { display: block; flex: 0 0 15px; width: 15px; height: 15px; }
.vipx-corner {
    position: absolute; top: 0; right: 0; width: 26px; height: 26px;
    background: linear-gradient(225deg, #ffc93c 0%, #f2a500 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%); color: #fff;
}
.vipx-corner svg { position: absolute; top: 3px; right: 3px; width: 10px; height: 10px; transform: rotate(40deg); }

/* ---------- 2) Sayt səhifəsində VIP kartı ---------- */
.vipcard-logo {
    position: relative; flex: 0 0 58px; width: 58px; height: 58px; border-radius: 13px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: #22a447; color: #fff; font-size: 28px; font-weight: 800; line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.vipcard-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px; box-sizing: border-box; }
.vipcard {
    position: relative; overflow: hidden;
    margin: 0 0 14px; padding: 42px 22px 20px;
    border: 1px solid #f1d58a; border-radius: 14px;
    background: linear-gradient(100deg, #fffaeb 0%, #fff1cc 60%, #ffe8ad 100%);
    box-shadow: 0 6px 18px rgba(214, 160, 20, .12);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}
.vipcard svg { display: block; }
.vipcard-tag {
    position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px 6px 12px; border-radius: 13px 0 12px 0;
    background: linear-gradient(90deg, #d99a00, #f2b632); color: #fff;
    font-size: 12.5px; font-weight: 800; letter-spacing: .4px;
}
.vipcard-tag svg { width: 16px; height: 16px; color: #ffe27a; }
.vipcard-deco { position: absolute; right: 18px; top: 4px; width: 150px; height: 138px; color: #e8b84a; opacity: .2; pointer-events: none; }
.vipcard-deco svg { width: 100%; height: 100%; }
.vipcard-body { position: relative; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vipcard .vipcard-logo { flex-basis: 58px; width: 58px; height: 58px; border-radius: 13px; background: #22a447; color: #fff; font-size: 28px; }
.vipcard-info { flex: 1 1 220px; min-width: 0; }
.vipcard-info b { display: inline-flex; align-items: center; gap: 7px; font-size: 22px; font-weight: 800; color: #14213d; word-break: break-word; }
.vipcard-info .vip-verified { flex-basis: 22px; width: 22px !important; height: 22px !important; }
.vipcard-info small { display: block; margin-top: 4px; font-size: 14px; color: #4a5468; }
.vipcard-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.vipcard-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px; border-radius: 10px; font-size: 14px; font-weight: 700;
    text-decoration: none !important; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s;
}
.vipcard-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }
.vipcard-btn:hover { transform: translateY(-1px); }
.vipcard-btn.blue { background: linear-gradient(180deg, #2196f3, #1565c0); color: #fff !important; box-shadow: 0 4px 12px rgba(30, 136, 229, .35); }
.vipcard-btn.white { background: #fff; color: #14213d !important; border: 1px solid #e3e8ef; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.vipcard-btn.white svg { color: #1e88e5; }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
    .vipx-label { font-size: 9px; }

    .vipcard { padding: 38px 14px 14px; }
    .vipcard-deco { width: 100px; height: 92px; right: 6px; }
    .vipcard .vipcard-logo { flex-basis: 48px; width: 48px; height: 48px; font-size: 23px; }
    .vipcard-info b { font-size: 18px; }
    .vipcard-info small { font-size: 13px; }
    .vipcard-actions { width: 100%; }
    .vipcard-btn { flex: 1; padding: 10px 12px; font-size: 13px; }
}
