/* ========================================
   UI/UX IMPROVEMENTS - Clean Gaming Portal
   ======================================== */

/* Global Reset */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Vibrant Game Cards */
.GameThumb_gameThumbLinkDesktop__LB7NJ {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: block;
    background: linear-gradient(145deg, #1a1b2e 0%, #16213e 100%);
    border: 2px solid transparent;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.GameThumb_gameThumbLinkDesktop__LB7NJ:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(104, 66, 255, 0.4);
    border-color: #6842FF;
}

.GameThumb_gameThumbLinkDesktop__LB7NJ::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(104, 66, 255, 0.2), rgba(255, 107, 107, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.GameThumb_gameThumbLinkDesktop__LB7NJ:hover::before {
    opacity: 1;
}

/* Enhanced Game Thumbnails */
.GameThumb_gameThumbImage__isqyS {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.GameThumb_gameThumbLinkDesktop__LB7NJ:hover .GameThumb_gameThumbImage__isqyS {
    transform: scale(1.05);
}

/* Title Container - Transparent with orange-red blur effect */
.GameThumb_gameThumbTitleContainer__4f8BU {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.4), rgba(255, 142, 83, 0.3));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 16px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    color: #fff;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid rgba(255, 107, 107, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.GameThumb_gameThumbLinkDesktop__LB7NJ:hover .GameThumb_gameThumbTitleContainer__4f8BU {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.6), rgba(255, 142, 83, 0.5));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(-2px);
    opacity: 0.75;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    border-top: 1px solid rgba(255, 107, 107, 0.5);
}

/* Enhanced Carousel Navigation */
.GameCarousel_primeCarouselArrow__BmHOa {
    background: rgba(55, 57, 82, 0.9) !important;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.GameCarousel_primeCarouselArrow__BmHOa:hover {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.GameCarousel_primeCarouselArrow__BmHOa:active {
    transform: scale(0.95);
}

/* Smooth Carousel Scrolling */
.games-container {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 107, 0.5) transparent;
}

.games-container::-webkit-scrollbar {
    height: 6px;
}

.games-container::-webkit-scrollbar-track {
    background: rgba(55, 57, 82, 0.3);
    border-radius: 10px;
}

.games-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.games-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FF8E53, #FF6B6B);
}

/* Enhanced Category Titles */
.Carousel_carouselTitle__kXgiB {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

/* Improved View More Link */
.Carousel_carouselTitleLink__Ldlwt {
    color: #FF6B6B;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 20px;
}

.Carousel_carouselTitleLink__Ldlwt::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.Carousel_carouselTitleLink__Ldlwt:hover {
    color: #FF8E53;
}

.Carousel_carouselTitleLink__Ldlwt:hover::after {
    transform: translateX(4px);
}

/* Enhanced Search Bar */
.css-174kd1d {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    background-color: rgba(55, 57, 82, 0.6) !important;
}

.css-174kd1d:focus {
    background-color: rgba(55, 57, 82, 0.9) !important;
    border-color: #FF6B6B !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
}

.css-174kd1d:hover {
    background-color: rgba(55, 57, 82, 0.8) !important;
}

/* Recent Games Section - Updated */
.recent-games-container {
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    background: rgba(255, 107, 107, 0.05);
}

.clear-recent-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #AAADBE;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-recent-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
}

.recent-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.recent-game-item {
    position: relative;
}

/* Enhanced Header */
.css-1geg79l {
    background: rgba(12, 13, 20, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 107, 107, 0.2);
    transition: all 0.3s ease;
}

/* Logo Animation Enhancement */
.css-1vhz41m {
    transition: transform 0.3s ease;
}

.css-1vhz41m:hover {
    transform: scale(1.05);
}

/* Enhanced Buttons */
.css-1myf5r1,
.css-1l8874j {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.css-1myf5r1::before,
.css-1l8874j::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.css-1myf5r1:hover::before,
.css-1l8874j:hover::before {
    width: 300px;
    height: 300px;
}

.css-1l8874j:hover {
    border-color: #FF6B6B !important;
    background: rgba(255, 107, 107, 0.1);
    transform: scale(1.05);
}

/* Category Icons Enhancement */
.css-nb4mi8,
.css-inysc7 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    padding: 20px;
    background: rgba(55, 57, 82, 0.4);
    backdrop-filter: blur(10px);
}

.css-nb4mi8:hover,
.css-inysc7:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 142, 83, 0.2));
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(255, 107, 107, 0.3);
}

.css-nb4mi8 img,
.css-inysc7 img {
    transition: transform 0.3s ease;
}

.css-nb4mi8:hover img,
.css-inysc7:hover img {
    transform: scale(1.1) rotate(5deg);
}

/* Loading Animation Enhancement */
.css-188g3r0 span {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

/* Enhanced Content Sections */
.Carousel_simpleCarouselContainer__jOmRF {
    margin-bottom: 40px;
    padding: 0 8px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.Carousel_carouselTitleContainerDiv__Ci82c {
    margin-bottom: 16px;
    padding: 0 12px;
}

/* Fix carousel root container */
.GameCarousel_root__aGOTN {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

/* Desktop First Responsive Design */
.GameThumb_gameThumbLinkDesktop__LB7NJ {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.GameThumb_gameThumbLinkDesktop__LB7NJ:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(104, 66, 255, 0.3);
}

/* Tablet Styles (768px to 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .GameThumb_gameThumbLinkDesktop__LB7NJ:hover {
        transform: translateY(-6px);
    }
    
    .Carousel_carouselTitle__kXgiB {
        font-size: 1.3rem;
    }
    
    .GameCarousel_primeCarouselArrow__BmHOa {
        width: 44px;
        height: 44px;
    }
}

/* Mobile Styles (767px and below) */
@media (max-width: 767px) {
    .GameThumb_gameThumbLinkDesktop__LB7NJ:hover {
        transform: translateY(-4px);
    }
    
    .Carousel_carouselTitle__kXgiB {
        font-size: 1.25rem;
    }
    
    .GameCarousel_primeCarouselArrow__BmHOa {
        width: 40px;
        height: 40px;
    }
    
    /* Ensure titles are always visible on mobile with orange-red blur effect */
    .GameThumb_gameThumbTitleContainer__4f8BU {
        opacity: 0.9 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.5), rgba(255, 142, 83, 0.4)) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    .Carousel_simpleCarouselContainer__jOmRF {
        margin-bottom: 30px;
        padding: 0 4px;
    }
}

/* Skeleton Loading Enhancement */
.css-1rukkkz {
    background: linear-gradient(90deg, 
        rgba(55, 57, 82, 0.3) 0%, 
        rgba(255, 107, 107, 0.2) 50%, 
        rgba(55, 57, 82, 0.3) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Global Scrollbar Colors */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 107, 0.6) transparent;
}

html::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background: rgba(0, 0, 0, 0);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-radius: 30px;
    transition: background 0.3s ease;
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FF8E53, #FF6B6B);
}

html::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0);
}

/* Enhanced SEO Block */
.css-16livkf {
    background: rgba(55, 57, 82, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin: 40px 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 107, 0.1);
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.css-16livkf h1,
.css-16livkf h2 {
    margin-top: 24px;
    margin-bottom: 16px;
}

.css-16livkf p {
    line-height: 1.8;
    color: rgba(249, 250, 255, 0.9);
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.css-16livkf a {
    color: #FF8E53;
    text-decoration: underline;
    text-decoration-color: rgba(255, 142, 83, 0.3);
    transition: all 0.3s ease;
    word-wrap: break-word;
}

.css-16livkf a:hover {
    color: #FF6B6B;
    text-decoration-color: #FF6B6B;
}

/* Mobile responsive for SEO block */
@media (max-width: 768px) {
    .css-16livkf {
        margin: 20px 8px;
        padding: 20px;
    }
}

/* Top Ranking Games Section */
.top-ranking-container {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 107, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.top-ranking-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.top-ranking-container .Carousel_carouselTitle__kXgiB {
    color: #FFD700;
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.trending-badge {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.ranking-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.rank-number {
    font-size: 14px;
}

.trend-icon {
    font-size: 10px;
}

.popularity-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.popularity-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B6B, #FF8E53);
    transition: width 0.5s ease;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(255, 107, 107, 0.5); }
    100% { box-shadow: 0 0 15px rgba(255, 107, 107, 0.8); }
}

.top-game-item {
    position: relative;
}

.top-game-item:nth-child(1) .ranking-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    animation: goldGlow 2s infinite alternate;
}

.top-game-item:nth-child(2) .ranking-badge {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
}

.top-game-item:nth-child(3) .ranking-badge {
    background: linear-gradient(135deg, #CD7F32, #B8860B);
}

@keyframes goldGlow {
    0% { box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4); }
    100% { box-shadow: 0 4px 16px rgba(255, 215, 0, 0.8); }
}

/* Recent Games Section - Updated */
.recent-games-container {
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    background: rgba(255, 107, 107, 0.05);
}

.clear-recent-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #AAADBE;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-recent-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
}

.recent-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.recent-game-item {
    position: relative;
}

/* Additional Orange-Red Theme Enhancements */

/* Game Card Hover Glow Effect */
.GameThumb_gameThumbLinkDesktop__LB7NJ:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.4);
    border-color: #FF6B6B;
}

/* Enhanced Button Hover Effects */
.css-1myf5r1:hover::before,
.css-1l8874j:hover::before {
    background: rgba(255, 107, 107, 0.3);
}

.css-1l8874j:hover {
    border-color: #FF6B6B !important;
    background: rgba(255, 107, 107, 0.1);
    transform: scale(1.05);
}

/* Welcome Section Icons */
.css-6qu7l6 {
    color: #FF6B6B !important;
    transition: all 0.3s ease;
}

.css-7xoec7:hover .css-6qu7l6 {
    color: #FF8E53 !important;
    transform: scale(1.1);
}

/* Enhanced Video Hover Effects */
.GameThumb_gameThumbVideo___pfwm {
    transition: all 0.3s ease;
}

.GameThumb_gameThumbLinkDesktop__LB7NJ:hover .GameThumb_gameThumbVideo___pfwm {
    opacity: 0.9;
    filter: brightness(1.1) saturate(1.2);
}

/* Accent Borders and Highlights */
.css-7xoec7 {
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 8px 12px;
}

.css-7xoec7:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

/* Enhanced Logo Hover */
.css-1vhz41m:hover {
    filter: drop-shadow(0 4px 8px rgba(255, 107, 107, 0.3));
}

/* Improved Search Icon */
.css-4ypg9l {
    transition: all 0.3s ease;
}

.css-174kd1d:focus + .css-4ypg9l,
.css-174kd1d:hover + .css-4ypg9l {
    color: #FF6B6B;
    opacity: 1;
}

/* Enhanced Game Grid Spacing */
.css-1uxnwi7 {
    gap: 12px;
}

/* Improved Mobile Responsiveness for Orange Theme */
@media (max-width: 768px) {
    .css-7xoec7 {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .GameThumb_gameThumbLinkDesktop__LB7NJ:hover {
        transform: translateY(-6px) scale(1.01);
        box-shadow: 0 12px 24px rgba(255, 107, 107, 0.3);
    }
}

/* Subtle Animation for Interactive Elements */
@keyframes orangePulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(255, 107, 107, 0);
    }
}

.trending-badge {
    animation: orangePulse 2s infinite, pulse 2s infinite;
}

/* Enhanced Focus States */
.GameThumb_gameThumbLinkDesktop__LB7NJ:focus-visible {
    outline: 3px solid #FF6B6B;
    outline-offset: 4px;
}

/* Improved Loading States */
.css-188g3r0 span:nth-of-type(1) {
    background: #FF6B6B !important;
}

.css-188g3r0 span:nth-of-type(2) {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
}

.css-188g3r0 span:nth-of-type(3) {
    background: #FF8E53 !important;
}
/* Category Pages - Fix Overflow and Grid Layout */

/* Fix horizontal overflow on category pages */
#allGameContent {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 16px !important;
    padding: 20px !important;
    max-width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Ensure game cards fit properly in grid */
#allGameContent .primeCarouselLi,
#allGameContent .Carousel_primeCarouselLi__Zk7jA {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
}

/* Responsive grid for different screen sizes */
@media (max-width: 1400px) {
    #allGameContent {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (max-width: 1200px) {
    #allGameContent {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 992px) {
    #allGameContent {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 768px) {
    #allGameContent {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 16px !important;
    }
}

@media (max-width: 480px) {
    #allGameContent {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 12px !important;
    }
}

/* Fixed Horizontal Pagination Design */
.pagination {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 30px auto !important;
    padding: 16px 20px !important;
    list-style: none !important;
    background: rgba(55, 57, 82, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 107, 107, 0.2) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    flex-wrap: wrap !important;
    max-width: fit-content !important;
}

.pagination li {
    margin: 0 !important;
    display: inline-block !important;
}

.pagination .page-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 8px 12px !important;
    background: rgba(45, 47, 72, 0.8) !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    white-space: nowrap !important;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    border-color: rgba(255, 107, 107, 0.4) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3) !important;
    color: #fff !important;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    border-color: #FF6B6B !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4) !important;
}

.pagination .page-item.disabled .page-link {
    background: rgba(55, 57, 82, 0.4) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.pagination .page-item.disabled .page-link:hover {
    background: rgba(55, 57, 82, 0.4) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Previous/Next buttons */
.pagination .page-link[aria-label*="Previous"],
.pagination .page-link[aria-label*="Next"] {
    min-width: 44px !important;
    height: 44px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: rgba(255, 107, 107, 0.2) !important;
    border: 1px solid rgba(255, 107, 107, 0.3) !important;
}

.pagination .page-link[aria-label*="Previous"]:hover,
.pagination .page-link[aria-label*="Next"]:hover {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4) !important;
}

/* Pagination wrapper */
.pagination-wrape {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 40px 0 !important;
    padding: 0 20px !important;
}

/* Force horizontal layout */
.pagination-wrapper ul,
#pagination-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

/* Orange-Red Button Styling for Category Pages */
.btn,
button,
.button,
input[type="button"],
input[type="submit"],
.btn-primary,
.btn-secondary,
.btn-outline-primary,
.btn-outline-secondary {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    border: 2px solid #FF6B6B !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.btn:hover,
button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline-primary:hover,
.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #FF8E53, #FF6B6B) !important;
    border-color: #FF8E53 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3) !important;
    color: #fff !important;
}

.btn:active,
button:active,
.button:active,
input[type="button"]:active,
input[type="submit"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.4) !important;
}

.btn:focus,
button:focus,
.button:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3) !important;
    outline: none !important;
}

/* Fix container overflow */
.container,
.container-fluid {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* Ensure main content doesn't overflow */
main,
.main-content {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* Category page specific fixes */
.css-11r0q0n {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

/* Responsive Premium Pagination */
@media (max-width: 768px) {
    .pagination-wrape {
        margin: 40px 0 !important;
        padding: 0 10px !important;
    }
    
    .pagination {
        gap: 8px !important;
        padding: 16px !important;
        border-radius: 16px !important;
    }
    
    .pagination .page-link {
        min-width: 42px !important;
        height: 42px !important;
        padding: 10px 12px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }
    
    .pagination .page-link[aria-label*="Previous"],
    .pagination .page-link[aria-label*="Next"] {
        min-width: 48px !important;
        height: 48px !important;
        font-size: 16px !important;
    }
    
    .page-size-selector {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 6px !important;
        padding: 12px !important;
        flex-wrap: wrap !important;
    }
    
    .pagination .page-link {
        min-width: 36px !important;
        height: 36px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }
    
    .pagination .page-link[aria-label*="Previous"],
    .pagination .page-link[aria-label*="Next"] {
        min-width: 42px !important;
        height: 42px !important;
        font-size: 14px !important;
    }
    
    .pagination-info {
        font-size: 12px !important;
        padding: 8px 16px !important;
    }
}

/* Premium Loading Animation for Pagination */
.pagination-loading {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 40px !important;
}

.pagination-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 107, 107, 0.2);
    border-top: 4px solid #FF6B6B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Premium Pagination Tooltips */
.pagination .page-link[title] {
    position: relative;
}

.pagination .page-link[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(12, 13, 20, 0.9);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid rgba(255, 107, 107, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pagination .page-link[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(12, 13, 20, 0.9);
    z-index: 1000;
}

/* Advanced Hover Effects */
.pagination .page-link:hover {
    animation: pageHover 0.6s ease-in-out;
}

@keyframes pageHover {
    0%, 100% { transform: translateY(-4px) scale(1.05); }
    50% { transform: translateY(-6px) scale(1.08); }
}

/* Premium Focus States */
.pagination .page-link:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.3), 0 8px 24px rgba(255, 107, 107, 0.4) !important;
    transform: translateY(-4px) scale(1.05) !important;
}

/* Pagination Progress Indicator */
.pagination-progress {
    width: 100%;
    height: 4px;
    background: rgba(55, 57, 82, 0.4);
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.pagination-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #FF6B6B, #FF8E53);
    border-radius: 2px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}
/* Category Pages - Orange-Red Color Scheme */

/* Apply orange-red theme to category page headers */
.category-header,
.page-title,
h1, h2, h3 {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Category page search bars */
.search-bar,
.form-control,
input[type="search"],
input[type="text"] {
    background: rgba(55, 57, 82, 0.6) !important;
    border: 2px solid rgba(255, 107, 107, 0.3) !important;
    color: #fff !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.search-bar:focus,
.form-control:focus,
input[type="search"]:focus,
input[type="text"]:focus {
    border-color: #FF6B6B !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important;
    outline: none !important;
}

/* Category page filters and dropdowns */
.filter-dropdown,
.form-select,
select {
    background: rgba(55, 57, 82, 0.8) !important;
    border: 2px solid rgba(255, 107, 107, 0.3) !important;
    color: #fff !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.filter-dropdown:focus,
.form-select:focus,
select:focus {
    border-color: #FF6B6B !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important;
    outline: none !important;
}

/* Category page breadcrumbs */
.breadcrumb {
    background: rgba(55, 57, 82, 0.4) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
}

.breadcrumb-item a {
    color: #FF8E53 !important;
    transition: color 0.3s ease !important;
}

.breadcrumb-item a:hover {
    color: #FF6B6B !important;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Category page sidebar links */
.sidebar-link,
.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
}

.sidebar-link:hover,
.nav-link:hover {
    background: rgba(255, 107, 107, 0.1) !important;
    color: #FF6B6B !important;
    transform: translateX(4px) !important;
}

.sidebar-link.active,
.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 142, 83, 0.2)) !important;
    color: #FF6B6B !important;
    border-left: 3px solid #FF6B6B !important;
}

/* Category page cards and containers */
.card,
.game-card,
.content-card {
    background: rgba(55, 57, 82, 0.6) !important;
    border: 1px solid rgba(255, 107, 107, 0.2) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.card:hover,
.game-card:hover,
.content-card:hover {
    border-color: rgba(255, 107, 107, 0.5) !important;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Category page badges and tags */
.badge,
.tag,
.label {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    font-weight: 600 !important;
    border: none !important;
}

.badge-outline,
.tag-outline {
    background: transparent !important;
    border: 2px solid #FF6B6B !important;
    color: #FF6B6B !important;
}

.badge-outline:hover,
.tag-outline:hover {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    color: #fff !important;
}

/* Category page alerts and notifications */
.alert {
    background: rgba(255, 107, 107, 0.1) !important;
    border: 1px solid rgba(255, 107, 107, 0.3) !important;
    color: #FF8E53 !important;
    border-radius: 8px !important;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1) !important;
    border-color: rgba(76, 175, 80, 0.3) !important;
    color: #4CAF50 !important;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
    color: #FFC107 !important;
}

/* Category page loading states */
.loading,
.spinner {
    border: 3px solid rgba(255, 107, 107, 0.2) !important;
    border-top: 3px solid #FF6B6B !important;
    border-radius: 50% !important;
}

/* Category page progress bars */
.progress {
    background: rgba(55, 57, 82, 0.4) !important;
    border-radius: 4px !important;
}

.progress-bar {
    background: linear-gradient(90deg, #FF6B6B, #FF8E53) !important;
    border-radius: 4px !important;
}

/* Category page tooltips */
.tooltip {
    background: rgba(12, 13, 20, 0.9) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 107, 107, 0.3) !important;
    border-radius: 6px !important;
}

.tooltip-arrow {
    border-top-color: rgba(12, 13, 20, 0.9) !important;
}

/* Category page modals */
.modal-content {
    background: rgba(12, 13, 20, 0.95) !important;
    border: 1px solid rgba(255, 107, 107, 0.3) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(20px) !important;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 107, 107, 0.2) !important;
}

.modal-footer {
    border-top: 1px solid rgba(255, 107, 107, 0.2) !important;
}

/* Category page close buttons */
.btn-close,
.close {
    color: #FF6B6B !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

.btn-close:hover,
.close:hover {
    color: #FF8E53 !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

/* Category page scrollbars */
.category-content::-webkit-scrollbar {
    width: 8px !important;
}

.category-content::-webkit-scrollbar-track {
    background: rgba(55, 57, 82, 0.3) !important;
    border-radius: 4px !important;
}

.category-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    border-radius: 4px !important;
}

.category-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FF8E53, #FF6B6B) !important;
}

/* Category page tables */
.table {
    color: rgba(255, 255, 255, 0.9) !important;
}

.table th {
    background: rgba(255, 107, 107, 0.1) !important;
    border-color: rgba(255, 107, 107, 0.2) !important;
    color: #FF8E53 !important;
}

.table td {
    border-color: rgba(255, 107, 107, 0.1) !important;
}

.table-hover tbody tr:hover {
    background: rgba(255, 107, 107, 0.05) !important;
}

/* Category page form elements */
.form-check-input:checked {
    background-color: #FF6B6B !important;
    border-color: #FF6B6B !important;
}

.form-range::-webkit-slider-thumb {
    background: #FF6B6B !important;
}

.form-range::-moz-range-thumb {
    background: #FF6B6B !important;
    border: none !important;
}

/* Category page list groups */
.list-group-item {
    background: rgba(55, 57, 82, 0.4) !important;
    border-color: rgba(255, 107, 107, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.list-group-item:hover {
    background: rgba(255, 107, 107, 0.1) !important;
}

.list-group-item.active {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    border-color: #FF6B6B !important;
}

/* Category page responsive adjustments */
@media (max-width: 768px) {
    .category-header {
        font-size: 1.5rem !important;
    }
    
    .sidebar-link,
    .nav-link {
        padding: 6px 10px !important;
        font-size: 14px !important;
    }
    
    .card,
    .game-card,
    .content-card {
        margin-bottom: 16px !important;
    }
}
/* Comprehensive Button Styling - Orange-Red Theme */

/* Primary Buttons */
.btn,
.btn-primary,
.button,
.primary-btn,
button[type="submit"],
button[type="button"],
input[type="submit"],
input[type="button"] {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    border: 2px solid #FF6B6B !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn:hover,
.btn-primary:hover,
.button:hover,
.primary-btn:hover,
button[type="submit"]:hover,
button[type="button"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: linear-gradient(135deg, #FF8E53, #FF6B6B) !important;
    border-color: #FF8E53 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4) !important;
    color: #fff !important;
}

.btn:active,
.btn-primary:active,
.button:active,
.primary-btn:active,
button[type="submit"]:active,
button[type="button"]:active,
input[type="submit"]:active,
input[type="button"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.4) !important;
}

/* Secondary Buttons */
.btn-secondary,
.btn-outline,
.btn-outline-primary,
.secondary-btn,
.outline-btn {
    background: transparent !important;
    border: 2px solid #FF6B6B !important;
    color: #FF6B6B !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-outline-primary:hover,
.secondary-btn:hover,
.outline-btn:hover {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    border-color: #FF6B6B !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3) !important;
}

/* Small Buttons */
.btn-sm,
.btn-small,
.small-btn {
    padding: 6px 12px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
}

/* Large Buttons */
.btn-lg,
.btn-large,
.large-btn {
    padding: 14px 28px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
}

/* Icon Buttons */
.btn-icon,
.icon-btn,
.btn[class*="icon"] {
    min-width: 44px !important;
    height: 44px !important;
    padding: 10px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-icon:hover,
.icon-btn:hover,
.btn[class*="icon"]:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4) !important;
}

/* Danger/Delete Buttons */
.btn-danger,
.btn-delete,
.danger-btn,
.delete-btn {
    background: linear-gradient(135deg, #FF4757, #FF3742) !important;
    border: 2px solid #FF4757 !important;
    color: #fff !important;
}

.btn-danger:hover,
.btn-delete:hover,
.danger-btn:hover,
.delete-btn:hover {
    background: linear-gradient(135deg, #FF3742, #FF2D39) !important;
    border-color: #FF3742 !important;
    color: #fff !important;
}

/* Success Buttons */
.btn-success,
.success-btn {
    background: linear-gradient(135deg, #2ED573, #20BF6B) !important;
    border: 2px solid #2ED573 !important;
    color: #fff !important;
}

.btn-success:hover,
.success-btn:hover {
    background: linear-gradient(135deg, #20BF6B, #26D0CE) !important;
    border-color: #20BF6B !important;
    color: #fff !important;
}

/* Warning Buttons */
.btn-warning,
.warning-btn {
    background: linear-gradient(135deg, #FFA726, #FF9800) !important;
    border: 2px solid #FFA726 !important;
    color: #fff !important;
}

.btn-warning:hover,
.warning-btn:hover {
    background: linear-gradient(135deg, #FF9800, #F57C00) !important;
    border-color: #FF9800 !important;
    color: #fff !important;
}

/* Info Buttons */
.btn-info,
.info-btn {
    background: linear-gradient(135deg, #3742FA, #2F3542) !important;
    border: 2px solid #3742FA !important;
    color: #fff !important;
}

.btn-info:hover,
.info-btn:hover {
    background: linear-gradient(135deg, #2F3542, #57606F) !important;
    border-color: #2F3542 !important;
    color: #fff !important;
}

/* Disabled Buttons */
.btn:disabled,
.btn.disabled,
.button:disabled,
.button.disabled,
button:disabled,
input:disabled {
    background: rgba(55, 57, 82, 0.4) !important;
    border-color: rgba(55, 57, 82, 0.4) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
}

.btn:disabled:hover,
.btn.disabled:hover,
.button:disabled:hover,
.button.disabled:hover,
button:disabled:hover,
input:disabled:hover {
    background: rgba(55, 57, 82, 0.4) !important;
    border-color: rgba(55, 57, 82, 0.4) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Button Groups */
.btn-group .btn,
.button-group .button {
    border-radius: 0 !important;
    border-right-width: 1px !important;
}

.btn-group .btn:first-child,
.button-group .button:first-child {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.btn-group .btn:last-child,
.button-group .button:last-child {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    border-right-width: 2px !important;
}

/* Floating Action Buttons */
.fab,
.floating-btn,
.btn-floating {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    border: none !important;
    color: #fff !important;
    font-size: 24px !important;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4) !important;
    z-index: 1000 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fab:hover,
.floating-btn:hover,
.btn-floating:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5) !important;
}

/* Toggle Buttons */
.btn-toggle,
.toggle-btn {
    background: rgba(55, 57, 82, 0.6) !important;
    border: 2px solid rgba(255, 107, 107, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.btn-toggle.active,
.toggle-btn.active,
.btn-toggle:checked,
.toggle-btn:checked {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    border-color: #FF6B6B !important;
    color: #fff !important;
}

/* Link Buttons */
.btn-link,
.link-btn,
a.btn {
    background: transparent !important;
    border: none !important;
    color: #FF6B6B !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 107, 107, 0.3) !important;
    padding: 4px 8px !important;
}

.btn-link:hover,
.link-btn:hover,
a.btn:hover {
    color: #FF8E53 !important;
    text-decoration-color: #FF8E53 !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

/* Responsive Button Adjustments */
@media (max-width: 768px) {
    .btn,
    .button {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
    
    .btn-lg,
    .large-btn {
        padding: 12px 24px !important;
        font-size: 15px !important;
    }
    
    .btn-sm,
    .small-btn {
        padding: 4px 8px !important;
        font-size: 12px !important;
    }
    
    .fab,
    .floating-btn,
    .btn-floating {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
        bottom: 16px !important;
        right: 16px !important;
    }
}
/* Sidebar Icons - Simple Orange-Red Theme */

/* Sidebar links and items */
.Sidebar_link__eU51h,
.sidebar-item,
.nav-item {
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    margin: 2px 4px !important;
    padding: 8px 12px !important;
}

.Sidebar_link__eU51h:hover,
.sidebar-item:hover,
.nav-item:hover {
    background: rgba(255, 107, 107, 0.1) !important;
    transform: translateX(2px) !important;
}

/* Active sidebar items */
.Sidebar_active__8_VjJ,
.sidebar-item.active,
.nav-item.active {
    background: rgba(255, 107, 107, 0.15) !important;
    border-left: 3px solid #FF6B6B !important;
}

/* Sidebar icons - keep original but add orange tint on hover */
.Sidebar_link__eU51h img,
.sidebar-item img,
.nav-item img {
    transition: all 0.3s ease !important;
    opacity: 0.8 !important;
}

.Sidebar_link__eU51h:hover img,
.sidebar-item:hover img,
.nav-item:hover img {
    opacity: 1 !important;
    filter: sepia(1) hue-rotate(320deg) saturate(2) brightness(1.2) !important;
}

.Sidebar_active__8_VjJ img,
.sidebar-item.active img,
.nav-item.active img {
    filter: sepia(1) hue-rotate(320deg) saturate(2) brightness(1.2) !important;
    opacity: 1 !important;
}

/* Sidebar text labels */
.Sidebar_labelContainer__pvYx0,
.sidebar-label,
.nav-label {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease !important;
}

.Sidebar_link__eU51h:hover .Sidebar_labelContainer__pvYx0,
.sidebar-item:hover .sidebar-label,
.nav-item:hover .nav-label {
    color: #FF6B6B !important;
}

.Sidebar_active__8_VjJ .Sidebar_labelContainer__pvYx0,
.sidebar-item.active .sidebar-label,
.nav-item.active .nav-label {
    color: #FF6B6B !important;
    font-weight: 700 !important;
}
/* Fix Hidden Content Sections */

/* Make sure the hidden content sections are visible */
.css-jjkk1a {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(55, 57, 82, 0.6) !important;
    border: 1px solid rgba(255, 107, 107, 0.2) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.css-17c412x {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.css-17c412x h1,
.css-17c412x h2,
.css-17c412x h3 {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 16px !important;
}

.css-17c412x p {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
}

.css-17c412x a {
    color: #FF8E53 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 142, 83, 0.3) !important;
    transition: all 0.3s ease !important;
}

.css-17c412x a:hover {
    color: #FF6B6B !important;
    text-decoration-color: #FF6B6B !important;
}

/* Enhanced Sidebar Active States */

/* Ensure active states are properly visible */
.Sidebar_active__8_VjJ,
.sidebar-item.active,
.nav-item.active,
a[aria-current="page"] .Sidebar_link__eU51h,
a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 142, 83, 0.15)) !important;
    border-left: 4px solid #FF6B6B !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3) !important;
    position: relative !important;
}

.Sidebar_active__8_VjJ::before,
.sidebar-item.active::before,
.nav-item.active::before {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #FF6B6B;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.6);
}

/* Active state for nested links */
.Sidebar_active__8_VjJ a,
.sidebar-item.active a,
.nav-item.active a {
    color: #FF6B6B !important;
}

.Sidebar_active__8_VjJ .Sidebar_labelContainer__pvYx0,
.sidebar-item.active .sidebar-label,
.nav-item.active .nav-label {
    color: #FF6B6B !important;
    font-weight: 700 !important;
}

.Sidebar_active__8_VjJ img,
.sidebar-item.active img,
.nav-item.active img {
    filter: sepia(1) hue-rotate(320deg) saturate(2) brightness(1.2) !important;
    opacity: 1 !important;
}

/* Hover states should not override active states */
.Sidebar_active__8_VjJ:hover,
.sidebar-item.active:hover,
.nav-item.active:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.25), rgba(255, 142, 83, 0.2)) !important;
    transform: translateX(2px) !important;
}

/* Ensure active state persists */
.Sidebar_link__eU51h.Sidebar_active__8_VjJ,
.sidebar-item.active,
.nav-item.active {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 142, 83, 0.15)) !important;
    border-left: 4px solid #FF6B6B !important;
}

/* Animation for active state changes */
.Sidebar_link__eU51h,
.sidebar-item,
.nav-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Active state indicator animation */
@keyframes activeGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 107, 107, 0.5);
    }
}

.Sidebar_active__8_VjJ,
.sidebar-item.active,
.nav-item.active {
    animation: activeGlow 2s ease-in-out infinite;
}