html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    height: auto;
    background: url(../images/bg/goku1.png) no-repeat center center fixed;
    background-size: cover;
    overflow: auto !important;
}

.container {
    text-align: center;
    padding: 20px;
}


.logo {
    width: 400px;
    margin: 20px auto;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-navbar {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background: red !important;
    transition: transform 0.3s;
}

.btn-navbar:hover {
    transform: scale(1.1);
}

@keyframes fall {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 1;
    }

    40% {
        transform: translateX(var(--swing1, -100px)) translateY(40vh) rotate(var(--rotate1, -15deg));
    }

    70% {
        transform: translateX(var(--swing2, 100px)) translateY(70vh) rotate(var(--rotate2, 10deg));
    }

    100% {
        transform: translateX(calc(var(--endX, 0px) - var(--startX, 0px))) translateY(100vh) rotate(20deg);
        opacity: 0.8;
    }
}

.falling-leaf {
    position: absolute;
    background-image: url('la.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    opacity: 1;
    animation: fall linear infinite;
    /* pointer-events: none; */
}


.leaf-container {
    position: fixed;
    /* Giữ cố định trên toàn bộ màn hình */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    /* Không cản trở thao tác của người dùng */
    overflow: hidden;
    /* Đảm bảo lá không bị lệch ra ngoài */
    z-index: 9999;
    /* Đảm bảo lá nằm trên tất cả */
}

/* navbar */
.image-container {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.table-custom,
.table-custom tr,
.table-custom td,
.table-custom th {
    border: none !important;
}

.table-custom th,
.table-custom td:first-child {
    width: 150px;
}

.image-container img {
    width: 100%;
    height: auto;
}

@keyframes blink {
    0% {
        color: black;
    }

    50% {
        color: red;
    }

    100% {
        color: black;
    }
}

@keyframes flashing {
    0% {
        border-color: black;
    }

    50% {
        border-color: yellow;
    }

    100% {
        border-color: black;
    }
}

@keyframes flashing1 {
    0% {
        border-color: black;
    }

    50% {
        border-color: red;
    }

    100% {
        border-color: black;
    }
}

@keyframes flashing2 {
    0% {
        border-color: black;
    }

    50% {
        border-color: rgb(241, 0, 0);
    }

    100% {
        border-color: black;
    }
}

@keyframes stretch {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.text-black1 {
    animation: blink 0.5s infinite;
}

@keyframes blinking {
    0% {
        color: rgb(0, 0, 0);
    }

    50% {
        color: #FFFFFF;
    }

    100% {
        color: #FF0000;
    }
}

.blinking-link {
    animation: blinking 0.5s infinite;
}

.section1 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url(./bg0.jpg);
    background-position-x: center;
    background-size: cover;
}

.span1 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 0 0 8px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 1);
    animation: animate 1s linear infinite;
}

.span1::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
}

@keyframes animate {
    0% {
        transform: rotate(315deg) translateX(0);
        opacity: 1;
    }

    70% {
        opacity: 1;

    }

    100% {
        transform: rotate(315deg) translateX(-1500px);
        opacity: 1;

    }

}

.fw-bold {
    color: white;
}

.btn-navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    height: 40px;
    text-transform: uppercase;
    border-radius: 15px;
    padding: 12px 20px;
    width: 100%;
    max-width: 180px;
    border: 3px solid rgba(0, 0, 0, 0.5);
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    transition: transform 0.4s ease-in-out, background 0.3s ease-in-out;
    text-decoration: none;
}

.btn-navbar i {
    font-size: 1rem;
    /* Giảm icon để phù hợp với font chữ nhỏ */
    margin-right: 6px;
}


.btn-navbar:hover {
    color: white;
    transform: scale(1.1);
    /* Phóng to nhẹ */
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.4);
}


.btn-home {
    background-color: #ff4d4d;
    color: white;
}

.btn-download {
    background-color: #ff4d4d;
    color: white;
}

.btn-zalo {
    background-color: #2f9eff;
    color: white;
}


.row.text-center {
    display: flex;
    justify-content: center;
    /* Căn giữa */
    align-items: center;
    flex-wrap: nowrap;
    /* Giữ trên một hàng */
    width: 100%;
    gap: 15px;
    /* Tạo khoảng cách giữa các nút */
    position: relative;
}



/* Điều chỉnh khoảng cách hợp lý hơn trên mobile */
@media (max-width: 768px) {
    .row.text-center {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* chữ 7 màu */

.marquee {
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    width: 50%;
    margin: 0 auto;
    text-align: center;
    padding: 10px 0;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    /* Hoặc 'Dancing Script' */
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.marquee span {
    display: inline-block;
    animation: marquee 7s linear infinite, rainbowBlink 2s infinite;
    padding: 0 20px;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes rainbowBlink {
    0% {
        color: rgb(198, 40, 40);
    }

    /* Đỏ đô */
    16% {
        color: rgb(255, 152, 0);
    }

    /* Cam đất */
    32% {
        color: rgb(255, 235, 59);
    }

    /* Vàng chanh */
    48% {
        color: rgb(0, 200, 83);
    }

    /* Xanh lục bảo */
    64% {
        color: rgb(33, 150, 243);
    }

    /* Xanh dương sáng */
    80% {
        color: rgb(103, 58, 183);
    }

    /* Tím xanh */
    100% {
        color: rgb(198, 40, 40);
    }

    /* Quay lại đỏ đô */
}

/* tải game */
#myModal {
    display: none;
    /* Ẩn ban đầu */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Hiệu ứng nền mờ */
}

/* Nút đóng popup */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: rgb(255, 255, 255);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* padding: 10px; */
    padding-bottom: 10px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    /* Set a maximum width for the modal */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*  */
.announcement {
    background-color: rgb(0, 58, 134);
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
    border-radius: 7px;
    border: 3px solid black;
}

.announcement-text {
    font-size: 50px;
    font-weight: bold;
    margin: 0;
}

.announcement p {
    margin: 0;
}

.announcement-info {
    font-size: 15px;
    display: none;
    margin-top: 10px;
    background-color: white;
    border: 2px solid white;
    padding: 10px;
    border-radius: 5px;
}

.announcement-info.active {
    display: block;
}

.ent-info {
    font-size: 12px;
    display: none;
    margin-top: 10px;
    background-color: white;
    border: 2px solid white;
    padding: 10px;
    border-radius: 5px;
}

.ent-info.active {
    display: block;
}

.row1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Canh giữa các thẻ trong dòng */
}