/* ChuyềnMobileGsm — Card Visit */
:root {
    --blue:   #1B6BE0;
    --green:  #0E9F5C;
    --gold:   #ffcc00;
    --text:   #0b2b4a;
    --muted:  #6b7a8c;
}

* { box-sizing: border-box; }

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px 0;
    font-family: 'Quicksand', sans-serif;
    background:
        radial-gradient(1000px 500px at 15% -5%,  #dbe9ff 0%, transparent 60%),
        radial-gradient(900px 500px at 90% 110%, #d6f5e6 0%, transparent 60%),
        linear-gradient(160deg, #f7fafc 0%, #eef3f8 100%);
}

/* ================= KHUNG IPHONE ================= */
.phone {
    width: 430px;
    height: 888px;
    background: #fff;
    border-radius: 55px;
    box-shadow:
        0 0 0 2px rgba(255,255,255,.6),
        0 25px 70px rgba(23,43,77,.35),
        0 8px 24px rgba(23,43,77,.18);
    overflow: hidden;
    position: relative;
    border: 9px solid #d8c8a8;
    padding: 18px;
}

.screen-area {
    width: 100%;
    height: 100%;
    border-radius: 46px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
    box-shadow: inset 0 0 0 3px rgba(255,255,255,.06);
}

/* ================= DYNAMIC ISLAND ================= */
.notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 115px;
    height: 33px;
    background: #000;
    border-radius: 30px;
    z-index: 6;
}

/* ================= STATUS BAR ================= */
.status-bar {
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    z-index: 5;
    pointer-events: none;
}
.status-left { }
.status-right { display: flex; align-items: center; gap: 5px; }
.signal, .wifi { width: 18px; }
.battery { width: 28px; }

/* ================= SAFARI BAR ================= */
.safari-bar {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    z-index: 20;
}
.safari-url {
    background: rgba(242,242,247,.95);
    border-radius: 24px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 1px 4px rgba(0,0,0,.18);
    border: 1px solid #e1e1e1;
    text-align: center;
    user-select: none;
}
.progress-bar {
    height: 3px;
    background: var(--green);
    width: 0%;
    margin-top: 6px;
    border-radius: 10px;
    transition: width .15s ease, opacity .4s ease;
    box-shadow: 0 0 6px rgba(14,159,92,.6);
}

/* ================= HEADER ================= */
.header {
    padding-top: 92px;
    text-align: center;
}
.header img {
    width: 180px;
    margin: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(27,107,224,.25));
    animation: floatIn .7s ease both;
}

.title {
    text-shadow: .5px 0 #c4c4c4, 1px 1px 1px #c9c2c2;
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.title img.verify-badge {
    height: 18px !important;
    width: auto;
    vertical-align: -2px;
    display: inline-block;
}

.subtitle {
    color: var(--muted);
    margin-top: 4px;
    font-size: 15px;
    letter-spacing: .3px;
}

.hotline {
    color: var(--blue);
    font-size: 18px;
    margin-top: 6px;
    font-weight: 700;
}

/* ================= NÚT ================= */
.buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 20px 0 8px;
}

.btn {
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    gap: 8px;
    transition: transform .2s, box-shadow .2s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }

.btn-qr {
    border: 2px solid var(--blue);
    color: var(--blue);
    background: rgba(27,107,224,.06);
    box-shadow: 0 2px 8px rgba(27,107,224,.15);
}
.btn-qr:hover { box-shadow: 0 6px 16px rgba(27,107,224,.3); }

.btn-call {
    background: linear-gradient(135deg, #ffd54d, var(--gold));
    color: #000;
    box-shadow: 0 4px 12px rgba(255,204,0,.4);
}
.btn-call:hover { box-shadow: 0 8px 20px rgba(255,204,0,.55); }

/* ================= DANH SÁCH LINK ================= */
.list { padding: 10px 18px; }

.item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    background: rgba(255,255,255,.9);
    box-shadow: 0 0 2px rgba(145,158,171,.54), 0 10px 13px -6px rgba(145,158,171,.64);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.8);
    margin: 18px 0;
    padding: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    animation: floatIn .6s ease both;
}
.item:nth-child(1) { animation-delay: .05s; }
.item:nth-child(2) { animation-delay: .12s; }
.item:nth-child(3) { animation-delay: .19s; }
.item:nth-child(4) { animation-delay: .26s; }

.item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: none;
}
.item:hover::after {
    transform: translateX(120%);
    transition: transform .7s ease;
}

.item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(23,43,77,.18);
}
.item:active { transform: translateY(0) scale(.99); }

.item img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 1px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
}

.item span {
    flex: 1;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    color: var(--text);
    text-shadow: .5px 0 #e5d8d8, 1px 1px 1px #e3c8c8;
}

/* mũi tên bên phải mỗi dòng */
.item .arrow {
    font-size: 13px;
    color: #b6c2cf;
    padding-right: 4px;
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================= MODAL VCB ================= */
.modal-vcb {
    position: fixed;
    inset: 0;
    background: rgba(10,20,35,.5);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    z-index: 9999;
}

.modal-content {
    width: 92%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
    animation: zoomIn .25s ease;
}

@keyframes zoomIn {
    from { transform: scale(.85); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.modal-header {
    padding: 16px 18px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
}

.modal-close {
    font-size: 26px;
    cursor: pointer;
    padding: 0 10px;
    color: #888;
    line-height: 1;
    user-select: none;
    transition: color .15s, transform .15s;
}
.modal-close:hover { color: #e5484d; transform: scale(1.15); }

.modal-body { padding: 20px 26px; text-align: center; }

.bank-name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text);
}

.label { font-size: 14px; color: var(--muted); }

.acc-box {
    background: linear-gradient(135deg, #e4eeff, #d9e6ff);
    border: 1px solid #c3d7f7;
    padding: 12px 14px;
    border-radius: 12px;
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.acc-box span { font-size: 22px; font-weight: 700; color: #0033cc; letter-spacing: .5px; }

.copy-btn {
    background: linear-gradient(135deg, var(--blue), #3f8bf5);
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    font-size: 14px;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 2px 8px rgba(27,107,224,.35);
}
.copy-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(27,107,224,.5); }
.copy-btn:active { transform: scale(.95); }

.acc-name { color: var(--green); font-weight: 700; margin: 8px 0 14px; }

.qr-img {
    width: 250px;
    margin: 8px 0 6px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.footer {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.napas { width: 85px; height: auto; }

.web-link {
    color: var(--blue);
    font-size: 15px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
}
.web-link:hover { text-decoration: underline; }

/* ================= TOAST ================= */
.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: rgba(15,25,40,.85);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
    opacity: 0;
    transition: all .35s ease;
    pointer-events: none;
    z-index: 99999;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
