.mobile-s,.mobile-hero{
    display: none;
}

@media (max-width: 768px) {
html, body {
    touch-action: pan-x pan-y;
    -ms-touch-action: pan-x pan-y;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

    .font-title-rem{
        font-size: 3rem !important;
    }
    .font-text-rem{
        font-size: 2rem !important;
    }
   
    .mobile-n{
        display: none!important;
    }
    .mobile-s{
        display: block!important;
    }
    .mobile{
        height: 60px!important;
        position: fixed;
    }
    .mobile-logo{
        width: auto!important;
        height: 56px!important;
    } 
    .mobile-sign{
        height: 38px!important;
        display: block;
        line-height: 38px!important;
        padding: 0 10px;
        border-radius: 8px;
    }
    /* 主横幅区域 */
    .mobile-hero{
        display: block!important;
    }
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }
    .hero {
        padding-top: 50px;
        padding-bottom: 50px;
        background-image: url(/img/imgs/home-bg.png);  
        background-position: 70%;
        margin-top: 56px;
    }

    .hero-content {
        display: flex;
        /* align-items: flex-end; */
        align-items: center;
        justify-content: space-between;
        gap: 0px;
    }

    .hero-text {
        flex: 1;
        /* position: absolute; */
    }
    .hero-text-img{
        width: 80%;
        /* position: relative;max-width: 140%; */
    }
    .hero-image {
        flex: 1;
        text-align: center;
    }
    .hero-image img {
        max-width: 100%;
        position: relative;
       
    }
    .hero-image-play{
        width: 100%;
        height: 250px;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
    .hero-image-play .image-play{
        text-align: center;width: 230px;display: flex;flex-direction: column; align-items: center;
        margin-right: 60px;
    }
    h2.tagline{
        font-weight: bold;
    }
    .tagline {
        color: #fff;
        margin-top: 10px;
    }
    .hero-btn{
        display: block;
        width: 180px;
        height: 44px;
        line-height: 44px;
        position: relative;
       
        left: 24px;
    }



    /* 社交媒体部分 */
.dowload-section {
    text-align: center;
    border-radius: 20px;
    padding: 40px 0px;
    
}
.section-title{
    font-weight: 700;
    --tw-text-opacity: 1;
    color: #187aff;
}
.section-subtitle {
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
}

.dowload-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.dowload-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    width: 65%;
}



/* 游戏分类部分 */
.section-py{
    padding: 40px 0px;
    background-image: url(/img/imgs/main-bg1.png);  
    background-size: contain;
}
.games-section {
   
}
.game-title{
    width: 160px;
}
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    margin-top: 40px;
}

.game-card {
    /* background: linear-gradient(145deg, rgba(26, 33, 56, 0.8) 0%, rgba(15, 20, 40, 0.9) 100%); */
    /* border: 1px solid rgba(42, 50, 80, 0.5); */
    /* border-radius: 20px; */
    transition: all 0.3s ease;
    padding: 10px 20px;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.game-card h1{
    margin-top: 10px;
}
.game-icon img{
   width: 100%;
}


.adventure-icon {
    color: var(--accent-green);
}

.jackpot-icon {
    color: var(--accent-orange);
}


.view-more {
    display: block;
    text-align: center;
    /* margin-top: 50px; */
}
.view-more-btn{
    display: block;
    width: 180px;
    margin: auto;
    height: 55px;
    line-height: 55px !important;
}

.games-grid-tow{
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px; 
}

.games-grid-tow .game-card{
    padding: 0px;
}
.games-grid-tow .game-icon{
    display: flex;
    justify-content: center;
}
.games-grid-tow .game-icon img{
    width: 80%;
}

.section-rewards{
    background-image: url(/img/imgs/main-bg2.png);  
    background-size: cover;
    background-repeat: no-repeat;
    height: 95vh;
    position: relative;
}
:root {
    --primary-dark: #0a0e1a;
    --secondary-dark: #0f1525;
    --accent-blue: #1a7bff;
    --accent-green: #1bd6a4;
    --accent-orange: #ff8a1e;
    --accent-purple: #8a2be2;
    --text-light: #ffffff;
    --text-muted: #b0b8d0;
    --border-color: #2a3250;
}
/* 页脚 */
footer {
    padding: 30px 0 30px;
    /* margin-top: 80px; */
    border-color: rgb(245 245 245 / var(1));
    border-top-width: 0.125rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-description {
    color: var(--text-muted);
}
.footer-links{
    margin-top: 20px;
}
.footer-links h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #00fffc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-blue);
}
.footer-fab{
    display: flex;
    gap: 10px;
}
.footer-fab a{
    color: #fff;
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
   
}

.disclaimer {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    font-size: 2.5rem;
    line-height: 1.5;
    color: var(--text-muted);
}

}
@media (max-width: 576px) {
    .font-title-rem{
        font-size: 4rem !important;
    }
    .font-text-rem{
        font-size: 3rem !important;
    }
    
    .hero-content{
        /* align-items: flex-start; */
        align-items: center;
        justify-content: space-between;
    }
    .hero-text-img{
        width: 100%;
    }
    .hero-image-play{
        width: 100%;
        height: 250px;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
    .hero-image-play .image-play{
        text-align: center;width: 190px;
        margin-right:0px;
        position: relative;
        top: -25px;
    }
    .hero-btn{
        display: block;
        width: 160px;
        height: 44px;
        line-height: 44px;
        position: relative;
        left:15px ;
    }

    
    h2.tagline{
        font-weight: bold;
    }
  
    .hero-image img {
        max-width: 116%;
        position: relative;
        
    }
    
    .hero-text {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}