/* vip.css — trang nâng cấp VIP (template-vip.php).
   Tông "vàng premium" theo demo page_vip. Demo gốc là dark-only; ở đây nền dùng
   xám-alpha để KHÔNG vỡ khi site chạy light mode (theme báo dark bằng class .uk-light,
   không có biến CSS global — xem ghi chú trong home-audio.css). */

.vip-page { --vip-gold: #d4af37; --vip-gold-soft: #f2ca50; }

/* ---------- Tiêu đề ---------- */
.vip-head { text-align: center; margin-bottom: 26px; }
.vip-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 6px;
}
.vip-sub {
    margin: 0 auto;
    max-width: 520px;
    font-size: .95rem;
    opacity: .75;
    line-height: 1.6;
}

.vip-section-title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 38px 0 18px;
}

/* ---------- Trạng thái ---------- */
.vip-status {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(128, 128, 128, .35);
    background: rgba(128, 128, 128, .08);
}
.vip-status strong { display: block; font-size: 1rem; }
.vip-status span { font-size: .9rem; opacity: .85; }
.vip-status-note { margin: 6px 0 0; font-size: .85rem; opacity: .7; }
.vip-status.is-active  { border-color: rgba(16, 160, 70, .5);  background: rgba(16, 160, 70, .1); }
.vip-status.is-pending { border-color: rgba(212, 175, 55, .55); background: rgba(212, 175, 55, .1); }

/* ---------- Thẻ gói ---------- */
.vip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.vip-card {
    position: relative;
    border: 1px solid rgba(128, 128, 128, .35);
    border-radius: 12px;
    padding: 20px 16px 16px;
    text-align: center;
    transition: border-color .12s ease, transform .12s ease;
}
.vip-card:hover { transform: translateY(-3px); border-color: rgba(212, 175, 55, .55); }

/* Gói gợi ý: viền vàng */
.vip-card.is-best {
        border-color: rgba(224, 168, 0, .8);
}
.vip-card.is-picked { border-color: #10a046; box-shadow: 0 0 0 3px rgba(16, 160, 70, .22); }

.vip-badge {
        position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e0a800;
    color: #1c1c1c;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.vip-card-name {
        font-size: .95rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.vip-card-price { font-size: 1.55rem; font-weight: 700; line-height: 1.1; }
.vip-card.is-best .vip-card-price { color: var(--vip-gold-soft); }
.vip-card-price small { font-size: .85rem; font-weight: 700; margin-left: 1px; }
.vip-card-permonth { font-size: .76rem; opacity: .65; margin-top: 4px; min-height: 18px; }

.vip-pick {
    margin-top: 14px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(128, 128, 128, .45);
    background: transparent;
    color: inherit;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
}
.vip-pick:hover { background: rgba(212, 175, 55, .12); }
.vip-pick.is-solid { 
    background: #e0a800;
    border-color: #e0a800;
    color: #1c1c1c; 
}
.vip-pick.is-solid:hover { background: var(--vip-gold-soft); }

/* ---------- Quyền lợi (lưới thẻ) ---------- */
.vip-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.vip-benefit {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(128, 128, 128, .28);
    background: rgba(128, 128, 128, .05);
}
.vip-benefit-ico {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(212, 175, 55, .14);
    color: #10a046;
}
.vip-benefit-title { font-weight: 700; font-size: .95rem; margin-bottom: 3px; }
.vip-benefit-desc { margin: 0; font-size: .84rem; line-height: 1.55; opacity: .72; }

/* ---------- Khối thanh toán ---------- */
.vip-pay {
    border: 1px solid rgba(212, 175, 55, .45);
    border-radius: 12px;
    padding: 20px;
    max-width: 560px;
    margin: 0 auto;
    background: rgba(212, 175, 55, .05);
}
.vip-pay-login { border-color: rgba(128, 128, 128, .35); background: rgba(128, 128, 128, .06); text-align: center; }
.vip-pay-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; }
.vip-pay-pkg { font-size: .95rem; color: var(--vip-gold-soft); font-weight: 600; margin: 0 0 14px; }

.vip-bank { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.vip-bank th, .vip-bank td {
    text-align: left;
    padding: 9px 4px;
    border-bottom: 1px solid rgba(128, 128, 128, .2);
    font-size: .92rem;
}
.vip-bank th { width: 45%; font-weight: 500; opacity: .75; }
/* Nội dung CK giờ là TÊN người dùng, không phải mã in hoa → bỏ giãn chữ cho tự nhiên */
.vip-bank-code td strong { font-size: 1.1rem; color: var(--vip-gold-soft); }

.vip-copy { cursor: pointer; border-bottom: 1px dashed rgba(128, 128, 128, .6); }
.vip-copy.is-copied { color: #10a046; border-color: #10a046; }

.vip-warn {
    font-size: .85rem;
    line-height: 1.55;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(212, 175, 55, .12);
    border: 1px solid rgba(212, 175, 55, .4);
    margin: 0 0 14px;
}

.vip-done {
    width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    border: 0;
    background: #10a046;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
}
.vip-done:disabled { opacity: .6; cursor: default; }
.vip-done-msg { margin: 10px 0 0; font-size: .88rem; }
.vip-done-msg.is-ok { color: #10a046; }
.vip-done-msg.is-err { color: #d33; }
.vip-help { margin: 12px 0 0; font-size: .84rem; opacity: .72; }

/* Ghi chú quan trọng dưới khối chuyển khoản — chấm than ĐỎ gây chú ý */
.vip-notes {
    list-style: none;
    margin: 14px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.vip-note-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .86rem;
    line-height: 1.5;
}
.vip-note-bang {
    flex: 0 0 auto;
    width: 19px; height: 19px;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e0342c;
    color: #fff;
    font-weight: 800;
    font-size: .8rem;
    line-height: 1;
    box-shadow: 0 0 0 3px rgba(224, 52, 44, .16);
}
.vip-notes a {
    color: #e6c14e;
    text-decoration: underline;
    font-weight: 600;
}
.vip-notes a:hover { color: #f2d874; }

/* ---------- Khối hỗ trợ / đăng nhập ----------
   Kiểu dáng chung nằm ở support-box.css (.imc-support) — dùng chung với trang chủ.
   Ở đây chỉ đặt khoảng cách riêng cho từng vị trí trên trang VIP. */
.vip-support { margin-top: 34px; }
.vip-login-box { max-width: 560px; margin: 0 auto; }

/* Bấm chọn gói khi chưa đăng nhập → nháy sáng khối này để user thấy việc cần làm */
.vip-login-box.is-highlight {
    animation: vip-login-pulse 1.6s ease;
}
@keyframes vip-login-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(24, 119, 242, 0); }
    30%      { box-shadow: 0 0 0 5px rgba(24, 119, 242, .3); }
    60%      { box-shadow: 0 0 0 3px rgba(24, 119, 242, .18); }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
    .vip-grid { grid-template-columns: repeat(2, 1fr); }
    .vip-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .vip-title { font-size: 1.55rem; }
    .vip-section-title { font-size: 1.15rem; }
    .vip-grid { gap: 10px; }
    .vip-card { padding: 20px 10px 14px; }
    .vip-card-price { font-size: 1.35rem; }
    .vip-benefits { grid-template-columns: 1fr; }
    /* Xếp dọc khối hỗ trợ trên mobile do support-box.css lo — không lặp lại ở đây */
}
