:root {
    --bg-dark: #0a0a0b;
    --bg-card: #141417;
    --accent-xbox: #107c10;
    --accent-ps: #00439c;
    --text-main: #ffffff;
    --text-dim: #a0a0a8;
    --glass-bg: rgba(20, 20, 23, 0.95);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-xbox: 0 0 15px rgba(16, 124, 16, 0.4);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    padding-top: 80px;
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

body.drawer-open,
html.drawer-open,
body.game-modal-open {
    overflow: hidden !important;
    padding-right: var(--scrollbar-width, 0px);
}

/* Ocultar UI mobile quando o modal do jogo está aberto */
body.game-modal-open .mobile-bottom-bar,
body.game-modal-open .btn-comments-toggle,
body.game-modal-open .mobile-filter-btn,
body.game-modal-open #backToTop,
body.game-modal-open .btn-top {
    display: none !important;
}

/* ===== Scrollbar Personalizada ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-xbox);
}

/* Scrollbar do drawer de comentários */
#commentsDrawerContent::-webkit-scrollbar {
    width: 4px;
}

#commentsDrawerContent::-webkit-scrollbar-track {
    background: transparent;
}

#commentsDrawerContent::-webkit-scrollbar-thumb {
    background: rgba(16, 124, 16, 0.4);
    border-radius: 10px;
}

#commentsDrawerContent::-webkit-scrollbar-thumb:hover {
    background: var(--accent-xbox);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.12) var(--bg-dark);
}

#commentsDrawerContent {
    scrollbar-color: rgba(16, 124, 16, 0.4) transparent;
}


/* Sidebar Filter Mobile */
.mobile-filter-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-xbox);
    color: white;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    border: none;
    transition: all 0.3s ease;
}

.mobile-filter-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    height: -webkit-fill-available;
    max-height: 100vh;
    background: var(--bg-card);
    z-index: 2100;
    /* Higher than mobile-bottom-bar (2000) */
    transition: 0.3s ease;
    padding: 30px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-right: 2px solid var(--accent-xbox);
    overscroll-behavior: contain;
}

.mobile-filter-sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 2050;
    /* Higher than mobile-bottom-bar (2000) but below sidebar */
}

@media (max-width: 991px) {
    .mobile-filter-btn {
        display: flex;
    }

    .desktop-filters {
        display: none;
    }
}

/* Custom Grid for 5 cards */
@media (min-width: 1200px) {
    .col-lg-5th {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Index & Layout Fixed */
.navbar {
    background: #000;
    border-bottom: 2px solid var(--accent-xbox);
}

.gamer-logo .logo-accent {
    color: var(--accent-xbox);
}

.xbox-logo-nav {
    color: var(--accent-xbox);
    margin-left: 5px;
}

/* Card Improvements */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    border-color: var(--accent-xbox);
    box-shadow: 0 10px 30px rgba(16, 124, 16, 0.3);
    transform: translateY(-5px);
    cursor: pointer;
}

.card-img-wrapper {
    height: 200px;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background: #000;
}

.card-img-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    opacity: 0.4;
    z-index: 0;
}

.card-img-top {
    position: relative;
    height: 100%;
    width: 100%;
    object-fit: contain;
    z-index: 1;
}

.console-container {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 5px;
    z-index: 2;
}

.consoleCompativel {
    background: #4a8c2c;
    color: white;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

/* Specific styling for details page cards */
.card-game-detail .card-title {
    font-size: 0.95rem;
    line-height: 1.3;
    height: 3.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (max-width: 576px) {
    .card-img-wrapper {
        height: 140px;
    }

    .card-game-detail .card-title {
        font-size: 0.85rem;
        height: auto; /* Permite nomes completos */
        max-height: none;
        display: block;
        -webkit-line-clamp: initial;
        line-clamp: initial;
    }

    .card-price,
    .desconto {
        font-size: 0.75rem;
        padding: 2px 6px;
    }

    .card-tipodeconteudo {
        font-size: 9px;
        padding: 1px 8px;
    }

    .card-price-melhorDesconto {
        padding: 4px;
        font-size: 8.5px;
        margin-top: 3px;
        line-height: 1.1;
    }
}

/* Badge Layout */
.xbox-logo,
.playstation-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
}

.xbox-logo {
    color: var(--accent-xbox);
    border: 1px solid var(--accent-xbox);
}

.playstation-logo {
    color: var(--accent-ps);
    border: 1px solid var(--accent-ps);
}

/* Tags visibility on dark */
.card-tipodeconteudo {
    background: #000;
    border: 1px solid #444;
    color: #fff;
    padding: 2px 12px;
    font-size: 11px;
    border-radius: 50px;
    display: inline-block;
}

.card-price {
    background: #333;
    color: white;
    padding: 4px 5px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.95rem;
}

.desconto {
    background: #d32f2f;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.95rem;
    margin-left: 8px;
    /* Espaço entre preço e desconto */
}

.card-price-melhorDesconto {
    background: #99741e;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 15px;
    line-height: 1.4;
}

/* Filter Sidebar Desktop */
.filter-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.filter-sidebar::-webkit-scrollbar {
    width: 4px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.sticky-top.filter-sidebar {
    top: 100px !important;
    /* Offset do Header */
}

.filter-sidebar h5 {
    color: var(--accent-xbox);
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1rem;
}

.form-control {
    border-radius: 8px;
}

/* ===== Dropdown Menu Dark (Bootstrap 4 fallback) ===== */
.dropdown-menu-dark {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-main) !important;
}

.dropdown-menu-dark .dropdown-item {
    color: var(--text-dim) !important;
    padding: 10px 20px !important;
    transition: all 0.2s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--accent-xbox) !important;
}

.dropdown-menu-dark .dropdown-header {
    color: var(--accent-xbox) !important;
    font-weight: 800;
    padding: 15px 20px 5px !important;
}

.dropdown-menu-dark .dropdown-divider {
    border-color: var(--glass-border) !important;
}

/* ===== Calendar Icon Fix ===== */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

input[type="date"] {
    position: relative;
}

/* Scroll Top Button */
.btn-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-xbox);
    color: white;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.btn-top.show {
    opacity: 1;
    visibility: visible;
}


/* Utilities */
.section-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    border-left: 5px solid var(--accent-xbox);
    padding-left: 20px;
}

.badge-xbox {
    background: var(--accent-xbox);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.85rem;
}

.badge-outline {
    border: 1px solid var(--accent-xbox);
    color: var(--accent-xbox);
    padding: 5px 12px;
}

.btn-view {
    font-weight: 700;
    color: var(--accent-xbox);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}


.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75px;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    z-index: 2000;
    padding: 0 10px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
    .mobile-bottom-bar {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-bottom-bar .mobile-filter-btn,
    .mobile-bottom-bar #backToTop,
    .mobile-bottom-bar .btn-top {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
        flex-shrink: 0;
        position: relative !important;
        display: none;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        transform: none !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }

    .mobile-bottom-bar .mobile-filter-btn {
        display: flex !important;
    }

    .mobile-bottom-bar #backToTop.show,
    .mobile-bottom-bar .btn-top.show {
        display: flex !important;
    }


    .mobile-bottom-bar .pagination-container {
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-bottom-bar .modern-pagination .page-link {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }

    /* Padding inferior para acomodar a barra mobile e dar respiro */
    body.has-bottom-bar {
        padding-bottom: 120px !important;
    }

    main {
        padding-bottom: 20px !important;
    }
}


.btn-xbox-green {
    background: var(--accent-xbox) !important;
    color: white !important;
    border: none !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    transition: 0.3s !important;
}

.btn-xbox-green:hover {
    background: #0d630d !important;
    transform: scale(1.02);
}

.btn-outline-xbox-green {
    border: 1px solid var(--accent-xbox) !important;
    color: var(--accent-xbox) !important;
    background: transparent !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

.btn-outline-xbox-green:hover {
    background: var(--accent-xbox) !important;
    color: white !important;
}

.text-dim {
    color: #a0a0a8;
}

.border-dim-thin {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.hover-green:hover {
    color: var(--accent-xbox) !important;
    text-decoration: none;
}

.modern-pagination {
    gap: 5px;
}

.modern-pagination .page-link {
    background: #141417;
    border: 1px solid #2a2a2e;
    color: #fff;
    border-radius: 10px !important;
    padding: 10px 18px;
    margin: 0 3px;
}

.modern-pagination .page-item.active .page-link {
    background: var(--accent-xbox);
    border-color: var(--accent-xbox);
}

/* Subscription Badges */
.subscription-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 5;
}

.sub-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    pointer-events: auto;
}

.gp-ultimate { background: linear-gradient(135deg, #107c10, #22b14c); }
.gp-premium { background: linear-gradient(135deg, #a335ee, #720e9e); }
.gp-console { background: #107c10; }
.gp-core { background: #4a4a4a; }
.gp-pc { background: #0078d4; }
.ea-play { background: #ff3056; }
.ubisoft-plus { background: #0070ff; }

/* Technical Features Icons */
.technical-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 5px;
}

.feature-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #ddd;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2;
}

.feature-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-1px);
}

.xs-small {
    font-size: 0.65rem !important;
}

.password-toggle {
    cursor: pointer;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--accent-xbox) !important;
}

/* Premium Modais */
#premiumModal, #avisosModal {
    z-index: 10500 !important;
}

.premium-modal-backdrop {
    z-index: 10400 !important;
}

.premium-modal-content, .avisos-modal-content {
    background-color: #0d0d0d;
    border: 1px solid #222;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(16, 124, 16, 0.1);
    overflow: hidden;
}

.premium-modal-header, .avisos-modal-header {
    border-bottom: 1px solid #222;
    background: linear-gradient(to bottom, #151515, #0d0d0d);
    padding: 15px 20px;
}

.premium-modal-footer, .avisos-modal-footer {
    border-top: 1px solid #1a1a1a;
    background-color: #0a0a0a;
}

.btn-premium-xbox {
    background: var(--accent-xbox);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    padding: 10px 20px;
}

.btn-premium-xbox:hover {
    background: #149114;
    box-shadow: 0 0 15px rgba(16, 124, 16, 0.4);
    transform: translateY(-1px);
    color: white;
}

.btn-premium-secondary {
    background: #222;
    color: #aaa;
    border: 1px solid #333;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    padding: 10px 20px;
}

.btn-premium-secondary:hover {
    background: #333;
    color: white;
    transform: translateY(-1px);
}

/* Avisos Specific (Estrutura funcional) */
#avisosModal .modal-dialog {
    max-width: 70%;
    width: 850px;
}

@media (max-width: 991px) {
    #avisosModal .modal-dialog {
        max-width: 95%;
        width: auto;
    }
}

#avisoContentWrapper {
    max-height: 50vh;
    height: auto;
    overflow-y: auto;
    padding-right: 15px;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 124, 16, 0.3) transparent;
}

#avisoContentWrapper::-webkit-scrollbar {
    width: 6px;
}

#avisoContentWrapper::-webkit-scrollbar-thumb {
    background: rgba(16, 124, 16, 0.3);
    border-radius: 10px;
}

#avisoContentWrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 124, 16, 0.6);
}

#avisoContent {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-align: left;
    word-break: break-word;
}

#avisoContent p {
    margin-bottom: 1rem;
}

#avisoContent h3 {
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
}

#avisoContent p:last-child {
    margin-bottom: 0;
}

#premiumModal .close:hover, #avisosModal .close:hover {
    color: #ff4444 !important;
}

/* LGPD Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 100%);
    width: calc(100% - 40px);
    max-width: 900px;
    background: #0d0d0d;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(16, 124, 16, 0.2);
    z-index: 2147483647; /* Máximo possível para ficar sempre acima */
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

.cookie-text p {
    line-height: 1.5;
}

@media (max-width: 767px) {
    .cookie-banner {
        width: calc(100% - 20px);
        bottom: 85px; /* Compensa mobile-bottom-bar no mobile */
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-actions button {
        width: 100%;
    }
}

/* Auth Buttons Premium */
.btn-auth-premium {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-entrar-premium {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-entrar-premium:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-cadastrar-premium {
    background: linear-gradient(135deg, #107c10, #1ab01a);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 124, 16, 0.3);
}

.btn-cadastrar-premium:hover {
    background: linear-gradient(135deg, #149114, #22c322);
    box-shadow: 0 6px 20px rgba(16, 124, 16, 0.5);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .mobile-auth-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 15px 10px;
        border-bottom: 1px solid var(--glass-border);
        margin-bottom: 15px;
    }
    
    .mobile-auth-container .btn-auth-premium {
        width: 100%;
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* Neon Premium Mobile Menu */
.mobile-user-profile-premium {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.avatar-circle-neon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-xbox);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 124, 16, 0.1);
    box-shadow: 0 0 15px rgba(16, 124, 16, 0.6), inset 0 0 10px rgba(16, 124, 16, 0.3);
    position: relative;
    overflow: hidden;
}

.avatar-circle-neon i {
    font-size: 1.8rem;
    color: var(--accent-xbox);
    filter: drop-shadow(0 0 5px var(--accent-xbox));
}

.avatar-initial {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(16, 124, 16, 0.8);
}

.nickname-neon {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    letter-spacing: -0.5px;
}

.nav-link-neon {
    display: flex;
    align-items: center;
    padding: 12px 20px !important;
    color: #fff !important;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    gap: 15px;
}

.nav-link-neon:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--accent-xbox) !important;
}

.nav-icon-glow {
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-xbox);
    filter: drop-shadow(0 0 5px rgba(16, 124, 16, 0.8));
    transition: all 0.3s ease;
}

.premium-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0.05), transparent);
    margin: 10px 20px;
    border: none;
}

.mobile-lang-switcher {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
}

.mobile-lang-switcher img {
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.chevron-lang {
    font-size: 0.8rem;
    color: var(--accent-xbox);
    margin-left: auto;
}

/* Desktop Neon Refinements */
.avatar-desktop-neon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-xbox);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 124, 16, 0.1);
    box-shadow: 0 0 10px rgba(16, 124, 16, 0.5);
    margin-right: 8px;
    vertical-align: middle;
}

.avatar-desktop-neon .avatar-initial {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 5px rgba(16, 124, 16, 0.8);
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
    background-color: rgba(16, 124, 16, 0.2) !important;
    color: var(--accent-xbox) !important;
}

.dropdown-menu-dark .dropdown-item.active,
.dropdown-menu-dark .dropdown-item:active {
    background-color: var(--accent-xbox) !important;
    color: #fff !important;
}

/* Fix for language switcher select blue background */
#selectLanguageForm button:hover {
    background-color: rgba(16, 124, 16, 0.15);
    color: #fff;
}
/* ===== Card Action Buttons — Sempre Visíveis, Abaixo do Preço ===== */
.card-actions-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.25);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.card-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s ease;
    position: relative;
    padding: 0;
    flex-shrink: 0;
}

.card-action-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: scale(1.08);
}

.card-action-btn i {
    font-size: 1rem;
    pointer-events: none;
}

/* Estado ativo — Meus Jogos (verde Xbox) */
.card-action-btn.active-xbox.btn-toggle-mygames {
    background: rgba(16, 124, 16, 0.18);
    border-color: #107c10;
    color: #107c10;
    box-shadow: 0 0 12px rgba(16, 124, 16, 0.35), inset 0 0 8px rgba(16, 124, 16, 0.1);
}

.card-action-btn.active-xbox.btn-toggle-mygames:hover {
    background: rgba(16, 124, 16, 0.3);
    box-shadow: 0 0 20px rgba(16, 124, 16, 0.5);
    transform: scale(1.1);
}

/* Estado ativo — Lista de Desejos (vermelho/rosa) */
.card-action-btn.active-xbox.btn-toggle-wishlist {
    background: rgba(255, 48, 86, 0.15);
    border-color: #ff3056;
    color: #ff3056;
    box-shadow: 0 0 12px rgba(255, 48, 86, 0.3), inset 0 0 8px rgba(255, 48, 86, 0.08);
}

.card-action-btn.active-xbox.btn-toggle-wishlist:hover {
    background: rgba(255, 48, 86, 0.25);
    box-shadow: 0 0 20px rgba(255, 48, 86, 0.45);
    transform: scale(1.1);
}

/* Animação pulsante nos botões ativos */
.card-action-btn.active-xbox i {
    animation: btn-pulse 2.5s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== Premium Toast Notification ===== */
.premium-toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.premium-toast {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #107c10;
    border-radius: 12px;
    padding: 12px 18px;
    color: #fff;
    min-width: 320px;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    pointer-events: auto;
    z-index: 10000;
}

.premium-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.premium-toast.toast-success { border-left-color: #107c10; }
.premium-toast.toast-error   { border-left-color: #ff4444; }
.premium-toast.toast-warning { border-left-color: #ffbb33; }
.premium-toast.toast-info    { border-left-color: #33b5e5; }

.premium-toast .toast-icon-wrapper {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.premium-toast .toast-icon-wrapper i { font-size: 1.1rem; }
.premium-toast.toast-success .toast-icon-wrapper i { color: #107c10; }
.premium-toast.toast-error   .toast-icon-wrapper i { color: #ff4444; }
.premium-toast.toast-warning .toast-icon-wrapper i { color: #ffbb33; }
.premium-toast.toast-info    .toast-icon-wrapper i { color: #33b5e5; }

.premium-toast .toast-content { flex-grow: 1; }

.premium-toast .toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
    background: transparent;
    border: none;
    padding: 0;
}

.premium-toast .toast-title {
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    opacity: 0.9;
}

.premium-toast .toast-message {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-weight: 400;
}

.premium-toast .toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    font-size: 0.85rem;
    transition: color 0.2s;
    line-height: 1;
}

.premium-toast .toast-close:hover { color: #fff; }
