/* TigersBD Bootstrap Custom Styles */

/* CSS Variables for Brand Colors */
:root {
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --darkest: #000000;
    --dark-gray: #22252a;
    --medium-gray: #404040;
    --light-gray: #555555;
    --gold: #ffd700;
    --orange: #ff8c00;
    --red-brand: #ff0000;
    --yellow-brand: #f7b928;
    --telegram-blue: #229ed9;
    --app-red: #dc0a28;
    --app-black: #000000;
    --app-gray: #e6e6e6;
    --button-green: #27ae60;
    --footer-border: #8b0000;
    --primary-color: #f4bd29;
    --primary-color-hover: #d9a319;
}

/* Base Styles */
body {
    background-color: var(--darkest);
    color: white;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Home page specific scrolling */
.container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    padding-bottom: 80px; /* Space for bottom navigation */
    min-height: 100vh;
    overflow-y: auto;
    background: linear-gradient(
        135deg,
        var(--darkest) 0%,
        var(--darker) 50%,
        var(--darkest) 100%
    );
    position: relative;
}

.container-fluid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 20% 80%,
            rgba(255, 215, 0, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 140, 0, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(220, 53, 69, 0.02) 0%,
            transparent 50%
        );
    pointer-events: none;
    z-index: 0;
}

/* Responsive Container */
.container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    padding-bottom: 80px; /* Space for bottom navigation */
}

/* Custom Background Classes */
.bg-darker {
    background-color: var(--darker) !important;
}

.bg-darkest {
    background-color: var(--darkest) !important;
}

.bg-dark-gray {
    background-color: var(--dark-gray) !important;
}

.bg-medium-gray {
    background-color: var(--medium-gray) !important;
}

.bg-light-gray {
    background-color: var(--light-gray) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.bg-orange {
    background-color: var(--orange) !important;
}

/* Custom Text Color Classes */
.text-gold {
    color: var(--gold) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.text-tiger-danger {
    color: #cc001b !important;
}

/* Custom Form Styles */
.form-control {
    background-color: #e9ecef;
    border: none;
    color: #000;
}

.form-control:focus {
    background-color: #e9ecef;
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    color: #000;
}

.form-select {
    background-color: #e9ecef;
    border: none;
    color: #000;
}

.form-select:focus {
    background-color: #e9ecef;
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    color: #000;
}

/* Reset and style all pagination links */
ul.pagination .page-item .page-link {
    background-color: #212529 !important;
    color: #ffc107 !important;
    border: 1px solid #ffc107 !important;
    border-radius: 0.25rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1;
}

/* Hover state */
ul.pagination .page-item .page-link:hover {
    background-color: #343a40 !important;
    color: #ffca2c !important;
    border-color: #ffca2c !important;
    z-index: 2;
}

/* Focused state (accessibility & click) */
ul.pagination .page-item .page-link:focus {
    background-color: #343a40 !important;
    color: #ffca2c !important;
    border-color: #ffca2c !important;
    outline: none;
    box-shadow: 0 0 0 0.1rem rgba(255, 193, 7, 0.5);
}

/* Active page link */
ul.pagination .page-item.active .page-link {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #212529 !important;
    z-index: 3;
}

/* Hover over active page */
ul.pagination .page-item.active .page-link:hover {
    background-color: #e0a800 !important;
    border-color: #e0a800 !important;
    color: #212529 !important;
}

/* Disabled page */
ul.pagination .page-item.disabled .page-link {
    background-color: #6c757d !important;
    color: #f8f9fa !important;
    border-color: #6c757d !important;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Custom Text Style */
.text-error {
    color: var(--app-red);
}

/* Custom Button Styles */
.btn-warning {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.btn-warning:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #000;
}

.btn-danger {
    background-color: #cc001b;
    border-color: #cc001b;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-size: 19px;
    padding: 7px 25px;
    border-radius: 10px;
    display: block;
    margin: 0px auto;
}

.btn-submit:hover {
    background: var(--primary-color-hover);
}

.btn-submit:active {
    background: #c28f12;
}

.btn-submit:disabled {
    background: var(--primary-color);
    color: #fff;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Custom Select Arrow */
.custom-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Table Styles */
.table {
    color: #000;
}

.table th {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.table td {
    border-color: #dee2e6;
}

/* Login and Register Section */
.reg-log-section {
    padding: 10px 10px 0px 10px;
    width: 100%;
    display: grid;
    grid-template-columns: 85% 15%;
}

.reg-log-section div:first-child {
    display: flex;
    justify-content: space-between;
    padding-right: 10px;
    border-right: 3px solid #363636;
}

.reg-log-section img {
    width: 100%;
    max-width: 45px;
}

.btn-login,
.btn-login:hover,
.btn-login:focus {
    background-color: #f4bd29;
    color: #fff;
    border-radius: 5px !important;
}

.btn-reg,
.btn-reg:hover,
.btn-reg:focus {
    background-color: #22252a;
    color: #fff;
    border-radius: 5px;
    border-radius: 5px !important;
}

/* Profile section */
.my-account__cont {
    padding: 10px;
}

.my-account__wrapper {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    background: #22252a;
}

.my-account__item {
    padding: 5px 0;
    color: inherit;
    text-decoration: none;
    display: flex;
    gap: 15px;
    align-items: center;
}

.my-account__item_icon {
    width: 32px;
    height: 32px;
}

.my-account__item_icon img {
    width: 100%;
    height: 100%;
}

.my-account__item_title {
    font-weight: 700;
    font-size: 14px;
}

.profile-top {
    background: #303030;
    color: #fff;
    padding: 5px 0;
}

.user-state {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.player-detail {
    margin: 10px 0 0 5px;
}

.um-player {
    color: #fcb714;
    font-weight: 700;
    font-size: 13px;
}

/* Header Component Styles */
.navbar-brand img {
    width: 40px;
    height: 40px;
}

.navbar-nav img {
    width: 30px;
    height: 30px;
}

/* User Profile Component Styles */
.user-profile-avatar {
    width: 48px;
    height: 48px;
}

.action-button-circle {
    width: 32px;
    height: 32px;
}

/* Game Grid Component Styles */
.game-grid-item img {
    width: 64px;
    height: 64px;
}

/* Marquee effect */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #1c1c1c;
    padding: 12px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    color: var(--yellow-brand);
    font-size: 1rem;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}

.clamp-1-line {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;

    line-clamp: 1;
    box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}

/* Optional: Pause on hover */
.marquee-content:hover {
    animation-play-state: paused;
}

/* Keyframes for marquee */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Enhanced Game Box Styles with Wow Effects */
.game-box,
.provider-box {
    position: relative;
    overflow: hidden;
    /* background: linear-gradient(145deg, var(--dark-gray), var(--medium-gray)); */
    background-color: var(--dark-gray);
    /* border: 1px solid var(--light-gray) !important; */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.game-box::before,
.provider-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.2),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
}

.game-box::after,
.provider-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 215, 0, 0.05),
        transparent,
        rgba(255, 140, 0, 0.05)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* .game-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3) !important;
    border-color: var(--gold) !important;
    background: linear-gradient(145deg, var(--medium-gray), var(--light-gray));
}

.game-box:hover::before {
    left: 100%;
}

.game-box:hover::after {
    opacity: 1;
} */

.game-icon-container,
.provider-icon-container {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* .game-box:hover .game-icon-container {
    transform: scale(1.05);
} */

.game-box img,
.provider-box img {
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* .game-box:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 16px rgba(255, 215, 0, 0.4));
} */

/* Enhanced Banner Section */
.sliding-banner-section {
    position: relative;
    z-index: 2;
    margin: 1rem 0;
}

.banner-container {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.banner-container:hover {
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.banner-slider {
    display: flex;
    gap: 0px;
    transition: transform 0.5s ease;
}

.banner-slide {
    flex-shrink: 0;
    width: 100%;
    transition: all 0.3s ease;
}

.banner-slide:hover {
    transform: scale(1.02);
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.banner-slide:hover img {
    filter: brightness(1.1) contrast(1.1);
}

/* Enhanced Navigation Arrows */
.banner-nav-btn {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.5)
    ) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
    transition: all 0.3s ease;
}

.banner-nav-btn:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.3),
        rgba(255, 140, 0, 0.3)
    ) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Enhanced Dots */
.banner-dot {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-dot:hover {
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

.banner-dot.active {
    background: linear-gradient(135deg, var(--gold), #e6c200) !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

/* Enhanced Action Buttons */
.bg-warning.rounded-circle,
.bg-danger.rounded-circle,
.bg-primary.rounded-circle {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-warning.rounded-circle:hover,
.bg-danger.rounded-circle:hover,
.bg-primary.rounded-circle:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Enhanced Navigation Tabs */
.bg-darkest .d-flex.justify-content-between > div {
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    padding: 1rem 0.5rem;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.05));
    margin: 0 2px;
    overflow: hidden;
}

.bg-darkest .d-flex.justify-content-between > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.bg-darkest .d-flex.justify-content-between > div::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #e6c200, var(--gold));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    z-index: 2;
}

.bg-darkest .d-flex.justify-content-between > div:hover {
    transform: translateY(-3px);
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.1),
        rgba(255, 140, 0, 0.1)
    );
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.bg-darkest .d-flex.justify-content-between > div:hover::before {
    left: 100%;
}

.bg-darkest .d-flex.justify-content-between > div:hover::after {
    width: 80%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

/* Active tab styling */
.bg-darkest .d-flex.justify-content-between > div.border-bottom {
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.15),
        rgba(255, 140, 0, 0.15)
    ) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.bg-darkest .d-flex.justify-content-between > div.border-bottom::after {
    width: 80%;
    background: linear-gradient(90deg, var(--gold), #e6c200, var(--gold));
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    animation: glowPulse 2s ease-in-out infinite;
}

/* Icon enhancements */
.bg-darkest .d-flex.justify-content-between > div i {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 3;
}

.bg-darkest .d-flex.justify-content-between > div:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.4));
}

.bg-darkest .d-flex.justify-content-between > div.border-bottom i {
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.5));
}

/* Text enhancements */
.bg-darkest .d-flex.justify-content-between > div span {
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.bg-darkest .d-flex.justify-content-between > div:hover span {
    transform: scale(1.05);
    text-shadow: 0 2px 6px rgba(255, 215, 0, 0.4);
}

.bg-darkest .d-flex.justify-content-between > div.border-bottom span {
    text-shadow: 0 2px 6px rgba(255, 215, 0, 0.6);
    animation: textGlow 2s ease-in-out infinite;
}

/* Color enhancements for different states */
.bg-darkest .d-flex.justify-content-between > div .text-gold {
    color: var(--gold) !important;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.bg-darkest .d-flex.justify-content-between > div .text-muted {
    color: var(--light-gray) !important;
    transition: all 0.3s ease;
}

.bg-darkest .d-flex.justify-content-between > div:hover .text-muted {
    color: rgba(255, 215, 0, 0.8) !important;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.bg-darkest .d-flex.justify-content-between > div .text-white {
    color: white !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.bg-darkest .d-flex.justify-content-between > div:hover .text-white {
    color: var(--gold) !important;
    text-shadow: 0 2px 6px rgba(255, 215, 0, 0.5);
}

/* Animations */
@keyframes glowPulse {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 1);
        opacity: 0.8;
    }
}

@keyframes iconPulse {
    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.7));
    }
}

@keyframes textGlow {
    0%,
    100% {
        text-shadow: 0 2px 6px rgba(255, 215, 0, 0.6);
    }
    50% {
        text-shadow: 0 2px 8px rgba(255, 215, 0, 0.8);
    }
}

/* Container enhancements */
.bg-darkest .d-flex.justify-content-between {
    background: linear-gradient(
        135deg,
        var(--darkest) 0%,
        var(--darker) 100%
    ) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
    position: relative;
    overflow: hidden;
}

.bg-darkest .d-flex.justify-content-between::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.02),
        transparent
    );
    animation: containerShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes containerShimmer {
    0%,
    100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .bg-darkest .d-flex.justify-content-between > div {
        padding: 0.75rem 0.25rem;
        margin: 0 1px;
    }

    .bg-darkest .d-flex.justify-content-between > div:hover {
        transform: translateY(-2px);
    }

    .bg-darkest .d-flex.justify-content-between > div i {
        font-size: 1.2rem !important;
    }

    .bg-darkest .d-flex.justify-content-between > div span {
        font-size: 0.7rem !important;
    }
}

/* Enhanced User Avatar */
.user-profile-avatar {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.user-profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-color: var(--gold);
}

/* Enhanced Logo */
.navbar-brand img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.navbar-brand:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.4));
}

/* Enhanced Brand Text */
.navbar-brand span {
    background: linear-gradient(135deg, var(--orange), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand:hover span {
    text-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

/* Glow Effect for Active Elements */
@keyframes glow {
    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
}

.text-gold {
    animation: glow 3s ease-in-out infinite;
}

/* Enhanced Scrollbar */
.container-fluid::-webkit-scrollbar {
    width: 8px;
}

.container-fluid::-webkit-scrollbar-track {
    background: var(--darkest);
}

.container-fluid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gold), #e6c200);
    border-radius: 4px;
}

.container-fluid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e6c200, var(--gold));
}

/* Navigation Tabs Styles */
.nav-tabs-custom .nav-link {
    background: transparent;
    border: none;
    color: var(--light-gray);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.nav-tabs-custom .nav-link.active {
    color: var(--gold);
    background: transparent;
    border-bottom: 2px solid var(--gold);
}

.nav-tabs-custom .nav-link.text-warning {
    color: var(--gold) !important;
}

/* Footer Navigation Styles */
.footer-nav {
    background: linear-gradient(
        135deg,
        var(--darkest) 0%,
        var(--darker) 100%
    ) !important;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    max-width: 100%;
    margin: 0 auto;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 15px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.footer-nav a:hover {
    color: var(--red-brand);
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.05);
}

.footer-nav a.active {
    color: var(--red-brand);
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.05);
}

/* Page Header Styles */
.page-header-back {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
}

.page-header-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Telegram Contact Styles */
.telegram-icon-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: var(--telegram-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.3);
    transition: all 0.3s ease;
}

.telegram-icon {
    color: white;
    font-size: 1.5rem;
}

/* Amount Button Styles */
.amount-button {
    background: var(--dark-gray);
    border: 1px solid var(--light-gray);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.amount-button:hover {
    background: var(--gold);
    color: black;
    border-color: var(--gold);
}

/* Bank Details Table Styles */
.bank-details-table td {
    padding: 0.75rem;
    vertical-align: middle;
}

.bank-details-table td:first-child {
    font-weight: 600;
    color: var(--gold);
}

.bank-details-table td:last-child {
    text-align: right;
}

/* Date Input Styles */
.date-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input-icon {
    position: absolute;
    left: 12px;
    color: var(--light-gray);
    z-index: 10;
}

.date-input-field {
    padding-left: 40px;
    background: #e9ecef;
    border: none;
    color: #000;
    border-radius: 8px;
}

.date-input-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--light-gray);
    cursor: pointer;
    z-index: 10;
}

/* Dropdown Arrow Styles */
.dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--light-gray);
    z-index: 10;
}

/* Bank Select Styles */
.bank-select-container {
    position: relative;
}

.bank-select-arrows {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.bank-select-arrows i {
    font-size: 0.6rem;
    color: var(--light-gray);
    line-height: 0.8;
    cursor: pointer;
}

/* Responsive Design - Mobile First */
@media (max-width: 575.98px) {
    .container-fluid {
        max-width: 100%;
        padding: 0 8px;
        padding-bottom: 90px !important;
    }

    .container {
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-bottom: 90px !important;
    }

    .game-box,
    .provider-box {
        min-height: 100px;
        padding: 0.5rem !important;
    }

    .game-icon-container,
    .provider-icon-container {
        height: 80px !important;
    }

    .banner-container {
        height: 100px !important;
    }

    .banner-slide {
        width: 100% !important;
    }

    .banner-slider {
        gap: 0px;
    }

    .footer-nav {
        padding: 0.15rem 0;
        max-width: 100%;
        left: 0;
        right: 0;
    }

    .footer-nav a {
        padding: 0.35rem 0.15rem;
        font-size: 0.7rem;
    }

    .footer-nav i {
        font-size: 1rem !important;
    }

    .navbar-brand span {
        font-size: 1.5rem !important;
    }

    .user-profile-avatar {
        width: 40px !important;
        height: 40px !important;
    }

    .action-button-circle {
        width: 24px !important;
        height: 24px !important;
    }

    /* Extra small action buttons for very small screens */
    .bg-warning.rounded-circle,
    .bg-danger.rounded-circle,
    .bg-primary.rounded-circle {
        width: 24px !important;
        height: 24px !important;
        padding: 0.2rem !important;
    }

    .bg-warning.rounded-circle i,
    .bg-danger.rounded-circle i,
    .bg-primary.rounded-circle i {
        font-size: 0.6rem !important;
    }

    /* Smaller text for action buttons */
    .d-flex.gap-4 .small {
        font-size: 0.6rem !important;
    }

    /* Reduce gap between action buttons */
    .d-flex.gap-4 {
        gap: 0.5rem !important;
    }

    .form-control {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .table-responsive {
        font-size: 0.8rem;
    }

    .nav-tabs-custom .nav-link {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }

    .navbar-brand img {
        width: 32px !important;
        height: 32px !important;
    }

    .telegram-icon-container {
        width: 50px;
        height: 50px;
        bottom: 70px;
        right: 15px;
    }

    .telegram-icon {
        font-size: 1.2rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .container-fluid {
        max-width: 100%;
        padding-bottom: 90px !important;
    }

    .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-bottom: 90px !important;
    }

    .game-box,
    .provider-box {
        min-height: 110px;
    }

    .banner-slide {
        width: 100%;
    }

    .banner-slider {
        gap: 0px;
    }

    .footer-nav {
        max-width: 100%;
        left: 0;
        right: 0;
        transform: none;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .container-fluid {
        max-width: 100%;
        padding-bottom: 100px !important;
    }

    .container {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-bottom: 100px !important;
    }

    .game-box,
    .provider-box {
        min-height: 120px;
    }

    .banner-container {
        height: 130px;
    }

    .footer-nav {
        max-width: 100%;
        left: 0;
        right: 0;
        transform: none;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .container-fluid {
        max-width: 40vw;
        margin: 0 auto;
        padding-bottom: 100px !important;
    }

    .container {
        max-width: 40vw !important;
        margin: 0 auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-bottom: 100px !important;
    }

    .banner-container {
        height: 140px;
    }

    .footer-nav {
        max-width: 40vw;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 1200px) {
    .container-fluid {
        max-width: 40vw;
        margin: 0 auto;
        padding-bottom: 100px !important;
    }

    .container {
        max-width: 40vw !important;
        margin: 0 auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-bottom: 100px !important;
    }

    .banner-container {
        height: 150px;
    }

    .footer-nav {
        max-width: 40vw;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    .container-fluid {
        max-width: 100%;
        padding: 0 10px;
    }

    .container {
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .game-grid-item {
        margin-bottom: 0.5rem;
    }

    .footer-nav {
        max-width: 100%;
        left: 0;
        right: 0;
        transform: none;
        padding: 0.1rem 0;
    }

    .footer-nav a {
        padding: 0.25rem 0.1rem;
        font-size: 0.65rem;
    }

    .footer-nav i {
        font-size: 0.9rem !important;
    }

    /* Mobile-specific improvements */
    .btn {
        min-height: 44px; /* Better touch targets */
    }

    .form-control {
        min-height: 44px; /* Better touch targets */
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .nav-tabs-custom .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Improve game grid on mobile */
    .game-box,
    .provider-box {
        min-height: 100px;
        padding: 0.75rem !important;
    }

    .game-icon-container,
    .provider-icon-container {
        height: 70px !important;
    }

    /* Improve banner on mobile */
    .banner-container {
        height: 100px !important;
        margin: 0.5rem 0;
    }

    .banner-nav-btn {
        width: 35px;
        height: 35px;
    }

    .banner-nav-btn i {
        font-size: 0.8rem;
    }

    /* Improve header on mobile */
    .navbar-brand span {
        font-size: 1.3rem !important;
    }

    .user-profile-avatar {
        width: 40px !important;
        height: 40px !important;
    }

    .action-button-circle {
        width: 28px !important;
        height: 28px !important;
    }

    /* Smaller action buttons on mobile */
    .bg-warning.rounded-circle,
    .bg-danger.rounded-circle,
    .bg-primary.rounded-circle {
        width: 28px !important;
        height: 28px !important;
        padding: 0.3rem !important;
    }

    .bg-warning.rounded-circle i,
    .bg-danger.rounded-circle i,
    .bg-primary.rounded-circle i {
        font-size: 0.8rem !important;
    }

    /* Smaller text for action buttons */
    .d-flex.gap-4 .small {
        font-size: 0.7rem !important;
    }

    /* Reduce gap between action buttons */
    .d-flex.gap-4 {
        gap: 0.75rem !important;
    }

    /* Improve spacing on mobile */
    .py-3 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Improve table responsiveness */
    .table-responsive {
        font-size: 0.75rem;
    }

    .table td,
    .table th {
        padding: 0.5rem 0.25rem;
    }

    /* Compact bottom navigation for mobile */
    .fixed-bottom {
        margin-bottom: 5px !important;
    }

    .fixed-bottom .bg-darkest {
        border-radius: 15px 15px 0 0 !important;
    }

    .fixed-bottom .d-flex {
        gap: 0.1rem;
    }

    .fixed-bottom .nav-item {
        min-height: 50px;
        justify-content: center;
    }

    .fixed-bottom .nav-item i {
        margin-bottom: 0.1rem;
    }

    .fixed-bottom .nav-item span {
        line-height: 1;
        margin-top: 0.1rem;
    }
}

@media (min-width: 769px) {
    .container-fluid {
        max-width: 40vw;
        margin: 0 auto;
    }

    .container {
        max-width: 40vw !important;
        margin: 0 auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .game-grid-item {
        margin-bottom: 1rem;
    }

    .footer-nav {
        max-width: 40vw;
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-nav a {
        padding: 0.75rem;
    }

    .footer-nav i {
        font-size: 1.3rem !important;
    }
}

/* Utility Classes */
.text-muted {
    color: var(--light-gray) !important;
}

.border-secondary {
    border-color: var(--light-gray) !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.game-grid-item:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.action-button-circle:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Focus States */
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

/* Print Styles */
@media print {
    .footer-nav,
    .telegram-icon-container,
    .banner-nav-btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* Extra small action buttons for very small screens */
.bg-warning.rounded-circle,
.bg-danger.rounded-circle,
.bg-primary.rounded-circle {
    width: 24px !important;
    height: 24px !important;
    padding: 0.2rem !important;
}

.bg-warning.rounded-circle i,
.bg-danger.rounded-circle i,
.bg-primary.rounded-circle i {
    font-size: 0.6rem !important;
}

/* Smaller text for action buttons */
.d-flex.gap-4 .small {
    font-size: 0.6rem !important;
}

/* Reduce gap between action buttons */
.d-flex.gap-4 {
    gap: 0.5rem !important;
}

/* Home page action buttons - override inline styles */
.bg-dark-gray .d-flex.gap-4 .bg-warning.rounded-circle,
.bg-dark-gray .d-flex.gap-4 .bg-danger.rounded-circle,
.bg-dark-gray .d-flex.gap-4 .bg-primary.rounded-circle {
    width: 24px !important;
    height: 24px !important;
    padding: 0.2rem !important;
}

.bg-dark-gray .d-flex.gap-4 .bg-warning.rounded-circle i,
.bg-dark-gray .d-flex.gap-4 .bg-danger.rounded-circle i,
.bg-dark-gray .d-flex.gap-4 .bg-primary.rounded-circle i {
    font-size: 0.6rem !important;
}

.bg-dark-gray .d-flex.gap-4 .small {
    font-size: 0.6rem !important;
}

.bg-dark-gray .d-flex.gap-4 {
    gap: 0.5rem !important;
}

/* Smaller action buttons on mobile */
.bg-warning.rounded-circle,
.bg-danger.rounded-circle,
.bg-primary.rounded-circle {
    width: 28px !important;
    height: 28px !important;
    padding: 0.3rem !important;
}

.bg-warning.rounded-circle i,
.bg-danger.rounded-circle i,
.bg-primary.rounded-circle i {
    font-size: 0.8rem !important;
}

/* Smaller text for action buttons */
.d-flex.gap-4 .small {
    font-size: 0.7rem !important;
}

/* Reduce gap between action buttons */
.d-flex.gap-4 {
    gap: 0.75rem !important;
}

/* Home page action buttons - override inline styles */
.bg-dark-gray .d-flex.gap-4 .bg-warning.rounded-circle,
.bg-dark-gray .d-flex.gap-4 .bg-danger.rounded-circle,
.bg-dark-gray .d-flex.gap-4 .bg-primary.rounded-circle {
    width: 28px !important;
    height: 28px !important;
    padding: 0.3rem !important;
}

.bg-dark-gray .d-flex.gap-4 .bg-warning.rounded-circle i,
.bg-dark-gray .d-flex.gap-4 .bg-danger.rounded-circle i,
.bg-dark-gray .d-flex.gap-4 .bg-primary.rounded-circle i {
    font-size: 0.8rem !important;
}

.bg-dark-gray .d-flex.gap-4 .small {
    font-size: 0.7rem !important;
}

.bg-dark-gray .d-flex.gap-4 {
    gap: 0.75rem !important;
}

/* Smaller retrieve button on mobile */
.bg-gold.text-black.small.px-2.py-1.rounded {
    font-size: 0.6rem !important;
    padding: 0.2rem 0.4rem !important;
}

/* Game grid - 4 games per line on mobile */
.game-box,
.provider-box {
    min-height: 80px !important;
    padding: 0.5rem !important;
}

.game-icon-container,
.provider-icon-container {
    height: 60px !important;
    width: 100% !important;
    overflow: hidden !important;
}

.game-box img,
.provider-box img {
    transform: scale(1) !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Fix text wrapping on mobile */
.game-box .text-light.small.fw-bold.text-center,
.provider-box .text-light.small.fw-bold.text-center {
    font-size: 0.6rem !important;
    line-height: 1.1 !important;
    margin-top: 0.2rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

/* Ensure consistent game box heights */
.game-box,
.provider-box {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Force consistent height for all game boxes */
.row.g-1 .col-3 {
    height: auto !important;
}

.row.g-1 .col-3 .game-box {
    height: 100px !important;
    min-height: 100px !important;
}

.row.g-1 .col-3 .provider-box {
    height: 80px !important;
    min-height: 80px !important;
}

/* Desktop game grid - 4 games per line with bigger images */
@media (min-width: 768px) {
    .game-box {
        min-height: 140px !important;
        padding: 1.2rem !important;
    }

    .game-icon-container,
    .provider-icon-container {
        height: 100px !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .game-box img {
        transform: scale(1.1) !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }

    /* Desktop text styling - more specific */
    .bg-dark-gray .game-box .text-light.small.fw-bold.text-center {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        margin-top: 1rem !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        max-width: 100% !important;
        color: #f8f9fa !important;
        font-weight: 600 !important;
        display: block !important;
    }

    /* Desktop game box heights */
    .row.g-1 .col-3 .game-box {
        height: 160px !important;
        min-height: 160px !important;
    }

    .row.g-1 .col-3 .provider-box {
        height: 140px !important;
        min-height: 140px !important;
    }
}

/* Bottom navigation container spacing */
#bottom-navigation-container {
    margin-bottom: 20px;
}

/* Ensure content doesn't get hidden behind bottom nav */
.container-fluid,
.container {
    padding-bottom: 100px !important;
}

/* Enhanced Header Design */
header.bg-darkest {
    background: linear-gradient(
        135deg,
        var(--darkest) 0%,
        var(--darker) 100%
    ) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

header.bg-darkest::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.05),
        transparent
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%,
    100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

/* Enhanced User Profile Section */
.bg-dark-gray {
    /* background: linear-gradient(
        135deg,
        var(--dark-gray) 0%,
        var(--medium-gray) 100%
    ) !important; */
    background-color: var(--dark-gray);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.bg-dark-gray::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Enhanced Navigation Tabs */
.bg-darkest .d-flex.justify-content-between {
    background: linear-gradient(
        135deg,
        var(--darkest) 0%,
        var(--darker) 100%
    ) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Enhanced Game Grid Container */
.row.g-1 {
    position: relative;
    z-index: 2;
    padding: 1rem 0;
}

.row.g-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 215, 0, 0.02) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

/* Enhanced Text Styling */
.game-box .text-light.small.fw-bold.text-center,
.provider-box .text-light.small.fw-bold.text-center {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* .game-box:hover .text-light.small.fw-bold.text-center {
    color: var(--gold) !important;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
} */

/* Floating Animation for Game Boxes */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* .game-box {
    animation: float 6s ease-in-out infinite;
} */

.game-box:nth-child(2) {
    animation-delay: 0.5s;
}
.game-box:nth-child(3) {
    animation-delay: 1s;
}
.game-box:nth-child(4) {
    animation-delay: 1.5s;
}
.game-box:nth-child(5) {
    animation-delay: 2s;
}
.game-box:nth-child(6) {
    animation-delay: 2.5s;
}
.game-box:nth-child(7) {
    animation-delay: 3s;
}
.game-box:nth-child(8) {
    animation-delay: 3.5s;
}

/* Pulse Animation for Active Elements */
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.text-gold {
    animation: pulse 2s ease-in-out infinite;
}

/* Enhanced Button Effects */
.bg-gold.text-black.small.px-2.py-1.rounded {
    background: linear-gradient(
        135deg,
        var(--gold) 0%,
        #e6c200 100%
    ) !important;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.bg-gold.text-black.small.px-2.py-1.rounded:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    background: linear-gradient(
        135deg,
        #e6c200 0%,
        var(--gold) 100%
    ) !important;
}

/* Enhanced Category Selection Tabs */
/* Show scrollbar only on hover */
.category-tabs-container:hover {
    overflow-x: auto;
}

/* Customize scrollbar - WebKit browsers */
.category-tabs-container::-webkit-scrollbar {
    height: 8px;
}

.category-tabs-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.category-tabs-container::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.category-tabs-container:hover::-webkit-scrollbar-thumb {
    background-color: #ffd700;
    border-color: #1a1a1a;
}

/* Firefox scrollbar style */
.category-tabs-container {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.category-tabs-container:hover {
    scrollbar-color: #ffd700 #1a1a1a;
}

/* Each tab item styles */
.category-tab {
    flex: 0 0 auto;
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    margin: 0;
    overflow: hidden;
    /* background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%); */
}

.category-tab::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.category-tab:hover::before,
.category-tab.active::before {
    background: #3a3a3a;
    opacity: 1;
    box-shadow: none;
}

.category-tab::after {
    content: none;
}

.tab-content {
    position: relative;
    z-index: 2;
    padding: 12px 8px;
}

.tab-icon-wrapper {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2a2a2a;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: background 0.3s ease;
}

.tab-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.category-tab:hover .tab-icon-wrapper,
.category-tab.active .tab-icon-wrapper {
    background: #3a3a3a;
    box-shadow: none;
    transform: none;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.tab-icon-wrapper i {
    font-size: 1.3rem;
    color: #666;
    text-shadow: none;
    transition: color 0.3s ease;
}

.category-tab:hover .tab-icon-wrapper i,
.category-tab.active .tab-icon-wrapper i {
    color: #bfa100;
}

.tab-text {
    color: #666;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* .category-tab:hover .tab-text, */
.category-tab.active .tab-text {
    color: #bfa100;
}

.tab-underline {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: #bfa100;
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: none;
}

.category-tab:hover .tab-underline,
.category-tab.active .tab-underline {
    width: 85%;
}

@keyframes activeTabGlow {
    0% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.5),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 0 0 35px rgba(255, 215, 0, 0.7),
            inset 0 0 25px rgba(255, 255, 255, 0.15);
    }
}

@keyframes underlineGlow {
    0% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 1);
    }
}

/* Mobile responsive for enhanced category tabs */
@media (max-width: 768px) {
    .category-tabs-container {
        padding: 0 6px;
    }

    .category-tab {
        margin: 0 1px;
    }

    .tab-content {
        padding: 8px 4px !important;
    }

    .tab-icon-wrapper {
        width: 30px;
        height: 30px;
    }

    .tab-icon-wrapper i {
        font-size: 1.1rem;
    }

    .tab-text {
        font-size: 0.7rem !important;
        letter-spacing: 0.3px;
    }

    .tab-underline {
        height: 3px;
    }
}
