:root{
    --theme-color:#000;
    --theme-color-secondary:#999;
    --theme-color-primary:#4582FF;
    --theme-background:#fff;
    --theme-background-secondary:#fff;
    --theme-content-background:#fff;
    --border-radius: 8px;
    --border-radius-sm: 12px;
    --border-radius-lg: 15px;
    --font-size-sm: 12px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --play-btn-bg: #fff;
    --play-btn-color: #fff;
    --play-btn-padding-top-bottom: 4px;
    --play-btn-padding-left-right: 24px;
    
    /* New modern variables */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-gaming: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body{
    background:  #764ba2;
/*linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(120, 219, 255, 0.2);
        /*radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),*/
        /*radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),*/
        /*radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);*/
    z-index: -1;
    pointer-events: none;
}

.play-btn {
    display: inline-block;
    text-align: center;
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 17px;
    color: var(--play-btn-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--play-btn-bg);
    padding: var(--play-btn-padding-top-bottom) var(--play-btn-padding-left-right);
    transition: var(--transition-smooth);
}

.play-btn.is-primary {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-soft);
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.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 rgb(0 0 0 / 16%);
    }

    100% {
        transform: scale(1.4);
        box-shadow: 0 3px 18px 0 rgb(0 0 0 / 16%);
    }
}

.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(--gradient-primary);
    --hotGame-margin: 12px 12px;
    --hotGame-border-radius: 20px;
    --hotGame-heigth:  4.4rem;
    margin: auto;
    min-width: 320px;
    max-width: 450px;
    margin: 0 auto;
    padding: 0 15px 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gamebox[css-gamebox] .absolute {
    position: absolute;
}

.gamebox[css-gamebox] .flexCenter{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo Container Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    width: 100%;
}

.logo-image {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.logo-text {
    flex: 1;
}

.site-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.site-subtitle {
    margin: 5px 0 0 0;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 20px 0;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-title {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Games Grid */
.games-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gamebox[css-gamebox] > .nav-block {
    height: auto;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--nav-block-background);
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.gamebox[css-gamebox] > .nav-block:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.gamebox[css-gamebox] > .website-desc{
    word-break: break-word;
    font-weight: 400;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    width: 100%;
    font-size: 16px;
    box-shadow: var(--shadow-soft);
    padding: 0;
    margin-top: 20px;
    overflow: auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-card {
    padding: 30px;
}

.gamebox[css-gamebox] > .website-desc a {
    text-decoration: none;
    color: var(--theme-color-primary);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.gamebox[css-gamebox] > .website-desc a:hover {
    color: #2d5bb8;
    text-decoration: underline;
}

.gamebox[css-gamebox] > .website-desc h1 {
    border-bottom: 2px solid var(--gradient-primary);
    color: var(--theme-color-primary);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.gamebox[css-gamebox] > .website-desc h2 {
    color: #374151;
    font-size: 22px;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.gamebox[css-gamebox] > .website-desc p,
.gamebox[css-gamebox] > .website-desc li {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Game Categories */
.game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
}

.category-item i {
    font-size: 18px;
    color: var(--theme-color-primary);
    width: 20px;
    text-align: center;
}

.category-item span {
    font-weight: 500;
    color: #374151;
}

.gamebox[css-gamebox] > .nav-block >a{
    height: 100%;
    width: 100%;
    font-size: 18px;
    text-decoration: none;
    color:#fff;
    font-weight: 600;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.gamebox[css-gamebox] > .nav-block >a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.more-games-btn {
    background: var(--gradient-secondary) !important;
    margin-top: 20px;
}

.gamebox[css-gamebox]>.hotGame{
    height:var(--hotGame-heigth);
    width: 100%;
    max-width: 100%;
    border-radius: var(--hotGame-border-radius);
    box-shadow: var(--shadow-soft);
    margin: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gamebox[css-gamebox]>.hotGame:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.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: block;
    position: relative;
}

.gamebox[css-gamebox]>.hotGame>a>img{
    width: 100%;
    height:100%;
    border-radius: var(--hotGame-border-radius);
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

/* Game Overlay */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    border-radius: var(--hotGame-border-radius);
    z-index: 2;
}

.gamebox[css-gamebox]>.hotGame:hover .game-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 24px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
}

.gamebox[css-gamebox]>.hotGame:hover .play-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.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, 195, 26, 0.4);
}

.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] #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: #fff;
    font-size: 0.3rem;
    color:#378ef5;
    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);
    }
}

/* Footer Styles */
: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(0, 0, 0, .15);
    position: relative;
    margin-top: 22px;
    margin-top: var(--foot-margin-top-height);
    padding-top:40px;
    padding-bottom: 80px;
    width: 100%;
    box-shadow: var(--foot-box-shadow);
    text-align: center;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #747474 !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.div1[css-foot] {
    background-color: rgba(228, 161, 15, 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;
    transition: var(--transition-smooth);
}

.logoStyle a[css-foot]:-webkit-any-link:hover {
    color: var(--theme-color-primary) !important;
}

.logoStyle a>span[css-foot] {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #747474 !important
}

.linkText[css-foot] {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #747474 !important;
    gap: 20px;
    flex-wrap: wrap;
}

.linkText>a[css-foot]:-webkit-any-link {
    margin-right: 15px;
    cursor: pointer;
    text-decoration: none;
    color: #747474 !important;
    transition: var(--transition-smooth);
    padding: 8px 16px;
    border-radius: 8px;
}

.linkText>a[css-foot]:-webkit-any-link:hover {
    color: var(--theme-color-primary) !important;
    background: rgba(69, 130, 255, 0.1);
}

#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: 0 3px 18px 0 rgb(0 0 0 / 16%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .games-grid {
        gap: 12px;
    }
    
    .game-categories {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .site-title {
        font-size: 24px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        gap: 10px;
    }
    
    .game-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .content-card {
        padding: 15px;
    }
    
    .linkText[css-foot] {
        flex-direction: column;
        gap: 10px;
    }
}