/* Thiết lập cơ bản */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

/* Header/Navbar */
.navbar {
    background-color: #0087c5; /* Màu xanh FUN88 */
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Khu vực chính (Hero Section) */
.hero-section {
    background-color: #00bfff; /* Nền xanh nhạt hơn */
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 100px; /* Khoảng cách giữa 2 hình ảnh */
    margin-bottom: 40px;
}

.phone-image {
    width: 250px;
    height: 300px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-weight: bold;
    /* Hiệu ứng 3D nhẹ */
    transform: perspective(1000px) rotateY(10deg);
}

.phone-image.left {
    transform: perspective(1000px) rotateY(-10deg);
}

/* Nút chính */
.main-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.btn {
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-register {
    background: linear-gradient(to right, #6dd5ed, #2193b0); /* Màu xanh nhạt */
    color: white;
}

.btn-login {
    background: linear-gradient(to right, #ff9966, #ff5e62); /* Màu cam/đỏ */
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Phần Thông tin (3 cột dưới) */
.info-section {
    display: flex;
    justify-content: space-between;
    padding: 40px 5%;
    background-color: #fff;
}

.info-box {
    width: 25%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.info-center {
    width: 45%;
    padding: 20px;
    text-align: center;
    color: #0087c5;
}

.box-header {
    background-color: #0087c5;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    border-radius: 5px;
}

.info-box h3 {
    color: #0087c5;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
    margin-top: 0;
}

/* --- Modal (Hộp thoại) --- */

.modal {
    display: none; /* Mặc định ẩn */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* Nền tối */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* Canh giữa theo chiều dọc */
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px; /* Kích thước tối đa */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    text-align: center;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

#modal-title {
    color: #0087c5;
    margin-bottom: 25px;
    font-size: 24px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px;
}

.input-group .icon {
    color: #0087c5;
    margin-right: 10px;
    font-size: 18px;
}

.modal-content input[type="text"],
.modal-content input[type="password"],
.modal-content input[type="tel"] {
    width: 100%;
    padding: 5px 0;
    border: none;
    outline: none;
    font-size: 16px;
}

.submit-button {
    width: 100%;
    background-color: #ff5e62; /* Màu đỏ nổi bật */
    color: white;
    padding: 10px 15px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #e04c50;
}

#form-note {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}
/*Tới đây/*
/* Thẻ cha chứa banner */
.banner-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 0;
    margin: 0 auto;
}

/* Ảnh banner */
.banner-wrapper img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

/* FIX toàn trang — cái này cực kỳ quan trọng */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* FIX lỗi container bị rộng quá 100% */
* {
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        margin: 0 auto !important;
    }
}

.banner-slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.banner-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.banner-item.active {
    opacity: 1;
    position: relative;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
}
.block-tinh-nang {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
}

.text-box {
    background: #111;          /* nền đen đậm – chữ siêu dễ đọc */
    padding: 20px;
    border-radius: 10px;
    color: #fff;               /* chữ trắng */
}

.text-box strong {
    color: #ffcc00;            /* vàng đậm – đạt chuẩn tương phản */
}

.text-box i {
    color: #ddd;
}

.img-box img {
    width: 100%;
    border-radius: 10px;
}

