:root {
    --dino-primary: green;
    /* --slope-primary: #25cb7e; */
    --slope-primary: #12c81a;
    --slope-primary-dark: #00CC6A;
    --slope-primary-light: #1ad487;
    --slope-secondary: #FF0066;
    --slope-accent: #a6a6a6;
    --slope-success: #00FF88;
    --slope-warning: #FFB74D;
    --slope-danger: #FF4444;
    --bg-dark-primary: #1d1d1d;
    --bg-dark-secondary: #1A1A25;
    --bg-dark-card: #1F1F2E;
    --bg-gradient-start: #0A0A0F;
    --bg-gradient-end: #1A1A25;
    --bg-neon: rgba(0, 255, 136, 0.1);
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #707070;
    --text-neon: #00FF88;
    --text-dark: #2A2A2A;
    --neon-ball-color: #00FF88;
    --neon-trail-color: #00CCFF;
    --neon-obstacle-color: #FF0066;
    --neon-glow-primary: 0 0 20px rgba(0, 255, 136, 0.8);
    --neon-glow-secondary: 0 0 15px rgba(0, 204, 255, 0.6);
    --shadow-sm: 0 2px 6px rgba(0, 255, 136, 0.15);
    --shadow-md: 0 4px 12px rgba(0, 255, 136, 0.2);
    --shadow-lg: 0 8px 24px rgba(0, 255, 136, 0.25);
    --shadow-neon: 0 0 30px rgba(0, 255, 136, 0.5);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

body {
    background-color: var(--bg-dark-primary);
    min-height: 100vh;
    color: var(--text-primary);
}

.header-bar {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}


.game-player {
    border-radius: var(--border-radius-lg);
    background-color: rgba(31, 31, 46, 0.95);
    overflow: hidden;
    position: relative;
}

.g-footer__button {
    border: 2px solid rgb(6, 96, 6);
    transition: all 0.3s ease;
}

.g-footer__button:hover {
    background: var(--slope-primary-light);
    transform: translateY(-2px);
    border-color: var(--slope-primary);
}

.g-footer__button:active {
    transform: translateY(0);
}


.thumb-card {
    background: var(--bg-dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.thumb-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 136, 0.3);
}

.thumb-card img {
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
}

.title-game span {
    color: var(--text-secondary);
    font-weight: 600;
}

.thumb-card:hover .title-game span {
    color: white;
}

.content-inner {
    background: rgba(31, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--border-radius-lg);
}

.game-description {
    color: var(--text-primary)
}

.game-description h1 {
    font-size: revert;
}

.game-description h2, .game-description h1, .game-description h3{
    color: var(--text-primary)!important;
    /* border-bottom: 3px solid var(--slope-accent); */
    padding-bottom: 8px;
    margin-bottom: 20px;
    position: relative;
}

.game-description h3 {
    color: var(--slope-primary-light);
    margin-top: 10px;
    margin-bottom: 12px;
}

.game-description h2::after {
    position: absolute;
    right: 0;
    bottom: -5px;
    font-size: 1.2em;
}

.game-description h3 {
    color: var(--dino-primary-dark);
    margin-top: 10px;
    margin-bottom: 12px;
}

.game-description img {
    max-width: 100%;
    height: auto;
}

.how-to-play-box {
    background: rgb(32 64 49);
    border: 2px solid #1f591f;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem 1rem 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.how-to-play-box:hover {
    border-color: var(--dino-primary);
    transform: translateY(-2px);
}

.how-to-play-box h3 {
    color: var(--dino-primary);
    margin-bottom: 16px;
}

.how-to-play-box ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 2px;
}

.input_search {
    border: 2px solid var(--slope-primary);
    border-radius: 25px;
    background: rgba(31, 31, 46, 0.95);
    transition: all 0.3s ease;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.input_search:focus {
    outline: none;
    border-color: var(--slope-primary-light);
    box-shadow: var(--shadow-neon);
    background: rgba(31, 31, 46, 1);
}

.input_search::placeholder {
    color: var(--text-muted);
}

.text-title {
    font-size: 1.5em;
    margin: 1rem 0 !important;
}

.game-description h3::before {
    position: absolute;
    left: 0;
    top: 0;
}

.game-description a {
    color: var(--slope-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
}

.game-description a {
    color: #12c81a;
}

.game-description a:hover {
    color: var(--slope-primary-light);
    text-decoration: underline;
}

.loading_page {
    background: var(--bg-dark-primary);
}

.loader {
    border: 4px solid rgba(0, 255, 136, 0.3);
    border-top: 4px solid var(--slope-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn_up {
    background: var(--slope-danger);
    border: 2px solid var(--slope-accent);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    color: var(--bg-dark-primary);
    transform: translateX(0);
}

.btn_up:hover {
    background: var(--slope-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
}

.blur_dialog {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.7);
}

.popup-heading {
    color: var(--text-white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.popup-content {
    background: var(--bg-card);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark-secondary);
}

::-webkit-scrollbar-thumb {
    background: rgb(12, 83, 44);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slope-primary-light);
}

.dino-bounce {
    animation: dinoBounce 0.6s ease-in-out;
}

@keyframes dinoBounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -8px, 0);
    }

    70% {
        transform: translate3d(0, -4px, 0);
    }

    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.dino-pulse {
    animation: dinoPulse 2s infinite;
}

@keyframes dinoPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

::-webkit-scrollbar {
    width: 8px;
}

.thumb-card,
.game-player,
.content-inner {
    animation: fadeInUp 0.6s ease-out;
}

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

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

/* .btn_up {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn_up:hover {
    background: var(--hover-color);
    border-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gaming);
} */

.svg-icon__link {
    fill: #e2e2e2;
}

.player-footer {
    background-color: var(--text-primary);
    color: var(--bg-dark-card);
}

.page-content p {
    color: #dedede;
    margin-bottom: 10px;
}

.page-content img {
    max-width: 100%;
    height: auto;
}

.search-results .game-item:hover,
.search-results .result-item:hover,
.search-results a:hover {
    background: rgba(16, 185, 129, 0.9) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 67, 0.2) !important;
    color: white;
}

b,
strong {
    color: var(--slope-primary);
}

.page-content ul li,
.how-to-play-box ul li {
    color: rgb(222, 222, 222);
}

.input_search {
    /* font-family: 'Space Grotesk', 'Inter', sans-serif; */
}

.search__result_container {
    transition: all 0.3s ease;
    color: #fefefe;
}

.popup-link-share--url {
    color: rgb(205 205 205);
}

.menu_button {
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    display: none;
}

#menu_close.menu_button {
    display: flex;
}

.menu-title:hover {
    color: var(--neon-ball-color);
}

.navigation--mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    z-index: 99999;
    max-width: 360px;
    background-color: rgba(15, 15, 30, 0.95);
    border-right: 1px solid rgba(0, 255, 136, 0.2);
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out;
}

.navigation--mobile ul li a {
    padding: 12px 16px;
    display: block;
}

.navigation--mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
}

.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
}

.navigation--mobile.active {
    transform: translate(0);
}

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

.force_full_screen {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999;
    top: 0px !important;
    border: 0px !important;
    left: 0px !important;
    right: 0px !important;
    cursor: pointer !important;
}

.frame-box-game iframe {
    aspect-ratio: 16/9;
    min-height: 550px;
}

.pagination {
    margin: 2rem 0;
}

.s_paging {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.next_page {
    padding: 8px 20px;
    border-radius: 4px;
    margin-right: 5px;
    cursor: pointer;
    font-weight: bold;
}

.next_page.active, .next_page:hover {
    background-color: #292c37;
    color: var(--slope-primary)
}

.next_page.active {
    cursor: default;
}

@media (min-width: 768px) {
    .header-container {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}


@media(max-width:1023px) {
    .navigaton-top {
        display: none;
    }

    #menu_button {
        display: flex;
    }

}

@media (max-width:767px) {
    .header-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.cat_item:hover {
    background-color: var(--bg-neon);
}

.throw-ads-responsive {
    text-align: center;
    min-height: 180px;
    margin: 1rem auto;
}

.color-highlight, .go-to-home, footer a:hover {
    color: var(--neon-ball-color);
}

.navigaton-top a{
	border: 2px solid var(--slope-primary);
}