* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
:root {
    /* --primary-dark: #0a0a23; */
    --primary-dark: #0a1223;
    
    --primary-red: #c53030;
    --primary-blue: #1e3a8a;
    --primary-purple: #615dff;  /* 主色 */
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    --accent-green: #20d39b;  /* 主色 */
    --text-light: #ffffff;
    --text-dark: #1e293b;
    
    
  }

@font-face {
font-family: "My Inter";
src: url("../GeneralSans-Bold.otf") format("woff5"),
    url("../GeneralSans-Light.otf") format("woff4"),
    url("../GeneralSans-Extralight.otf") format("woff3"),
    url("../GeneralSans-Medium.otf") format("woff2"),
    url("../GeneralSans-Regular.otf") format("woff1"),
    url("GeneralSans-Semibold.otf") format("woff");
font-weight: 400; /* 正常字重 */
font-style: normal;
font-display: swap; /* 优化加载时的文本显示 */
}

/*  */

body {
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-family: "My Inter", Arial, sans-serif;
    background-color: var(--text-light);
    line-height: 1.6;

    overflow-x: hidden;
    position: relative;
}
.w1224{width: 1340px;}
/* 导航栏样式 */

header {
    background-color: white;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
    /* position: sticky;
    top: 0;
    z-index: 100; */
}
header .logo img{
    height: 84px;
}
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: #f8f8f8;
    font-size: 12px;
    color: #666;
}

.top-bar span {
    font-weight: bold;
    color: #333;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0px;
}
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent-green);
}
.nav-links a.active {
    color: var(--accent-green);
 }

.nav-icons {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    margin-right: 20px;
}

.social-icons a {
    color: var(--primary-purple);
    margin: 0 8px;
    /* font-size: 1.6rem; */
    
    transition: color 0.3s;
}
.fa-brands, .fab{
    font-weight: bold!important;
}
.social-icons a:hover {
    color: var(--accent-green);
}

.subscribe-btn {
    background-color: var(--accent-green);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1.4rem;
}

.subscribe-btn:hover {
    background-color: var(--primary-purple);
}

.header-fixed{
    position: fixed;
    z-index: 999;
    top:0;
    left: 0;
    right: 0;
    background: unset;
    background-image:linear-gradient(#615dff 33%, #39198f00);
}
.header-fixed .nav-links a{
    color: #fff;
}
.header-fixed .nav-links a.active{
    color: var(--accent-green);
}
.fixed-section{
    margin-top: 144px;
}

 /* Hero Section */
.hero {
    display: flex;
    /* background-image: url(../images/gameshop/banner.png); */
    background-repeat: no-repeat;
    background-size: cover;
    /* height: 80vh; */
    align-items: flex-end;
    position: relative;
   
}

.hero-image {
    flex: 1;
    height: 150px;
    background-color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 18px;
    border-top-right-radius: 30px;
}

.hero-content {
    flex: 1;
    position:relative;
}
.hero-content .hero-border{
    height: 150px;
    border-bottom-left-radius: 30px;
    background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0.02%, rgb(0 0 0 / 15%) 44.79%, rgb(8 11 28 / 69%) 99.98%, rgb(8 11 28 / 69%) 99.98%),44.79%;
   
    position:absolute;
    left: 0;
    right: 0;
    bottom: -30px;

}
.home-play-rich{
    position: absolute;
    bottom: -2px;
    left: 0px;
    z-index: 9;
    background: #fff;
    padding: 40px 60px;
    padding-bottom: 0;
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    width: 50%;
}
.home-play-rich img{width: 100%;}
/* .home-play-rich::before{
    content: "";
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 100px;
    width: 400px;
    z-index: 2;
    background: rgb(255 255 255) url(../images/gameshop/play_rich.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
} */


/* What's Happening Section */
.happening-section {
    padding: 80px 0px;
    background-color: var(--text-light);
    border-radius: 30px;
    position: relative;
    bottom: -60px;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-purple);
}
.mb30{
    margin-bottom: 30px;
}
.section-p{
    font-size: 18px;
    font-weight: bold;
    color: #9999ff;
}

.brand-story {
    margin-bottom: 40px;
}
.brand-story img{
    width: 100%;
}
.brand-content {
    flex: 2;
    padding: 30px;
}

.brand-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #8a2be2;
}

.news-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 20px; */
    margin-bottom: 30px;
}

.news-card {
    padding: 20px;
}
.news-card .news-card-title{
    color: var(--primary-purple);
    padding: 15px 0px;
}
.news-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.news-card p {
    font-size: 14px;
    color: #666;
}
.news-card .card-img{
    /* max-height: 215px; */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.news-card .card-img i{
    background-color: var(--accent-green);
    color: var(--text-light);
    padding: 5px 15px;
    position: absolute;
    left: 0;
    border-top-left-radius: 20px;
    font-size: 1.5rem;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    text-transform: uppercase;
}
.news-card .card-img img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    height: 260px;
}
.news-card:hover .card-img img{
    transform: scale(1.1);
}
.view-all {
    text-align: center;
}



/* Advantages Section */
.advantages-section {
    padding: 100px 5%;
    background-color: var(--primary-purple);
    position: relative;
    bottom: -30px;
    padding-bottom: 0px;
}
.our_img{    padding-bottom: 50px;}
.our_img .section-title{
    color: var(--accent-green);
    font-size: 8rem;
    font-weight: bold;
}
.our_img .section-title span{
    color: var(--text-light);
}
.our_img img{width:100%}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px 0px;
}
.advantages-relative{position: relative;z-index: 1;}
.advantage-card {
    /* height: 476px; */
    border-radius: 35px;
}
.advantage-card-icon{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.advantage-card-icon-left{
    flex: 2;
    height: 135px;
    background: #fff;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    display: flex;
    align-items: center;
    padding: 30px;
}
.advantage-card-icon-right{
    width: 130px;
    background: var(--primary-purple);
    height: 135px;
    text-align: end;
    position: relative;
}
.advantage-card-icon-right img{
    position: relative;
    z-index: 1;
}
/* 圆角 */
.advantage-card-icon-right::before{
    content: '';
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-purple);
    border-radius: 30%;
    border-top-left-radius: 0;
    z-index: 1;
}
  .crescent-moon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #ffffff;
    position: relative;
    top: -33px;
    left: -29px;
    transform: rotate(313deg);
    border: none;
  }
  .crescent-moon::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 100px;
    background-color: var(--primary-purple);
    border-radius: 60%;
    border-top-left-radius: 60%;
  }
  
/*  */
.advantage-card-bg{
    background-color: #fff;
}
.advantage-card-content{
    background-color: #fff;
    padding: 30px;
    border-radius: 30px;
    border-top-left-radius: 0px;
}
.advantage-title{
    color: var(--primary-purple);
    font-size: 2.8rem;
    line-height: 50px;
}
.advantage-title em{
    color: var(--accent-green);
}
.advantage-body{
    padding: 30px 0px;
    min-height: 200px;
    color: #333;
    font-size: 1.2rem;
}



.advantage-card i {
    font-size: 40px;
    color: #8a2be2;
    margin-bottom: 15px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}







.advantages-pkgame{
    padding-top: 100px;
    display: flex;
    padding-bottom: 30px;
   
}

.pkgame-bg{
    background-image: url(../images/gameshop/pkgame_bg.png);
    flex: 1;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
}
.pkgame-grid{
    flex: 1.5;
}
.pkgame-grid .section-title{
    color: var(--text-light);
}
.pkgame-grid .section-title span{
    color: var(--accent-green);
}


.faq-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}


.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.5rem;
    transition: background-color 0.3s;
    color: #333;
    font-family: auto;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question i {
    transition: transform 0.3s;
}
.pb30{padding-bottom: 30px;}
.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    color: var(--text-dark);
    font-family: auto;
}
.faq-answer p{
    padding-bottom: 30px;
}
.faq-item.active .faq-answer {
    /* padding: 0 30px 30px; */
    max-height: 100%;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.contact-btn{
    margin-top: 30px;
}
















/* support.html */
.hero-support{}
.support-section {
    padding: 80px 0px;
    background-color: var(--text-light);
    border-radius: 30px;
    position: relative;
    z-index: 1;
    top: -30px;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.step {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
}
.step2{flex: 2;}
.step-header {
    padding: 20px;
}
.step-title {
    font-size: 24px;
    color: #5d5d5d;
}
.step-title b{padding-right: 30px; color: var(--primary-dark);}
.step-content {
    padding: 20px;
}

.code-box {
    display: flex;
    margin-bottom: 20px;
    gap: 15px;
}

.code {
    flex: 1;
    background-color: #e2e3ff;
    padding: 15px;
    border-radius: 50px;
    word-break: break-all;
    color: var(--primary-purple);
}

.btn {
    background-color: var(--accent-green);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--primary-purple);
}
.support-btn{    
    font-weight: bold;
    font-size: 1.3rem;
}
.description {
    color: #5d5d5d;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.avatar-container {
    padding: 30px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    height: 400px;
    background-image: url(../images/gameshop/find2.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.avatars {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    height: 270px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: absolute;
}

.avatar:nth-child(1) {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.avatar:nth-child(2) {
    top: 30px;
    left: 30%;
}

.avatar:nth-child(3) {
    top: 30px;
    right: 30%;
}

.avatar:nth-child(4) {
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.code-box1{
    width: 460px;margin: auto;
}
.website {
    margin-top: 20px;
    color: #5d5d5d;
}
.website a{margin-left: 10px;}

.website a:hover {
    text-decoration: underline;
}




.faq-section{
    background-color: var(--primary-purple);
    padding: 80px 0px;
   
    position: relative;
    bottom: -30px;
}
.faq-section .section-title{
    color: #fff;
}

.faq-section .faq-question{
    font-weight: unset;
}

.faq-section .faq-answer p{
    padding-top: 20px;
}
.faq-section .faq-item{margin-bottom: 30px;}
.faq-section .faq-item:hover{
    box-shadow: 1px 1px 40px #20d39b;
}
.contact-p p{
    color: #fff;
    font-size: 1.5rem;
    padding: 20px 0px;
}









.contact-container {
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 80px;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}

.contact-header {
    text-align: center;
    margin-bottom: 20px;
}

.contact-title {
    color: var(--primary-purple); /* 紫色标题 */
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-subtitle {
    color:var(--primary-purple);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 50px 100px;
}
.form-group-li{
    display: flex;
    gap: 50px;
}
.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-container label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color:var(--primary-purple);
}

.required::after {
    content: " *";
    color: #e74c3c;
}

input, textarea, .select-game {
    padding: 12px 15px;
    border: 1px solid var(--primary-purple);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus, .select-game:focus {
    outline: none;
    border-color: var(--primary-purple);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.select-game {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    cursor: pointer;
}

.select-game span {
    color: #666;
}

.select-game i {
    color: var(--primary-purple);
}

.submit-btn {
    background-color: var(--accent-green); /* 绿色按钮 */
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 300px;
    margin: auto;
}

.submit-btn:hover {
    background-color: var(--accent-green);
}

.form-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 15px;
}







/* 动画 */
.scroll-indicator {
    opacity: 0;
    /* transition: opacity 0.3s; */
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.scroll-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
}
.footer-logo{
    padding: 50px 0px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #e1e3ff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #aaa;
}










/* hero-news */

.hero-news .hero-content {
    position: relative;
    min-height: 750px;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-flow: column;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}


.hero-news h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  /* text-transform: uppercase; */
  letter-spacing: 0px;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--text-light);
}
.hero-news .news-body{
    display: flex;
}
.hero-gorup{
    flex: 1;
}
.hero-news p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #e2e8f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}








.news-section{
    padding: 80px 0px;
    background-color: var(--text-light);
}
.news-join .section-title{
    font-size: 6.5rem;
}
.news-join .section-title span{color: var(--accent-green);}
.newsletter-bg{
    background-image: url(../images/gameshop/newsletter_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding: 50px;
}
.newsletter-text{
    text-align: center;
    color: var(--text-light);
}
.newsletter-join{
    padding: 50px 150px;
    display:flex;
}









/* Games.html */

.section-game-1{
    background-color: var(--primary-purple);
    background-image: radial-gradient(circle farthest-corner at 50% 50%, #00acfc, var(--primary-purple));
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    padding: 50px;
   
}
.section-game-1 .container {
    text-align: left;
    justify-content: center;
    align-self: center;
    align-items: flex-start;
  
    margin-left: 0;
    margin-right: auto;
    display: flex;
    position: static;
    padding: 50px;
}
.section-game-1 .grid.games-header{
    grid-column-gap: 0rem;
    grid-row-gap: 0rem;
    flex-flow: row;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
    grid-auto-flow: row;
    justify-content: center;
    place-items: center stretch;
}
.vertical-center{
    grid-row-gap: 1.5rem;
    text-align: left;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: auto;
    margin-left: 0;
    display: flex;
}
.vertical-2xs{
    color: #fff;
}
.h1.color-white{
    font-size: 3.7rem;
    font-weight: 900;
    line-height: 1;
    transition: all 0.8s ease-out;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.h1.h1-big.color-white{
    font-size: 6.8rem;
   
}
.section-game-1 .vertical{
    grid-area: span 1 / span 8 / span 1 / span 8;
}
.section-game-1 .vertical-img img{
    position: static;
    inset: 0% auto auto 0%;
    transform: translate(0) scale(1.2);
    /* transform: translate(300px); */
}

.mobile-games-header{
    display: none;
}
.download-btn-games {
    background-color: #3898ec00;
    border: 2px solid #fff;
    border-radius: 20px;
    font-weight: 500;
    display: block;
    color: #fff;
    line-height: inherit;
    cursor: pointer;
    padding: 9px 30px;
    text-decoration: none;
}

.section-game-2 .section-title{
    text-align: center;
}
.game-cards{
    grid-column-gap: 16px;
    grid-row-gap: 2rem;
    flex-direction: column;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}
.game-cards .card-img img{
    max-width: 100%;
}

.games-section{
    padding: 100px 0px;
}
.games-about{
    font-size: 1.3rem;
}
.games-img{padding: 50px 0px;}
.games-img img {
    width: 100%;
}





/* game-details.html */
.section-game-details{
    padding-top: 5.5rem;
    padding-bottom: 8rem;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;
}
.section-game-details .container{
    margin-top: 5.5rem;
    background: #fff;
    position: relative;
    box-shadow: 0 0 15px 11px #0003;
    padding: 50px 0px;
    border-radius: 30px;
}
.game-details-grid {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto;
    grid-template-columns: .5fr 1fr;
    grid-auto-columns: 1fr;
    padding-top: 40px;
    display: grid;
}
.game-logo-wrapper{
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    padding-left: 15px;
    padding-right: 20px;
    display: flex;
    position: sticky;
    top: 7.1rem;
    place-self: auto center;
}
.game-wrapper-l{
    justify-content: center;
    align-items: flex-start;
    position: static;
    grid-area: span 1 / span 1 / span 1 / span 1;
    align-self: start;
    grid-row-gap: 1.5rem;
    text-align: left;
    flex-direction: column;
    width: auto;
    margin-left: 0;
    display: flex;
    padding: 0px 20px;
}
.game-gif-container {
    border-radius: 20px;
    max-width: 250px;
    margin-top: -60px;
    position: relative;
    overflow: visible;
}
.game-logo-img {
    z-index: 2;
    max-width: 255px;
    position: relative;
    top: -20px;
}
.gameplay-gif {
    max-width: 260px;
    position: relative;
    inset: 0%;
}
.mobile-mask {
    max-width: 390px;
    margin-top: 0;
    position: absolute;
    inset: 0% 0% 0% -25%;
}
.game-header-cont {
    justify-content: flex-start;
    align-items: center;
    width: 615px;
    max-width: 615px;
    margin-bottom: 10px;
    display: flex;
}
.game-icon {
    align-self: flex-start;
    max-width: 150px;
    margin-left: 0;
    margin-right: 20px;
}
.game-icon-bs{
    width: 100%;
}
.games-cont {
    align-items: flex-start;
    display: block;
}
.game-name-h1 {
    color: #050505;
    margin-bottom: 0;
    font-family: Inter, sans-serif;
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
}
.download-buttons-cont {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    position: static;
}
.game-stars{color:#FF9800;
    font-size: 1.5rem;
    padding: 10px 0px;}
.game-desc-cont{
    width: 100%;
}    
.game-screenshots{
    grid-column-gap: 16px;
    grid-row-gap: 2rem;
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}
.game-screenshots img{    max-width: 100%;}

.download-button-container img {width: 150px;}

.game_qrcode {
    position: absolute;
    right: 0px;
    top: 30px;
    max-width: 200px;
    box-shadow: 0 0 15px 11px #0003;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    padding: 10px 20px;
    text-align: center;
}

.game-details-mobile{
    display: none;
    
    
} 
.game-details-mobile .game-wrapper-l{
    justify-content: center;
    align-items: center;
    padding: 0px;
}
.game-details-mobile .game-logo-wrapper{
    position: unset;
}
.game-details-mobile .game-header-cont{
    width:100%;
    max-width: 100%;
}
.game-details-mobile .game-name-h1{
    font-size: 2rem;
}
.game-details-mobile .game-stars{
    font-size: 1rem;
}
.game-details-mobile .game-icon-bs{width: 90px;}
.game-details-mobile .download-buttons-cont{
    grid-column-gap: 16px;
    grid-row-gap: 2rem;
    grid-template-rows:  auto auto;
    grid-template-columns:  1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}
.game-details-mobile .download-buttons-cont img{width: 100%;}
.game-details-mobile .game-screenshots{
    grid-template-rows:  auto;
    grid-template-columns:  1fr;
}



/* news-details */
.news-details{
    padding: 100px 0px;
}
.news-details .section-title{text-align: center;}
.details-header{
    position: relative;
}
.details-icons{
    background: #f1f0ff;
    position: absolute;
    padding: 15px 8px;
    display: none;
    flex-direction: column;
    top: 0px;
    left: -80px;
    border-radius: 50px;
    gap: 10px;
}
.news-details:hover{
    .details-icons{
        display: flex;
    }
}
.details-icons img{
    width: 40px;
}
.details-title{
    font-size: 2.2rem;
    font-weight: bold;
}
.details-time{
    padding: 30px 0px;
    font-size: 1.5rem;
    color: #666;
}
.details-time label{
    background-color: var(--primary-purple);
    color: var(--text-light);
    padding: 2px 10px;
    margin-right: 5px;
}

.details-content{
    padding: 100px 0px;
}
.details-body img{max-width: 100%;}

.details-body{
    padding: 50px 10px;
}









/* login-section */
.login-section{
    background-color: #f3f3ff;
}
.login-alert{
    padding: 15px;
    color: var(--primary-purple);
    font-size: 1.2rem;
}


.card-body{
    display: flex;
    padding: 10px;
    gap: 20px;
    align-items: center;
}
.card-body img {
    width: 100px;
    height: 100px;
}

.download a{
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}
.relative{
    position: relative;
}
.download-btn{
    position: absolute;
    right: 0;
    background: #fff;
    width: 212px;
    height: 200px;
    top: 60px; 
    padding: 20px;
    border-radius: 8px;
    display: none;
    z-index: 9;
}
.download:hover{
    .download-btn{
        display: block;
    }
    .subscribe-btn{
        background: var(--primary-purple);
    }
    /* transition: transform 1.3s; */
}
.download-btn a{
    display: block;
    padding: 12px;
    background: var(--primary-purple);
    border-radius: 8px;
    margin-bottom: 10px;
    color: var(--text-light);
}







/* Mobile Menu Overlay */
.menu-toggle{
    padding: 0px 20px;
    font-size: 1.5rem;
    display: none;
    color: var(--primary-purple);
}
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #332fcd 0%, #615dff 50%, #332fcd 100%);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    position: relative;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.mobile-menu-logo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mobile-menu-logo img {
    height: 80px;
    border-radius: 15px;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    font-size: 30px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: #fff;
}

.mobile-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: -100px;
}

.mobile-menu-item {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 400;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 80%;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-item:hover {
    color: #0a0a23;
    border-bottom-color: #0a0a23;
}

.mobile-menu-contact {
    background: linear-gradient(135deg, #0a0a23 0%, #8B5CF6 100%);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 25px;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 51, 255, 0.3);
}

.mobile-menu-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 51, 255, 0.4);
}






/* games-container */
.games-container{
    background-color:var(--primary-purple);
    align-items:center;
    padding: 100px 0px;
    position: relative;
    z-index: 99;
    top:40px;
}
.slider-games {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    /* flex-flow: column; */
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    place-items: center stretch;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
.game-card {
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    width: 300px;
    min-width: auto;
    display: flex;
}
.home-game-gif-containe {
    border-radius: 20px;
    max-width: 300px;
    margin-top: 0;
    position: relative;
    overflow: visible;
} 
.gameplay-gif {
    max-width: 236px;
    border-radius: 20px;
    top: 10;
  }

.mobile-mask {
    max-width: 270px;
    margin-top: 0;
    position: absolute;
    inset: 0% 0% 0% -25%;
    left: -8%;
}
.home-game-title{
    font-size: 1.8rem;
    color: #fff;
    font-weight: bold;
    margin-top: 20px;
}
.games-swiper swiper-slide {
    transition: transform 0.5s ease; /* 平滑的过渡效果 */
    transform: scale(0.8); /* 默认缩放比例 */
}

.games-swiper .swiper-slide-active {
transform: scale(1); /* 当前激活的幻灯片放大 */
}

.games-swiper swiper-slide{
    width: 300px!important;
}




/* 侧边栏 */

.sidebar_dow{
  
    position: absolute;
    top: 150px;
    right: 0px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e3ff 100%);
    z-index: 99;
    padding: 30px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    box-shadow: 0 6px 20px rgb(180 182 231);

    transform: scale(1);
    transform-origin: top right;
    transition: transform 0.4s ease;
}
.sidebar-fixed{
   position: fixed;
    top: 15%; 
}
.sidebar-hide{
    transform:scale(0);
}
.sidebar_ul_logo{
    margin-bottom: 20px;
}
.sidebar_logo{
    text-align: center; 
}
.sidebar_logo img{width: 100px;height: 100px;}
.sidebar_title{
    color: var(--primary-purple);
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    padding-top: 20px;
}
.sidebar_li{
    margin-bottom: 15px;
    background: #0a0a23;
    border-radius: 10px;
    padding: 10px 15px;
}
.sidebar_link {
    height: 40px;
    color: #fff;
    display: flex;
    align-items: center;
}
.sidebar_link_img{
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    text-align: center;
    line-height: 45px!important;  
}
.sidebar_svg{
    width: 36px;
    height: 36px;
}
.sidebar_link .fa-apple{
    font-size: 2rem;
}
.sidebar_link_txt{
    flex: 1;
}
.sidebar_em{
    font-size: x-small;
}
.sidebar_large{
    font-size: larger;
    line-height: 1;
}
.sidebar_link_txt span{
    font-size: larger;
}
.sidebar_link_txt em{
    font-size: larger;
    font-family: fangsong;
}
.sidebar_blue{
    background: #015fed;
}
.sidebar_green{
    background: #00c153;
}



/* Responsive Design */

@media (max-width: 1200px) {
    .w1224{width:100%;}
    .games-header .h1.color-white{
        font-size: 3rem;
    }
    .games-header .h1.h1-big.color-white{
        font-size: 5rem;
    }
}
@media (max-width: 1024px) {
    .advantages-grid{
        grid-template-columns: repeat(2, 1fr);
    }
   
}

@media (max-width: 991px) {
    .w1224{width:100%;}
    .sidebar_dow{
        display: none;
    }
    .menu-toggle{
        display: block;
    }
    header .nav-icons,header .nav-links{
        display: none;
    }
    .header-fixed .menu-toggle{
        color: #fff;
    }
    .news-cards, .advantages-grid, .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero {
        flex-direction: column;
    }
    .hero-content {
        padding-left: 0;
        margin-top: 30px;
    }
    .pkgame-bg{
        flex: 0;
    }
    .home-play-rich {
        padding: 20px 40px;
        padding-bottom: 0px;
        width: 50%;
        left: 0px;
        border-top-right-radius: 30px;
        border-top-left-radius: 30px;
    } 
    .hero-swiper img{
        height:380px
    }
    
    
    .shop-nav{
        display: none;
    }
    
   
    .hero-shop .sidebar{
        display: none;
    }
    .faq-section .contact-form{
        padding: 0px;
    }
    
    .form-group-li{
        display: block;
    }

    /* support.html */
    .support-section{
        top: 0px;
        padding: 20px;
    }
    .faq-section{
        padding: 20px;
    }
    .support-section .steps-container .step{
        width: 100%;
    }
    .support-section .step-header,.support-section .step-content{padding: 0px;}
    .news-join .section-title{
        font-size: 2.5rem;
    }
    .newsletter-join{
        padding: 0px;
        display: flex;
        justify-content: center;
    }

    /* games.html */
    .section-game-1{padding: 20px;}
    .section-game-1 .container{padding-top: 100px;}

    .hero-games img,.hero-support img{
        width: 100%;
    }
    .section-game-2{
        padding:20px;
    }
    .grid.games-header {
        display: none !important;
    }
    .mobile-games-header {
        flex-flow: column;
        justify-content: flex-start;
        align-items: center;
        display: flex;
        gap: 30px;
    }
    .mobile-games-header .h1.color-white{
        font-size: 3rem;
    }
    .mobile-games-header .h1.h1-big.color-white{
        font-size: 5.8rem;
    }
    .game-cards{
        grid-column-gap: 16px;
        grid-row-gap: 2rem;
        grid-template-rows: auto auto auto;
        grid-template-columns: 1fr 1fr 1fr;
        grid-auto-columns: 1fr;
        display: grid;
    }   
    
    /* game_details.html */
    
    .game-details-pc{
        display: none;
    }
    .game-details-mobile{
        display: block;
    }
    .game-logo-wrapper{
        position: unset;
    }
    .section-game-details .container{
        margin-top:0px;
        border-radius:0px;
        padding: 20px;
        box-shadow:unset;
    }
}

@media (max-width: 768px) {
    .section-home-2{
        padding: 0px;
    }
    .section-home-2 .games-swiper swiper-slide {
        transform: scale(0.5); /* 默认缩放比例 */
    }
    .section-home-2 .games-swiper .swiper-slide-active {
    transform: scale(0.8); /* 当前激活的幻灯片放大 */
    }
    .section-home-2 .games-swiper swiper-slide{
        width: auto!important;
    }


    .section-home-3 .advantage-title{
        font-size:2rem;
    }
    .section-home-3 .faq-item.active .faq-answer{overflow: auto;}

    .advantages-grid{
        /* grid-template-columns: repeat(1, 1fr); */
        gap: 10px;
    }
    .menu-toggle{
        display: block;
    }

    header .logo img{
        height: 50px;
    }
    header .nav-icons{
        display: none;
    }
    .nav-links {
        display: none;
    }
    .happening-section{
        padding:0px;
    }
    .brand-story {
        flex-direction: column;
    }

    .steps-container {
        flex-direction: column;
    }
    
    .step {
        min-width: 100%;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
        overflow: auto;
    }
       
    .sidebar_dow{
        display: none;
    }
    .home-play-rich {
        border-top-right-radius: 20px;
        border-top-left-radius: 20px;
    }

    /* games.html */
   
    .section-game-1 .container{
        padding: 0px;
        padding-top: 100px;
    }
    .mobile-games-header .h1.color-white{
        font-size: 2.5rem;
    }
    .mobile-games-header .h1.h1-big.color-white{
        font-size: 4rem;
    }
    .mobile-games-header img{
        width: 100%;
    }


}
/* 响应式调整 */
@media (max-width: 480px) {
    
    .contact-container {
        padding: 20px;
    }
    
    .contact-title {
        font-size: 28px;
    }
    .news-cards, .advantages-grid {
        grid-template-columns: 1fr;
    }
    .home-play-rich {
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
    }
}