/* ===== ESTILOS PRINCIPALES PARA IBRASHOP ===== */

:root {
    /* ===== VARIABLES LIGHT MODE (DEFAULT) ===== */
    --primary-color: #002185;
    --primary-dark: #00134e;
    --secondary-color: #0036da;
    --color-highlight: #ffa300;

    --bg-chat: #00134e;

    --bg-buy-body: #f8f9fa;
    --color-border-buy-body: #00ff0d;

    
    /* Colores de fondo */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-card: #ffffff;
    --bg-header: linear-gradient(135deg, #002185 0%, #00134e 100%);
    --bg-footer: #1a1a2e;
    --bg-sidebar: rgba(255, 255, 255, 0.95);
    --bg-strategy-main: #f1f1f1;
    --bg-hero-msg-bg: #f1f1f1;
    
    /* Colores de texto */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --text-white: #ffffff;
    --text-muted: #6c757d;
    --text-link: #002185;
    --text-link-hover: #00134e;
    
    /* Colores de bordes */
    --border-primary: #e0e0e0;
    --border-secondary: #dee2e6;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(0, 0, 0, 0.1);
    
    /* Colores de botones */
    --btn-primary-bg: var(--primary-color);
    --btn-primary-hover: var(--primary-dark);
    --btn-primary-text: #ffffff;
    --btn-secondary-bg: var(--color-highlight);
    --btn-secondary-hover: #e89200;
    --btn-secondary-text: #ffffff;
    --btn-outline-border: var(--primary-color);
    --btn-outline-text: var(--primary-color);
    --btn-outline-hover-bg: var(--primary-color);
    --btn-outline-hover-text: #ffffff;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Scrollbar */
    --scrollbar-track: rgba(255, 255, 255, 0.1);
    --scrollbar-thumb: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --scrollbar-thumb-hover: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    
    /* Overlay y fondos especiales */
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-light: rgba(255, 255, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Gradients para fades - Light Mode */
    --gradient-fade-start: rgba(255, 255, 255, 0);
    --gradient-fade-mid: rgba(255, 255, 255, 0.8);
    --gradient-fade-end: rgba(255, 255, 255, 0.95);
}

/* ===== VARIABLES DARK MODE ===== */
:root[data-theme="dark"] {
    /* Colores de fondo - Dark Mode */
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-tertiary: #232937;
    --bg-card: #1e2532;
    --bg-header: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
    --bg-footer: #0a0e13;
    --bg-sidebar: rgba(30, 37, 50, 0.95);
    --bg-strategy-main: #080b0e;
    --bg-chat: #080b0e;
    --bg-hero-msg-bg: #4a9eff;
    
    --bg-buy-body: #00ff0d0d;
    --color-border-buy-body: #00ff0d;
    
    /* Colores de texto - Dark Mode */
    --text-primary: #e4e6ea;
    --text-secondary: #b0b3b8;
    --text-tertiary: #8a8d93;
    --text-white: #ffffff;
    --text-muted: #8a8d93;
    --text-link: #4a9eff;
    --text-link-hover: #66b3ff;
    
    /* Colores de bordes - Dark Mode */
    --border-primary: #3a4553;
    --border-secondary: #2d3748;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(0, 0, 0, 0.3);
    
    /* Colores de botones - Dark Mode */
    --btn-primary-bg: #4a9eff;
    --btn-primary-hover: #66b3ff;
    --btn-primary-text: #ffffff;
    --btn-secondary-bg: var(--color-highlight);
    --btn-secondary-hover: #ffb733;
    --btn-secondary-text: #000000;
    --btn-outline-border: #4a9eff;
    --btn-outline-text: #4a9eff;
    --btn-outline-hover-bg: #4a9eff;
    --btn-outline-hover-text: #ffffff;
    
    /* Sombras - Dark Mode */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 5px 20px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Scrollbar - Dark Mode */
    --scrollbar-track: rgba(0, 0, 0, 0.2);
    --scrollbar-thumb: linear-gradient(135deg, #4a9eff 0%, #66b3ff 100%);
    --scrollbar-thumb-hover: linear-gradient(135deg, #66b3ff 0%, #4a9eff 100%);
    
    /* Overlay y fondos especiales - Dark Mode */
    --overlay-dark: rgba(0, 0, 0, 0.7);
    --overlay-light: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(0, 0, 0, 0.2);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Gradients para fades - Dark Mode */
    --gradient-fade-start: rgba(15, 20, 25, 0);
    --gradient-fade-mid: rgba(15, 20, 25, 0.8);
    --gradient-fade-end: rgba(15, 20, 25, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

.message-content{
    margin-right:55px;
}
.hero-slide:not(.active) {
    cursor: default !important;
    pointer-events: none !important;
}

.hero-slide.active {
    cursor: pointer !important;
    pointer-events: auto !important;
}

.bg_main{
    background: var(--bg-header) !important;
}

.bg_main_highlight{
    background: var(--btn-secondary-bg) !important;
    color: var(--btn-secondary-text) !important;
}

.bg_main_gray{
    background: var(--glass-bg) !important;
}

/* ===== SCROLL PERSONALIZADO GLOBAL ===== */

body::-webkit-scrollbar, .user-panel-content {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 10px;
    margin: 5px 0;
}

body::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 10px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

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

body::-webkit-scrollbar-corner {
    background: transparent;
}


.user-panel-content::-webkit-scrollbar {
    width: 3px;
}

.user-panel-content::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 3px;
}

.user-panel-content::-webkit-scrollbar-thumb {
    background: var(--btn-secondary-bg);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}   

.user-panel-content::-webkit-scrollbar-corner {
    background: transparent;
}



/* ===== SCROLL PERSONALIZADO PARA ORDER-CHAT ===== */
/* ===== SCROLL PERSONALIZADO PARA ORDER-CHAT Y NOTIFICACIONES ===== */
.order-chat::-webkit-scrollbar,
.notifications-container::-webkit-scrollbar {
    width: 8px;
}

.order-chat::-webkit-scrollbar-track,
.notifications-container::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 10px;
    margin: 5px 0;
}

.order-chat::-webkit-scrollbar-thumb,
.notifications-container::-webkit-scrollbar-thumb {
    background: var(--btn-secondary-bg);
    border-radius: 10px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.order-chat::-webkit-scrollbar-thumb:hover,
.notifications-container::-webkit-scrollbar-thumb:hover {
    background: var(--btn-secondary-hover);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 163, 0, 0.5);
}

.order-chat::-webkit-scrollbar-corner,
.notifications-container::-webkit-scrollbar-corner {
    background: transparent;
}

/* Para Firefox */
.order-chat,
.notifications-container, #ordersList {
    scrollbar-width: thin;
    scrollbar-color: var(--color-highlight) rgba(255, 255, 255, 0.1);
}

/* Animación suave para el scroll */
.order-chat,
.notifications-container {
    scroll-behavior: smooth;
}

/* Efecto de brillo en hover para el scrollbar */
.order-chat:hover::-webkit-scrollbar-thumb,
.notifications-container:hover::-webkit-scrollbar-thumb {
    box-shadow: 0 0 15px rgba(255, 163, 0, 0.7);
}


/* ===== HEADER STYLES ===== */
.main-header {
    background: var(--bg-header);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.logo-section h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.logo-section span {
    color: var(--text-light);
    font-size: 14px;
    display: block;
    margin-top: -5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--btn-secondary-bg);
}

.nav-links a.active {
    color: var(--btn-secondary-bg);
}

.auth-buttons .btn {
    padding: 8px 20px;
    margin-left: 10px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 2px solid var(--btn-outline-border);
    color: var(--btn-outline-text);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--btn-outline-hover-bg);
    color: var(--btn-outline-hover-text);
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: 2px solid var(--btn-primary-bg);
    transition: all 0.3s ease;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #f0f5ff 0%, #a7caff 100%);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    /* padding: 80px 0; */
    position: relative;
    overflow: hidden;
    height:68vh;
}



.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.download-section {
    /* background: white; */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: white;
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-weight: bold;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* margin-top: 20px; */
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-buy {
    background: linear-gradient(to right, #4CAF50, #45a049);
    color: white;
}

.btn-sell {
    background:  var(--color-highlight);
    color: white;
}

.btn-wechat {
    background: #1AAD19;
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mascot-placeholder {
    width: 300px;
    height: 300px;
    background: white;
    border: 2px dashed var(--secondary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.phone-mockup {
    width: 250px;
    height: 400px;
    background: white;
    border: 2px dashed var(--text-light);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: bold;
    text-align: center;
    position: relative;
}

/* ===== GAMES SECTION ===== */
.games-section {
    padding: 80px 0;
    /* background: white; */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.game-categories {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 12px 30px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary-color);
    color: white;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.game-item {
    text-align: center;
    /* padding: 20px; */
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    /* opacity: 0; */
    animation: none;
}

/* .game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
} */

.game-item.visible {
    animation: none;
}

.game-row, .game-row td{
    background: var(--bg-card) !important;
    background-color: var(--bg-card) !important;
}

.game-row h6, .game-row td{
    color: var(--text-primary) !important;
}

.game-icon {
    width: 120px;
    height: 120px;
    background: var(--bg-card);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .game-icon{
        width: 80px !important;
        height: 80px !important;
    }
    .game-name{
        max-width:80px !important;
        text-align: center !important;

    }
}

.game-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.game-type {
    display: inline-block;
    padding: 4px 12px;
    /* background: var(--background-light); */
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 33, 133, 0.1);
    transition: all 0.3s ease;
}

.game-item:hover .game-type {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    /* box-shadow: 0 3px 10px rgba(0, 33, 133, 0.15); */
}

/* Estilos para los botones de filtro */
.filter-buttons {
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .end-lg-0{
        right:0 !important;
    }
}

.btn-filter {
    padding: 13px 32px;
    margin: 0 15px;
    border: 2px solid var(--btn-primary-bg) !important;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

@media (max-width: 992px) {
    .btn-filter{
        padding: 10px 20px !important;
        margin: 0 5px !important;
        font-size: 0.9rem !important;
    }
}

.btn-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--btn-primary-bg) !important;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-filter:hover::before,
.btn-filter.active::before {
    width: 100%;
}

.btn-filter:hover,
.btn-filter.active {
    color: white !important;
    /* transform: translateY(-2px); */
    box-shadow: 0 5px 15px rgba(0, 33, 133, 0.2);
}

.btn-filter:active {
    transform: translateY(0);
}

/* ===== STRATEGIES SECTION ===== */
.strategies-section {
    padding: 80px 0;
    background: var(--background-light);
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.strategy-item, .related-strategy-item {
    background: white; 
    border-radius: 15px; 
    padding: 25px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.strategy-item:hover, .related-strategy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Estilos para estrategias fijadas */
.strategy-item.pinned {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 33, 133, 0.15);
}

.strategy-item.pinned:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 33, 133, 0.2);
}


.strategy-item.pinned .strategy-content {
    position: relative;
    z-index: 1;
}

.strategy-item.pinned .strategy-image {
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 33, 133, 0.1);
}

.strategy-item.pinned .strategy-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.strategy-item.pinned .strategy-meta {
    background: rgba(0, 33, 133, 0.05);
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 15px;
}

.strategy-item.pinned .read-more {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.strategy-item.pinned .read-more:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 33, 133, 0.2);
    text-decoration: none;
}

.strategy-image {
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    flex-shrink: 0;
}

.strategy-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.strategy-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.strategy-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* ===== STRATEGIES FOR GAME PAGE ===== */
.strategies-grid-game {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

/* Responsive para strategies-grid-game */
@media (max-width: 768px) {
    .strategies-grid-game {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: 60px 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.partner-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-2px);
}

.partner-logo {
    width: 100px;
    height: 60px;
    background: white;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--text-light);
    font-weight: bold;
    font-size: 11px;
    text-align: center;
}

.partner-name {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.partner-description {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

/* ===== FOOTER ===== */
.main-footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
    font-size: 14px;
}

.footer-certifications {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.cert-badge {
    width: 80px;
    height: 50px;
    background: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 10px;
    text-align: center;
    font-weight: bold;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .strategies-grid {
        grid-template-columns: 1fr;
    }
    
    .strategy-item {
        flex-direction: column;
        text-align: center;
    }
    
    .strategy-item.pinned {
        transform: scale(1.01);
    }
    
    .strategy-item.pinned:hover {
        transform: scale(1.02) translateY(-3px);
    }
    
    .game-categories {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .download-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 320px;
    }
    
    .mascot-placeholder {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .games-section,
    .strategies-section {
        padding: 50px 0;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* ===== COMPONENTES ADICIONALES ===== */
.btn-loading {
    pointer-events: none;
    opacity: 0.6;
}

.btn-loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: btn-loading-spin 1s ease-in-out infinite;
}

@keyframes btn-loading-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sticky-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    max-width: 300px;
    z-index: 1050;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-skeleton 1.5s infinite;
}

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

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.scroll-to-top.show {
    display: flex;
}

/* ===== ANIMATIONS ===== */
.game-item {
    animation: none;
}

.game-item.visible {
    animation: none;
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

.agrandar{
    transition: transform 0.3s ease;
}


@media(min-width: 976px){

    .agrandar{
        transition: transform 0.3s ease;
    }
    .agrandar:hover{
        transform: scale(1.05);
    }
}

.tiktoks-section {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.tiktoks-grid {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 20px 5px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.tiktoks-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tiktok-card {
    min-width: 300px;
    max-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    background: #181818;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    position: relative;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    cursor: pointer;
}

.tiktok-card:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.tiktok-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.tiktok-card:hover .tiktok-img {
    transform: scale(1.05);
}

.tiktok-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 25px 15px 15px 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.tiktok-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tiktok-card:hover .tiktok-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.tiktok-play-icon i {
    color: var(--primary-color);
    font-size: 30px;
    margin-left: 5px;
}

.tiktok-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tiktok-card:hover .tiktok-overlay {
    opacity: 1;
}

/* Botones de navegación para el scroll */
.tiktok-nav {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
    transition: all 0.3s ease;
}

.tiktok-nav:hover {
    background: var(--primary-color);
    color: white;
}

.tiktok-nav.prev {
    left: 20px;
}

.tiktok-nav.next {
    right: 20px;
}

@media (max-width: 768px) {
    .tiktok-nav {
        display: none;
    }
    
    .tiktok-card {
        min-width: 260px;
        max-width: 260px;
    }
    
    .tiktok-img {
        height: 350px;
    }
}

@media (min-width: 992px) {
    .fs-lg-5{
        font-size: 1.25rem !important;
    }
}



.fs-7{
    font-size: 0.8rem;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color:#000b4e !important;
}

.nav-link{
    color:var(--bs-heading-color);
}

.main-footer h4{
    color:white !important;
}

/* ===== ESTILOS PARA LOS CUADROS DE MONTOS DE LA CALCULADORA ===== */
.montos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.monto-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.monto-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #00ff22;
}

.monto-card.selected {
    border-color: #0aff8d;
    background: linear-gradient(135deg, #e8ffe6 0%, #d1ffcd 100%);
    box-shadow: 0 8px 25px rgba(21, 255, 0, 0.3);
    transform: translateY(-3px);
}
/* 
.monto-card.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-highlight), #ff8c00);
} */

.monto-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #198754;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.monto-cantidad {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.monto-card.selected .monto-cantidad {
    color: #198754;
}

.monto-texto {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 8px;
    /* text-transform: lowercase; */
}

.monto-card.selected .monto-texto {
    color: #198754;
    font-weight: 500;
}

.monto-precio {
    font-size: 1.1rem;
    font-weight: 600;
    color: #28a745;
}

.monto-card.selected .monto-precio {
    color: #198754;
    font-size: 1.2rem;
}

/* Efecto de ondas al hacer clic */
.monto-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 255, 55, 0.3);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: 0;
}

.monto-card.clicked::before {
    width: 200%;
    height: 200%;
}

.monto-card > * {
    position: relative;
    z-index: 1;
}

/* Responsive para montos */
@media (max-width: 768px) {
    .montos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .monto-card {
        padding: 15px;
        min-height: 100px;
    }
    
    .monto-cantidad {
        font-size: 1.5rem;
    }
    
    .monto-precio {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .montos-grid {
        grid-template-columns: 1fr;
    }
}



    .hero-slider {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
        display: flex;
        align-items: center;
        z-index: 1;
    }

    .hero-slide.active {
        opacity: 1;
        z-index: 2;
    }

    .hero-content {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 1s ease-out 0.3s forwards;
    }

    .hero-slide.active .hero-content {
        opacity: 1;
        transform: translateY(0);
    }

    /* Animaciones para los elementos del hero */
    .animate-slide-in {
        opacity: 0;
        transform: translateX(-50px);
        animation: slideInLeft 1s ease-out 0.8s forwards;
    }

    .animate-slide-in-delay {
        opacity: 0;
        transform: translateX(-50px);
        animation: slideInLeft 1s ease-out 1.1s forwards;
    }

    .animate-slide-in-delay-2 {
        opacity: 0;
        transform: translateX(-50px);
        animation: slideInLeft 1s ease-out 0.5s forwards;
    }

    .animate-slide-in-delay-3 {
        opacity: 0;
        /* transform: translateX(-50px); */
        animation: slideInLeft_noTransform 1s ease-out 0.5s forwards;
    }

    /* Controles del slider */
    .hero-slider-controls {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        z-index: 5;
        pointer-events: none;
    }

    .slider-control {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        font-size: 2rem;
        padding: 1rem 0.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        pointer-events: all;
        /* backdrop-filter: blur(10px); */
        border-radius: 5px;
    }

    .slider-control:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-50%) scale(1.1);
    }

    .slider-control.prev {
        left: 20px;
    }

    .slider-control.next {
        right: 20px;
    }

    /* Indicadores del slider */
    .hero-slider-indicators {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 5;
    }

    .slider-indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .slider-indicator.active {
        background: white;
        transform: scale(1.2);
    }

    .slider-indicator:hover {
        background: rgba(255, 255, 255, 0.8);
        transform: scale(1.1);
    }

    /* Keyframes para animaciones */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slideInLeft_noTransform {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes slideInRight {

        to {
            opacity: 1;
            transform: translateX(50px);
        }
        from {
            opacity: 0;
            transform: translateX(0px);
        }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .hero-section {
            height: 70vh;
            min-height: 500px;
        }

        .slider-control {
            font-size: 1.5rem;
            padding: 0.8rem 0.4rem;
        }

        .slider-control.prev {
            left: 10px;
        }

        .slider-control.next {
            right: 10px;
        }

        .hero-slider-indicators {
            bottom: 20px;
        }
    }

/* ===== DARK MODE TOGGLE BUTTON ===== */
#darkModeToggle {
    background: var(--btn-primary-bg) !important;
    color: var(--btn-primary-text) !important;
    border: 2px solid var(--btn-primary-bg) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 33, 133, 0.3);
    position: relative;
    overflow: hidden;
}

#darkModeToggle:hover {
    background: var(--btn-primary-hover) !important;
    border-color: var(--btn-primary-hover) !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 33, 133, 0.4);
}

#darkModeToggle:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

#darkModeToggle i {
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

/* Animación de rotación para el icono */
#darkModeToggle.rotating i {
    transform: rotate(360deg);
}

/* Efecto de onda al hacer click */
#darkModeToggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 1;
}

#darkModeToggle.clicked::before {
    width: 60px;
    height: 60px;
}

/* Estilos específicos para dark mode */
:root[data-theme="dark"] #darkModeToggle {
    background: var(--btn-primary-bg) !important;
    border-color: var(--btn-primary-bg) !important;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

:root[data-theme="dark"] #darkModeToggle:hover {
    background: var(--btn-primary-hover) !important;
    border-color: var(--btn-primary-hover) !important;
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

/* Clases para transiciones opcionales */
.smooth-transition {
    transition: background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
}

/* Prevenir transiciones en elementos específicos */
.no-transition {
    transition: none !important;
}

/* Indicador visual de que el dark mode está activo */
:root[data-theme="dark"] #darkModeToggle::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--btn-secondary-bg);
    border-radius: 50%;
    border: 2px solid var(--bg-header);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Responsive design para el botón */
@media (max-width: 768px) {
    #darkModeToggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    #darkModeToggle i {
        font-size: 1rem;
    }
}

/* ===== CLASE RESPLANDOR PARA BOTÓN DE VENTA ===== */
.resplandor {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Efecto de resplandor base */
.resplandor::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: resplandor-movimiento 3s ease-in-out infinite;
    z-index: 1;
}

/* Efecto de resplandor secundario */
.resplandor::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 163, 0, 0.3),
        rgba(255, 163, 0, 0.6),
        rgba(255, 163, 0, 0.3),
        transparent
    );
    animation: resplandor-movimiento 3s ease-in-out infinite 1.5s;
    z-index: 1;
}

/* Animación del resplandor en movimiento */
@keyframes resplandor-movimiento {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Efecto de pulso adicional */
.resplandor {
    animation: resplandor-pulso 2s ease-in-out infinite;
}

@keyframes resplandor-pulso {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 163, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 163, 0, 0.6), 0 0 40px rgba(255, 163, 0, 0.4);
    }
}

/* Efecto hover mejorado */
.resplandor:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 163, 0, 0.4), 0 0 40px rgba(255, 163, 0, 0.3);
}

.resplandor:hover::before {
    animation-duration: 1.5s;
}

.resplandor:hover::after {
    animation-duration: 1.5s;
    animation-delay: 0.75s;
}

/* Asegurar que el contenido del botón esté por encima del resplandor */
.resplandor > * {
    position: relative;
    z-index: 2;
}

/* Variante para dark mode */
:root[data-theme="dark"] .resplandor::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.2),
        transparent
    );
}

:root[data-theme="dark"] .resplandor::after {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 163, 0, 0.4),
        rgba(255, 163, 0, 0.7),
        rgba(255, 163, 0, 0.4),
        transparent
    );
}

/* Responsive para el efecto de resplandor */
@media (max-width: 768px) {
    .resplandor::before,
    .resplandor::after {
        animation-duration: 2.5s;
    }
    
    .resplandor:hover::before,
    .resplandor:hover::after {
        animation-duration: 1.2s;
    }
}

/* Efecto de ondas al hacer clic */
.resplandor:active::before {
    animation: resplandor-onda 0.6s ease-out;
}

@keyframes resplandor-onda {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ===== CLASES ADICIONALES PARA DARK MODE ===== */

/* Cards y contenedores */
.card {
    background-color: var(--bg-card) !important;
    border-color: var(--border-primary) !important;
    color: var(--text-primary) !important;
}

.card-header {
    background-color: var(--bg-secondary) !important;
    border-bottom-color: var(--border-primary) !important;
}

.card-footer {
    background-color: var(--bg-secondary) !important;
    border-top-color: var(--border-primary) !important;
}

/* Modals */
.modal-content {
    background-color: var(--bg-card) !important;
    border-color: var(--border-primary) !important;
    color: var(--text-primary) !important;
}

.modal-header {
    border-bottom-color: var(--border-primary) !important;
}

.modal-footer {
    border-top-color: var(--border-primary) !important;
}

/* Formularios */
.form-control {
    background-color: var(--bg-card) !important;
    border-color: var(--border-primary) !important;
    color: var(--text-primary) !important;
}

.form-control:focus {
    background-color: var(--bg-card) !important;
    border-color: var(--btn-primary-bg) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(var(--btn-primary-bg), 0.25) !important;
}

.form-select {
    background-color: var(--bg-card) !important;
    border-color: var(--border-primary) !important;
    color: var(--text-primary);
}

.form-label {
    color: var(--text-secondary) !important;
}

/* Tablas */
.table {
    color: var(--text-primary) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) > th {
    background-color: var(--bg-secondary) !important;
}

.table thead th {
    background-color: var(--bg-tertiary) !important;
    border-color: var(--border-primary) !important;
    color: var(--text-primary) !important;
}

.table td, .table th {
    border-color: var(--border-primary) !important;
}

/* Alertas */
.alert {
    border-color: var(--border-primary) !important;
}

.alert-primary {
    background-color: rgba(var(--btn-primary-bg), 0.1) !important;
    border-color: var(--btn-primary-bg) !important;
    color: var(--btn-primary-bg) !important;
}

.alert-secondary {
    background-color: var(--bg-secondary) !important;
    border-color: var(--border-primary) !important;
    color: var(--text-secondary) !important;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: var(--bg-secondary) !important;
}

.breadcrumb-item a {
    color: var(--text-link) !important;
}

.breadcrumb-item.active {
    color: var(--text-primary) !important;
}

/* Badges */
.badge {
    color: var(--text-white) !important;
}

/* Dropdowns */
.dropdown-menu {
    background-color: var(--bg-card) !important;
    border-color: var(--border-primary) !important;
}

.dropdown-item {
    color: var(--text-primary) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

.dropdown-divider {
    border-top-color: var(--border-primary) !important;
}

/* Navbar específicos */
.navbar-toggler {
    border-color: var(--border-light) !important;
}

.navbar-toggler-icon {
    filter: var(--navbar-toggler-filter, none);
}

:root[data-theme="dark"] .navbar-toggler-icon {
    filter: invert(1) brightness(100%);
}

/* Botones específicos */
.btn-close {
    filter: var(--btn-close-filter, none);
}

:root[data-theme="dark"] .btn-close {
    filter: invert(1) brightness(100%);
}

/* Footer específico */
.main-footer {
    background-color: var(--bg-footer) !important;
    color: var(--text-white) !important;
}

.footer-section h4 {
    color: var(--text-white) !important;
}

.footer-section ul li a {
    color: var(--text-secondary) !important;
}

.footer-section ul li a:hover {
    color: var(--text-white) !important;
}

/* Hero section específico */
.hero-section {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

.hero-title {
    color: var(--text-primary) !important;
}

.hero-subtitle {
    color: var(--text-secondary) !important;
}

/* Game items específicos */
.game-item .game-type {
    background-color: var(--bg-card) !important;
    border-color: var(--border-primary) !important;
    box-shadow: var(--shadow-card) !important;
}

.game-item{
    transition:0.3s;
}

.game-item:hover .game-type {
    background-color: #4a9eff !important;
    color: white !important;
}

.game-name {
    color: var(--text-primary) !important;
}

.game-type {
    color: var(--text-secondary) !important;
}

/* Strategy items específicos */
.strategy-item, .related-strategy-item {
    background-color: var(--bg-card) !important;
    box-shadow: var(--shadow-card) !important;
    color: var(--text-primary) !important;
}

.strategy-item:hover, .related-strategy-item:hover {
    box-shadow: var(--shadow-card-hover) !important;
}

.strategy-content h3 {
    color: var(--text-primary) !important;
}

.strategy-excerpt {
    color: var(--text-secondary) !important;
}

.strategy-meta {
    color: var(--text-tertiary) !important;
}

/* Partner items */
.partner-item {
    background-color: var(--bg-card) !important;
    border-color: var(--border-primary) !important;
    color: var(--text-primary) !important;
}

.partner-name {
    color: var(--text-primary) !important;
}

.partner-description {
    color: var(--text-secondary) !important;
}

/* Scroll to top button */
.scroll-to-top {
    background-color: var(--btn-primary-bg) !important;
    color: var(--btn-primary-text) !important;
    border-color: var(--btn-primary-bg) !important;
}

.scroll-to-top:hover {
    background-color: var(--btn-primary-hover) !important;
    border-color: var(--btn-primary-hover) !important;
}

/* TikTok cards */
.tiktok-card {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

.tiktok-title {
    color: var(--text-primary) !important;
}

/* Monto cards */
.monto-card {
    background-color: var(--bg-card) !important;
    border-color: var(--border-primary) !important;
    color: var(--text-primary) !important;
}

.monto-card:hover {
    border-color: var(--btn-primary-bg) !important;
}

.monto-card.selected {
    background-color: var(--btn-primary-bg) !important;
    color: var(--btn-primary-text) !important;
    border-color: var(--btn-primary-bg) !important;
}

/* Utilidades de texto */
.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--btn-primary-bg) !important;
}

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

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

/* Bordes */
.border {
    border-color: var(--border-primary) !important;
}

.border-primary {
    border-color: var(--btn-primary-bg) !important;
}

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

/* Fondos */
.bg-light {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

.bg-white {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

.bg-secondary {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* Sombras específicas para dark mode */
:root[data-theme="dark"] .shadow,
:root[data-theme="dark"] .shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

:root[data-theme="dark"] .shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}


    








.servidores-section .nav-link:focus, .servidores-section .nav-link:hover{
    /* color: var(--text-primary) !important; */
    /* Borde interno blanco usando box-shadow para simular el borde interno */
    box-shadow: 0 0 0 2px white inset !important;
}






















/* Estilos para el panel lateral del usuario */

    /* Header Navigation - Fixed con efecto flotante */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        transition: all 0.3s ease-in-out;
        box-shadow: none;
    }

    .main-header.scrolled {
        /* background: rgba(15, 23, 42, 0.95); */
        /* backdrop-filter: blur(10px); */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    /* Ajustar el contenido principal para el header fijo */
    main {
        padding-top: 105px; /* Ajustar según la altura del header */
    }

    /* Panel lateral del usuario */
    .user-panel {
        position: fixed;
        top: 0;
        right: -400px;
        width: 100%;
        height: 100vh;
        z-index: 1050;
        transition: all 0.3s ease-in-out;
        pointer-events: none;
    }

    .user-panel.active {
        right: 0;
        pointer-events: auto;
    }

    .user-panel-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* background-color: rgba(0, 0, 0, 0.5); */
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        pointer-events: none;
    }

    .user-panel.active .user-panel-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .user-panel-content {
        position: absolute;
        top: 0;
        right: -400px;
        width: 400px;
        height: 100%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease-in-out;
        overflow-y: auto;
        pointer-events: auto;
    }

    @media(min-width: 1200px){
        .user-panel-content {
            width: 600px;
        }
    }

    .user-panel.active .user-panel-content {
        right: 0;
    }

    .user-panel-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.1);
    }

    .user-panel-header h3 {
        color: white;
        font-weight: 600;
        margin: 0;
    }

    .user-panel-close {
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .user-panel-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    .user-panel-body {
        padding: 1.5rem;
        color: white;
    }

    /* Foto de perfil mejorada */
    .profile-photo-container {
        position: relative;
        display: inline-block;
        margin-bottom: 1rem;
        cursor: pointer;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid rgba(255, 255, 255, 0.4);
        transition: all 0.4s ease;
    }

    .profile-photo:hover {
        border-color: var(--color-highlight);
        transform: scale(1.05);
    }

    .profile-photo-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
        border-radius: 50%;
        opacity: 0;
        transition: all 0.4s ease;
        cursor: pointer;
        z-index: 10;
    }

    .profile-photo-container:hover .profile-photo-overlay {
        opacity: 1;
        transform: scale(1.05);
    }

    .upload-icon-container {
        text-align: center;
    }

    /* Indicadores de estado para la foto */
    .photo-loading,
    .photo-success {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 20;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .photo-loading.active,
    .photo-success.active {
        opacity: 1;
        visibility: visible;
    }

    /* Estadísticas de usuario */
    .user-stats-container {
        padding: 0.5rem;
    }

    .stat-card {
        transition: all 0.3s ease;
        cursor: pointer;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-card:hover {
        transform: translateY(-2px);
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .stat-number {
        font-size: 1.25rem;
        line-height: 1;
    }

    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .total-transactions {
        opacity: 0.9;
    }

    .total-transactions:hover {
        opacity: 1;
    }

    /* Animaciones mejoradas */
    @keyframes pulse-success {
        0% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.1); opacity: 0.8; }
        100% { transform: scale(1); opacity: 1; }
    }

    .photo-success.active {
        animation: pulse-success 0.6s ease-in-out;
    }

    /* Menú de usuario */
    .user-menu-items {
        margin-bottom: 1rem;
    }

    .user-menu-item {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
    }

    .user-menu-item:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        transform: translateX(5px);
    }

    .user-menu-item i {
        font-size: 1.2rem;
        width: 20px;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .user-panel-content {
            width: 100%;
            right: -100%;
        }
        
        .user-panel.active .user-panel-content {
            right: 0;
        }
    }

    /* Animaciones */
    @keyframes slideIn {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }

    @keyframes slideOut {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(100%);
        }
    }

    /* Estilos específicos para el botón del panel de usuario */
    #userPanelBtn {
        position: relative;
        z-index: 1040;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    #userPanelBtn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Asegurar que el navbar esté por encima */
    .navbar {
        position: relative;
        z-index: 1041;
    }

    /* Asegurar que los botones de auth estén por encima */
    .auth-buttons {
        position: relative;
        z-index: 1042;
    }

    /* Banner de Cookies */
    .cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        color: white;
        padding: 1.5rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        transform: translateY(100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .cookie-banner.show {
        transform: translateY(0);
    }

    .cookie-banner-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .cookie-text {
        flex: 1;
    }

    .cookie-text h5 {
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .cookie-text p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;
        opacity: 0.9;
    }

    .cookie-accept-btn {
        background: var(--color-highlight);
        color: white;
        border: none;
        padding: 0.75rem 2rem;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

    .cookie-accept-btn:active {
        transform: translateY(0);
    }

    /* Responsive para el banner de cookies */
    @media (max-width: 768px) {
        .cookie-banner {
            padding: 1rem;
        }

        .cookie-banner-content {
            flex-direction: column;
            text-align: center;
            gap: 1rem;
        }

        .cookie-text h5 {
            font-size: 1rem;
        }

        .cookie-text p {
            font-size: 0.9rem;
        }

        .cookie-accept-btn {
            padding: 0.75rem 1.5rem;
            font-size: 0.9rem;
            width: 100%;
            max-width: 200px;
        }
    }

    /* Animación de entrada */
    @keyframes slideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .cookie-banner.show {
        animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Estilos para notificaciones */
    .notification-dropdown-menu {
        animation: fadeInDown 0.3s ease-out;
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .notification-item {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .notification-item:hover {
        background-color: #f8f9fa;
    }

    .notification-item.unread {
        background-color: #e3f2fd;
        border-left: 4px solid #2196f3;
    }

    .notification-item.unread:hover {
        background-color: #bbdefb;
    }

    .notification-title {
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        color: #333;
    }

    .notification-message {
        font-size: 0.85rem;
        color: #666;
        margin-bottom: 0.25rem;
        line-height: 1.4;
    }

    .notification-time {
        font-size: 0.75rem;
        color: #999;
    }

    .notification-badge {
        animation: pulse 2s infinite;
    }

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

    /* Estilos para notificaciones especiales */
    .advertisement-notification {
        background: linear-gradient(135deg, #fff3cd, #ffeaa7) !important;
        border-left: 4px solid #ffc107 !important;
        position: relative;
        overflow: hidden;
    }

    .advertisement-notification::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,193,7,0.2), transparent);
        animation: shimmer 2s infinite;
    }

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

    .advertisement-banner {
        background: #ffc107;
        color: #000;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        border-radius: 0.25rem;
        margin-bottom: 0.5rem;
        display: inline-block;
        animation: pulse 2s infinite;
    }

    .url-admin-notification {
        border-left: 4px solid #0d6efd !important;
        background: linear-gradient(135deg, #e3f2fd, #f8f9ff) !important;
    }

    .notification-game-image {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        object-fit: cover;
        border: 2px solid rgba(255,255,255,0.8);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .notification-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
    }

    .visit-btn {
        transition: all 0.3s ease;
        font-weight: 600;
        border-radius: 6px;
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }

    .visit-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    }

    .notification-actions {
        display: flex;
        align-items: center;
    }

    /* Estilos para paginación de notificaciones */
    .notification-pagination {
        background: rgba(248, 249, 250, 0.05);
    }

    .notification-pagination .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        transition: all 0.3s ease;
    }

    .notification-pagination .btn:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    /* Ajustar ancho del dropdown para paginación */
    .notification-dropdown-menu {
        min-width: 380px;
        max-width: 420px;
    }

    /* Indicador de notificación no leída */
    .unread-indicator {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        background: var(--primary-color);
        border-radius: 50%;
        border: 2px solid white;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        animation: float 2s ease-in-out infinite;
        z-index: 10;
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(-50%) scale(1);
        }
        50% {
            transform: translateY(-50%) scale(1.1);
        }
    }

    /* Estilos para el panel de usuario con tabs */
    .user-panel-tabs {
        display: flex;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 1.5rem;
    }

    .user-panel-tab {
        flex: 1;
        padding: 0.75rem 1rem;
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        border-bottom: 2px solid transparent;
    }

    .user-panel-tab.active {
        color: white;
        border-bottom-color: var(--color-highlight);
        background: rgba(255, 255, 255, 0.1);
    }

    .user-panel-tab:hover {
        color: white;
        background: rgba(255, 255, 255, 0.05);
    }

    /* Estilos para los contenidos de los tabs (no el contenedor principal) */
    .tab-content {
        display: none;
    }

    .tab-content.active {
        display: block;
    }

    /* Estilos para la lista de órdenes */
    .order-item {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .order-item:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
    }

    .order-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    .order-id {
        font-weight: 600;
        color: white;
    }

    .order-status {
        padding: 0.25rem 0.5rem;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .order-status.pending { background: #ffc107; color: #000; }
    .order-status.in_process { background: #17a2b8; color: white; }
    .order-status.completed { background: #28a745; color: white; }
    .order-status.cancelled { background: #dc3545; color: white; }

    .order-game {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.25rem;
    }

    .order-date {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.6);
    }

    .order-user {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.25rem;
    }

    /* Estilos para el chat de órdenes */
    .order-chat {
        height: 300px;
        overflow-y: auto;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 1rem;
        background: var(--bg-chat);
    }

    .chat-message {
        margin-bottom: 1rem;
        padding: 0.75rem;
        border-radius: 8px;
        max-width: 80%;
    }

    .chat-message.user-message {
        background: rgba(255, 255, 255, 0.1);
        margin-left: auto;
        color: white;
    }

    .chat-message.system-message {
        background: rgba(255, 193, 7, 0.2);
        color: #ffc107;
        text-align: center;
        max-width: 100%;
        font-style: italic;
    }

    .chat-message.admin-message {
        background: rgb(220, 53, 70);
        color: #ffffff;
    }

    .message-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
        font-size: 0.8rem;
    }

    .message-sender {
        font-weight: 600;
    }

    .message-time {
        opacity: 0.7;
    }

    .message-content {
        line-height: 1.4;
        overflow-wrap: break-word;
    }

    .chat-input-container {
        display: flex;
        gap: 0.5rem;
    }

    .chat-input {
        flex: 1;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        padding: 0.75rem;
        color: white;
    }

    .chat-input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .chat-send-btn {
        background: var(--color-highlight);
        border: none;
        border-radius: 8px;
        padding: 0.75rem 1rem;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .chat-send-btn:hover {
        background: #e0a800;
    }

    .chat-send-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .chat-send-btn:disabled:hover {
        background: var(--color-highlight);
    }

    .chat-image-btn {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        padding: 0.75rem;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .chat-image-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .image-preview {
        position: relative;
        margin-top: 0.5rem;
        display: inline-block;
    }

    .image-preview img {
        /* max-width: 150px; */
        max-height: 70px;
        border-radius: 8px;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .remove-image-btn {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #dc3545;
        color: white;
        border: none;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 0.8rem;
    }

    .chat-message img {
        max-width: 200px;
        max-height: 200px;
        border-radius: 8px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .chat-message img:hover {
        transform: scale(1.05);
    }

    /* Modal para imagen grande */
    .image-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 10000;
    }

    .image-modal img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 8px;
    }

    .image-modal-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
    }

    /* Estilos para acciones de admin */
    .admin-actions {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .admin-action-btn {
        flex: 1;
        padding: 0.5rem;
        border: none;
        border-radius: 6px;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .admin-action-btn.status-btn {
        background: #17a2b8;
        color: white;
    }


    .admin-action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Estilos para paginación */
    .pagination-container {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
    }

    .pagination-buttons .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .pagination-buttons .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .pagination-buttons .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
    }

    /* Estilos para filtros */
    #adminFilters .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    #adminFilters .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    #activeFiltersIndicator {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        padding: 0.5rem;
        border-left: 3px solid var(--color-highlight);
    }








/* ===== TIRA DE MÉTODOS DE PAGO ===== */
.payment-methods-strip {
    width: 100%;
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%); */
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
    margin: 20px 0;
}

.payment-methods-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
    overflow-x: auto;
    padding: 0 15px;
}

.payment-method-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 80px;
    height: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.payment-method-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-highlight);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 163, 0, 0.3);
}

.payment-method-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.payment-method-item:hover::before {
    left: 100%;
}

.payment-method-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.payment-method-item:hover .payment-method-image {
    transform: scale(1.1);
}

.payment-method-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-align: center;
    gap: 4px;
}

.payment-method-placeholder i {
    font-size: 1.2rem;
    color: var(--text-tertiary);
}

.payment-method-placeholder span {
    font-weight: 500;
    line-height: 1.2;
}

/* Responsive para la tira de métodos de pago */
@media (max-width: 768px) {
    .payment-methods-strip {
        padding: 15px 0;
        margin: 15px 0;
    }
    
    .payment-methods-container {
        gap: 10px;
        padding: 0 10px;
    }
    
    .payment-method-item {
        min-width: 70px;
        height: 45px;
        padding: 6px 10px;
    }
    
    .payment-method-placeholder {
        font-size: 0.7rem;
    }
    
    .payment-method-placeholder i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .payment-methods-container {
        gap: 8px;
        padding: 0 8px;
    }
    
    .payment-method-item {
        min-width: 60px;
        height: 40px;
        padding: 5px 8px;
    }
    
    .payment-method-placeholder {
        font-size: 0.65rem;
    }
    
    .payment-method-placeholder i {
        font-size: 0.9rem;
    }
}

/* ===== ESTILOS PARA EL SLIDER LIVE MARKET CON SWIPER.JS ===== */
.slider_home_live_market_section {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(255, 163, 0, 0.05) 100%);
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    border-bottom: 1px solid rgba(255, 163, 0, 0.1);
}

.slider_home_live_market_container {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

/* Título fijo "Live Market" */
.slider_home_live_market_title {
    flex-shrink: 0;
    width: 300px;
    background: var(--color-highlight);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.slider_home_live_market_title:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.slider_home_live_market_title::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid var(--color-highlight);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.slider_home_live_market_title_content {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Indicador EN VIVO */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.6);
}

.live-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: #ff4444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: liveGlow 2s ease-in-out infinite;
}

/* Animación del punto rojo */
@keyframes livePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 68, 68, 0.6);
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(255, 68, 68, 0.8);
    }
}

/* Animación del texto EN VIVO */
@keyframes liveGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 68, 68, 0.5);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 68, 68, 0.8);
    }
}

/* Título del mercado */
.market-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Contenedor de scroll con Swiper */
.slider_home_live_market_scroll_container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Estilos específicos para Swiper */
.live-market-swiper {
    padding: 15px 20px;
}

.live-market-swiper .swiper-wrapper {
    align-items: center;
}

.live-market-swiper .swiper-slide {
    width: auto !important;
    height: auto;
}


/* Elementos individuales del mercado */
.slider_home_market_item {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.slider_home_market_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-highlight);
}

.slider_home_market_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.slider_home_market_item_content {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo del juego */
.slider_home_game_logo {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.slider_home_game_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider_home_game_placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Información del juego */
.slider_home_game_info {
    flex: 1;
    min-width: 0;
}

.slider_home_game_name {
    font-weight: 600;
    font-size: 0.9rem;
    /* color: var(--bs-body-color); */
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider_home_game_type {
    font-size: 0.75rem;
    color: var(--bs-secondary);
    font-weight: 500;
}

.slider_home_server_name {
    font-size: 0.75rem;
    color: var(--color-highlight);
    font-weight: 500;
    font-style: italic;
}

/* Información de precios */
.slider_home_price_info {
    flex-shrink: 0;
    text-align: right;
}

.slider_home_price_row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}

.slider_home_price_label {
    font-size: 0.7rem;
    color: var(--bs-secondary);
    font-weight: 500;
}

.slider_home_price_value {
    font-size: 0.8rem;
    font-weight: 600;
}

.slider_home_buy_price {
    color: var(--primary-color);
}

.slider_home_sell_price {
    color: var(--color-highlight);
}

/* Indicador de tendencia */
.slider_home_trend_indicator {
    flex-shrink: 0;
    margin-left: 8px;
}

.slider_home_trend_indicator i {
    font-size: 1.2rem;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .slider_home_live_market_container {
        flex-direction: column;
        border-radius: 10px;
    }

    .slider_home_live_market_title {
        width: 100%;
        padding: 15px;
        border-radius: 10px 10px 0 0;
    }

    .slider_home_live_market_title::after {
        display: none;
    }

    .slider_home_live_market_title_content {
        font-size: 1rem;
        gap: 6px;
    }
    
    .live-indicator {
        padding: 3px 6px;
        gap: 4px;
    }
    
    .live-dot {
        width: 6px;
        height: 6px;
    }
    
    .live-text {
        font-size: 0.6rem;
    }
    
    .market-title {
        font-size: 1rem;
    }

    .slider_home_live_market_scroll_container {
        height: 120px;
    }

                .slider_home_live_market_scroll_content {
                padding: 10px 15px;
                gap: 15px;
                animation-duration: 20s !important; /* Más rápido en móviles */
            }

    .slider_home_market_item {
        min-width: 250px;
        padding: 12px;
    }

    .slider_home_market_item_content {
        gap: 10px;
    }

    .slider_home_game_logo {
        width: 40px;
        height: 40px;
    }

    .slider_home_game_name {
        font-size: 0.85rem;
    }

    .slider_home_game_type, .slider_home_server_name {
        font-size: 0.7rem;
    }

    .slider_home_price_label {
        font-size: 0.65rem;
    }

    .slider_home_price_value {
        font-size: 0.75rem;
    }

    .slider_home_trend_indicator i {
        font-size: 1rem;
    }
}

/* Responsive para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .slider_home_live_market_title {
        width: 250px;
        padding: 18px;
    }

    .slider_home_live_market_title_content {
        font-size: 1.1rem;
    }

    .slider_home_market_item {
        min-width: 260px;
    }
}

/* Pausar animación al hacer hover */
.slider_home_live_market_scroll_container:hover .slider_home_live_market_scroll_content {
    animation-play-state: paused;
}

/* Efecto de brillo en hover */
.slider_home_market_item:hover::before {
    background: linear-gradient(90deg, var(--color-highlight) 0%, var(--primary-color) 100%);
}

/* ===== ESTILOS PARA EL CARRUSEL DE REVIEWS ===== */
.reviews-section {
    /* background: linear-gradient(135deg, #00228a 0%, #003bec 100%); */
    background: var(--bg-header);
    color: white;
    position: relative;
    overflow: hidden;
}



.reviews-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.reviews-carousel {
    display: flex;
    gap: 20px;
    animation: scrollReviews 60s linear infinite;
    width: max-content;
}

/* Clase para velocidad personalizable */
.reviews-carousel.custom-speed {
    animation-duration: var(--carousel-speed, 60s);
}

.reviews-carousel:hover {
    animation-play-state: paused;
}

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

.review-card {
    background: var(--bg-secondary) !important;
    border-radius: 20px;
    padding: 25px;
    min-width: 350px;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: #333;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.review-header {
    margin-bottom: 20px;
}

.game-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.game-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.game-details {
    flex-grow: 1;
}

.game-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.game-link {
    color: #667eea;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.game-link:hover {
    color: #764ba2;
}

.review-content {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.user-details {
    flex-grow: 1;
}

.user-name {
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary) !important;
    font-size: 14px;
}

.review-time {
    color: #666;
    font-size: 12px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-stars i {
    font-size: 16px;
}

.rating-text {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.review-comment {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    padding: 15px;
    border-left: 4px solid var(--color-highlight);
    color:var(--text-primary) !important
}

.review-comment p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary) !important;
    font-style: italic;
}

/* Responsive para el carrusel de reviews */
@media (max-width: 768px) {
    .review-card {
        min-width: 300px;
        max-width: 300px;
        padding: 20px;
    }

    .reviews-carousel {
        gap: 15px;
    }

    .game-logo {
        width: 40px;
        height: 40px;
    }

    .user-avatar {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .review-card {
        min-width: 280px;
        max-width: 280px;
        padding: 18px;
    }

    .game-name {
        font-size: 7px;
    }

    .user-name {
        font-size: 13px;
    }
}


.m_h_order_list{
    max-height:400px;
}

@media (max-width:992px){
    .m_h_order_list{
        max-height:210px;
    }
}









