.icon-item.medal span {
    font-size: 12px;
}
.wow-footer {
    text-align: left;
    padding: 10px 10px 50px 10px;
    font-family: Roboto, sans-serif;
    width: 100%;
}

.wow-footer-toggle {
    cursor: pointer;
    text-align: center;
}

.wow-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: none;
}

.wow-footer-section {
    margin-bottom: 15px;
    text-align: justify;
}

.wow-footer-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.wow-footer-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

.wow-footer-items p {
    font-size: 14px;
    flex: 1 1 18%; /* Tạo khoảng 5 cột trên màn hình lớn */
    margin: 5px 0;
    text-align: left;
}

.wow-footer-items-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.wow-footer-items-center p {
    font-size: 14px;
    flex: 1 1 100%; /* Chiếm toàn bộ chiều rộng để căn giữa */
    margin: 5px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .wow-footer-items p {
        flex: 1 1 30%; /* 3 cột trên màn hình trung bình */
    }
    .wow-footer-items-center p {
        flex: 1 1 100%; /* Vẫn căn giữa trên màn hình nhỏ */
    }
}

@media (max-width: 480px) {
    .wow-footer-items p {
        flex: 1 1 45%; /* 2 cột trên màn hình nhỏ */
    }
    .wow-footer-items-center p {
        flex: 1 1 100%; /* Vẫn căn giữa trên màn hình nhỏ */
    }
}
.login-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.g_id_signin {
    display: inline-block !important;
    visibility: visible !important;
    width: 100%;
}
.login-toggle img {
    width: 36px !important;
    height: 36px !important;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.tiktok-login-btn {
    background: #343a40;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}
.nsm7Bb-HzV7m-LgbsSe-MJoBVe {
    background: #dc3545 !important;
}
.nsm7Bb-HzV7m-LgbsSe-Bz112c {
    background: #fff;
    padding: 3px !important;
    border-radius: 50%;
    width: 26px !important;
    height: 26px !important;
    margin: 0;
}
.nsm7Bb-HzV7m-LgbsSe-bN97Pc-sM5MNb span {
    color: #fff;
}
.small-note {
    display: block;
    margin-top: 5px;
}
.tiktok-login-btn img {
    width: 25px;
    background: #fff;
    border-radius: 50%;
}
.tiktok-login-btn span {
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 14px;
}
.btn-cancel {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 50%;
    background: #fff;
    color: #dc3545;
    border-color: #dc3545;
}
.btn-back {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 50%;
    background: #fff;
    color: #007bff;
    border-color: #007bff;
}
.custom-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Khoảng cách 10px giữa đường kẻ và ảnh */
}

.divider-line {
    flex: 1; /* Đường kẻ chiếm toàn bộ không gian còn lại */
    height: 2px; /* Độ dày đường kẻ */
    background-color: #ddd; /* Màu đường kẻ */
}

.divider-image {
    width: 50px;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 5px;
}
.dropdown {
    text-align: center;
    padding: 10px;
}
.content-wrapper {
    flex: 1;
    /* width: 100%; */
    /* display: flex; */
    /* flex-direction: column; */
    /* position: relative; */
    /* min-height: 0; */
    overflow-x: hidden;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.content-wrapper::-webkit-scrollbar {
    display: none;
}
.nav-wrapper {
    position: fixed;
    bottom: 0;
    width: 100%;
}
.avatar img {
    width: 50px;
    height: 50px;
    bottom: 0;
}
.header-icons {
    display: flex;
    justify-content: space-between;
}

.header-icons .icon-item {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.header-background {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
}
.header-background i {
    color: #ffc107
}
.room-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
}

.room-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.room-title h2 {
    font-size: 24px;
    color: #1a73e8;
    margin: 0;
}

.room-title .badge {
    background-color: #fff;
    color: #000;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.game-card {
    position: relative;
    gap: 10px;
    padding: 10px;
    border-radius: 15px;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    height: 80px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-card h5 {
    margin: 0 !important;
}
.card-image {
    width: 100px;
}
.exchange-items, .team-items, .me-items {
    position: absolute;
    top: 0px;
    background: var(--danger);
    border-radius: 10px 0;
    padding: 5px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    gap: 5px;
}

.exchange-items span {
    /* animation: shake 2s infinite; */
}

.team-items span {
    /*animation: wave 1.5s infinite ease-in-out;*/
}

@keyframes shake {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2px, 0); }
    50% { transform: translate(2px, 0); }
    75% { transform: translate(-2px, 0); }
    100% { transform: translate(0, 0); }
}

@keyframes wave {
    0% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}
.game-card .card-icon-personal,
.game-card .card-icon-team,
.game-card .card-icon-travel,
.game-card .card-icon-mission,
.game-card .card-icon-register-shop,
.game-card .card-icon-tutorial,
.game-card .card-icon-exchange-items {
    position: absolute;
    color: white;
    opacity: 0.3;
    font-size: 30px;
}

.card-icon-exchange-items.icon-exchange-items-1 {
    top: 15%;
    left: 25%;
    transform: rotate(20deg);
}

.card-icon-exchange-items.icon-exchange-items-2 {
    top: 55%;
    left: 65%;
    transform: rotate(-15deg);
}

.card-icon-exchange-items.icon-exchange-items-3 {
    top: 75%;
    left: 35%;
    transform: rotate(10deg);
}
/* Icon cho game-card Đào kho báu cá nhân */
.card-icon-personal.icon-personal-1 {
    top: 15%;
    left: 25%;
    transform: rotate(20deg);
}

.card-icon-personal.icon-personal-2 {
    top: 55%;
    left: 65%;
    transform: rotate(-15deg);
}

.card-icon-personal.icon-personal-3 {
    top: 75%;
    left: 35%;
    transform: rotate(10deg);
}

.card-icon-personal.icon-personal-4 {
    top: 35%;
    left: 85%;
    transform: rotate(10deg);
}

/* Icon cho game-card Đào kho báu cùng team */
.card-icon-team.icon-team-1 {
    top: 25%;
    left: 70%;
    transform: rotate(-20deg);
}

.card-icon-team.icon-team-2 {
    top: 65%;
    left: 20%;
    transform: rotate(25deg);
}

.card-icon-team.icon-team-3 {
    top: 35%;
    left: 50%;
    transform: rotate(-10deg);
}

.card-icon-team.icon-team-4 {
    top: 45%;
    left: 40%;
    transform: rotate(-40deg);
}

/* Icon cho game-card Du lịch - Kết đôi */
.card-icon-travel.icon-travel-1 {
    top: 20%;
    left: 30%;
    transform: rotate(15deg);
}

.card-icon-travel.icon-travel-2 {
    top: 60%;
    left: 75%;
    transform: rotate(-25deg);
}

.card-icon-travel.icon-travel-3 {
    top: 40%;
    left: 45%;
    transform: rotate(5deg);
}

/* Icon cho game-card Nhiệm vụ */
.card-icon-mission.icon-mission-1 {
    top: 30%;
    left: 65%;
    transform: rotate(-15deg);
}

.card-icon-mission.icon-mission-2 {
    top: 70%;
    left: 25%;
    transform: rotate(20deg);
}

.card-icon-mission.icon-mission-3 {
    top: 50%;
    left: 55%;
    transform: rotate(-5deg);
}
/* Icon cho game-card Đăng ký Shop */
.card-icon-register-shop.icon-register-shop-1 {
    top: 25%;
    left: 70%;
    transform: rotate(-20deg);
}

.card-icon-register-shop.icon-register-shop-2 {
    top: 65%;
    left: 20%;
    transform: rotate(25deg);
}

.card-icon-register-shop.icon-register-shop-3 {
    top: 35%;
    left: 50%;
    transform: rotate(-10deg);
}

/* Icon cho game-card Hướng dẫn */
.card-icon-tutorial.icon-tutorial-1 {
    top: 20%;
    left: 30%;
    transform: rotate(15deg);
}

.card-icon-tutorial.icon-tutorial-2 {
    top: 60%;
    left: 75%;
    transform: rotate(-25deg);
}

.card-icon-tutorial.icon-tutorial-3 {
    top: 40%;
    left: 45%;
    transform: rotate(5deg);
}
.event, .medal {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: #000;
}
.event-count, .gift-count, .lucky-ticket-count {
    position: absolute;
    top: -7px;
    right: -7px;
    background: red;
    border-radius: 50%;
    padding: 5px;
    color: white;
    font-size: 10px;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    border: 3px solid #fff;
}
.gift-count, .lucky-ticket-count {
    color: #fff !important;
}
.lucky-ticket-count {
    right: 10px !important;
}
.mission-new {
    position: absolute;
    top: -25px;
    left: -10px;
    width: 60px;
    height: auto;
}
.login {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

#login-section, #signup-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    display: none;
    overflow-y: auto;
}
#login-section, #signup-section {
    display: none;
}
.h-vh-100 {
    height: 100vh;
    overflow-x: hidden;
    box-sizing: border-box;
}
/* ✅ Bố cục Grid hiển thị 7 ô */
.journey-reward-container {
    display: grid;
    gap: 10px;
    justify-content: center;
}

/* 🔹 Ô rương báu */
.journey-reward-box {
    background: var(--indigo);
    border: 2px solid var(--yellow);
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    position: relative; /* Để căn giữa chữ "Đã nhận" */
}

/* 🎁 Khi hover vào rương */
.journey-reward-box:hover {
    transform: scale(1.1);
    border-color: #ff6600;
}

/* 🟢 Ô lớn nhất */
.journey-reward-box:nth-child(7) {
    grid-column: span 3;  /* Ô vẫn chiếm 3 cột */
    grid-row: span 3;     /* Ô vẫn chiếm 3 hàng */
    transform: scale(1);
    border: 3px solid #ff4500;
    background: linear-gradient(to right, #6610f273, #6f42c1ba);
    justify-self: center; /* Căn giữa theo chiều ngang */
    animation: glow 1s ease-in-out infinite; /* Áp dụng hiệu ứng glow nhẹ nhàng */
}

/* 🎆 Hiệu ứng phát sáng rất nhỏ gọn */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px yellow, 0 0 10px yellow; /* Hiệu ứng phát sáng cực nhỏ */
    }
    100% {
        box-shadow: 0 0 10px orange, 0 0 15px orange; /* Hiệu ứng phát sáng cực nhỏ */
    }
}

@keyframes glowText {
    0% {
        text-shadow: 0 0 5px #ffff00, 0 0 10px #ffcc00;
    }
    50% {
        text-shadow: 0 0 10px #ffcc00, 0 0 20px #ff9900;
    }
    100% {
        text-shadow: 0 0 5px #ffff00, 0 0 10px #ffcc00;
    }
}

/* Ảnh bên trong ô */
.journey-reward-box:nth-child(7) img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: inherit;
    transition: 0.3s;
    animation: glow 3s ease-in-out infinite;
}

/* ❌ Khi đã nhận quà thì đổi màu xám */
.journey-reward-received {
    background: gray; /* Màu nền xám cho ô */
    border-color: gray; /* Màu viền xám */
    pointer-events: none; /* Không cho phép click */
}

/* 📦 Hình ảnh item quà */
.journey-reward-box img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: inherit;
    transition: 0.3s; /* Thêm hiệu ứng chuyển màu ảnh */
}

/* 🎁 Thêm text "Đã nhận" khi đã nhận quà */
.journey-reward-box .received-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #fd7e14;
}

/* 📦 Đổi màu ảnh khi đã nhận quà */
.journey-reward-received img {
    filter: grayscale(100%);
    opacity: 0.5;
}

/* 🎁 Danh sách quà tặng */
.journey-reward-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* 🏆 Ô hiển thị quà */
.journey-reward-item {
    background: white;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}

.journey-reward-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.reward-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--warning);
    font-weight: bold;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
    width: max-content;
    animation: glowText 1s ease-in-out infinite;
}

.reward-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: inherit;
}

/* Thêm nền cho popup Swal */
.swal-gift-popup {
    background-image: url(https://wownow.life/images/world_map.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.swal-gift-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Màu đen mờ */
    border-radius: 10px; /* Đảm bảo ảnh mờ có góc bo tròn giống như popup */
}

/* Thêm nền cho popup Swal */
.swal-pet-popup {
    background-image: url(https://wownow.life/images/vn_map.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.swal-pet-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Màu đen mờ */
    border-radius: 10px; /* Đảm bảo ảnh mờ có góc bo tròn giống như popup */
}

.swal-confirm-pet {
    position: absolute;
    bottom: 10px; /* Khoảng cách từ đáy */
    left: 50%;
    transform: translateX(-50%); /* Đưa nút ra giữa */
}

/* Đặt ảnh gift_girl ở top-right */
.swal-gift-image {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 35%;
    height: auto;
    z-index: -1;
}

.swal-pet-male-image {
    position: absolute;
    bottom: 0;
    right: 20px;
    max-width: 47%;
    height: auto;
}

.swal-pet-female-image {
    position: absolute;
    bottom: 0;
    right: -30px;
    max-width: 50%;
    height: auto;
}

.swal-pet-wofl-image {
    position: absolute;
    bottom: 0;
    right: 50px;
    max-width: 40%;
    height: auto;
    z-index: 1;
}

.swal-pet-mavuong-image {
    position: absolute;
    bottom: 0;
    left: -25px;
    max-width: 60%;
    height: auto;
}

.swal-pet-taysai-image {
    position: absolute;
    bottom: 0;
    left: 50px;
    max-width: 50%;
    height: auto;
}

.login-text {
    display: flex;
    justify-content: center; /* Căn giữa theo chiều ngang */
    align-items: center; /* Căn giữa theo chiều dọc */
}

.main-text-img {
    width: 95%;
    height: auto;
}

.swal2-container .swal2-html-container {
    padding: 0;
}

.journey-reward-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.gift-text {
    color: #fff; /* Màu chữ trắng */
    font-weight: bold; /* In đậm */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Đổ bóng chữ */
    font-size: 30px; /* Kích thước chữ bình thường */
    display: flex;
    align-items: center;
}

.selected-day {
    color: #fd7e14; /* Màu chữ đỏ */
    font-size: 70px; /* Kích thước chữ gấp đôi */
    font-weight: bold; /* In đậm */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Đổ bóng chữ */
}

.selected-day-pet {
    color: #fd7e14; /* Màu chữ đỏ */
    font-size: 50px; /* Kích thước chữ gấp đôi */
    font-weight: bold; /* In đậm */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Đổ bóng chữ */
}

.item-list-login {
    text-align: center;
    display: flex;
    flex-wrap: wrap;  /* Cho phép phần tử tự động xuống dòng */
    justify-content: center;  /* Căn giữa các phần tử theo chiều ngang */
    align-items: center;  /* Căn giữa các phần tử theo chiều dọc */
    gap: 20px;
    padding: 10px;
}

.item-list-pet {
    color: var(--white);
    font-weight: bold;
    text-shadow: 2px 2px 5px var(--orange);
    position: absolute;
    bottom: 70px;
    z-index: 2;
}

.item-list-pet-1 {
    color: var(--white);
    font-weight: bold;
    text-shadow: 2px 2px 5px var(--orange);
    font-size: x-large;
}

.journey-reward-box.gift {
    animation: glow 1s ease-in-out infinite;
}
.swal2-container {
    z-index: 10000;
}

.blue-text {
    color: #6610f2;
}