@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

.container {
    max-width: 70%;
}

/* Navbar Gradient */
.navbar {
    font-family: 'Pacifico', cursive;
    background: linear-gradient(135deg, #ff9a00, #ff5722); /* Vàng cam */
    padding: 12px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.navbar-brand {
    font-size: 22px;
    color: white !important;
}

.nav-link {
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}
.nav-link:hover, .nav-link.active {
    color: blue !important; /* Màu cam nổi bật */
}

.brand-text {
    font-weight: bold;
    font-size: 20px;
    color: white;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Nút toggler khi ở mobile */
.custom-toggler {
    border: 2px solid white !important;
    border-radius: 5px;
}

.navbar-toggler {
    border: none;
    background-color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hiệu ứng dropdown khi mở navbar */
.navbar-collapse {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Mục menu */
.navbar-nav .nav-link {
    font-size: 18px;
    padding: 10px 15px;
    color: black !important;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Hover & Active */
.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    background-color: #ff9800;
    color: white !important;
}


.account-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: all 0.4s ease-in-out;
    position: relative;
    padding: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    transform: scale(0.98);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-in-out forwards;
    height: 100%;
}

.account-card:hover {
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.account-card .image-container {
    flex: 1; /* Chiếm 50% chiều cao */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.account-card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-card .info {
    flex: 1; /* Chiếm 50% còn lại */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.image-container {
    position: relative;
    border-bottom: 2px solid #ddd;
    background-color: #f1f1f1;
    padding: 10px;
}
.account-id {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
}
.carousel-item img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 5px;
    loading: lazy;
}

.text-container {
    padding: 5px;
    text-align: center;
}
.account-card h5 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
}
.account-server {
    font-size: 15px;
    animation: rainbow 2s infinite linear;
}
@keyframes rainbow {
    0% { color: red; }
    14% { color: orange; }
    28% { color: yellow; }
    42% { color: green; }
    57% { color: blue; }
    71% { color: indigo; }
    85% { color: violet; }
    100% { color: red; }
}
.account-description {
    font-size: 14px;
    color: #555;
}
.zalo-chatbox {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.zalo-chatbox img {
    width: 60px;
    height: 60px;
    cursor: pointer;
}
.zalo-arrow {
    position: fixed;
    bottom: 90px;
    right: 50px;
    font-size: 16px;
    font-weight: bold;
    color: red;
    animation: bounce 1s infinite;
}
.zalo-arrow::after {
    content: "Mua ⬇";
    display: block;
    font-size: 18px;
    color: red;
    font-weight: bold;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.container.mt-4 {
    background: linear-gradient(135deg, #fff4e6, #ffebcc); /* Vàng cam cực nhẹ */
    border-radius: 15px; /* Bo góc mềm mại */
    padding: 25px; /* Khoảng cách bên trong rộng rãi */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1); /* Đổ bóng nhẹ */
    transition: all 0.5s ease-in-out; /* Hiệu ứng mượt */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-in-out forwards;
    position: relative;
    overflow: hidden;
}
.col-md-3 {
    margin-bottom: 20px;
}
.col-md-4 {
    margin-bottom: 20px;
}
/* Hiệu ứng sáng nhẹ */
.container.mt-4::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: rotate(45deg);
    transition: all 0.6s ease-in-out;
}

/* Hover hiệu ứng nâng khối */
.container.mt-4:hover {
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.container.mt-4:hover::before {
    top: 150px;
    left: 150px;
    opacity: 0.6;
    transition: all 0.6s ease-in-out;
}

/* Animation khi xuất hiện */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.section-title {
    font-family: 'Pacifico', cursive;
    font-size: 28px;
    text-align: center;
    color: #ff5722;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    
    /* Tăng độ mượt cho chữ */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.section-title::after {
    content: "";
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff9a00, #ff5722);
    display: block;
    margin: 5px auto;
    border-radius: 5px;
}


    /* Khi thu nhỏ, menu sẽ có hiệu ứng đẹp hơn */
@media (max-width: 768px) {       
    .navbar {
        font-family: 'Roboto', sans-serif !important;
    }
    .section-title {
        font-family: 'Roboto', sans-serif !important;
        font-size: 24px;
    }
    .navbar-nav {
        background: rgba(0, 0, 0, 0.5);
        padding: 10px;
        border-radius: 10px;
    }

    .navbar-nav .nav-link {
        padding: 10px 20px;
        margin: 5px 0;
        text-align: center;
    }
    .brand-text {
        display: none;
    }

    .container {
        max-width: 90%;
    }
    .col-md-3 {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .account-card {
        width: 100%;
    }
    .zoom-effect {
        transition: none !important;
    }
    
    .zoom-effect:hover {
        transform: none !important;
    }
}

/* Hiệu ứng phóng to ảnh khi trỏ vào */
.zoom-effect {
    transition: transform 0.3s ease-in-out;
}

.zoom-effect:hover {
    transform: scale(2); /* Phóng to % */
    z-index: 10;
}

/* Nút "Mua ngay" với kiểu dáng đẹp và hiện đại */
.btn-mua-ngay {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background-color: #ff6600;  /* Màu nền cam */
    border: 2px solid #ff6600;  /* Đường viền cam */
    border-radius: 10px;  /* Bo tròn góc */
    transition: all 0.3s ease;  /* Hiệu ứng chuyển động */
    cursor: pointer;
    text-decoration: none; /* Loại bỏ underline */
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);  /* Hiệu ứng bóng */
}

/* Khi hover */
.btn-mua-ngay:hover {
    background-color: #e65c00;  /* Màu nền cam đậm */
    border-color: #e65c00;  /* Đổi màu viền */
    color: #fff;  /* Màu chữ vẫn trắng */
    transform: translateY(-3px);  /* Nâng nút lên một chút */
    box-shadow: 0 8px 10px rgba(255, 102, 0, 0.6);  /* Bóng đổ mạnh hơn */
}

/* Khi nhấn nút */
.btn-mua-ngay:active {
    background-color: #cc5200;  /* Màu nền cam tối hơn */
    transform: translateY(1px);  /* Nút sẽ hạ xuống khi nhấn */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);  /* Bóng nhẹ */
}

/* Định dạng icon */
.btn-mua-ngay i {
    margin-right: 12px;  /* Khoảng cách giữa icon và văn bản */
    font-size: 20px;  /* Kích thước icon */
}

/* Thêm hiệu ứng chữ đậm khi hover */
.btn-mua-ngay:hover {
    font-weight: 700;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(62%) sepia(80%) saturate(300%) hue-rotate(10deg); /* Màu vàng cam */
}



