@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');



:root {
    --primary-color: #FF7E07;
    --secondary-color: #1a1a1a;
    --text-color: #ffffff;
    --text-primary-color: #333333;
    --text-secondary-color: #eec982;
    --text-gray: #b3b5be;
    --background-dark: #20222a;
    --nav-link-background-color: #2b2d38;
    --header-background-color: #201f1f;
    --card-featured-background-color: #515567;
    --site-rank-background-color: #fead00;
    --site-rank-border-color: #ffff65;
    --card-background-color: #2c3039;
    --border-radius-lg: 12px;
    --border-radius-md: 8px;
    --border-radius-sm: 8px;
    --container-max-width: 1300px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter";
    background-color: #000;
    color: var(--text-color);
    line-height: 1.6;
}

main {
    max-width: 1300px;
    margin: 0 auto;
}

a {
    display: inline-block;
    line-height: 1;
    text-decoration: none;
    color: var(--primary-color);
}

.custom-scroll h2,
.custom-scroll h3,
.custom-archive-content {
    color: #000;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.d-flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 0.5rem;
}

.mt-3 {
    margin-top: 24px !important;
}

.mt-4 {
    margin-top: 32px !important;
}

.mt-7 {
    margin-top: 56px !important;
}

.mt-8 {
    margin-top: 64px !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--text-secondary-color) !important;
}

.font-bold {
    font-weight: bold;
}

.btn {
    padding: 13px 43px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    min-width: 108px;
    width: 100%;
    font-size: 13px;
    color: white;
    background-color: #D66F10;
}

/* Navbar */
.navbar {
    background-color: #212329;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    /* độ rộng thanh scroll */
}

::-webkit-scrollbar-track {
    background: #2b2b2b;
    /* màu nền track (xám đậm) */
}

::-webkit-scrollbar-thumb {
    background-color: #0DBD49;
    /* màu xanh mint của thumb */
    border-radius: 3px;
    /* bo tròn góc */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #00e6ac;
    /* màu thumb khi hover (tối hơn nhẹ) */
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #0DBD49 #2b2b2b;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin: 0 auto;
    max-width: var(--container-max-width);
}

.navbar-left,
.navbar-right {
    display: flex;
    align-items: center;
}

.navbar-right {
    gap: 0.5rem;
    align-items: flex-start;
}

.navbar-right .menu-toggle {
    margin-top: 0.5rem;
}

.navbar-right a {
    flex: 1;
}

.navbar-right a button {
    width: 100%;
    display: flex;
    gap: 6px;
    justify-content: center;
}

.nav-text {
    display: none;
}

.navbar-right .icon {
    background-color: #D66F10;
    width: 30px;
    height: 30px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;

}

.logo {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;

}

.logo a {
    display: inline-block;
    line-height: 1;
}

.logo img {
    width: 100%;
    max-width: 150px
}

.logo .highlight {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 198px;
    gap: 15px
}




.nav-links {

    padding: 0.5rem 0;
    font-weight: bold;
    display: none;
    list-style: none;

    z-index: 9999;
}

.nav-links a {
    padding: 0.5rem 0;
    color: var(--text-color);
    text-decoration: none;
    transition: 0.3s;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .active {
    color: var(--primary-color);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Mobile Menu */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background-color: var(--nav-link-background-color);
    padding: 1rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    padding-left: 1rem;
    list-style-type: none;
    display: none;
}

.dropdown svg {
    margin-left: 0.5rem;
}


#banner {
    margin-top: 90px;
    position: relative;
}

#banner .content-banner {
    position: absolute;
    width: 45%;
    top: 10%;
    left: 50px;
}

#banner .content-banner h1 {
    font-size: 27px;
    margin-bottom: 22px;
}

#top-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    gap: 25px;
    margin-top: 20px;
}

#top-list .item {
    padding: 35px 0 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
    background-image: url(./images/bg-item.png);
    background-color: #252533;
    border-radius: 10px;
    background-size: cover;

}

.gr-btn {
    display: flex;
    gap: 22px;
}

.register,
.highlight {
    background: linear-gradient(to right, #FB9601, #F36601);
    color: #fff;
    width: 171px;
    height: 42px;
    font-size: 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 700;

}

.review {
    background: linear-gradient(to right, #0D8B0E, #0C530B);
    color: #fff;
    width: 171px;
    height: 42px;
    font-size: 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 700;

}

ul,
li {
    list-style: none;
}

.site-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    background: #252533;

    color: #fff;
    border-radius: 10px;
    padding: 20px;



}

.site-ratings {
    padding-left: 40px;
}

.site-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#list-nha-cai {
    margin: 20px 0 0;
}

.site-body {
    margin-bottom: 20px;
}

.btn-register {
    background: linear-gradient(to right, #0095FF, #085EDA);
}

.btn-login {
    background: linear-gradient(to right, #959595, #6E6E6E);
}

.site-ratings h3 {
    color: #FFF;
    font-size: 32px;
}

.site-feature li {
    list-style: none;
    font-size: 14px;
    color: #FFF;
}

.site-action {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 20px;
    align-items: end;

}

#intro-section {
    background-color: #2B2B2B;
    border-radius: 10px;
    padding: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    max-height: 430px;
    overflow: scroll;
}

.site-action a {
    width: max-content;
}

#footer {
    background-color: #212329;
    padding: 15px 0 35px;
}

#footer .wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    gap: 40px;
    align-items: center;
}

.list-social {
    display: flex;
    gap: 15px;
}

.list-nav {
    margin: 30px 0 20px;
    padding: 20px 0;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #808080;

}

.list-nav ul {
    display: flex;
    justify-content: space-between;
}

.list-nav li a {
    color: #2FB925;
}

.footer-body {
    display: flex;
    justify-content: space-between;
    color: #999999;
}

#footer span {
    color: #fff;
}

.right {
    text-align: right;
}

.footer-key {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #808080;
    display: flex;
    justify-content: space-between;
    color: #999999;

}

.footer-key ul {
    display: flex;
    gap: 24px;

}
.footer-key ul li{
    position: relative;
}
.footer-key ul li::after {
    width: 1px;
    height: 15px;
    content: "";
    right: -12px;
    background-color: #999999;
    position: absolute;
    bottom: 5px;
}
.footer-key ul li:last-child::after{
    display: none;
}

.footer-key ul a {
    color: #fff;
}

@media (min-width: 463px) {
    #scrollTopBtn {
        bottom: 120px;
    }
}

@media (min-width: 576px) {


    .auth-buttons {
        max-width: unset;
    }

    .hero {
        margin-top: 69px;
    }

    .nav-links.active {
        top: 69px;
    }

    .site-footer-item div {
        flex-direction: row;
        justify-content: flex-start;
    }

    .site-footer-item>div>* {
        flex: 1;
    }
}

/* Desktop Styles */
@media (min-width: 768px) {



    .navbar {}

    .navbar-container {
        display: flex;
        max-width: var(--container-max-width);
        flex-wrap: wrap;
        margin: auto;
        padding: 1rem 0;
    }



    .hero {
        margin-top: 73px;
        height: 400px;
    }

    .hero-title {
        font-size: 1.685rem;
        padding: 0;
        margin: 0 auto;
    }

    .betting-sites {
        padding: 0;
    }

    .site-header .premium-container {
        transform: translateX(-32px);
        width: 30%;
        margin-right: -30%;
    }






    .site-info .site-image {
        margin-top: 0;
        width: 164px;
    }

    .site-info::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 100%;
        width: 1px;
        background: rgba(255, 255, 255, 0.1);
    }

    .site-rating {
        margin-top: 0;
        width: auto;
    }

    .site-features {
        grid-area: 1 / 2 / 2 / 4;
        margin-top: 0;
    }

    .site-actions {
        grid-area: 2 / 2 / 3 / 4;
        margin-top: 0;
        align-items: center;
    }

    /* Game categories */
    .game-categories {
        grid-template-columns: repeat(6, 1fr);
    }

    /* Game grid */

    .game-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .intro-section {
        padding: 2rem 2rem;
    }



    .footer-section {
        text-align: left;
    }

    .footer-section:nth-child(3) {
        grid-area: 2 / 2 / 3 / 3;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fit,
                minmax(calc((1100px - 3 * 1.5rem - 64px) / 4), 1fr));
    }

    #scrollTopBtn {
        bottom: 88px;
    }
}

.main-navbar {

    position: fixed;
    z-index: 333333333333;
    top: 67px;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .main-navbar div {
        background-color: #2D2D2D;
        margin: 0 auto;

        display: flex;
        justify-content: center;
        border-radius: 5px;

        max-width: 1300px;
        z-index: 999;
        padding: 0.5rem 1rem;
    }

    .nav-links {

        display: flex;
        justify-content: space-between;
        margin: 0 auto;
        padding: 0;
        gap: 25px;
    }

    .dropdown-content {
        padding-left: 0;
        list-style-type: none;
        display: none;
        position: absolute;
        background-color: var(--nav-link-background-color);
        min-width: 200px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .dropdown:hover .dropdown-content {
        display: block;
        top: 100%;
        padding-top: 8px;
    }

    .dropdown-content a {
        padding: 0.5rem 1rem;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: #E86C00;
        color: var(--text-color);
    }

    .hero {
        margin-top: 118px;
    }
}


a {
    text-decoration: none;
}

.contact-section p {
    margin: 20px 0 25px;
}

@media screen and (min-width: 1100px) {


    .navbar {
        /* padding: 0 1rem; */
    }

    .navbar-container {
        padding: 5px 0;
    }

    .navbar-left .nav-text {
        display: block;
        padding-left: 4rem;
        position: relative;
    }

    .navbar-left .nav-text::before {
        content: " ";
        position: absolute;
        top: 0;
        left: 0;
        width: 2px;
        height: 100%;
        transform: translateX(32px);
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-links {}

    .betting-sites {
        padding: 0;
    }

    .site-header .premium-container {
        transform: translateX(2px);
        width: auto;
        margin-right: 0;
    }









    .site-footer {
        position: relative;
        grid-template-columns: repeat(4, 1fr);
        padding: 1.5rem 1rem;
    }

    .site-footer-item {
        position: relative;
    }

    .site-footer-item div {
        justify-content: center;
    }

    .site-footer-item::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 100%;
        width: 1px;
        background: rgba(255, 255, 255, 0.1);
    }

    .site-footer-item:last-child::after {
        display: none;
    }

    .site-footer-item>div>* {
        flex: unset;
    }

    .featured .site-actions {
        display: flex;
    }

    .featured .site-image {
        width: 218px;
    }

    /* Game grid */
    .game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }




}

img {
    max-width: 100%;
}

.list-doitac img {
    object-fit: contain;
}

.list-doitac {
    background-color: #2d2d2d;
}

.list-doitac .wrapper {
    display: flex;
    gap: 35px;
    padding: 10px 0;
    margin: 0 auto;
    max-width: 1300px;
}

#banner img {
    width: 100%;
}.breadcrumb{
    margin-top: 90px;
    margin-bottom: 20px;
}
#list-post{

       display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;margin-bottom: 30px;
}
.post-item{
    background-color: #252533;
    border-radius: 10px;
}
.post-date{
    color: #999999;
    font-size: 10px;
}
.post-title{
    font-size: 14px;
    color:#F7C700;
    margin: 5px 0;
}.post-content{
    font-size: 12px;
    color: #fff;
}
.post-meta{
    padding: 15px;
}
.content-post{
    background-color: #1E1E1E;
    border-radius: 10px;
    padding: 20px;
}
.post-date a{
    color: #2FB925;
}
.title, .title h1{
    font-size: 24px;
    font-weight: 700;
    color: #F7C700;
    margin: 15px 0;
}
.content{
    padding-top: 20px ;
    border-top: 1px solid #808080;
}

@media (max-width:992px) {
    #list-post{
       
        grid-template-columns: 1fr
    }
    .main-navbar {
        position: unset;
        transform: none;
    }

    #banner {
        margin-top: 135px;
    }.breadcrumb{
        margin-top: 110px;
    }

    .footer-content,
    .list-doitac {
        padding: 15px;
    }.post-item img{
        width: 100%;
    }

    .site-body,
    #top-list {
        grid-template-columns: 1fr
    }

    .auth-buttons {
        gap: 5px;
    }
    .footer-key ul,.list-nav ul,.footer-body,.footer-key{
        flex-wrap: wrap;
        gap: 15px;
    }
    #banner .content-banner{
        position: unset;
        width: 100%;
    }
    .right{
        text-align: left;
    }
    .site-ratings{
        padding: 0;
    }
    main{
        padding: 0 10px;
    }
    .footer-top{
        flex-direction: column;
    }

    #footer{
        padding: 20px 10px
    }
    .btn {
        font-size: 12px;
        align-items: center;
        padding: 10px 30px
    }

    .list-social {
        gap: 10px;
        justify-content: center;
    }

    .banner {
        margin-top: 125px;
    }

    .banner-item {
        padding: 0 15px;
    }

    .banner-content .h1 {
        font-size: 40px;
    }

    .banner-content .title,
    .banner-content .description {
        width: 100%;
    }

    .promo-banner {
        padding: 15px;
    }

    .center-col div {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .center-col .slogan {
        text-align: center;
    }

    .info-col ul li {
        text-align: center;
    }

    .info-col {
        text-align: center;
        padding: 0;
        align-items: center;
    }

    .gift-section {
        padding: 15px;
    }

    .policy-section {
        padding: 15px;
    }

    .policy-section .des {
        width: 100%;
    }

    .site-card,
    .site-body {
        
    }

    .site-action {
        flex-direction: row;
        margin-top: 15px;
    }

    .betting-site {
        gap: 0;
    }

    .site-body {
        border: none;
    }


    .footer {}

    .wrapper {
        flex-wrap: wrap;
    }

    .footer-logo {
        margin: -15px auto 0px;
    }

    .icon,
    .user {
        display: none !important;
    }

    .another-footer div {

        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-detail {
        padding: 15px;
        grid-template-columns: 1fr
    }

    .navigations {
        padding: 15px;
    }

    .content-post h2,
    .main-detail .relative-title {
        font-size: 24px;
    }

    .featured-article a,
    .featured-article a img {
        width: 100%;
    }
}