:root {
    --primary: #ff9a9e;     
    --primary-dark: #ff758c; 
    --bg-color: #fdf2f5;    
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: 2px solid rgba(255, 255, 255, 0.8);
    --shadow-3d: 10px 10px 20px rgba(255, 154, 158, 0.15), -10px -10px 20px rgba(255, 255, 255, 0.9);
}

body {
    background-color: var(--bg-color);
    color: #5e5e5e;
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding-bottom: 100px;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.5) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(255, 154, 158, 0.1) 0%, transparent 20%);
    
    /* CHỐNG BÔI ĐEN VĂN BẢN (ANTI-SELECT) */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Cho phép nhập liệu trong ô input */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* --- Header 3D --- */
.header-container { padding: 40px 20px 20px; perspective: 1000px; }
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 25px;
    border: var(--glass-border);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-3d);
    transform: rotateX(5deg);
    transition: transform 0.3s ease;
    position: relative; overflow: hidden;
}
.glass-card::before {
    content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-25deg); animation: shine 4s infinite;
}
@keyframes shine { 0% {left: -150%;} 20% {left: 150%;} 100% {left: 150%;} }

.avatar-box {
    width: 100px; height: 100px; margin: 0 auto 15px; padding: 5px;
    background: #fff; border-radius: 50%;
    box-shadow: 0 5px 15px rgba(255, 117, 140, 0.3);
}
.avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

h1 {
    font-weight: 800; margin: 10px 0 5px; font-size: 24px;
    background: linear-gradient(to right, var(--primary-dark), #a18cd1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.tagline { font-size: 13px; color: #888; font-weight: 600; text-transform: uppercase; margin-bottom: 20px;}

/* --- Buttons --- */
.btn-3d {
    display: inline-block; padding: 12px 28px; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 14px; margin: 5px;
    background: linear-gradient(145deg, #ffffff, #fff0f3);
    box-shadow: 5px 5px 10px rgba(214, 162, 172, 0.3), -5px -5px 10px #ffffff;
    color: var(--primary-dark); border: none;
}
.btn-3d.highlight {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #fff; box-shadow: 5px 5px 15px rgba(255, 117, 140, 0.4);
}

/* --- Services --- */
.service-list { padding: 0 20px; margin-top: 10px; }
.service-item {
    background: rgba(255,255,255,0.7); margin-bottom: 12px; padding: 15px;
    border-radius: 15px; display: flex; align-items: center;
    border-left: 5px solid var(--primary); box-shadow: 0 5px 10px rgba(0,0,0,0.03);
}
.service-item i { color: var(--primary-dark); font-size: 18px; margin-right: 15px; width: 25px; text-align: center; }

/* --- Banking Cards --- */
.banking-section { padding: 20px; perspective: 1000px; }
.section-title { text-align: center; color: var(--primary-dark); font-weight: 800; margin-bottom: 20px; }

.bank-card-3d {
    height: 180px; border-radius: 20px; padding: 20px; margin-bottom: 20px;
    position: relative; color: #fff;
    box-shadow: 0 15px 35px rgba(255, 117, 140, 0.25);
    display: flex; flex-direction: column; justify-content: space-between;
    cursor: pointer; transition: transform 0.2s; border: 1px solid rgba(255,255,255,0.3);
}
.bank-card-3d:active { transform: scale(0.96); }
.card-mb { background: linear-gradient(135deg, #ff9a9e 0%, #ff6b81 100%); }
.card-bidv { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); } /* Dùng cho Techcombank */
.card-momo { background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%); }

.chip-sim { width: 40px; height: 30px; background: linear-gradient(135deg, #fff 0%, #ddd 100%); border-radius: 5px; opacity: 0.8; }
.card-num { font-size: 22px; font-family: 'Courier New', monospace; font-weight: bold; letter-spacing: 2px; margin-top: 10px; text-shadow: 0 2px 2px rgba(0,0,0,0.2); }
.card-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.copy-hint { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.3); width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* --- Floating Nav --- */
.floating-nav {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 400px; background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px); border-radius: 40px; padding: 10px 20px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.8); z-index: 100;
}
.nav-btn { color: #ccc; font-size: 20px; transition: 0.3s; }
.nav-btn.active, .nav-btn:hover { color: var(--primary-dark); }

/* --- TOAST NOTIFICATION --- */
#toast {
    visibility: hidden;
    min-width: 280px;
    background: #fff;
    color: #d6336c;
    text-align: center;
    border-radius: 15px;
    padding: 20px;
    position: fixed;
    z-index: 99999;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 50px rgba(0,0,0,0.2);
    font-weight: 700; font-size: 16px;
    border: 2px solid #ff9a9e;
    opacity: 0; transition: opacity 0.3s, transform 0.3s;
}

#toast.show {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

#toast i { display: block; font-size: 30px; margin-bottom: 10px; color: #2ecc71; }

#overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3); z-index: 99998;
    display: none;
}
#overlay.show { display: block; }