:root{
    --theme-color:#FF6B35;
    --theme-color-secondary:#FF8C42;
    --theme-color-primary:#FF6B35;
    --theme-background: #FFF3E0;
/*linear-gradient(135deg, #FFE5D9 0%, #FFF3E0 50%, #FFE0B2 100%);*/
    --theme-background-secondary:#FFF8E1;
    --theme-content-background:#FFFFFF;
    --border-radius: 12px;
    --border-radius-sm: 16px;
    --border-radius-lg: 20px;
    --font-size-sm: 12px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --play-btn-bg: #FF6B35;
    --play-btn-color: #FFFFFF;
    --play-btn-padding-top-bottom: 8px;
    --play-btn-padding-left-right: 28px;
    --orange-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8C42 50%, #FFA726 100%);
    --orange-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
    --orange-shadow-hover: 0 12px 40px rgba(255, 107, 53, 0.4);
}
body{
    background: var(--theme-background);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.play-btn {
    display: inline-block;
    text-align: center;
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 17px;
    color: var(--play-btn-color);
    border-radius: var(--border-radius-sm);
    background: var(--orange-gradient);
    padding: var(--play-btn-padding-top-bottom) var(--play-btn-padding-left-right);
    box-shadow: var(--orange-shadow);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--orange-shadow-hover);
}

.play-btn.is-primary {
    background: var(--orange-gradient);
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-center {
    text-align: center;
}
* {
    -webkit-tap-highlight-color: transparent;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%
}

.globalMain {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100vh
}

.globalMain:after {
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    content: ""
}

.divUrl {
    display: none;
    overflow: hidden;
    z-index: 4;
    width: 100vw;
    height: 0;
    font-weight: 800;
    font-size: 20px;
    color: #747474;
    transition: height .5s
}

.mainStyle {
    display: flex;
    overflow-x: hidden;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 125px)
}

.clickEnlarge:active {
    -webkit-tap-highlight-color: transparent;
    animation: clickEnlarge 0.2s linear;
}

@keyframes clickEnlarge {
    0% {
        transform: scale(1);
        box-shadow: 0 3px 18px 0 rgba(255, 107, 53, 0.2);
    }

    100% {
        transform: scale(1.4);
        box-shadow: 0 3px 18px 0 rgba(255, 107, 53, 0.3);
    }
}
.display-center-center{
    display: flex;
    justify-content: center;
    align-items: center;
}
img{
    font-size: 16px;
    overflow: hidden;
}

*{
    box-sizing: border-box;
    cursor: pointer;
}
.mainStyle {
    display: block;
}
.gamebox[css-gamebox]{
    --nav-block-background: var(--orange-gradient);
    --hotGame-margin: 12px 0;
    --hotGame-border-radius: 20px;
    --hotGame-heigth:  3.8rem;
    margin: auto;
    min-width: 320px;
    max-width: 450px;
    margin: 0 auto;
    padding: 0 15px 15px;
}
.gamebox[css-gamebox] .absolute {
    position: absolute;
}
.gamebox[css-gamebox] .flexCenter{
    display: flex;
    justify-content: center;
    align-items: center;
}
.gamebox[css-gamebox] > .nav-block {
    height: 1.4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--nav-block-background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--orange-shadow);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.gamebox[css-gamebox] > .nav-block:hover {
    transform: translateY(-2px);
    box-shadow: var(--orange-shadow-hover);
}

.gamebox[css-gamebox] > .website-desc{
    word-break: break-word;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    font-size: 18px;
    background: var(--theme-content-background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--orange-shadow);
    padding: 20px;
    margin-top: 15px;
    overflow:auto;
    border: 1px solid rgba(255, 107, 53, 0.1);
}
.gamebox[css-gamebox] > .website-desc a {
    text-decoration: none;
    color: var(--theme-color-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.gamebox[css-gamebox] > .website-desc a:hover {
    color: var(--theme-color-secondary);
}

.gamebox[css-gamebox] > .website-desc h1 {
    border-bottom: 2px solid var(--theme-color-primary);
    color: var(--theme-color-primary);
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.gamebox[css-gamebox] > .website-desc h2 {
    color: var(--theme-color-secondary);
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.gamebox[css-gamebox] > .website-desc p,
.gamebox[css-gamebox] > .website-desc li {
    color: #5D4037;
    line-height: 1.6;
    margin-bottom: 12px;
}

.gamebox[css-gamebox] > .website-desc ul {
    padding-left: 20px;
}

.gamebox[css-gamebox] > .website-desc li {
    margin-bottom: 8px;
}

.gamebox[css-gamebox] > .nav-block >a{
    height: 100%;
    width: 100%;
    font-size: 26px;
    text-decoration: none;
    color:#fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.gamebox[css-gamebox]>.hotGame{
    height:var(--hotGame-heigth);
    width: 100%;
    border-radius: var(--hotGame-border-radius);
    box-shadow: var(--orange-shadow);
    margin: var(--hotGame-margin);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
    animation: slideInUp 0.6s ease-out both;
}

.gamebox[css-gamebox]>.hotGame:nth-child(3) { animation-delay: 0.1s; }
.gamebox[css-gamebox]>.hotGame:nth-child(4) { animation-delay: 0.2s; }
.gamebox[css-gamebox]>.hotGame:nth-child(5) { animation-delay: 0.3s; }
.gamebox[css-gamebox]>.hotGame:nth-child(6) { animation-delay: 0.4s; }
.gamebox[css-gamebox]>.hotGame:nth-child(7) { animation-delay: 0.5s; }
.gamebox[css-gamebox]>.hotGame:nth-child(8) { animation-delay: 0.6s; }
.gamebox[css-gamebox]>.hotGame:nth-child(9) { animation-delay: 0.7s; }
.gamebox[css-gamebox]>.hotGame:nth-child(10) { animation-delay: 0.8s; }
.gamebox[css-gamebox]>.hotGame:nth-child(11) { animation-delay: 0.9s; }
.gamebox[css-gamebox]>.hotGame:nth-child(12) { animation-delay: 1.0s; }
.gamebox[css-gamebox]>.hotGame:nth-child(13) { animation-delay: 1.1s; }
.gamebox[css-gamebox]>.hotGame:nth-child(14) { animation-delay: 1.2s; }
.gamebox[css-gamebox]>.hotGame:nth-child(15) { animation-delay: 1.3s; }
.gamebox[css-gamebox]>.hotGame:nth-child(16) { animation-delay: 1.4s; }
.gamebox[css-gamebox]>.hotGame:nth-child(17) { animation-delay: 1.5s; }
.gamebox[css-gamebox]>.hotGame:nth-child(18) { animation-delay: 1.6s; }
.gamebox[css-gamebox]>.hotGame:nth-child(19) { animation-delay: 1.7s; }
.gamebox[css-gamebox]>.hotGame:nth-child(20) { animation-delay: 1.8s; }
.gamebox[css-gamebox]>.hotGame:nth-child(21) { animation-delay: 1.9s; }
.gamebox[css-gamebox]>.hotGame:nth-child(22) { animation-delay: 2.0s; }
.gamebox[css-gamebox]>.hotGame:nth-child(23) { animation-delay: 2.1s; }
.gamebox[css-gamebox]>.hotGame:nth-child(24) { animation-delay: 2.2s; }
.gamebox[css-gamebox]>.hotGame:nth-child(25) { animation-delay: 2.3s; }
.gamebox[css-gamebox]>.hotGame:nth-child(26) { animation-delay: 2.4s; }
.gamebox[css-gamebox]>.hotGame:nth-child(27) { animation-delay: 2.5s; }
.gamebox[css-gamebox]>.hotGame:nth-child(28) { animation-delay: 2.6s; }
.gamebox[css-gamebox]>.hotGame:nth-child(29) { animation-delay: 2.7s; }
.gamebox[css-gamebox]>.hotGame:nth-child(30) { animation-delay: 2.8s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gamebox[css-gamebox]>.hotGame:hover {
    transform: translateY(-4px);
    box-shadow: var(--orange-shadow-hover);
    border-color: var(--theme-color-primary);
}

.gamebox[css-gamebox]>#hotGamePlaceholder>.hotGameSkeleton{
    height:var(--hotGame-heigth);
    width: 100%;
    border-radius: var(--hotGame-border-radius);
    margin: var(--hotGame-margin);
}
.gamebox[css-gamebox]>.hotGame, .gamebox[css-gamebox]>.hotGame>.hotGame-body{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.gamebox[css-gamebox]>.hotGame>a{
    width: 100%;
    height: 100%;
    display: flex;
}
.gamebox[css-gamebox]>.hotGame>a>img{
    width: 100%;
    height:100%;
    border-radius: var(--hotGame-border-radius);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gamebox[css-gamebox]>.hotGame:hover>a>img {
    transform: scale(1.05);
}

/* 游戏覆盖层样式 */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(255, 140, 66, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--hotGame-border-radius);
    color: white;
    text-align: center;
    padding: 20px;
    pointer-events: none;
}

.gamebox[css-gamebox]>.hotGame:hover .game-overlay {
    opacity: 1;
}

.game-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.play-text {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.gamebox[css-gamebox]>.hotGame>a {
    position: relative;
}

.gamebox[css-gamebox]>.box{
    background-color: #000;
    overflow: hidden;
    position: relative;
}
.gamebox[css-gamebox] .title{
    position: absolute;
    top:0.2rem;
    z-index:1;
    font-size:0.3rem;
    color:#fff;
}
.gamebox[css-gamebox] .reflash {
    position: absolute;
    top:0.15rem;
    right: .5rem;
    z-index:1;
    border-radius: 0.1rem;
    width: 0.6rem;
    height: 0.6rem;
    /*background-image: url(/static/images/gamebox/reflash.png);*/
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: none;
}
:root {
    --glow: rgba(255, 107, 53, 0.6);
}
.gamebox[css-gamebox] .hexagon {
    z-index: -2;
    position: relative;
    width: 3.2rem;
    height: 1.8476rem;
    background-color: var(--glow);
    margin: 0.4238rem 0;
    filter: blur(20px);
}
.gamebox[css-gamebox] .hexagon:before,
.gamebox[css-gamebox] .hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 1.6rem solid transparent;
    border-right: 1.6rem solid transparent;
}
.gamebox[css-gamebox] .hexagon:before {
    bottom: 100%;
    border-bottom: 0.9238rem solid var(--glow);
}
.gamebox[css-gamebox] .hexagon:after {
    top: 100%;
    width: 0;
    border-top: 0.9238rem solid var(--glow);
}
.gamebox[css-gamebox] .site{
    background-size: cover;
    background-position: center;
    z-index: 1;
    width: 3rem;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
    height: 3rem;
}
/*.gamebox[css-gamebox] .back {*/
/*    background-image: url("/static/images/gamebox/bg.png");*/
/*}*/
/*.gamebox[css-gamebox] .top {*/
/*    background-image: url("/static/images/gamebox/top.png");*/
/*}*/
/*.gamebox[css-gamebox] .left {*/
/*    background-image: url("/static/images/gamebox/left.png");*/
/*}*/
/*.gamebox[css-gamebox] .right {*/
/*    background-image: url("/static/images/gamebox/right.png");*/
/*}*/
.gamebox[css-gamebox] #cube {
    animation: hover 1.5s ease-in-out infinite alternate;
    transition: transform 300ms;
    animation-play-state: running;
    margin-top: 0.34rem;
}
.gamebox[css-gamebox] .powerup {
    background-size: cover;
    border-radius: 50%;
    overflow: hidden;
    height: 0.96rem;
    width: 0.96rem;
    z-index: -5;
    left: 0;
    top: 0.6rem;
    bottom: 0;
    right: 0;
    margin: 0 auto;
}
.gamebox[css-gamebox] .play {
    border-radius: 0.1rem;
    overflow: hidden;
    height: 0.48rem;
    width: 2rem;
    z-index: -5;
    left: 0;
    top: 2.4rem;
    bottom: 0;
    right: 0;
    margin: 0 auto;
    background: var(--orange-gradient);
    font-size: 0.3rem;
    color:#fff;
    font-weight: bolder;
    opacity:0;
}
ins.adsbygoogle{
    margin-bottom: 8px;
    text-align: center;
}
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}
@keyframes hover {
    from {
        transform: translateY(-0.2rem);
    }
    to {
        transform: translateY(0.2rem);
    }
}


 :root{
     --foot-margin-top-height: 22px;
 }
.foot[css-foot] {
    width: 100%;
    font-size: 18px;
}
.footStyle[css-foot] {
    --foot-box-shadow: 0 15px 64px 16px rgba(255, 107, 53, 0.2);
    position: relative;
    margin-top: 22px;
    margin-top: var(--foot-margin-top-height);
    padding-top:40px;
    padding-bottom: 80px;
    width: 100%;
    background: var(--theme-content-background);
    box-shadow: var(--foot-box-shadow);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    color: #5D4037 !important;
    border-top: 3px solid var(--theme-color-primary);
}
.div1[css-foot] {
    background-color: rgba(255, 107, 53, 0)
}
.logoStyle[css-foot] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 50px
}

.logoStyle>p[css-foot] {
    margin-top: 6px !important;
    margin-top: 0;
    margin-bottom: 0
}

.logoStyle a[css-foot]:-webkit-any-link {
    margin-top: 10px;
    cursor: pointer;
    text-decoration: none;
    color: var(--theme-color-primary) !important;
    transition: color 0.3s ease;
}

.logoStyle a[css-foot]:-webkit-any-link:hover {
    color: var(--theme-color-secondary) !important;
}

.logoStyle a>span[css-foot] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    color: var(--theme-color-primary) !important
}

.linkText[css-foot] {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #5D4037 !important
}

.linkText>a[css-foot]:-webkit-any-link {
    margin-right: 15px;
    cursor: pointer;
    text-decoration: none;
    color: var(--theme-color-primary) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.linkText>a[css-foot]:-webkit-any-link:hover {
    color: var(--theme-color-secondary) !important;
}

#selectLanguage>img[css-foot] {
    margin: 0 0 2px 6px
}

.openSelectStyle[css-foot] {
    position: absolute;
    right: calc(50% - 150px);
    bottom: 90%;
    width: 200px
}

 .footStyle[css-foot]{
     padding-top: 70px;
 }
.footStyle[css-foot]::before{
    position: absolute;
    top: 23px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(./img/logo.png);
    background-size: contain ;
    background-position: center;
    background-repeat: no-repeat;
    height:24px;
    width:121px;
    display: block;
    content: "";
}

.gamebox .card {
    margin: 18px 0;
}
.gamebox .card img[css-ninegridarea] {
    box-shadow: var(--orange-shadow);
    border-radius: var(--border-radius);
}

/* 添加更多游戏按钮样式 */
#moreGameNav {
    background: var(--orange-gradient) !important;
    border-radius: var(--border-radius-lg) !important;
    box-shadow: var(--orange-shadow) !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
}

#moreGameNav:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--orange-shadow-hover) !important;
}

#moreGameNav a {
    color: #fff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    font-size: 24px !important;
}

/* 欢迎部分样式 */
.welcome-section {
    text-align: center;
    margin: 20px 0 30px 0;
    padding: 25px 20px;
    background: var(--theme-content-background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--orange-shadow);
    border: 2px solid rgba(255, 107, 53, 0.1);
}

.welcome-title {
    color: var(--theme-color-primary);
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.welcome-subtitle {
    color: var(--theme-color-secondary);
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 480px) {
    .gamebox[css-gamebox] {
        padding: 0 10px 10px;
    }
    
    .gamebox[css-gamebox] > .website-desc {
        padding: 15px;
        font-size: 16px;
    }
    
    .gamebox[css-gamebox] > .website-desc h1 {
        font-size: 24px;
    }
    
    .gamebox[css-gamebox] > .website-desc h2 {
        font-size: 20px;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .welcome-subtitle {
        font-size: 16px;
    }
}