/* ===== POLISH & FINAL TOUCHES ===== */

/* Body & Background */
body {
    background: #000 !important;
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', 'Exo', sans-serif;
    color: #fff;
}

/* Content Wrapper */
.content {
    background: #000;
    min-height: 100vh;
    padding-bottom: 50px;
}

/* Page Title Enhancement */
.nav__title {
    background: linear-gradient(135deg, #171342, #110e35);
    color: #e3a43b;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    border-radius: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Provider Tab Enhancements */
.g8sggl-t {
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.g8sggl-t .ii {
    transition: all 0.3s ease;
}

.g8sggl-t .ii:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(227, 164, 59, 0.3);
}

/* Category Tab Enhancements */
.g8sggl-c {
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.g8sggl-c .ll .ii {
    transition: all 0.3s ease;
    font-weight: 600;
}

/* Search Bar Enhancement */
.g8sggl .searchbar input {
    transition: all 0.3s ease;
}

.g8sggl .searchbar input:focus {
    background-color: #1a1550;
    outline: none;
    box-shadow: 0 0 0 2px #e3a43b;
}

/* Game Card Hover Enhancement */
.g8sggl .glbox .gl {
    transition: transform 0.3s ease;
}

.g8sggl .glbox .gl:hover {
    transform: translateY(-3px);
}

/* RTP Container Enhancement */
.rtp-container {
    transition: all 0.3s ease;
}

/* Game Text Enhancement */
.g8sggl .glbox .gl .gltext {
    transition: all 0.3s ease;
    font-size: 13px;
}

.g8sggl .glbox .gl:hover .gltext {
    background-color: #e3a43b;
}

/* Provider Logo Enhancement */
.g8sggl .glbox .gl .glp {
    transition: all 0.3s ease;
}

/* Load More Button Enhancement */
.load-more-wrap button {
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(217, 179, 0, 0.3);
}

.load-more-wrap button:hover {
    box-shadow: 0 4px 10px rgba(217, 179, 0, 0.5);
    transform: translateY(-2px);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
    background: #301d6e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e3a43b;
}

/* Loading Animation Enhancement */
.lds-ellipsis div {
    background: #e3a43b;
}

/* Mobile Menu Enhancement */
@media (max-width: 768px) {
    .nav__title {
        font-size: 16px;
        padding: 12px 15px;
    }

    .content {
        padding: 0 10px;
        padding-bottom: 80px;
    }
}

/* Smooth Transitions */
* {
    -webkit-tap-highlight-color: transparent;
}

a, button {
    transition: all 0.3s ease;
}

/* Focus States */
button:focus,
input:focus {
    outline: none;
}

/* Selection Color */
::selection {
    background: #e3a43b;
    color: #000;
}

::-moz-selection {
    background: #e3a43b;
    color: #000;
}

/* Prevent text selection on UI elements */
.g8sggl-t .ii,
.g8sggl-c .ll .ii,
.hamburger,
.nav__notification {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Hide elements properly */
[style*="display: none"] {
    display: none !important;
}

/* Z-index Management */
.nav {
    z-index: 1000;
}

.menu {
    z-index: 999;
}

.overlap {
    z-index: 998;
}

/* Performance Optimization */
.g8sggl .glbox .gl .glimg,
.g8sggl .glbox .gl .hwrap {
    will-change: transform, opacity;
}
