/* Standard CSS comments like this are OK */
html {
    background-color: black;
    -webkit-text-size-adjust: 100%;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}
@keyframes moveGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes fadeIn { 0% { opacity: 0; transform: translateY(0px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeOut { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0px); } }
.animated-gradient { 
    background: linear-gradient(90deg, #3b82f6, #a855f7, #ec4899, #3b82f6);
    background-size: 300% 100%;
    animation: moveGradient 6s linear infinite;
    -webkit-background-clip: text;
    color: transparent; 
}
.nav-btn { 
    transition: all 0.2s ease;
    position: relative;
/*    color:rgb(156 163 175 / var(--tw-text-opacity, 1));*/
 }
.nav-btn.active::before {
    content: '';
    position: absolute;
    top: -2px;
    height: 3px;
    border-radius: 0 0 2px 2px;
    width: 2.3rem;
    left: 50%;
    transform: translateX(-50%);
 }
.nav-btn.active.animated-gradient::before { 
    background: linear-gradient(90deg, #3b82f6, #a855f7, #ec4899, #3b82f6);
    background-size: 300% 100%;
    animation: moveGradient 6s linear infinite;
 }
.nav-btn.active.text-cyan-400::before {
    background: #06b6d4;
 }
.tab-content {
    opacity: 1;
 }
.tab-content.fade-out {
    animation: fadeOut 0.2s ease forwards;
 }
.tab-content.fade-in {
    animation: fadeIn 0.2s ease forwards;
    opacity: 0;
 }
#top-menu-deposit-button img {
    min-width:20px;
}
.filter-scroll {
    overflow-x: auto;
    cursor: grab;
    user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none; 
}
.filter-scroll::-webkit-scrollbar { display: none; }
.games-container {
    height: calc(100vh - 300px);
    overflow-y: auto; 
    overflow-x: hidden; 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    position: relative; 
    -webkit-overflow-scrolling: touch; 
    padding-top: 10px;  
}
.games-container::-webkit-scrollbar { display: none; }
.scrollable-tab { overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; }
.scrollable-tab::-webkit-scrollbar { display: none; }
marquee { width: 100%; overflow: hidden; white-space: nowrap; background: transparent; }
#game_app_list h3 { color: white; }
/* Carousel Styles */
.carousel-container {
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
    width: 100%;
    position: relative;
}
#carousel-slides {
    display: flex;
    transition: transform 0.3s ease-out;
}
.carousel-slide {
    flex-shrink: 0;
    border-radius: 8px;
    margin-right: 8px;
    background-color:#213743;
}
.carousel-slide:last-child {
    margin-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
/* Captcha Section */
.login_register_catpcha {
    display: flex;
    gap: 8px;
    align-items: center;
}
.login_register_catpcha input#txt_captcha,
.login_register_catpcha input#txt_r_captcha {
    width: 100%;
    background-color: #374151; /* Match input backgrounds */
    border: 1px solid #4b5563;
    border-radius: 0.375rem;
    padding: 8px 12px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.login_register_catpcha input#txt_captcha:focus,
.login_register_catpcha input#txt_r_captcha:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.3);
}
.login_register_catpcha img#img_captcha_login, .login_register_catpcha img#img_captcha_register {
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #4b5563;
}
/* Forgot Password and Checkbox Section */
.login_forgot_password {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 12px;
}
.checkbox_container {
    display: flex;
    align-items: center;
    color: #d1d5db; /* Light gray text */
    cursor: pointer;
    user-select: none;
}
.checkbox_container input#chk_remember_me {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #4b5563;
    border-radius: 4px;
    margin-right: 6px;
    cursor: pointer;
    position: relative;
}
.checkbox_container input#chk_remember_me:checked {
    background-color: #06b6d4;
    border-color: #06b6d4;
}
.checkbox_container input#chk_remember_me:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}
.login_forgot_password_link {
    color: #06b6d4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.login_forgot_password_link:hover {
    color: #22d3ee;
}
/* Login Button and Third-Party Login */
.login_button_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.login_button_container button#btn_login {
    width: 100%; /* Full width for consistency */
    font-weight: 600;
    transition: transform 0.1s ease, opacity 0.2s ease;
}
.login_with {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 8px 0;
}
.login_with .text {
    flex-grow: 1;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
    position: relative;
}
.login_with .text::before,
.login_with .text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #4b5563;
}
.login_with .text::before {
    left: 0;
}
.login_with .text::after {
    right: 0;
}

.third_party_login {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.third_party_login button.third_party {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px;
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}
.third_party_login button.third_party img {
    width: 20px;
    height: 20px;
}
.third_party_login button.third_party:hover {
    background-color: #4b5563;
    border-color: #6b7280;
}
.third_party_login button.third_party:active {
    transform: scale(0.98);
}
/* Register Link */
.register-link-container {
    text-align: center;
    margin-top: 12px;
    font-size: 17px;
    color: #d1d5db;
}
.register-link-container a {
    color: #06b6d4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.register-link-container a:hover {
    color: #22d3ee;
}

/*  Filter - START      */
.app_list_categories > .item {
  background-color: #4b5563; /* bg-gray-700 */
}

.app_list_categories > .item:hover {
  background-color: #6b7280; /* bg-gray-600 */
}

.app_list_categories > .item.active {
  background-image: linear-gradient(to right, #3b82f6, #7c3aed); /* from-blue-500 to-purple-600 */
  box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.2); /* shadow-lg shadow-purple-900/20 */
}

.app_list_categories > .item.active:hover {
  background-image: linear-gradient(to right, #3b82f6, #7c3aed);
}
