html {
    -webkit-text-size-adjust: 100%;
}

body[unresolved] {
    opacity: 0;
    display: block;
    overflow: hidden;
    position: relative;
}

body {
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: #fff;
    font-family: Verdana, Geneva, sans-serif;
    background: #00547c;
    transition: opacity ease-in 0.2s;
}

dl,
dt,
dd,
ul,
li,
h1,
h2,
form,
input,
textarea,
p,
td,
h4,
h3 {
    padding: 0;
    margin: 0;
}

ul,
dl {
    list-style: none;
}

img {
    vertical-align: top;
    border: 0;
}

.clear {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

a {
    text-decoration: none;
}

div.header {
    height: 50px;
    padding-top: 3px;
    background: url(icons/top-bar_bg.png) repeat-x;
    top: 0;
    right: 0;
    left: 0;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    min-width: 260px;
    overflow: hidden;
    font-size: 24px;
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Mobile header adjustments */
@media only screen and (max-width: 1024px) {
    div.header {
        height: 60px;
        line-height: 60px;
        padding-top: 2px;
        font-size: 20px;
    }
}

div.header_left {
    float: left;
    width: auto;
    padding-left: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    position: relative;
}

/* Toggle Menu Button */
.toggle-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    box-sizing: border-box;
}

.toggle-menu-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.download-mobile {
    display: none;
}
@media only screen and (max-width: 1024px) {
    .toggle-menu-btn {
        width: 40px;
        height: 40px;

        display: flex;
        position: absolute;
        left: 0;
        top: 5%;
    }
    .download-mobile {
        position: absolute;
        right: 0;
        top: 3px;
        display: block;
    }
    #installContainer,
    #installContainer + div {
        display: none !important;
    }
}

div.header_right {
    float: right;
    width: auto;
    padding-right: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Header logo and elements styling */
.header_logo {
    float: left;
    width: 100px;
}

.logo-img {
    width: 80px;
    height: 40px;
}

.install-container {
    display: block;
    clear: none;
    float: left;
}

.install-img {
    width: 180px;
    height: 30px;
    padding-top: 4px;
}

.search-img {
    float: right;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* Side Menu */
.side-menu {
    position: absolute;
    top: 47px;
    left: -100%;
    width: 200px;
    background-color: #056194;
    z-index: 2000;
}

.side-menu.active {
    left: 0;
}

@media only screen and (max-width: 480px) {
    .side-menu.active {
        left: 0;
    }
}

.side-menu-content {
    width: 100%;
}

.side-menu-item {
    display: block;
    width: 100%;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

.side-menu-item:hover {
    background-color: #00547c;
    color: #fff;
}

.side-menu-item:active {
    background-color: #004066;
}

/* Side Menu Overlay */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* background-color: rgba(0, 0, 0, 0.5); */
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsive header fixes */
@media only screen and (max-width: 1024px) {
    div.header_left {
        width: auto;
        padding-left: 5px;
        flex: 1;
        justify-content: center;
    }

    .header_logo {
        width: 70px;
    }

    div.HeaderMenuPC {
        display: none !important;
    }

    div.header_right {
        width: auto;
        padding-right: 5px;
        flex-shrink: 0;
    }

    .install-container {
        display: none !important;
    }

    .install-img {
        width: 140px;
        height: 25px;
    }

    .search-img {
        width: 35px;
        height: 35px;
    }
}

@media only screen and (max-width: 480px) {
    .header_logo {
        width: 60px;
    }

    .search-img {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }
}

input[id="submitInput"]:focus {
    outline: none;
}

#PopMenuDiv {
    position: absolute;
    width: 160px;
    left: 0;
    top: 45px;
    z-index: 1000;
    text-align: left;
    display: none;
}

#PopMeneUL li {
    width: 100%;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
    overflow: hidden;
    border-bottom: #2676a2 1px solid;
    background: #056194;
    padding: 5px 0 5px 10px;
    color: #fff;
}

#PopMeneUL li.selected {
    background: #00547c;
}

#PopMeneUL a {
    text-decoration: none;
}

#PopMeneUL a li {
    color: #fff;
}

#searchDiv {
    width: 100%;
    height: 0;
    padding: 2px 0 0 0;
    position: relative;
    display: block;
    clear: both;
    margin-top: -10px;
    overflow: hidden;
    transition: height 0.3s ease;
    box-sizing: border-box;
}

#searchForm #keywordsDiv {
    height: 30px;
    float: left;
    width: 100%;
}

#searchForm #keywordsInput {
    width: 100%;
    height: 30px;
    padding-left: 5px;
    padding-right: 60px;
    border: 0;
}

#searchForm #submitDiv {
    width: 60px;
    height: 30px;
    float: right;
    position: absolute;
    right: 0;
}

#searchForm #submitInput {
    width: 100%;
    height: 30px;
    border: 0;
    background-color: #056194;
    color: #fff;
    font-weight: 700;
}

div.HeaderMenuPC {
    float: left;
    text-align: left;
    width: 100%;
    font-size: 16px;
    line-height: 44px;
    overflow: hidden;
}

@media only screen and (max-width: 1024px) {
    div.HeaderMenuPC {
        display: none;
    }
}

div.HeaderMenuPC a {
    padding: 0 10px 0 5px;
    color: #fff;
}

div.HeaderMenuPC a:hover {
    color: #ffd14d;
}

div.allgames {
    margin-left: auto;
    margin-right: auto;
    clear: both;
    padding: 0 5px;
    box-sizing: border-box;
}

/* Better mobile spacing */
@media only screen and (max-width: 480px) {
    div.allgames {
        padding: 0 3px;
    }
}

/* Random game button responsive */
@media only screen and (max-width: 480px) {
    img[src*="random-game.png"] {
        height: 50px !important;
        max-width: 90%;
    }
}

div.thumb {
    text-align: center;
    position: relative;
    border-radius: 10px;
    float: left;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    --margin: 5px;
    --allWidth: calc(100% - 20px);
    --width: calc((100% - 20px) / 2);
    margin: var(--margin);
    width: var(--width);
}

/* Mobile-first: 2 columns on very small screens */
@media only screen and (max-width: 299px) {
    div.thumb {
        --margin: 4px;
        --allWidth: calc(100% - 16px);
        --width: calc((100% - 16px) / 2);
        margin: var(--margin);
        width: var(--width);
    }
}

/* Better spacing on mobile for thumbnails */
@media only screen and (max-width: 480px) {
    div.thumb {
        --margin: 4px;
    }
}

.tag-featured {
    position: absolute;
    top: 0;
    left: 0;
    width: 58px;
    height: 58px;
    background: url(/icons/blue/tag-featured2.png) 0 0 no-repeat;
    display: none;
}

@media only screen and (min-width: 300px) {
    div.thumb {
        --margin: 5px;
        --allWidth: calc(100% - 30px);
        --width: calc((100% - 30px) / 3);
        margin: var(--margin);
        width: var(--width);
    }

    .tag-featured {
        display: none;
    }
}

@media only screen and (min-width: 450px) {
    .tag-featured {
        display: block;
    }
}

@media only screen and (min-width: 600px) {
    div.thumb {
        --margin: 5px;
        --allWidth: calc(100% - 40px);
        --width: calc((100% - 40px) / 4);
        margin: var(--margin);
        width: var(--width);
    }

    .tag-featured {
        display: block;
    }
}

@media only screen and (min-width: 1000px) {
    div.thumb {
        --margin: 5px;
        --allWidth: calc(100% - 60px);
        --width: calc((100% - 60px) / 6);
        margin: var(--margin);
        width: var(--width);
    }

    .tag-featured {
        display: block;
    }
}

@media only screen and (min-width: 1400px) {
    div.thumb {
        --margin: 5px;
        --allWidth: calc(100% - 80px);
        --width: calc((100% - 80px) / 8);
        margin: var(--margin);
        width: var(--width);
    }

    .tag-featured {
        display: block;
    }
}

@media only screen and (min-width: 1600px) {
    div.thumb {
        --margin: 5px;
        --allWidth: calc(100% - 100px);
        --width: calc((100% - 100px) / 10);
        margin: var(--margin);
        width: var(--width);
    }

    .tag-featured {
        display: block;
    }
}

div.thumb a img {
    border: 1px solid #f2f6f8;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

div.thumb a {
    color: #f5f500;
    text-decoration: none;
}

div.thumb span.GameName {
    position: absolute;
    bottom: -40px;
    left: 1px;
    width: calc(100% - 2px);
    height: auto;
    color: #fec501;
    background-color: #3f3f3f;
    padding: 5px 0 5px 0;
    font-size: 12px;
    font-family: Verdana, Geneva, sans-serif;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

div.thumb:hover span.GameName {
    bottom: 1px;
    transition: bottom 0.2s ease;
}

div.thumb-hot span.GameName {
    width: 100%;
}

#loadingmoregames {
    width: 100%;
    text-align: center;
    clear: both;
}

.foot {
    height: 30px;
    width: 100%;
    line-height: 30px;
    color: #fff;
    clear: both;
    margin: 20px 0 0 0;
    text-align: center;
    background: #00547c;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 11px;
}

@media only screen and (max-width: 480px) {
    .foot {
        height: auto;
        min-height: 30px;
        line-height: 1.4;
        padding: 8px 5px;
        font-size: 10px;
    }
}

.foot a {
    color: #fff;
    text-decoration: none;
}

#footad {
    position: fixed;
    width: 100%;
    height: 50px;
    text-align: center;
    bottom: 0;
    background: #fff;
    padding-top: 5px;
}

#backToTop {
    width: 60px;
    height: 50px;
    position: fixed;
    bottom: 90px;
    right: 10px;
    display: none;
    z-index: 1000;
}

.game-category {
    width: 100%;
    overflow: hidden;
    padding: 0 5px;
    box-sizing: border-box;
}

@media only screen and (max-width: 480px) {
    .game-category {
        padding: 0 3px;
    }

    .game-category .title {
        font-size: 18px;
        padding-bottom: 8px;
    }
}

.game-category .title {
    text-align: center;
    color: #fff;
    font-size: 22px;
    padding-bottom: 10px;
}

.game-category .list {
    overflow: hidden;
    margin: 0 -12px 0 5px;
}

.game-category .list a {
    display: none;
    font-size: 12px;
    float: left;
    color: #fff;
    box-shadow: -1px 1px 6px 0 rgba(0, 0, 0, 0.2);
    margin: 5px 12px 5px 0;
    padding: 3px;
    overflow: hidden;
    width: calc(33% - 12px);
    box-sizing: border-box;
}

/* Better mobile spacing for game categories */
@media only screen and (max-width: 480px) {
    .game-category .list {
        margin: 0 -8px 0 5px;
    }

    .game-category .list a {
        margin: 5px 8px 5px 0;
        width: calc(33% - 8px);
        font-size: 11px;
    }
}

.game-category .list a:nth-child(-n + 36) {
    display: block;
}

.game-category .list a:hover {
    color: #fec501;
}

.game-category .list .item {
    width: 100%;
    height: 100%;
    float: inherit;
}

.game-category .list .item img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
}

.game-category .list .name {
    float: left;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.game-category .list .name .text {
    float: left;
    text-align: center;
}

@media only screen and (min-width: 800px) {
    .game-category .list a {
        font-size: 13px;
    }

    .game-category .list .item {
        width: 100px;
        height: 100px;
        float: left;
    }

    .game-category .list .name {
        height: 100px;
        width: calc(100% - 100px);
    }
}

@media only screen and (min-width: 600px) {
    .game-category .list a {
        width: calc(25% - 14px);
    }
}

@media only screen and (min-width: 1400px) {
    .game-category .list a {
        width: calc((100% / 6) - 13px);
        font-size: 14px;
    }

    #belowGameDiv .game-category .list a {
        width: calc((100% / 4) - 13px);
        font-size: 14px;
    }
}

.show-text-card,
.hide-text-card {
    line-height: 24px;
    margin: 16px;
    content-visibility: auto;
    contain: layout paint;
    contain-intrinsic-size: 400px;
    overflow-anchor: none;
    border-radius: 10px;
    background-color: #056194;
    position: relative;
    color: #fff;
    font-size: 14px;
    text-align: left;
    max-width: 1000px;
}

@media only screen and (max-width: 480px) {
    .show-text-card,
    .hide-text-card {
        margin: 10px 5px;
        font-size: 13px;
        line-height: 22px;
    }
}

body.bg-other .show-text-card,
body.bg-other .hide-text-card {
    margin: 16px 0;
}

body.bg-other .hide-text-card .show-button {
    background: linear-gradient(180deg, rgba(19, 20, 30, 0) 0%, #00547c 35.42%);
}

body.bg-other .show-text-card {
    background-color: #00547c;
}

.show-text-card {
    height: auto;
    overflow-anchor: auto;
}

.show-text-card h1,
.hide-text-card h1 {
    font-size: 18px;
    padding: 0 0 10px 0;
}

.show-text-card h2,
.hide-text-card h2 {
    font-size: 16px;
    padding: 10px 0 10px 0;
}

.show-text-card h3,
.hide-text-card h3 {
    font-size: 15px;
    padding: 0 0 10px 0;
}

.show-text-card ol,
.hide-text-card ol {
    margin-top: 0;
    margin-bottom: 0;
}

.show-text-card ul,
.hide-text-card ul,
.show-text-card dl,
.hide-text-card dl {
    list-style-type: disc;
    margin-left: 40px;
}

.show-text-card a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.show-text-card .show-text {
    height: 100%;
    overflow: hidden auto;
    padding: 30px 30px 0;
}

body.bg-other .show-text-card .show-button {
    background-color: #00547c;
}

.show-text-card .show-button {
    background-color: #056194;
    height: 50px;
    padding-top: 10px;
    padding-left: 30px;
}

.show-text-card .show-button .button-span {
    cursor: pointer;
    -webkit-text-decoration: none;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}

.hide-text-card {
    height: 200px;
    overflow-anchor: auto;
}

.hide-text-card a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.hide-text-card .show-text {
    height: 100%;
    overflow: hidden auto;
    padding: 30px 30px 0;
}

.hide-text-card .show-button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 4px;
    background: linear-gradient(180deg, rgba(19, 20, 30, 0) 0%, #056194 35.42%);
    height: 50px;
    padding-top: 40px;
    padding-left: 30px;
}

.hide-text-card .show-button .button-span {
    cursor: pointer;
    -webkit-text-decoration: none;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}

#moneyNoticeMessage {
    padding: 4px 10px 4px 10px;
    position: fixed;
    z-index: 1050;
    font-family: Verdana;
    min-width: 300px;
    max-width: 430px;
    width: 80%;
    min-height: 160px;
    color: #00335e;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0 0 11px #000;
    -webkit-box-shadow: 0 0 11px #000;
    box-shadow: 0 0 11px #000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    background-image: url(/icons/blue/msgBoxBackGround.png);
}

#moneyNoticeMessage div.msgBoxTitle {
    padding: 5px 0 5px 0;
    font-size: 16px;
    font-weight: lighter;
    color: #00335e;
    width: 100%;
    border-bottom: 1px solid #002c5f;
}

#moneyNoticeMessage div.msgBoxImage {
    margin: 0 5px 0 0;
    display: block;
    float: left;
    height: 75px;
    width: 75px;
}

#moneyNoticeMessage div.msgBoxImage img {
    height: 75px;
    width: 75px;
}

#moneyNoticeMessage div.msgBoxContainer {
    line-height: 18px;
    padding: 10px 0 0 0;
}

@media screen and (min-width: 390px) {
    #moneyNoticeMessage div.msgBoxContainer {
        line-height: 22px;
    }
}

@media screen and (min-width: 523px) {
    #moneyNoticeMessage div.msgBoxContainer {
        line-height: 22px;
        font-size: 15px;
    }
}

#moneyNoticeMessage div.msgBoxButtons {
    display: inline-block;
    width: 100%;
    text-align: right;
}

#moneyNoticeMessage div.msgBoxButtons input[type="button"] {
    cursor: pointer;
    margin: 2px;
    height: 35px;
    width: 90px;
    border: 1px solid #afafaf;
    background-color: #004076;
    color: #fff;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    outline: none;
}

#moneyNoticeMessage div.msgBoxButtons input[type="button"]:hover {
    background-color: #00549c;
    color: #fff;
}

#moneyNoticeMessage div.msgBoxButtons input[type="button"]:active {
    background-color: #aaa;
    color: #fff;
}

#moneyNoticeMessage div.msgBoxButtons input[type="button"]:focus {
    outline: none;
    border: solid 2px #fc6;
}

#moneyNoticeMessage div.msgBoxButtons input[type="button"]::-moz-focus-inner {
    outline: none;
    border: none;
}

#feedbackContainerDiv {
    display: none;
    padding: 4px 10px 4px 10px;
    position: fixed;
    z-index: 1050;
    font-family: Verdana;
    min-width: 300px;
    max-width: 500px;
    width: 80%;
    color: #00335e;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 2px 3px 5px #222;
    -webkit-box-shadow: 2px 3px 5px #222;
    box-shadow: 2px 3px 5px #222;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    background-color: #f4f6fa;
}

#feedbackDiv {
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#feedbackDiv::-webkit-scrollbar {
    display: none;
}

#feedbackContainerDiv div.feedback-title {
    padding: 5px 0 5px 0;
    font-size: 16px;
    font-weight: lighter;
    color: #00335e;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #002c5f;
}

#feedbackContainerDiv label {
    font-size: 12px;
    color: #00335e;
    line-height: 30px;
}

#feedbackContainerDiv input,
#feedbackContainerDiv select,
#feedbackContainerDiv textarea {
    width: 100%;
    height: 30px;
    border: 1px solid #ccc;
    padding: 0 5px;
    box-sizing: border-box;
}

#feedbackContainerDiv textarea {
    height: 200px;
}

#feedbackContainerDiv #submitFeedback {
    width: 200px;
    margin: 10px 0 10px 0;
    background-color: #e5e7ea;
    color: #fff;
    font-weight: 700;
}

#feedbackContainerDiv #submitFeedback:disabled {
    cursor: not-allowed;
    pointer-events: all !important;
}

#closefeedbackContainerDiv {
    background: url(/icons/blue/delete.png) 0 0;
    background-size: 100% 100%;
    width: 32px;
    height: 32px;
    position: absolute;
    top: -12px;
    right: -12px;
    cursor: pointer;
    z-index: 1100;
}

#gamesPagination {
    clear: both;
    width: 100%;
    text-align: center;
    padding-top: 10px;
}

#gamesPagination ul {
    list-style: none;
}

#gamesPagination ul a {
    text-decoration: none;
    color: #fff;
}

#gamesPagination ul li {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 50px;
    background-color: #006ab5;
    color: #fff;
}

#gamesPagination ul li.pagination-li-active {
    color: #fff;
    background-color: #0462a5;
    border: #fff 1px solid;
}

#gamesPagination ul li.pagination-li-split {
    background-color: transparent;
}

#gamesPagination ul li.pagination-li-first {
    background: #1792e8;
    color: #fff;
}

#gamesPagination ul li.pagination-li-first a {
    color: #0f7bdf;
}

#gamesPagination ul li.pagination-li-mobile {
    width: 200px;
    border-radius: 30px;
    display: none;
}

@media screen and (max-width: 600px) {
    #gamesPagination ul li {
        display: none;
    }

    #gamesPagination ul li.pagination-li-mobile {
        display: inline-block;
        margin: 10px 10px;
    }
}

#PopMeneUL li:hover {
    background: #00547c;
}

div.thumb a:hover img {
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
}

div.thumb a:hover {
    color: #f5f500;
    text-decoration: none;
}

div.thumb a:hover span.GameName {
    display: block !important;
}

.alpha:hover img {
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
}

.fb_hidden {
    position: absolute;
    top: -10000px;
    z-index: 10001;
}

.fb_reposition {
    overflow: hidden;
    position: relative;
}

.fb_invisible {
    display: none;
}

.fb_reset {
    background: none;
    border: 0px;
    border-spacing: 0;
    color: #000;
    cursor: auto;
    direction: ltr;
    font-family:
        lucida grande,
        tahoma,
        verdana,
        arial,
        sans-serif;
    font-size: 11px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1;
    margin: 0;
    overflow: visible;
    padding: 0;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-shadow: none;
    text-transform: none;
    visibility: visible;
    white-space: normal;
    word-spacing: normal;
}

.fb_reset > div {
    overflow: hidden;
}

@keyframes fb_transform {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fb_animate {
    animation: fb_transform 0.3s forwards;
}

.fb_dialog {
    background: #525252b3;
    position: absolute;
    top: -10000px;
    z-index: 10001;
}

.fb_dialog_advanced {
    border-radius: 8px;
    padding: 10px;
}

.fb_dialog_content {
    background: #fff;
    color: #373737;
}

.fb_dialog_close_icon {
    background: url(https://connect.facebook.net/rsrc.php/v4/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;
    cursor: pointer;
    display: block;
    height: 15px;
    position: absolute;
    right: 18px;
    top: 17px;
    width: 15px;
}

.fb_dialog_mobile .fb_dialog_close_icon {
    left: 5px;
    right: auto;
    top: 5px;
}

.fb_dialog_padding {
    background-color: transparent;
    position: absolute;
    width: 1px;
    z-index: -1;
}

.fb_dialog_close_icon:hover {
    background: url(https://connect.facebook.net/rsrc.php/v4/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent;
}

.fb_dialog_close_icon:active {
    background: url(https://connect.facebook.net/rsrc.php/v4/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent;
}

.fb_dialog_iframe {
    line-height: 0;
}

.fb_dialog_content .dialog_title {
    background: #6d84b4;
    border: 1px solid #365899;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.fb_dialog_content .dialog_title > span {
    background: url(https://connect.facebook.net/rsrc.php/v4/yd/r/Cou7n-nqK52.gif) no-repeat 5px 50%;
    float: left;
    padding: 5px 0 7px 26px;
}

body.fb_hidden {
    height: 100%;
    left: 0;
    margin: 0;
    overflow: visible;
    position: absolute;
    top: -10000px;
    transform: none;
    width: 100%;
}

.fb_dialog.fb_dialog_mobile.loading {
    background: url(https://connect.facebook.net/rsrc.php/v4/ya/r/3rhSv5V8j3o.gif) #fff no-repeat 50% 50%;
    min-height: 100%;
    min-width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 10001;
}

.fb_dialog.fb_dialog_mobile.loading.centered {
    background: none;
    height: auto;
    min-height: initial;
    min-width: initial;
    width: auto;
}

.fb_dialog.fb_dialog_mobile.loading.centered #fb_dialog_loader_spinner {
    width: 100%;
}

.fb_dialog.fb_dialog_mobile.loading.centered .fb_dialog_content {
    background: none;
}

.loading.centered #fb_dialog_loader_close {
    clear: both;
    color: #fff;
    display: block;
    font-size: 18px;
    padding-top: 20px;
}

#fb-root #fb_dialog_ipad_overlay {
    background: #0006;
    inset: 0;
    min-height: 100%;
    position: absolute;
    width: 100%;
    z-index: 10000;
}

#fb-root #fb_dialog_ipad_overlay.hidden {
    display: none;
}

.fb_dialog.fb_dialog_mobile.loading iframe {
    visibility: hidden;
}

.fb_dialog_mobile .fb_dialog_iframe {
    position: sticky;
    top: 0;
}

.fb_dialog_content .dialog_header {
    background: linear-gradient(from(#738aba), to(#2c4987));
    border-bottom: 1px solid;
    border-color: #043b87;
    box-shadow: #fff 0 1px 1px -1px inset;
    color: #fff;
    font:
        700 14px Helvetica,
        sans-serif;
    text-overflow: ellipsis;
    text-shadow: rgba(0, 30, 84, 0.296875) 0px -1px 0px;
    vertical-align: middle;
    white-space: nowrap;
}

.fb_dialog_content .dialog_header table {
    height: 43px;
    width: 100%;
}

.fb_dialog_content .dialog_header td.header_left {
    font-size: 12px;
    padding-left: 5px;
    vertical-align: middle;
    width: 60px;
}

.fb_dialog_content .dialog_header td.header_right {
    font-size: 12px;
    padding-right: 5px;
    vertical-align: middle;
    width: 60px;
}

.fb_dialog_content .touchable_button {
    background: linear-gradient(from(#4267b2), to(#2a4887));
    background-clip: padding-box;
    border: 1px solid #29487d;
    border-radius: 3px;
    display: inline-block;
    line-height: 18px;
    margin-top: 3px;
    max-width: 85px;
    padding: 4px 12px;
    position: relative;
}

.fb_dialog_content .dialog_header .touchable_button input {
    background: none;
    border: none;
    color: #fff;
    font:
        700 12px Helvetica,
        sans-serif;
    margin: 2px -12px;
    padding: 2px 6px 3px;
    text-shadow: rgba(0, 30, 84, 0.296875) 0px -1px 0px;
}

.fb_dialog_content .dialog_header .header_center {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    vertical-align: middle;
}

.fb_dialog_content .dialog_content {
    background: url(https://connect.facebook.net/rsrc.php/v4/y9/r/jKEcVPZFk-2.gif) no-repeat 50% 50%;
    border: 1px solid #4a4a4a;
    border-bottom: 0;
    border-top: 0;
    height: 150px;
}

.fb_dialog_content .dialog_footer {
    background: #f5f6f7;
    border: 1px solid #4a4a4a;
    border-top-color: #ccc;
    height: 40px;
}

#fb_dialog_loader_close {
    float: left;
}

.fb_dialog.fb_dialog_mobile .fb_dialog_close_icon {
    visibility: hidden;
}

#fb_dialog_loader_spinner {
    animation: rotateSpinner 1.2s linear infinite;
    background-color: transparent;
    background-image: url(https://connect.facebook.net/rsrc.php/v4/yD/r/t-wz8gw1xG1.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 24px;
    width: 24px;
}

@keyframes rotateSpinner {
    0% {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.fb_iframe_widget {
    display: inline-block;
    position: relative;
}

.fb_iframe_widget span {
    display: inline-block;
    position: relative;
    text-align: justify;
}

.fb_iframe_widget iframe {
    position: absolute;
}

.fb_iframe_widget_fluid_desktop,
.fb_iframe_widget_fluid_desktop span,
.fb_iframe_widget_fluid_desktop iframe {
    max-width: 100%;
}

.fb_iframe_widget_fluid_desktop iframe {
    min-width: 220px;
    position: relative;
}

.fb_iframe_widget_lift {
    z-index: 1;
}

.fb_iframe_widget_fluid {
    display: inline;
}

.fb_iframe_widget_fluid span {
    width: 100%;
}

iframe#similarweb-outer-content {
    transform: translateX(0) !important;
}

.imageye-selected {
    outline: 2px solid black !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
}

body.bg-other {
    background: #056194;
}

body.bg-other .hide-text-card .show-text {
    background-color: #00547c;
}

div.game_top_ad {
    width: 800px;
    height: 90px;
    margin: 0 auto 0 auto;
    margin-right: auto;
    text-align: center;
}

#game_middle_ad {
    max-width: 970px;
    height: 90px;
    margin: 10px auto 0 auto;
    text-align: center;
}

#GameDiv_ArrowAndSwf {
    background-color: #00547c;
}

#Arrow_PreviousGame {
    float: left;
    width: 20px;
    display: none;
}

#Arrow_NextGame {
    float: left;
    width: 20px;
    display: none;
}

#game_middle {
    max-width: 1425px;
    width: 100%;
    margin: 5px;
    width: calc(100% - 10px);
}

#pregamediv {
    background-color: #00547c;
    color: #fff;
    font-weight: 700;
    width: 800px;
    height: 626px;
    text-align: center;
    float: left;
}

#pregamediv_ad {
    width: 780px;
    height: 594px;
    padding: 0 5px 0 5px;
}

#SkipAdDiv {
    text-align: center;
    display: none;
    font-weight: 700;
}

#SkipAdDiv a {
    text-decoration: none;
    color: #fff;
}

#GameDiv {
    float: left;
    text-align: center;
}

#GameDiv_OpareateDiv {
    width: calc(100% - 20px);
    padding: 5px 10px 5px 10px;
    background-color: #00547c;
    color: #fff;
    height: 16px;
    font-size: 14px;
    line-height: 16px;
}

#GameDiv_OpareateDiv img {
    padding-left: 10px;
}

#GameDiv_OpareateDiv #GameNameDiv {
    float: left;
    height: 16px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
}

#GameDiv_OpareateDiv #GameOpareateDiv {
    float: right;
    height: 16px;
    overflow: hidden;
}

#GameDiv_OpareateDiv #VoteGameDiv {
    float: center;
    height: 16px;
    overflow: hidden;
    vertical-align: top;
}

#GameDiv_SwfDiv,
#GameDiv_ShowGameDiv {
    width: calc(100% - 20px);
    height: 100%;
    float: left;
    padding: 10px 10px 10px 10px;
    background-color: #00547c;
    float: left;
}

#LeftGamesThumbDiv {
    width: 120px;
    height: 606px;
    padding: 10px 5px 10px 5px;
    margin: 0 5px 0 0;
    float: left;
    background-color: #00547c;
}

#LeftGamesThumbDiv div.thumb {
    float: left;
    margin: 0 0 5px 0;
    text-align: center;
    width: 120px;
    height: 115px;
}

#LeftGamesThumbDiv div.thumb a img {
    width: 120px;
    height: 115px;
}

#LeftGamesThumbDiv div.thumb span.GameName {
    width: 120px;
    bottom: -1px;
}

#RightGamesThumbDiv {
    width: 120px;
    height: 606px;
    padding: 10px 5px 10px 5px;
    margin: 0 0 0 5px;
    float: left;
    background-color: #00547c;
}

#RightGamesThumbDiv div.thumb {
    float: left;
    margin: 0 0 8px 0;
    text-align: center;
    width: 120px;
    height: 115px;
}

#RightGamesThumbDiv div.thumb a img {
    width: 120px;
    height: 115px;
}

#RightGamesThumbDiv div.thumb span.GameName {
    width: 120px;
    bottom: -1px;
}

#LeftAdDiv {
    width: 160px;
    height: 616px;
    padding: 0 5px 10px 5px;
    margin-right: 5px;
    float: left;
    line-height: 15px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

#RightAdTopDiv {
    width: 300px;
    height: 266px;
    padding: 0 5px 0 5px;
    line-height: 15px;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 61px;
    right: 15px;
    overflow: hidden;
}

#RightAdMiddleDiv {
    width: 300px;
    height: 616px;
    padding: 0 5px 0 5px;
    line-height: 15px;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 332px;
    right: 15px;
    overflow: hidden;
}

#adsContainer {
    width: calc(100% - 10px);
    height: 100%;
    position: relative;
    z-index: 1000;
    text-align: center;
    overflow: hidden;
}

#adTitle {
    height: 450px;
    position: relative;
    text-align: center;
}

#adTitle img {
    border-radius: 10px;
}

#adTitle .titleText {
    vertical-align: middle;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 16px;
    line-height: 26px;
}

#adTitle .titleText .GameNameText {
    vertical-align: middle;
    color: #fff;
    font-size: 26px;
    line-height: 45px;
    width: 100%;
    height: 45px;
    overflow: hidden;
    background: linear-gradient(to right, rgba(30, 87, 153, 0) 0, rgba(0, 0, 0, 0.3) 50%, rgba(125, 185, 232, 0) 100%);
}

#adTitle .titleText button {
    display: flex;
    justify-content: center;
    line-height: 42px;
    background: #007cc1;
    margin: 10px auto 0 auto;
    border-radius: 10px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    box-shadow: 4px 4px 0 #1f5a8e;
}

#videoElement {
    width: 0;
    height: 0;
}

#adContainer {
    position: absolute;
    text-align: left;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

#GameDiv_GameContainer {
    height: calc(100% - 51px);
    padding: 5px 0 10px 0;
}

.game_content {
    width: 980px;
    margin: 10px auto;
    padding: 10px;
    overflow: hidden;
    background-color: #00547c;
}

div.game_con {
    width: 100%;
    float: left;
}

div.game_desc .title,
div.embedcode .title {
    width: 100%;
    height: 25px;
    line-height: 25px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

div.game_desc .title,
div.embedcode .title a {
    color: #fff;
}

div.game_desc .desc_con {
    width: 100%;
    line-height: 25px;
    font-size: 14px;
    text-align: left;
}

div.game_desc {
    width: 100%;
    line-height: 25px;
    text-align: center;
    padding: 5px 0 5px 0;
    overflow: hidden;
}

div.embedcode {
    width: 100%;
    text-align: center;
    padding: 0 0 10px 0;
    vertical-align: middle;
    margin-top: 10px;
}

div.embedcode .game_embedcode {
    width: 100%;
    line-height: 20px;
    height: 20px;
    background-color: #00547c;
    color: #fff;
    border: 1px dotted #ccc;
    overflow: hidden;
}

.prcode {
    width: 240px;
    height: 345px;
    background: #056194;
    float: left;
    text-align: center;
    padding-top: 5px;
}

.prcode .con {
    width: 240px;
    height: 240px;
    margin: 5px auto;
}

.prcode .con .title {
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.prcode .con .device {
    width: 100%;
    height: 20px;
    line-height: 20px;
    text-align: center;
    margin: 2px auto;
    color: #ccc;
}

.prcode .con .device span {
    color: #fec501;
}

.prcode .con #code {
    width: 200px;
    height: 200px;
    margin: 7px auto;
    background: #fff1df;
}

div.game_bottom_ad {
    width: 728px;
}

#AdBlockMessage {
    display: none;
    padding: 4px 10px 4px 10px;
    position: fixed;
    z-index: 1050;
    font-family: Verdana;
    width: 430px;
    min-height: 160px;
    color: #00335e;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0 0 11px #000;
    -webkit-box-shadow: 0 0 11px #000;
    box-shadow: 0 0 11px #000;
    left: 50%;
    margin-left: -225px;
    top: 50%;
    margin-top: -150px;
    opacity: 1;
    background-image: url(/icons/blue/msgBoxBackGround.png);
}

div.msgBoxTitle {
    padding: 5px 0 5px 0;
    font-variant: small-caps;
    font-size: 16pt;
    font-weight: lighter;
    color: #00335e;
    width: 100%;
    border-bottom: 1px solid #002c5f;
}

div.msgBoxImage {
    margin: 20px 5px 0 5px;
    display: inline-block;
    height: 75px;
    width: 75px;
}

div.msgBoxImage img {
    height: 75px;
    width: 75px;
}

div.msgBoxContent {
    font-size: 11pt;
    margin: 0 3px 6px 3px;
    display: inline-block;
    height: 110px;
    width: 319px;
}

div.msgBoxContent p {
    padding: 0;
    margin: 0;
    display: table;
    height: 100%;
    width: 100%;
}

div.msgBoxContent span {
    display: table-cell;
    vertical-align: middle;
    color: #00335e;
}

div.msgBoxButtons {
    display: inline-block;
    width: 100%;
    text-align: right;
}

div.msgBoxButtons input[type="button"] {
    cursor: pointer;
    margin: 2px;
    height: 35px;
    width: 90px;
    border: 1px solid #afafaf;
    background-color: #004076;
    color: #fff;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    outline: none;
}

div.msgBoxButtons input[type="button"]:hover {
    background-color: #00549c;
    color: #fff;
}

div.msgBoxButtons input[type="button"]:active {
    background-color: #aaa;
    color: #fff;
}

div.msgBoxButtons input[type="button"]:focus {
    outline: none;
    border: solid 2px #fc6;
}

div.msgBoxButtons input[type="button"]::-moz-focus-inner {
    outline: none;
    border: none;
}

div.walk_video {
    width: 990px;
    height: 470px;
    margin: auto;
    padding: 10px 0 0 10px;
    display: none;
    background-color: #00547c;
}

div.video-content {
    width: 820px;
    float: left;
}

div.video_games {
    float: left;
    width: 140px;
    height: 455px;
    padding: 0 10px 0 5px;
    margin: 0 0 0 10px;
    float: left;
    background-color: #00547c;
}

div.video_games div.thumb {
    float: left;
    margin: 3px 0 8px 0;
    text-align: center;
    width: 140px;
    height: 105px;
}

div.video_games div.thumb a img {
    width: 140px;
    height: 105px;
}

div.video_games div.thumb span.GameName {
    width: 140px;
    bottom: -1px;
}

div.game_bottom_similiargames {
    max-width: 1000px;
    /* margin: 0 auto; */
    padding: 10px 5px 10px 20px;
    overflow: hidden;
    background-color: #00547c;
    color: #fff;
    box-sizing: border-box;
    border-radius: 10px;
}

@media only screen and (max-width: 1024px) {
    div.game_bottom_similiargames {
        padding: 10px 5px 10px 5px;
    }
}

div.game_bottom_similiargames div.thumb {
    float: left;
    margin: 0 12px 15px 0;
    text-align: center;
    width: 150px;
    height: 150px;
}

div.game_bottom_similiargames div.thumb a img {
    width: 150px;
    height: 150px;
}

#ExitFullScreenDiv {
    background: url(/icons/blue/delete.png) 0 0;
    width: 44px;
    height: 44px;
    position: absolute;
    top: -12px;
    right: -12px;
    cursor: pointer;
    z-index: 1100;
}

#GameDiv {
    display: none;
}

#pregamediv_ad {
    width: 780px;
    height: 594px;
}

#pregamediv {
    width: 800px;
    height: 626px;
}

#LeftGamesThumbDiv {
    display: none;
}

#RightGamesThumbDiv {
    display: none;
}

#LeftAdDiv {
    display: none;
}

#RightAdTopDiv {
    display: none;
}

#RightAdMiddleDiv {
    display: none;
}

#gameIconImage{
    width:200px;
    height:200px;
}

#pregamediv{
    width: 100%;
    height: 626px;
}
.mobile-game-title {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
    display: none;
}

@media only screen and (max-width: 768px) {
    #pregamediv{
        height: 300px;
    }

    #gameIconImage{
        width:140px;
        height:140px;
    }
    #adTitle .titleText{
        bottom: 130px;
    }
    #adTitle .titleText .GameNameText{
        display: none;
    }
    .mobile-game-title{
        display: block;
    }
}

#pregamediv_ad {
    width: 100%;
    height: 594px;
}
#belowGameDiv {
    margin: 10px auto 10px auto;
}

@media only screen and (min-width: 1000px) {
    #LeftGamesThumbDiv {
        display: none;
    }

    #RightGamesThumbDiv {
        display: none;
    }

    #LeftAdDiv {
        display: none;
    }

    #RightAdTopDiv {
        display: none;
    }

    #RightAdMiddleDiv {
        width: 160px;
        display: block;
        top: 61px;
    }

    #game_middle {
        margin-left: 5px;
        height: 626px;
        width: calc(100% - 170px - 20px);
    }
}

@media only screen and (min-width: 1160px) {
    #LeftGamesThumbDiv {
        display: none;
    }

    #RightGamesThumbDiv {
        display: none;
    }

    #LeftAdDiv {
        display: none;
    }

    #RightAdTopDiv {
        display: none;
    }

    #RightAdMiddleDiv {
        width: 300px;
        display: block;
        top: 61px;
    }

    #game_middle {
        margin-left: 5px;
        height: 626px;
        width: calc(100% - 310px - 20px);
    }
}

@media only screen and (min-width: 1280px) {
    #LeftGamesThumbDiv {
        display: none;
    }

    #RightGamesThumbDiv {
        display: block;
    }

    #LeftAdDiv {
        display: none;
    }

    #RightAdTopDiv {
        display: none;
    }

    #RightAdMiddleDiv {
        width: 300px;
        display: block;
        top: 61px;
    }

    #game_middle {
        margin-left: 5px;
        height: 626px;
        width: calc(100% - 310px - 15px);
    }

    #pregamediv,
    #GameDiv {
        width: calc(100% - 140px);
        height: 626px;
    }
}

@media only screen and (min-width: 1350px) {
    #LeftGamesThumbDiv {
        display: none;
    }

    #RightGamesThumbDiv {
        display: block;
    }

    #LeftAdDiv {
        display: none;
    }

    #RightAdTopDiv {
        display: block;
    }

    #RightAdMiddleDiv {
        width: 300px;
        display: block;
        top: 332px;
    }

    #game_middle {
        margin-left: 5px;
        height: 626px;
        width: calc(100% - 310px - 15px);
    }

    #pregamediv,
    #GameDiv {
        width: calc(100% - 140px);
        height: 626px;
    }

    #belowGameDiv {
        margin-left: calc((100% - 310px - 1000px) / 2);
    }
}

@media only screen and (min-width: 1460px) {
    #LeftGamesThumbDiv {
        display: block;
    }

    #RightGamesThumbDiv {
        display: none;
    }

    #LeftAdDiv {
        width: 160px;
        display: block;
    }

    #RightAdTopDiv {
        display: block;
    }

    #RightAdMiddleDiv {
        width: 300px;
        display: block;
        top: 332px;
    }

    #game_middle {
        margin-left: 5px;
        height: 626px;
        width: calc(100% - 310px - 15px);
    }

    #pregamediv,
    #GameDiv {
        width: calc(100% - 150px - 170px);
        height: 626px;
    }
}

@media only screen and (min-width: 1620px) {
    #LeftGamesThumbDiv {
        display: block;
    }

    #RightGamesThumbDiv {
        display: block;
    }

    #LeftAdDiv {
        width: 160px;
        display: block;
    }

    #RightAdTopDiv {
        display: block;
    }

    #RightAdMiddleDiv {
        width: 300px;
        display: block;
        top: 332px;
    }

    #game_middle {
        margin-left: 5px;
        height: 626px;
        width: calc(100% - 310px - 15px);
    }

    #pregamediv,
    #GameDiv {
        width: calc(100% - 140px - 150px - 170px);
        height: 626px;
    }
}

#PageContent h1 {
    padding: 0 0 10px 0;
}

#PageContent a {
    color: #fff;
}

#LeftGamesThumbDiv div.thumb span.GameName,
#RightGamesThumbDiv div.thumb span.GameName {
    opacity: 0;
    transition: opacity 0.2s ease;
}

#LeftGamesThumbDiv div.thumb:hover span.GameName,
#RightGamesThumbDiv div.thumb:hover span.GameName {
    opacity: 1;
}

.progressbar {
    margin-top: 20px;
    display: block;
    width: 80%;
    max-width: 220px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    visibility: visible !important;
    opacity: 1 !important;
    margin-left: auto;
    margin-right: auto;
}

.progressbar .progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #007cc1 0%, #00a0e8 50%, #007cc1 100%);
    background-size: 20px 100%;
    background-repeat: repeat-x;
    border-radius: 20px;
    transition: width 0.1s linear;
}

.progressbar.loading .progress-fill {
    animation: progressStripes 0.5s linear infinite;
}

@keyframes progressStripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 0;
    }
}

/* Heart Pulse Animation for Play Now Button */
#ClickToPlayButtton.ready-animate {
    background-color: #4caf50 !important;
    animation: heartPulse 1.2s ease-in-out infinite;
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Play Now Button - Enabled/Active State (Games Folder) */
#ClickToPlayButtton:disabled {
    background-color: #666 !important;
    opacity: 0.6;
    cursor: not-allowed;
    transition: all 0.3s ease;
}

#ClickToPlayButtton:not(:disabled) {
    background-color: #4caf50 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    position: relative;
    overflow: hidden;
}

#ClickToPlayButtton:not(:disabled):hover {
    background-color: #45a049 !important;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
    transform: translateY(-2px);
}

#ClickToPlayButtton:not(:disabled):active {
    background-color: #3d8b40 !important;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.4);
    transform: translateY(0);
}

/* Add a subtle shine effect when enabled */
#ClickToPlayButtton:not(:disabled)::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#ClickToPlayButtton:not(:disabled):hover::before {
    left: 100%;
}

/* Class-based enabled state (alternative approach) */
#ClickToPlayButtton.button-enabled {
    background-color: #4caf50 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    position: relative;
    overflow: hidden;
}

#ClickToPlayButtton.button-enabled:hover {
    background-color: #45a049 !important;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
    transform: translateY(-2px);
}

#ClickToPlayButtton.button-enabled:active {
    background-color: #3d8b40 !important;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.4);
    transform: translateY(0);
}

#ClickToPlayButtton.button-enabled::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#ClickToPlayButtton.button-enabled:hover::before {
    left: 100%;
}

/* Additional mobile responsive improvements */
@media only screen and (max-width: 480px) {
    div[style*="text-align:center"] h1 {
        font-size: 12px !important;
    }

    div[style*="text-align:center"] {
        padding: 3px !important;
    }

    /* Better touch targets on mobile */
    div.thumb a {
        display: block;
    }

    /* Improve game category touch targets */
    .game-category .list a {
        min-height: 44px;
    }
}