.container-zon{max-width:1550px;margin:auto}:root{--zontal-bg-color:#fff;--cate-bg-color:#dcdcdc93;--zontal-header-bg-color:#fff;--cate-text-color:#555;--search-bg-color:#dcdcdc93;--header-links-color:#777;--mc-color:#333;--menu-color:#333;--offcanvas-menu-bg-color:#fff;--text-zontal-color:#000}.dark-mode{--zontal-bg-color:#111;--cate-bg-color:#222;--cate-text-color:#dcdcdc;--zontal-header-bg-color:#111;--search-bg-color:#00000049;--header-links-color:#dcdcdc;--mc-color:#dcdcdc;--menu-color:#dcdcdc;--offcanvas-menu-bg-color:#111;--text-zontal-color:#dcdcdc}.text-zontal{color:var(--text-zontal-color)!important}.close-offcanvas-menu{color:var(--menu-color)!important}.header a,.light-color,.link-color a{color:var(--header-links-color)!important}.cat-box{background-color:var(--cate-bg-color)!important;color:var(--cate-text-color)!important}.menu{color:var(--menu-color);display:none!important}.mode-changer{color:var(--mc-color)}.search-bg{background-color:var(--search-bg-color)!important}.header{background-color:var(--zontal-header-bg-color)!important}.cat-box:hover{background-color:#008cff!important;color:#fff!important}.bg-dark{background:var(--zontal-bg-color)}.slider{overflow:scroll hidden;height:fit-content;width:100%;scroll-behavior:smooth}.slider .slide{width:calc(21rem * 6)}.slider::-webkit-scrollbar{display:none}._-50{transform:translateY(-50%)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:10px}.box{height:150px;background-color:#ccccccb0;border-radius:5px}.overlay:hover::before,.upward:hover h2{opacity:1}.overlay::before{content:'';position:absolute;left:0;bottom:0;height:100%;transition:.2s;width:100%;background-image:linear-gradient(to top,#000,transparent);opacity:0}.scale-up:hover{transform:scale(1.1)}.upward h2{opacity:0}.banner{height:90px;width:1200px;transform:scale(.8)}.controller{position:absolute;display:flex;top:50%;justify-content:space-between;z-index:10;width:100%;padding:0 10px}.c-button{background-color:rgb(0,0,0,.5);transition:.4s}.c-button:hover{background-color:#000}.sticky{position:sticky;top:0;z-index:99}.dropdown-content{overflow:hidden;transition:.5s;transform:translateY(-200%)}.dropdown:hover .dropdown-content{transform:translateY(0)}.dark-mode .mode-light,.mode-dark{display:none}.dark-mode .mode-dark{display:block}@media only screen and (max-width:1100px){.header ul li a,.opnal a{display:none}.search-bar{display:none!important}.menu{display:block!important}}.blur-overlay{background:rgba(255,255,255,.401);z-index:99;backdrop-filter:blur(10px);overflow:hidden}.offcanvas-menu{position:fixed;left:0;top:0;width:300px;background-color:var(--offcanvas-menu-bg-color);height:100%;z-index:999;box-sizing:border-box;padding:10px}@media screen and (max-width:700px){.offcanvas-menu{width:100%}.resp{flex-direction:column}}.flex-column,.flex-direction-column{flex-direction:column}.offcanvas{transform:translateX(-200%);z-index:999;transition:.2s}.offcanvas.active{transform:translateX(0)}@media screen and (max-width:1400px){.md-hidden{display:none}}.dark-color{color:var(--mc-color)!important}

body {
    min-height: 100vh;
    color: #1f2937;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

html:not(.dark-mode) body.bg-dark {
    background: #f5f6fb;
    color: #1f2937;
}

html.dark-mode body.bg-dark {
    background: #111318;
    color: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(139, 92, 246, .22);
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-underline-offset: .18em;
}

button,
input[type="submit"] {
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 2px solid #8b5cf6;
    outline-offset: 3px;
}

.header-main,
.mobile-header {
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    z-index: 100;
}

html:not(.dark-mode) .header-main,
html:not(.dark-mode) .mobile-header {
    background-color: rgba(255, 255, 255, .96) !important;
}

html.dark-mode .header-main,
html.dark-mode .mobile-header {
    background-color: rgba(18, 19, 23, .96) !important;
}

.theme-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(139, 92, 246, .22);
    border-radius: 9999px;
    background: rgba(139, 92, 246, .08);
    color: #6d28d9;
    cursor: pointer;
}

.theme-toggle:hover {
    border-color: rgba(139, 92, 246, .52);
    background: rgba(139, 92, 246, .15);
    box-shadow: 0 4px 14px rgba(124, 58, 237, .14);
    transform: translateY(-1px);
}

.theme-toggle .theme-icon-sun {
    display: none;
}

.theme-toggle .theme-icon-moon {
    display: inline-flex;
}

html.dark-mode .theme-toggle {
    border-color: rgba(196, 181, 253, .24);
    background: rgba(167, 139, 250, .12);
    color: #e9d5ff;
}

html.dark-mode .theme-toggle:hover {
    background: rgba(167, 139, 250, .2);
}

html.dark-mode .theme-toggle .theme-icon-sun {
    display: inline-flex;
}

html.dark-mode .theme-toggle .theme-icon-moon {
    display: none;
}

.theme-toggle-desktop {
    display: inline-flex;
}

.theme-toggle-mobile {
    display: none;
    width: 36px;
    height: 36px;
}

.header-main {
    padding-block: .35rem;
}

.header-main .logo img,
.offcanvas .logo img,
.login-form .logo img,
.register-form .logo img,
.footer img {
    height: auto;
    object-fit: contain;
}

.header-main .logo img {
    width: 180px;
}

.stexra-link {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #d5dce8;
    border-radius: 9999px;
    color: #52627a !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.stexra-link:hover {
    border-color: #aab8cc;
    background-color: rgba(148, 163, 184, .08);
}

html.dark-mode .stexra-link {
    border-color: #3b4250;
    color: #d1d9e6 !important;
}

.mobile-stexra-link {
    display: none !important;
}

.offcanvas .logo img {
    width: 150px;
}

.mobile-header {
    min-height: 54px;
}

.mobile-header > a img {
    width: 140px;
    height: auto;
    object-fit: contain;
}

.cat-container {
    max-width: 1550px;
    margin-inline: auto;
}

.cat-item-container {
    padding: .4rem .2rem .75rem;
    scrollbar-width: none;
}

.cat-item-container > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 12px;
    background: rgba(148, 163, 184, .09);
    font-weight: 600;
    letter-spacing: .01em;
}

.cat-item-container > a:hover,
.cat-item-container > a:focus-visible {
    border-color: rgba(139, 92, 246, .48);
    box-shadow: 0 5px 16px rgba(124, 58, 237, .15);
    transform: translateY(-1px);
}

.body.container-zon {
    width: min(100%, 1550px);
    margin-inline: auto;
    padding-inline: clamp(.75rem, 1.5vw, 1.5rem);
}

.body.container-zon > h1,
.body.container-zon > .heading {
    letter-spacing: -.035em;
}

.body.container-zon > .grid,
#zon_games.grid,
.zon-loader.grid {
    margin-inline: 0;
}

.body.container-zon > .grid + .advertisement,
.advertisement {
    margin-block: 2rem;
}

.body.container-zon > .heading {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.screen .gameplay {
    min-height: 300px;
    height: min(66vh, 680px);
    border: 1px solid rgba(148, 163, 184, .16);
    background: #090b12;
    box-shadow: 0 18px 48px rgba(2, 6, 23, .2);
}

.gameplay-footer .description,
.comment-form,
.comments .comment-single,
.profile-settings,
.login-form,
.register-form {
    border: 1px solid rgba(148, 163, 184, .15);
    border-radius: 18px;
    background: rgba(148, 163, 184, .055);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}

.gameplay-footer .description {
    padding: 1rem 1.1rem;
}

.comment-form {
    align-items: stretch;
    padding: .75rem;
}

.comment-form textarea {
    min-height: 48px;
    height: auto;
    border-color: rgba(148, 163, 184, .25);
}

.comment-form button,
button.bg-blue-500,
a.bg-blue-500 {
    border: 0;
    background: linear-gradient(135deg, #7c3aed, #0891b2);
    box-shadow: 0 5px 14px rgba(124, 58, 237, .2);
    font-weight: 700;
}

.comment-form button:hover,
button.bg-blue-500:hover,
a.bg-blue-500:hover {
    box-shadow: 0 8px 20px rgba(124, 58, 237, .28);
    transform: translateY(-1px);
}

.comments .comment-single {
    padding: 1rem;
}

.login-form,
.register-form {
    width: min(100%, 440px);
    padding: clamp(1.25rem, 4vw, 2.25rem);
}

.login-form .logo,
.register-form .logo {
    margin-bottom: 1.5rem;
}

.login-form input,
.register-form input,
form input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
form textarea,
form select {
    border-color: rgba(148, 163, 184, .32);
    border-radius: 12px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.login-form input:focus,
.register-form input:focus,
form input:focus,
form textarea:focus,
form select:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .13);
}

footer {
    margin-top: 4rem;
}

footer > .container-zon:first-child {
    max-width: 1120px;
    line-height: 1.8;
}

html:not(.dark-mode) footer .footer-credit {
    color: #475569 !important;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .01em;
}

html:not(.dark-mode) footer .footer-credit a {
    color: #1d4ed8 !important;
    font-weight: 700;
}

html.dark-mode footer .footer-description {
    color: #e2e8f0 !important;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.8;
}

html.dark-mode footer .footer-credit {
    color: #cbd5e1 !important;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .01em;
}

html.dark-mode footer .footer-credit a {
    color: #93c5fd !important;
    font-weight: 700;
}

footer .container-zon ul {
    flex-wrap: wrap;
    gap: .35rem;
}

footer .container-zon ul a {
    border-radius: 8px;
    transition: color .2s ease, background-color .2s ease;
}

footer .container-zon ul a:hover {
    background: rgba(139, 92, 246, .1);
    color: #a78bfa;
}

.grid {
    gap: clamp(10px, 1.2vw, 18px);
}

.box {
    overflow: hidden;
    border-radius: 12px;
    background-color: #1f2937;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.box img {
    transition: transform .25s ease;
}

.box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .18);
}

.box:hover img {
    transform: scale(1.04);
}

.box h2 {
    padding: 2.5rem .75rem .75rem;
    opacity: 1;
    background: linear-gradient(transparent, rgba(0, 0, 0, .78));
}

.advertisement {
    max-width: 100%;
}

.advertisement .banner {
    display: flex;
    width: min(100%, 970px);
    height: auto;
    min-height: 90px;
    align-items: center;
    justify-content: center;
    transform: none;
}

.advertisement iframe,
.advertisement img {
    max-width: 100%;
}

.header-main form.search-bar {
    display: flex;
    flex: 0 1 340px;
    align-items: center;
    gap: .25rem;
    width: min(340px, 100%);
    min-width: 190px;
    height: 42px;
    margin-left: 1.25rem;
    padding: 0 .35rem 0 .65rem;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, .24);
    border-radius: 9999px;
    background: #f1f3f9 !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.header-main form.search-bar:focus-within {
    border-color: #8b5cf6;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .13);
}

.header-main form.search-bar button {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: #fff;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.header-main form.search-bar button:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(124, 58, 237, .28);
}

.header-main form.search-bar input {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    padding: .55rem .65rem;
    color: #1f2937;
}

.header-main form.search-bar input::placeholder {
    color: #8992a5;
    opacity: 1;
}

.dark-mode .header-main form.search-bar {
    border-color: rgba(148, 163, 184, .2);
    background: #20212a !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18);
}

.dark-mode .header-main form.search-bar:focus-within {
    border-color: #8b5cf6;
    background: #191a22 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .2);
}

.dark-mode .header-main form.search-bar input {
    color: #f3f4f6;
}

.dark-mode .header-main form.search-bar input::placeholder {
    color: #9ca3af;
}

.mobile-header form.search-bar-component {
    align-items: center;
    gap: .35rem;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: .45rem .25rem;
    padding: .25rem .4rem .25rem .8rem;
    border: 1px solid rgba(139, 92, 246, .24);
    border-radius: 9999px;
    background: #f1f3f9;
}

.mobile-header form.search-bar-component input {
    min-width: 0;
    margin: 0;
    padding: .55rem .2rem;
    border: 0;
    color: #1f2937;
}

.mobile-header form.search-bar-component input:focus {
    outline: 0;
}

.mobile-header form.search-bar-component button {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: #fff;
}

.mobile-header.active-search {
    gap: .35rem;
    padding: .2rem .5rem;
}

.mobile-header.active-search .search-bar-component {
    display: flex !important;
}

.mobile-header.active-search > #close-search {
    display: grid !important;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border-radius: 9999px;
    color: #7c3aed;
}

.dark-mode .mobile-header form.search-bar-component {
    border-color: rgba(148, 163, 184, .2);
    background: #20212a;
}

.dark-mode .mobile-header form.search-bar-component input {
    color: #f3f4f6;
}

.dark-mode .mobile-header.active-search > #close-search {
    color: #c4b5fd;
}

@media (max-width: 1100px) {
    .desktop-stexra-link {
        display: none !important;
    }

    .mobile-stexra-link {
        display: inline-flex !important;
    }

    .theme-toggle-desktop {
        display: none !important;
    }

    .theme-toggle-mobile {
        display: inline-flex;
    }
}

@media (max-width: 1100px) {
    html.dark-mode .mobile-header form.search-bar-component {
        background: #20212a;
    }

    html:not(.dark-mode) .gameplay-footer .description,
    html:not(.dark-mode) .comment-form,
    html:not(.dark-mode) .comments .comment-single,
    html:not(.dark-mode) .login-form,
    html:not(.dark-mode) .register-form {
        background: #fff;
    }

    html.dark-mode .gameplay-footer .description,
    html.dark-mode .comment-form,
    html.dark-mode .comments .comment-single,
    html.dark-mode .login-form,
    html.dark-mode .register-form {
        background: #181a22;
        color: #e5e7eb;
    }
}

@media (max-width: 640px) {
    .mobile-header > a img {
        width: 108px;
    }

    .mobile-header .stexra-link {
        min-height: 38px;
        padding-inline: 11px;
        font-size: 13px;
    }

    .body.container-zon {
        padding-inline: .8rem;
    }

    .cat-container {
        padding-inline: .75rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    }

    .box {
        height: 145px !important;
    }

    .box.large {
        grid-column: span 2;
    }

    .screen .gameplay {
        height: 52vh !important;
        min-height: 280px;
    }

    .comment-form {
        flex-direction: column;
    }

    .comment-form button {
        min-height: 44px;
    }

    footer .container-zon ul {
        justify-content: center;
        margin-top: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .box,
    .box img {
        transition: none;
    }
}