.body.body {
    overflow-x: hidden;
    font-family: Dosis, sans-serif;
    font-size: 16px;
    line-height: inherit;
    color: var(--foreground);
    margin: 0px;
    display: block;
}

::after,
::before {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-scroll-snap-strictness: proximity;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    box-sizing: border-box;
    border: 0px solid rgb(229, 231, 235);
}

.page-container {
    --tw-bg-opacity: 1;
    -webkit-font-smoothing: antialiased;
    font-family: var(--font-sans), sans-serif;
    flex-direction: column;
    min-height: 100vh;
    display: flex;
    unicode-bidi: isolate;
}

.header-bar {
    --tw-bg-opacity: 1;
    --tw-backdrop-blur: blur(12px);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom-width: 1px;
    width: 100%;
    z-index: 50;
    position: relative;
    display: block;
    unicode-bidi: isolate;
}

.header-container {
    justify-content: space-between;
    align-items: center;
    display: flex;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;
}

.logo-section {
    gap: 2rem;
    display: flex;
}

.logo_link {
    display: flex;
    align-items: center;
}

.logo_link a {
    text-decoration: inherit;
    color: inherit;
}

.logo-box {
    --tw-shadow-color: rgba(0, 123, 67, .1);
    --tw-shadow: var(--tw-shadow-colored);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-radius: 0.75rem;
    position: relative;
}

.logo-box:hover img {
    transform: scale(1.1) rotate(360deg);
}

.logo-image {
    color: transparent;
    object-fit: contain;
    max-height: 40px;
    animation-duration: 0.5s;
    transition-duration: 0.5s;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box {
    gap: 1rem;
    align-items: center;
    display: flex;
}

.search-wrap {
    max-width: 230px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.search-input {
    background: rgb(17, 24, 39);
    font-size: 14px;
    border: 1px solid rgb(50, 58, 82);
    animation-duration: 0.3s;
    transition-duration: 0.3s;
    transition-property: all;
    line-height: 1.75rem;
    padding-right: 1rem;
    padding-left: 2.25rem;
    border-radius: 1.5rem;
    width: 100%;
    height: 2.5rem;
}

.main-content {
    max-width: 80rem;
    margin-right: auto;
    margin-left: auto;
}

.flex-grow {
    flex: 1 1 0%;
}

.page-data {
    word-break: break-word;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0.75rem;
}

.game-player {
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.game-player__inner {
    --mobile-height: 400px;
    --desktop-height: 550px;
    min-height: 520px;
    width: 100%;
    position: relative;
}

.thumb-card {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 15px;
    transition: 0.3s;
    will-change: transform;
    transform: translateY(0px);
}

body.dark .thumb-card {
    background-color: rgba(23, 23, 23, 0.95);
}

@media (min-width: 1400px) {
    .header-container {
        max-width: 1400px;
    }
}

@media (min-width: 1366px) {
    .game-player__inner {
        min-height: 670px;
    }

    .logo-section {
        gap: 3rem;
    }

    .search-wrap {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .page-data {
        padding: 1.5rem 2.5rem;
    }
}

@media (min-width: 1536px) {
    .flex-grow {
        margin-left: 0px;
    }
}

@media (max-width: 767px) {
    .player-footer__left h1 {
        font-size: 20px;
    }
}

.page-content span {
    font-weight: 400;
}

.page-content ul li {
    font-weight: 400;
}

.page-container ul li span {
    font-weight: 400;
}

.how-to-play-intro p {
    margin: 0px 0px 0.75rem;
}

.how-to-play-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 0.5rem;
}

@media (max-width: 760px) {
    .how-to-play-grid {
        grid-template-columns: 1fr;
    }
}

.how-to-play-box {
    transition: transform 0.18s, box-shadow 0.18s;
}

.how-to-play-box:hover {
    transform: translateY(-4px);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 30px;
}

.game-description .db-play-steps {
    margin: 0px 0px 0.5rem;
    padding-left: 1.35rem;
}

.game-description .db-play-steps li {
    margin-bottom: 0.45rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.game-description .how-to-play-grid.db-play-stack {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.game-description .db-controls-box,
.game-description .db-tips-box {
    margin: 0px;
}

.game-description .db-controls-box:hover,
.game-description .db-tips-box:hover {
    transform: none;
    box-shadow: none;
}

.game-description .db-controls-box {
    border-radius: 2px 10px;
    padding: 16px 16px 12px;
}

.game-description .db-tips-box {
    border-radius: 0px;
    border-width: 0px;
    background: transparent;
    padding: 4px 0px 4px 14px;
}

.game-description .db-tips-box h3 {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    padding-bottom: 0px;
    margin-bottom: 0.65rem;
}

.game-description .db-sheet {
    width: 100%;
    max-width: 100%;
}

.game-description .db-sheet__head,
.game-description .db-sheet__row {
    display: grid;
    align-items: stretch;
}

.game-description .db-sheet__cell {
    min-width: 0px;
    overflow-wrap: anywhere;
}

.game-description .db-sheet--controls .db-sheet__head,
.game-description .db-sheet--controls .db-sheet__row {
    grid-template-columns: minmax(7.5rem, 0.32fr) 1fr;
}

.game-description .db-sheet--controls .db-sheet__head {
    background: rgb(251, 147, 29);
    color: rgb(255, 255, 255);
}

.game-description .db-sheet--controls .db-sheet__head .db-sheet__cell {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.45rem 0.75rem;
}

.game-description .db-sheet--controls .db-sheet__row .db-sheet__cell {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--border-gray);
    color: var(--text-muted);
    line-height: 1.45;
}

.game-description .db-sheet--controls .db-sheet__row .db-sheet__cell--key {
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(251, 147, 29, 0.08);
    border-left: 3px solid var(--primary-orange);
}

.game-description .db-sheet--tips .db-sheet__head,
.game-description .db-sheet--tips .db-sheet__row {
    grid-template-columns: minmax(10.5rem, 0.28fr) 1fr;
}

.game-description .db-sheet--tips .db-sheet__head {
    border-bottom: 2px solid var(--primary-orange);
}

.game-description .db-sheet--tips .db-sheet__head .db-sheet__cell {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 0.2rem 0.85rem 0.55rem 0px;
}

.game-description .db-sheet--tips .db-sheet__row {
    margin-top: 0.55rem;
    background: rgba(229, 251, 223, 0.45);
}

.game-description .db-sheet--tips .db-sheet__row:nth-child(2n+1) {
    background: transparent;
}

.game-description .db-sheet--tips .db-sheet__row .db-sheet__cell {
    padding: 0.7rem 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.98rem;
}

.game-description .db-sheet--tips .db-sheet__row .db-sheet__cell--key {
    font-weight: 700;
    color: var(--text-secondary);
    border-right: 1px dashed rgba(74, 74, 74, 0.45);
}

@media (max-width: 767px) {
    .game-description .db-play-steps {
        padding-left: 1.15rem;
        font-size: 0.98rem;
    }

    .game-description .db-controls-box {
        padding: 12px;
    }

    .game-description .db-tips-box {
        padding: 0px 0px 0px 10px;
    }

    .game-description .db-sheet--controls .db-sheet__head,
    .game-description .db-sheet--tips .db-sheet__head {
        display: none;
    }

    .game-description .db-sheet--controls .db-sheet__row,
    .game-description .db-sheet--tips .db-sheet__row {
        display: block;
        grid-template-columns: none;
        margin-bottom: 0.75rem;
    }

    .game-description .db-sheet--controls .db-sheet__row {
        border: 1px solid var(--border-gray);
        background: rgba(255, 255, 255, 0.35);
    }

    .game-description .db-sheet--controls .db-sheet__row .db-sheet__cell {
        display: block;
        border-bottom: 0px;
        padding: 0.45rem 0.7rem 0.55rem;
    }

    .game-description .db-sheet--controls .db-sheet__row .db-sheet__cell--key {
        border-left: 0px;
        background: rgba(251, 147, 29, 0.14);
        padding-top: 0.65rem;
    }

    .game-description .db-sheet--tips .db-sheet__row {
        margin-top: 0px;
        padding: 0.55rem 0.75rem 0.8rem;
        background: rgba(229, 251, 223, 0.5);
    }

    .game-description .db-sheet--tips .db-sheet__row:nth-child(2n+1) {
        background: rgba(255, 255, 255, 0.28);
    }

    .game-description .db-sheet--tips .db-sheet__row .db-sheet__cell {
        display: block;
        padding: 0.2rem 0px 0.45rem;
        font-size: 1rem;
        line-height: 1.65;
    }

    .game-description .db-sheet--tips .db-sheet__row .db-sheet__cell--key {
        border-right: 0px;
        padding-bottom: 0.15rem;
        font-size: 1.02rem;
    }

    .game-description .db-sheet__cell::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.2rem;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--primary-orange);
        line-height: 1.3;
    }
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 16px;

    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-section {
    flex-shrink: 0;
}

.logo_link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 34px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-search {
    flex: 1;
    min-width: 0;
}

.search-results {
    width: 100%;
    padding: 0 !important;
}

.search-results>.relative {
    width: 100%;
}

.input_search {
    width: 100%;
    height: 38px;

    background: #13182b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;

    color: black !important;
    font-size: 14px;

    padding-left: 42px;
    padding-right: 16px;

    outline: none;
    transition: 0.2s ease;
}

.input_search::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

.input_search:focus {
    border-color: rgba(110, 255, 140, 0.45);

}

#search_button {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);

    width: 16px;
    height: 16px;

    border: none;
    background: transparent;
    padding: 0;

    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

#search_button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.header-menu {
    flex-shrink: 0;
}

.header-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-menu__link {
    height: 36px;
    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #2d2f38;

    color: #fff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: 0.2s ease;
    white-space: nowrap;
}

/* .header-menu__link:hover {
    background: #3a3d47;
} */

.header-menu-mobile {
    display: none;
}

.header-menu-mobile__button {
    width: 38px;
    height: 38px;

    border: none;
    border-radius: 10px;

    color: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.header-menu-mobile__button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 14px;
    }

    .logo-section {
        order: 1;
    }

    .header-menu-mobile {
        order: 2;
        margin-left: auto;
        display: flex;
    }

    .header-search {
        order: 3;
        width: 100%;
        flex: 0 0 100%;
    }

    .header-menu {
        display: none;
    }

    .logo-image {
        height: 30px;
    }

    .input_search {
        height: 42px;
        font-size: 14px;
    }
}

.search-results {
    max-width: none !important;
}

#search_txt {
    color: #000;
}

.header-menu__link {
    height: 38px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: linear-gradient(180deg, #ffcf6b 0%, #ffb347 100%);
    border: 2px solid #ffdf9f;

    color: #5a2d00;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;

    box-shadow:
        0 3px 0 #d9891b,
        0 6px 14px rgba(255, 179, 71, 0.25);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.2s ease;

    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.header-menu__link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.45),
            transparent);

    transition: left 0.5s ease;
}

.header-menu__link:hover::before {
    left: 130%;
}

.header-menu__link:hover {
    transform: translateY(-2px);

    box-shadow:
        0 5px 0 #d9891b,
        0 10px 18px rgba(255, 179, 71, 0.35);

    filter: brightness(1.03);
}

.header-menu__link:active {
    transform: translateY(2px);

    box-shadow:
        0 1px 0 #d9891b,
        0 4px 8px rgba(255, 179, 71, 0.2);
}

@media (max-width: 768px) {

    .header-menu {
        display: none;

        width: 100%;
        order: 4;

        border-radius: 16px;
        padding: 12px;

        margin-top: 4px;
    }

    .header-menu.active {
        display: block;
    }

    .header-menu__item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .header-menu__link {
        width: 100%;
        justify-content: center;
        height: 44px;
    }
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 32px;
    background: linear-gradient(135deg, #007b43, #00a35a);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 163, 90, 0.25);
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 90, 0.35);
}

.load-more-btn:active {
    transform: scale(0.97);
}

.load-more-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.load-more-btn .btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.load-more-btn.loading .btn-spinner {
    display: inline-block;
}

.load-more-btn.loading .btn-text {
    opacity: 0.7;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.thumb-card.hidden-lg {
    display: none;
}

.thumb-card.hidden-lg.visible {
    display: block;
    animation: fadeInUp 0.35s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}