  <style>
:root {
    --card-bg-light: rgba(255, 255, 255, 0.2);
    --card-bg-dark: rgba(21, 21, 21, 0.4);
    --bg: #f2f2f2;
    --text: #fff;
    --sub: #ddd;
    --btn-bg: #e8e8e8;
    --btn-text: #000;

    /* Logo MB Bank biến chỉnh to/nhỏ, lên/xuống, trái/phải */
    --title-logo-height: 1.2em;
    --title-logo-left: 30px;
    --title-logo-top: 0px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c0c0c;
        --text: #fff;
        --sub: #ccc;
        --btn-bg: #333;
        --btn-text: #fff;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    height: 100vh;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../Avatar/Nen.jpg") no-repeat center center / cover;
    filter: blur(6px) brightness(0.6);
    z-index: -1;
}

/* Avatar + hiệu ứng */
.avatar-effect-wrapper {
    width: 120px;
    height: 120px;
    position: absolute;
    top: 140px;
    right: 20px;
    z-index: 10;
}

.avatar-effect-image {
    position: absolute;
    object-fit: contain;
    z-index: 2;
    width: 150px;
    height: 150px;
    top: -10px;
    left: -10px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4e9cff;
    box-shadow: 0 0 15px rgba(78,156,255,0.5);
    position: relative;
    display: block;
    z-index: 1;
}

/* Card */
.card {
    background: var(--card-bg-light);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 35px 30px;
    width: 350px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.37);
    position: absolute;
    top: 280px;
    right: -25px;
    position: relative;
}

@media (prefers-color-scheme: dark) {
    .card {
        background: var(--card-bg-dark);
        border: 1px solid rgba(255,255,255,0.1);
    }
}

/* Socials */
.socials {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-top: 0px;
}

.socials a {
    background: rgba(255,255,255,0.15);
    padding: 5px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.socials a:hover {
    background: rgba(255,255,255,0.3);
}

.socials a img {
    width: 26px;
    height: 26px;
}

/* Tên + GIF */
.name-and-gif {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: -80px;
    margin-bottom: 3px;
    position: relative;
    top: -155px;
    left: -30px;
}

.name-text {
    font-size: 50px;
    font-weight: 800;
    color: white;
}

.name-gif {
    width: 38px;
    height: 38px;
    object-fit: contain;
    margin-left: 8px;
    position: relative;
    top: 3px;
    left: -3px;
}

.btn {
    background: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    padding: 5px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    transition: 0.2s;
    width: fit-content;
    margin: 0 auto;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.logo {
    width: 25px;
    height: 25px;
}

/* Overlay blur */
.overlay-blur {
    position: absolute;
    top: 120px;
    left: 0px;
    width: 365px;
    height: 170px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    z-index: 0;
}

.blur-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    height: 100%;
    padding: 15px;
}

.blur-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
}

/* Text trong overlay */
.blur-text h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.blur-text p {
    margin: 5px 0 0;
    font-size: 15px;
    opacity: 0.8;
}

/* Hàng chứa logo + chữ MB Bank */
.title-row {
  display: flex;
  align-items: center;  /* logo và chữ cùng hàng */
  gap: 8px;             /* khoảng cách giữa logo và chữ */
}

/* Logo nằm trước chữ MB Bank */
.title-logo {
  height: 1.2em;       /* chỉnh to/nhỏ logo — 1em = bằng đúng chữ, 1.2em = lớn hơn 20% */
  width: auto;
  object-fit: contain;

  /* Điều chỉnh qua trái/phải */
  margin-left: 30px;    /* + sang phải, - sang trái */
  margin-right: 0px;

  /* Điều chỉnh lên/xuống */
  margin-top: 0px;     /* + xuống, - lên */
  margin-bottom: 0px;
}

/* Chữ MB Bank */
.title-text {
  font-size: 1.4em;
  font-weight: 700;
  color: blue;
}
/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
}

/* SNOW EFFECT */
.snow-icon {
    position: fixed;
    top: -20px;
    color: white;
    font-size: var(--snow-icon-size, 20px);
    opacity: 0.9;
    pointer-events: none;
    animation: fall linear var(--snow-speed, 8s);
}

.snow-img {
    position: fixed;
    top: -30px;
    width: var(--snow-img-size, 60px);
    height: var(--snow-img-size, 60px);
    object-fit: contain;
    opacity: 0.9;
    pointer-events: none;
    animation: fall linear var(--snow-speed, 8s);
}

@keyframes fall {
    0% { transform: translateY(-20px) translateX(-40px) rotate(0deg); }
    50% { transform: translateY(50vh) translateX(40px) rotate(180deg); }
    100% { transform: translateY(110vh) translateX(100px) rotate(360deg); }
}

  </style>