@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 1rem;
    overflow: hidden;
    color:#ffffff;
}

.logo {
    max-width: 220px;
}

.bg-gradient-bingo { background-color: #5B4CDB; background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%); background-size: cover; height: 100vh; }

.bg-gradient-bingo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../img/bg-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    filter: blur(5px); 
    z-index: -1; 
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

.preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index:999999; 
}

.canvas {
    position:absolute;
    margin:auto;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%,-50%);
    -ms-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
}

.loading-progress-bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

.loading-progress {
    height: 100%;
    width: 0;
    background-color: #5B4CDB;
    border-radius: 5px;
}

.loading-percentage {
    margin-top: 10px;
    color: #ffffff;
    text-align: center;
}

.progress-updated {
    animation: progressPulse 1s ease-in-out;
}

@keyframes progressPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.progress-bar {
    transition: width 0.6s ease;
}

.container-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding-bottom: 75px;
}

.top-section, .center-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.start-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-section {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    height: 220px;
    max-height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0px 0px 50px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
}

.top-section.live {
    border-radius: 0px 0px 10px 10px;
    height: 240px;
    max-height: 240px;
}

.bottom-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
    max-height: 70px;
    z-index: 1051;
}

.board-section {
    flex: 1;
    height: calc(92vh - 256px);
    display: flex; 
    justify-content: center;
    align-items: center; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 10px;
}

.board-section::-webkit-scrollbar {
    -webkit-appearance: none !important;
}

.board-section::-webkit-scrollbar:vertical {
    width: 6px !important;
}

.board-section::-webkit-scrollbar-button:increment,.board-section::-webkit-scrollbar-button {
    display: none !important;
} 

.board-section::-webkit-scrollbar:horizontal {
    height: 6px !important;
}

.board-section::-webkit-scrollbar-thumb {
    background-color: transparent !important;
    border-radius: 7px !important;
    border: 1px solid transparent !important;
}

.board-section::-webkit-scrollbar-track {
    background-color: transparent !important;
}

.content-board {
    display: grid;
    grid-gap: 5px;
    margin: auto;
    mask-image: none;
    -webkit-mask-image: none;
    transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
    grid-template-columns: repeat(1, 1fr);
}

.cartons-section {
    flex: 1;
    height: calc(100vh - 222px);
    display: flex; 
    justify-content: center;
    align-items: center; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 10px;
}

.cartons-section-select {
    flex: 1;
    display: flex; 
    justify-content: center;
    align-items: center;
}

.cartons-section::-webkit-scrollbar {
    -webkit-appearance: none !important;
}

.cartons-section::-webkit-scrollbar:vertical {
    width: 6px !important;
}

.cartons-section::-webkit-scrollbar-button:increment,.cartons-section::-webkit-scrollbar-button {
    display: none !important;
} 

.cartons-section::-webkit-scrollbar:horizontal {
    height: 6px !important;
}

.cartons-section::-webkit-scrollbar-thumb {
    background-color: transparent !important;
    border-radius: 7px !important;
    border: 1px solid transparent !important;
}

.cartons-section::-webkit-scrollbar-track {
    background-color: transparent !important;
}

.game-section {
    flex: 1;
    height: calc(96vh - 90px);
    display: flex; 
    justify-content: center;
    align-items: center; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 10px;
}

.game-section::-webkit-scrollbar {
    -webkit-appearance: none !important;
}

.game-section::-webkit-scrollbar:vertical {
    width: 6px !important;
}

.game-section::-webkit-scrollbar-button:increment,.game-section::-webkit-scrollbar-button {
    display: none !important;
} 

.game-section::-webkit-scrollbar:horizontal {
    height: 6px !important;
}

.game-section::-webkit-scrollbar-thumb {
    background-color: transparent !important;
    border-radius: 7px !important;
    border: 1px solid transparent !important;
}

.game-section::-webkit-scrollbar-track {
    background-color: transparent !important;
}

.code-bgc {
    position: fixed;
    left: 150px;
    top: 15px;
}

.content-cartons {
    display: grid;
    grid-gap: 5px;
    margin: auto;
    mask-image: none;
    -webkit-mask-image: none;
    transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
    grid-template-columns: repeat(5, 1fr);
}

.content-cartons-select {
    display: grid;
    grid-gap: 3px;
    margin: auto;
    mask-image: none;
    -webkit-mask-image: none;
    transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
    grid-template-columns: repeat(4, 1fr);
}

.play-section {
    flex: 1;
    height: calc(100vh - 100px);
    display: flex; 
    justify-content: center;
    align-items: center; 
    overflow-y: auto; 
    overflow-x: hidden;
}

.play-cards {
    display: grid;
    grid-gap: 5px;
    margin: auto;
    mask-image: none;
    -webkit-mask-image: none;
    transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
    grid-template-columns: repeat(5, 1fr);
}

.play-cards .list-group {
    border-top: 0px;
    border-bottom: 0px;
}

.card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Hover efecto */
.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Hora en esquina superior izquierda */
.card-hour {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffeb3b;
    color: #000;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Precio tipo etiqueta oferta en la esquina superior derecha */
.card-price {
    position: absolute;
    top: 35px;
    right: -50px;
    background: #e91e63;
    color: #fff;
    font-weight: bold;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Hacer más atractivo el título */
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-title {
    overflow: hidden;          
    display: inline-block;
    width: 100%;
    position: relative;
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
    width: 200px; /* ancho visible del contenedor */
}

.scrolling-text span {
    font-size: 0.8rem;
    display: inline-block;
    padding-right: 50px; /* espacio entre repeticiones */
    animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* mueve la mitad porque duplicamos el texto */
    }
}


@keyframes scrollText {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}


/* Lista dentro del card */
.list-group-item {
    border: none;
    font-size: 0.85rem;
}

/* SISTEMA DE BOTONES CON COLORES COMPLEMENTARIOS */

/* Botón principal - Verde claro */
.btn-bingo, .btn-primary-action {
    background: linear-gradient(145deg, #48c774 0%, #36a85f 25%, #2d8a4d 100%) !important;
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(72, 199, 116, 0.4), 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-bingo:hover, .btn-primary-action:hover {
    background: linear-gradient(145deg, #36a85f 0%, #2d8a4d 25%, #48c774 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(72, 199, 116, 0.5), 0 8px 15px rgba(0,0,0,0.15);
}

/* Botón secundario - Verde oscuro (para cuando hay 2 juntos) */
.btn-bingo-secondary, .btn-secondary-action {
    background: linear-gradient(145deg, #2d8a4d 0%, #1e5f34 25%, #0f3d1f 100%) !important;
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(45, 138, 77, 0.4), 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-bingo-secondary:hover, .btn-secondary-action:hover {
    background: linear-gradient(145deg, #1e5f34 0%, #0f3d1f 25%, #2d8a4d 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(45, 138, 77, 0.5), 0 8px 15px rgba(0,0,0,0.15);
}

/* Botón de confirmación - Azul elegante */
.btn-confirm, .btn-aceptar, .btn-accept {
    background: linear-gradient(145deg, #4facfe 0%, #2196f3 25%, #1565c0 100%) !important;
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4), 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-confirm:hover, .btn-aceptar:hover, .btn-accept:hover {
    background: linear-gradient(145deg, #2196f3 0%, #1565c0 25%, #4facfe 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(79, 172, 254, 0.5), 0 8px 15px rgba(0,0,0,0.15);
}

/* Botón de cancelar - Rojo elegante */
.btn-cancel, .btn-cancelar, .btn-danger-action {
    background: linear-gradient(145deg, #ff6b6b 0%, #f44336 25%, #c62828 100%) !important;
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4), 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cancel:hover, .btn-cancelar:hover, .btn-danger-action:hover {
    background: linear-gradient(145deg, #f44336 0%, #c62828 25%, #ff6b6b 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5), 0 8px 15px rgba(0,0,0,0.15);
}

/* Botón de información - Naranja elegante */
.btn-info-action, .btn-warning-action {
    background: linear-gradient(145deg, #ff9800 0%, #f57c00 25%, #e65100 100%) !important;
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4), 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-info-action:hover, .btn-warning-action:hover {
    background: linear-gradient(145deg, #f57c00 0%, #e65100 25%, #ff9800 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 152, 0, 0.5), 0 8px 15px rgba(0,0,0,0.15);
}

/* Botón púrpura elegante - Alternativa premium */
.btn-purple-action, .btn-premium {
    background: linear-gradient(145deg, #9c27b0 0%, #7b1fa2 25%, #4a148c 100%) !important;
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4), 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-purple-action:hover, .btn-premium:hover {
    background: linear-gradient(145deg, #7b1fa2 0%, #4a148c 25%, #9c27b0 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(156, 39, 176, 0.5), 0 8px 15px rgba(0,0,0,0.15);
}

/* Iconos específicos para botones de acción */
.btn-submit-icon, .btn-enviar-icon, .btn-icon {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

/* Animaciones de iconos para todos los botones */
.btn-bingo:hover .btn-icon,
.btn-bingo-secondary:hover .btn-icon,
.btn-confirm:hover .btn-icon,
.btn-cancel:hover .btn-icon,
.btn-info-action:hover .btn-icon,
.btn-purple-action:hover .btn-icon,
.btn-bingo:hover .btn-submit-icon, 
.btn-bingo:hover .btn-enviar-icon {
    transform: scale(1.2) rotate(15deg);
}

.one-carton, .two-cartons, .three-cartons, .four-cartons  {
    display: grid;
    grid-gap: 5px;
    margin: auto;
}

.bingo-border-carton {
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 8px;
}

.bingo-border-carton-select {
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 8px;
}

.bingo-carton {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 100%;
}

.already-select-carton {
    opacity: 0.6;
    border: 3px solid #6c757d !important;
}

.select-carton {
    border: 3px solid #28a745 !important;
    background-color: rgba(40, 167, 69, 0.1) !important;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3) !important;
}

.bingo-carton {
    transition: all 0.3s ease;
}

#cartons-container {
    scroll-behavior: smooth;
}

.select-carton-btn:disabled {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.bingo-carton-header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    border-radius: 5px;
    transition: transform 0.3s ease;
    width: 35px;
    height: 35px;
}

.bingo-carton-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8e3ff 0%, #d4c5ff 100%);
    font-size: 1.2vw;
    font-weight: 600;
    color: #4a4a6a;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 35px;
    height: 35px;
}

.data-position-13 {
    font-size: 1.5vw;
}

.bingo-carton-number:hover {
    animation: pulse-icon 0.4s ease-in-out;
    transition: all 0.3s ease;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(103, 126, 234, 0.2);
}

.move-number {
    animation: moveBallTowards .5s ease-out forwards;
}

@keyframes moveBallTowards {
    0% {
        transform: translateY(-50px) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.column {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: 5px;
    text-align: center;
    margin-bottom: 5px;
}

.container-cartons-modalities {
    display: grid;
    grid-gap: 5px;
    justify-content: center;
    margin: auto;
}

.border-carton {
    padding: 0px 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.carton {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    grid-template-rows: repeat(6, 1fr); 
    gap: 5px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100px;
    height: 130px;
}

.card-letter {
    display: flex;
    justify-content: center;
    border-radius: 3px;
    font-size: .6rem; 
    width: 14px; 
    height: 14px;
}

.card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c8b6ff 0%, #b6a8e9 100%);
    font-weight: 600;
    color: #5B4CDB;
    border-radius: 4px;
    font-size: .8rem;
    width: 14px; 
    height: 14px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.card-number:hover {
    background: linear-gradient(135deg, #48c774 0%, #36a85f 100%);
    color: #ffffff;
    transform: scale(1.1);
    cursor: pointer;
}

.marked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff;
}

.modality {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff;
    font-size: 1.5vw;
}

.modality-sing {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff;
}

.sing {
    /*background-color: #FBD60D !important;*/
    color: #5B4CDB !important;
}

.cartn-sing {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cartn-sing .card-number {
    background-color: #ffeebb !important;
}

.card-number.sing {
    background: linear-gradient(135deg, #FFD93D 0%, #F4C430 100%);
    color: white;
    font-weight: bold;
    animation: blink 1s infinite;
}

.bingo-carton-number.carton-sing {
    color: white;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.form-bingo {
    border: 1px solid #667eea;
    border-radius: 8px;
    font-size: 1rem;
    padding: 10px 20px;
    width: 90%;
    margin: auto;
    font-family: 'Poppins', sans-serif;
}

.form-control:not([value=""]):not([value="all"]) {
    border-color: #667eea !important;
    box-shadow: 0 0 0 0.15rem rgba(102, 126, 234, 0.15);
}

.form-bingo:focus {
    color: #6e707e;
    background-color: #fff;
    border-color: #667eea;
    outline: 0;
    box-shadow: 0 0 0 .15rem rgba(102, 126, 234, .2);
}

.form-label {
    font-size: .9rem;
    margin-bottom: 0;
    width: 90%;
    margin: auto;
    display: block;
    padding-left: 20px;
}

small.text-danger {
    font-size: .8rem;
    margin-bottom: 0;
    padding-left: 20px;
    width: 90%;
    margin: auto;
    display: block;
}

.total-balls {
    position: fixed;
    left: 10px;
    top: 70px;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 5px 10px;
}

.total-balls small {
    font-size: 0.7rem;
}

.total-accumulated {
    position: fixed;
    right: 10px;
    top: 70px;
    text-transform: uppercase;
    font-size: 1rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 5px 10px;
}

.total-accumulated small {
    font-size: 0.7rem;
}

.header-switch {
    position: fixed;
    left: 40px;
    top: 130px;
}

.time-game {
    position: fixed;
    right: 70px;
    top: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 7px 15px;
    border-radius: 40px;
    text-transform: uppercase;
    text-align: center;
}

.init-count {
    font-size: 1rem;
}

.init-count small {
    font-size: 0.6rem;
}

.btn {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.btn-small {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 2rem;
    z-index: 1;
}

.btn-home {
    position: fixed;
    left: 10px;
    top: 10px;
    background: linear-gradient(135deg, #fc6c85 0%, #ff6b6b 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.25);
}

.btn-home:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-home:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-home i {
    transition: transform 0.3s ease-in-out;
}

.btn-home:hover i {
    transform: scale(1.3);
}

.btn-profile {
    position: fixed;
    left: 10px;
    top: 10px;
    background: linear-gradient(145deg, #FFFFFF, #FFFFFF);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-profile img {
    width: 3.5rem;        
    height: 3.5rem; 
    min-width: 3.5rem;
    min-height: 3.5rem;      
    border-radius: 50%;
    object-fit: cover;  
    border: 3px solid #fff; 
}

.btn-profile:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-profile:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-wallet {
    position: fixed;
    left: 75px;
    top: 10px;
    background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 100%);
    box-shadow: 0 8px 25px rgba(47, 128, 237, 0.25);
}

.btn-wallet:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-wallet:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-wallet i {
    transition: transform 0.3s ease-in-out;
}

.btn-wallet:hover i {
    transform: scale(1.3);
}

.btn-gamepad {
    position: fixed;
    left: 10px;
    top: 73px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.25);
}

.btn-gamepad:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-gamepad:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-gamepad i {
    transition: transform 0.3s ease-in-out;
}

.btn-gamepad:hover i {
    transform: scale(1.3);
}

.btn-qrcode {
    position: fixed;
    left: 10px;
    bottom: 10px;
    background: linear-gradient(135deg, #F2994A 0%, #F27121 100%);
    box-shadow: 0 8px 25px rgba(242, 113, 33, 0.25);
    z-index: 1001;
}

.btn-qrcode:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-qrcode:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-qrcode i {
    transition: transform 0.3s ease-in-out;
}

.btn-qrcode:hover i {
    transform: scale(1.3);
}

.btn-sliders {
    position: fixed;
    right: 10px;
    top: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.25);
}

.btn-sliders:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-sliders:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-sliders i {
    transition: transform 0.3s ease-in-out;
}

.btn-sliders:hover i {
    transform: scale(1.3);
}

.btn-statistics {
    position: fixed;
    left: 10px;
    top: 75px;
    background: linear-gradient(135deg, #43E97B 0%, #38F9D7 100%);
    box-shadow: 0 8px 25px rgba(56, 249, 215, 0.25);
}

.btn-statistics:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-statistics:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-statistics i {
    transition: transform 0.3s ease-in-out;
}

.btn-statistics:hover i {
    transform: scale(1.3);
}

.btn-volume {
    position: fixed;
    right: 70px;
    top: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.25);
}

.btn-volume:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-volume:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-volume i {
    transition: transform 0.3s ease-in-out;
}

.btn-volume:hover i {
    transform: scale(1.3);
}

.btn-microphone {
    position: fixed;
    right: 65px;
    top: 65px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.25);
}

.btn-microphone:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-microphone:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-microphone i {
    transition: transform 0.3s ease-in-out;
}

.btn-microphone:hover i {
    transform: scale(1.3);
}

.btn-user {
    position: fixed;
    right: 65px;
    top: 65px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.25);
}

.btn-user:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-user:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-user i {
    transition: transform 0.3s ease-in-out;
}

.btn-user:hover i {
    transform: scale(1.3);
}

.btn-lock {
    position: fixed;
    right: 65px;
    top: 65px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.25);
}

.btn-lock:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-lock:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-lock i {
    transition: transform 0.3s ease-in-out;
}

.btn-lock:hover i {
    transform: scale(1.3);
}

.btn-binary {
    position: fixed;
    right: 15px;
    top: 70px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.25);
}

.btn-binary:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-binary:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-binary i {
    transition: transform 0.3s ease-in-out;
}

.btn-binary:hover i {
    transform: scale(1.3);
}

.btn-logout {
    position: fixed;
    right: 12px;
    top: 70px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-logout:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-logout:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-logout i {
    transition: transform 0.3s ease-in-out;
}

.btn-logout:hover i {
    transform: scale(1.3);
}

.btn-game {
    position: fixed;
    left: 10px;
    bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.25);
}

.btn-game:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-game:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-game i {
    transition: transform 0.3s ease-in-out;
}

.btn-game:hover i {
    transform: scale(1.3);
}

.btn-gear {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(135deg, #fc6c85 0%, #ff6b6b 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.25);
}

.btn-gear:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-gear:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-gear i {
    transition: transform 0.3s ease-in-out;
}

.btn-gear:hover i {
    transform: scale(1.3);
}

.btn-board {
    font-size: 1rem;
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    box-shadow: 0 8px 25px rgba(102, 166, 255, 0.25);
}

.btn-board:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-board:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-board i {
    transition: transform 0.3s ease-in-out;
}

.btn-board:hover i {
    transform: scale(1.3);
}

.btn-award {
    font-size: 1rem;
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    box-shadow: 0 8px 25px rgba(102, 166, 255, 0.25);
}

.btn-award:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-award:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-award i {
    transition: transform 0.3s ease-in-out;
}

.btn-award:hover i {
    transform: scale(1.3);
}

.btn-cells {
    font-size: 1rem;
    background: linear-gradient(135deg, #FFE53B 0%, #FF8C00 100%);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.25);
}

.btn-cells:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-cells:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-cells i {
    transition: transform 0.3s ease-in-out;
}

.btn-cells:hover i {
    transform: scale(1.3);
}

.btn-chat {
    position: fixed;
    left: 15px;
    bottom: 15px;
    background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 100%);
    box-shadow: 0 8px 25px rgba(47, 128, 237, 0.25);
}

.btn-chat:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-chat:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-chat i {
    transition: transform 0.3s ease-in-out;
}

.btn-chat:hover i {
    color: #ffffff;
    transform: scale(1.3);
    animation: bounce 0.6s ease-in-out infinite alternate;
}

.count_notifications {
    position: absolute;
    left: 100%;
    transform: translate(-50%, -50%);
    background-color: red;
    color: white;
    font-size: .8rem;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-award {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-bingooo {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 150px;
    border: none;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, #4cd137, #44bd32);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-bingooo:hover {
    background: linear-gradient(to bottom, #44bd32, #3a9e2e);
    transform: scale(1.05);
}

@keyframes clickPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

.btn-bingooo.animate-click {
  animation: clickPulse 0.4s ease;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    user-select: none;
    animation: explode 3s forwards;
}

@keyframes explode {
    0% {
        transform: translateY(-100vh) rotate(0deg); 
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
    }
}

.btn-bingo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    border: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-bingo:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-bingo.focus,.btn-bingo:focus {
    box-shadow:0 0 0 .2rem rgba(102, 126, 234,.3)
}

.btn-bingo.disabled,.btn-bingo:disabled {
    color:#fff;
    background: linear-gradient(135deg, #9ca4b8 0%, #7a8091 100%);
    border-color:#9ca4b8
}

.btn-bingo:active {
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
    transform: translateY(1px);
}

.google {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #4a4a6a;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 55%;
    height: 40px;
}

.google:hover {
    color: #4a4a6a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.btn-bingo:not(:disabled):not(.disabled).active,.btn-bingo:not(:disabled):not(.disabled):active,.show>.btn-bingo.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#6236ff
}

.btn-bingo:not(:disabled):not(.disabled).active:focus,.btn-bingo:not(:disabled):not(.disabled):active:focus,.show>.btn-bingo.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(135, 103, 250,.5)
}

.btn-primary:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-primary:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-primary i {
    transition: transform 0.3s ease-in-out;
}

.btn-primary:hover i {
    transform: scale(1.3);
}

.btn-minus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 50px 0 0 50px;
    border: none;
    width: 50px;
    height: 56px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25); 
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-minus:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    transform: scale(1.05);
}

.btn-minus.disabled,.btn-minus:disabled {
    color:#fff;
    background: linear-gradient(135deg, #9ca4b8 0%, #7a8091 100%);
    border-color:#9ca4b8
}

.btn-minus:not(:disabled):not(.disabled).active,.btn-minus:not(:disabled):not(.disabled):active,.show>.btn-minus.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#6236ff
}

.btn-minus:not(:disabled):not(.disabled).active:focus,.btn-minus:not(:disabled):not(.disabled):active:focus,.show>.btn-minus.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.btn-plus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 0 50px 50px 0;
    border: none;
    width: 50px;
    height: 56px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-plus:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    transform: scale(1.05);
}

.btn-plus.disabled,.btn-plus:disabled {
    color:#fff;
    background: linear-gradient(135deg, #9ca4b8 0%, #7a8091 100%);
    border-color:#9ca4b8
}

.btn-plus:not(:disabled):not(.disabled).active,.btn-plus:not(:disabled):not(.disabled):active,.show>.btn-plus.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#6236ff
}

.btn-plus:not(:disabled):not(.disabled).active:focus,.btn-plus:not(:disabled):not(.disabled):active:focus,.show>.btn-plus.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.w-90 {
    width: 90%!important;
    margin: auto;
}

.profile-picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-picture img {
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); 
}

.logo-picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-picture img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); 
}

.cover img {
    width: 250px;
    height: 140px;
    border-radius: 15px;
    object-fit: cover;
    border: 5px solid #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.edit-button {
    position: relative;
    top: -50px;
    left: -40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    border-radius: 50%;
    padding: 4px 7px;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.cover .img-button {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border: none;
    color: #fff;
    border-radius: 50%;
    height: 25px;
    padding: 4px 7px;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.edit-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%); 
    transform: scale(1.1);
}

.card .table-responsive {
    box-shadow: none !important;
}

.h-97 {
    height: 97% !important;
}

.edit-button.focus,.edit-button:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.edit-button.disabled,.edit-button:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#6236ff
}

.edit-button:not(:disabled):not(.disabled).active,.edit-button:not(:disabled):not(.disabled):active,.show>.edit-button.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#6236ff
}

.edit-button:not(:disabled):not(.disabled).active:focus,.edit-button:not(:disabled):not(.disabled):active:focus,.show>.edit-button.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f1f1f1;
    background: linear-gradient(145deg, #8767fa, #6236ff);
}

.profile-button {
    position: absolute;
    top: -1px;
    right: -10px;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    border: none;
    color: #fff;
    border-radius: 50%;
    padding: 4px;
    cursor: pointer;
    font-size: 8px;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.row {
    --bs-gutter-x: 0rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-.5* var(--bs-gutter-x));
    margin-left: calc(-.5* var(--bs-gutter-x));
}

.help-block {
    font-size: .8rem;
}

.modal-content {
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 0px solid #e3e6f0 !important;
}

.modal-title {
    font-weight: 500;
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
}

.modal-footer {
    border-top: 0px solid #e3e6f0 !important;
}

.btn-close {
    /* Mejora de contraste: fondo rojo claro más llamativo para el botón de cierre (.btn-close) */
    background: linear-gradient(145deg, #ff7a7a, #ff3b3b);
    color: #ffffff;
    box-shadow: 0px 0px 10px rgb(255 255 255 / 20%), 0px 0px 20px rgb(255 255 255 / 30%);
    border: none;
    border-radius: 50%;
    padding: 5px 9px;
    cursor: pointer;
    font-size: .8rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.btn-close:hover {
    /* Hover más contrastante para .btn-close */
    background-color: #ff6b6b;
    transform: scale(1.1);
}

.btn-close.focus,.btn-close:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.btn-close.disabled,.btn-close:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#6236ff
}

.btn-close:not(:disabled):not(.disabled).active,.btn-close:not(:disabled):not(.disabled):active,.show>.btn-close.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#6236ff
}

.btn-close:not(:disabled):not(.disabled).active:focus,.btn-close:not(:disabled):not(.disabled):active:focus,.show>.btn-close.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.btn-modal {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease-in-out;
    margin: auto;
}

.btn-modal:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-modal:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-modal-add {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 100%);
    box-shadow: 0 6px 20px rgba(47, 128, 237, 0.3);
    transition: all 0.3s ease-in-out;
    margin: auto;
}

.btn-modal-add:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-modal-add:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

hr {
    margin: 1rem 0;
    color: #8f8f8f;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: .25;
}

.table {
    --bs-table-bg: #ffffff00 !important;
    --bs-table-color: #2d0051 !important;
    --bs-table-striped-color: #2d0051 !important;
    --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0);
    border-color: #ffffff00 !important;
    margin-bottom: .5rem;
}

.table td {
    padding:.5rem;
    vertical-align:middle;
    border-top: 0px solid rgba(143, 143, 143, 0.25);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.table th {
    padding:.5rem;
    color: #ffffff !important;
    vertical-align:middle;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-top: 0px solid rgba(143, 143, 143, 0.25);
}

.table thead th {
    vertical-align:bottom;
    border-bottom: 1px solid rgba(143, 143, 143, 0.25);
}

.table tbody+tbody {
    border-top:0px solid #c3c4c5
}

.table-sm td,.table-sm th {
    padding:.3rem
}

.table-bordered {
    border:1px solid #c3c4c5
}

.table-bordered td,.table-bordered th {
    border:1px solid #c3c4c5
}

.table-bordered thead td,.table-bordered thead th {
    border-bottom-width:2px
}

.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th {
    border:0
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color:rgba(0,0,0,.0)
}

.message-display-container {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 15px;
    left: 0px;
    width: 330px;
    background-color: transparent;
    border: 0px solid transparent;
    z-index: 1052;
    height: 450px;
    justify-content: space-between;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); */
    overflow: hidden;
}

/* Área de visualización de mensajes */
.message-display {
    flex-grow: 1;
    width: 100%;
    height: calc(100% - 150px); /* Altura ajustada para dejar espacio para panel de emojis */
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 10px;
    display: flex;
    flex-direction: column-reverse; /* Los mensajes nuevos aparecen abajo */
}

.message-display::-webkit-scrollbar {
    display: none;
}

/* Burbujas de mensaje */
.message-bubble {
    display: inline-flex; /* en vez de flex */
    align-items: center;
    margin-bottom: 3px;
    padding: 4px 8px; /* un poco más de espacio para que no quede pegado */
    border-radius: 18px;
    background: rgba(98, 54, 255, 0.7);
    backdrop-filter: blur(10px);
    animation: messageSlideIn 0.3s ease-out;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    max-width: 90%; /* sigue limitando si el texto es muy largo */
    word-wrap: break-word;
    width: fit-content; /* hace que se ajuste al contenido */
}
.message-bubble.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.message-bubble .profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Animación para entrada de mensajes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animación para salida de mensajes */
@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

.message-bubble span {
    color: white;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

/* Indicador de escritura */
.typing-indicator {
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 12px 16px !important;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animaciones */
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Menciones */
.mention {
    color: #FFD700;
    font-weight: bold;
}

/* Enlaces */
.message-bubble a {
    color: #87CEEB;
    text-decoration: underline;
}

.message-bubble a:hover {
    color: #B0E0E6;
}

/* Responsive */
@media (max-width: 768px) {
    .message-bubble {
        max-width: 95%;
        padding: 6px 10px;
    }
    
    .message-bubble .profile-pic {
        width: 28px;
        height: 28px;
        margin-right: 8px;
    }
    
    .message-bubble span {
        font-size: 13px;
    }
}

/* Panel de emojis y mensajes predefinidos */
.emoji-message-panel {
    /*background-color: rgba(255, 255, 255, 0.1);*/
    /*border-top: 1px solid rgba(255, 255, 255, 0.2);*/
    padding: 0 10px;
    z-index: 1052;
}

/* Botones de emoji */
.emoji-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 3px;
    margin: 3px 0;
    cursor: pointer;
    font-size: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.emoji-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Botones de mensaje predefinido */
.message-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    margin: 3px 0px;
    cursor: pointer;
    font-size: 13px;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.message-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Campo de entrada de texto */
.form-control-chat.message-input {
    height: 40px;
    border-radius: 20px;
    /*padding: 0 15px;*/
    font-size: 13px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.form-control-chat.message-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Botón de envío */
.btn-send {
    background: linear-gradient(145deg, #8767fa, #6236ff);
    color: #ffffff;
    border-radius: 0 20px 20px 0;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-send:hover {
    transform: scale(1.05);
}

/* Botón para mostrar/ocultar chat */
.btn-chat {
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1053;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border: none;
    transition: transform 0.3s ease;
}

.btn-chat:hover {
    transform: scale(1.1);
}

/* Sliders para emojis y mensajes predefinidos */
.emoji-slider, .message-bubble-slider {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 4px;
    align-items: center;
    scroll-behavior: smooth;
    width: 100%;
    padding: 0 5px;
}

.emoji-slider::-webkit-scrollbar, .message-bubble-slider::-webkit-scrollbar {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.emoji-slider::-webkit-scrollbar-thumb, .message-bubble-slider::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* Grupo de entrada */
.emoji-message-panel .input-group {
    margin-top: 7px;
    margin-bottom: 5px;
    width: 80%;
    margin-left: 60px;
}

.last-numbers {
    display: flex;
    justify-content: center;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 5px;
    border-radius: 50px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.live .last-numbers {
    position: fixed;
    right: 9px;
    top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 3px;
    border-radius: 50px;
    margin-top: 0px;
    margin-bottom: 0px;
    z-index: 1;
}

.last-numbers div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.last-numbers span {
    display: flex;
    gap: 5px;
    width: 180px;
}

.live .last-numbers span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 15px;
    font-size: 0.6rem;
}

.live .size-40 {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
}

.live .bingo-ball::after {
    width: 85%;
    height: 85%;
}

.controls-board {
    display: flex;
    justify-content: center;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 50px;
    margin-top: 10px;
    position: fixed;
    bottom: 15px;
    z-index: 1051;
}

.controls-board div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.controls-board span {
    display: flex;
    gap: 5px;
    width: 180px;
}

/* Contenedor de notificaciones */
.notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    pointer-events: none;
}

/* Notificación individual */
.notification {
    background: linear-gradient(135deg, #ffffff 0%, #8767fa 100%);
    color: #2d0051 !important;
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 10px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 1px 8px rgba(255, 255, 255, 0.2);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: all;
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    animation: notificationShine 3s infinite;
}

@keyframes notificationShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(400px);
    opacity: 0;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.notification-title {
    font-weight: bold;
    font-size: 1rem;
}

.notification-time {
    position: fixed;
    bottom: 5px;
    right: 10px;
    font-size: 0.6rem;
    opacity: 0.6;
}

.notification-message {
    font-size: 0.8rem;
    line-height: 1.2;
}

.notification-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    font-size: 0.7rem;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Indicador de notificaciones no leídas */
.notification-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    border-radius: 50%;
    display: none;
    animation: pulse 2s infinite;
    z-index: 10000;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

/* Diferentes tipos de notificaciones */
.notification.success {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.notification.warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.notification.info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.notification.bingo {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
}

.statistics-content .card-title {
    font-size: 1rem;
}

.statistics-content .card-text {
    font-size: 1.5rem;
}

.statistics-content span {
    font-size: 0.8rem;
}

.nav-link {
    color: var(--bs-highlight-color);
}

.bingo-ball {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #292929;
    border-radius: 50%;
    text-transform: uppercase;
    background: radial-gradient(circle at 30% 30%, #cbcbcb 10%, #757575 40%, #0c0c0c 100%);
    box-shadow:
        inset -5px -5px 10px rgba(255,255,255,0.6),
        inset 5px 5px 15px rgba(0,0,0,0.2),
        0 8px 12px rgba(0,0,0,0.4);
    /*text-shadow: 0 2px 2px rgba(255,255,255,0.5);*/
}

.bingo-ball:hover {
    animation: pulse-icon 0.4s ease-in-out;
    transform: scale(1.05);
    cursor: pointer;
}

.bingo-ball span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255);
}

.bingo-ball::after {
    width: 80%;
    height: 80%;
}

.bingo-ball.size-30::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.size-30 {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .8rem;
    line-height: 55px;
}

.bingo-ball.size-40::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.size-40 {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    line-height: 55px;
}

.bingo-ball.size-50::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.8);
}

.size-50 {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    line-height: 55px;
}

.bingo-ball.size-60::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 3.5px solid rgba(255, 255, 255, 0.8);
}

.size-60 {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    line-height: 55px;
}

.bingo-ball.size-70::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 3.5px solid rgba(255, 255, 255, 0.8);
}

.size-70 {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    line-height: 55px;
}

.bingo-ball.size-80::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.8);
}

.size-80 {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    line-height: 55px;
}

.bingo-ball.size-90::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.8);
}

.size-90 {
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    line-height: 55px;
}

.bingo-ball.size-100::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.8);
}

.size-100 {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.4rem;
    line-height: 55px;
}

.bingo-ball.size-130::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.8);
}

.size-130 {
    width: 130px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    line-height: 55px;
}

#last-number {
    margin-top: 10px;
}

.bingo-ball-200 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border-radius: 50%;
    text-transform: uppercase;
    color: #131628;
    background: radial-gradient(circle at 30% 30%, #e5e5e5 10%, #757575 40%, #0c0c0c 100%);
    box-shadow:
        inset -5px -5px 10px rgba(255,255,255,0.6),
        inset 5px 5px 15px rgba(0,0,0,0.2),
        0 8px 12px rgba(0,0,0,0.4);
    /*text-shadow: 0 2px 2px rgba(255,255,255,0.5);*/
}

.bingo-ball-200 span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255);
}

.bingo-ball-200:hover {
    cursor: pointer;
}

.size-200 {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    line-height: 55px;
}

.bingo-ball-200::after {
    width: 80%;
    height: 80%;
}

.bingo-ball-200.size-200::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 10px solid rgba(255, 255, 255, 0.8);
}

.bingo-ball-300 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 7rem;
    border-radius: 50%;
    text-transform: uppercase;
    color: #131628;
    background: radial-gradient(circle at 30% 30%, #e5e5e5 10%, #757575 40%, #0c0c0c 100%);
    box-shadow:
        inset -5px -5px 10px rgba(255,255,255,0.6),
        inset 5px 5px 15px rgba(0,0,0,0.2),
        0 8px 12px rgba(0,0,0,0.4);
    /*text-shadow: 0 2px 2px rgba(255,255,255,0.5);*/
}

.bingo-ball-300 span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255);
}

.bingo-ball-300:hover {
    cursor: pointer;
}

.size-300 {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 7rem;
    line-height: 55px;
}

.bingo-ball-300::after {
    width: 80%;
    height: 80%;
}

.bingo-ball-300.size-300::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 15px solid rgba(255, 255, 255, 0.8);
}

.STOP { background: radial-gradient(circle at 30% 30%, #e5e5e5 10%, #b4b0b0 40%, #0c0c0c 100%); font-size: 1rem; }
.B { background: #FF4D4D; }
.I { background: #F39C12; }
.N { background: #32CD32; }
.G { background: #1E90FF; }
.O { background: #A020F0; }

/* Animación para escalar y rotar los emojis */
@keyframes emoji-bounce {
    0% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.emoji-message {
    display: inline-block;
    font-size: 1.5rem;
    animation: emoji-bounce 0.5s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.text-message {
    font-size: 0.8rem;
}

.icon-danger {
    color: #dc3545 !important;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hidden {
    display: none !important;
}

.block {
    display: block !important;
}

.inline {
    display: inline-block !important;
}

.countdown-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column; /* Cambiado de row (default) a column */
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    pointer-events: none;
}

#countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 6px 6px 15px rgba(98, 54, 255, 0.2), -6px -6px 15px rgba(135, 103, 250, 0.3);
    position: relative;
    animation: pulse 1s infinite;
}

#text-countdown {
    color: white;
    text-align: center;
    font-size: 1.5rem; /* Ajusta el tamaño de texto según sea necesario */
    margin-top: 20px; /* Espaciado entre el contador y el texto */
}


.game-finalized {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    z-index: 9999; /* Colocado sobre todo */
    pointer-events: none; /* No bloquea clics ni eventos en el fondo */
}

#finalized {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes burst {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1) rotate(360deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.explosive-effect {
    font-size: 1.5rem;
    animation: burst 0.6s ease-in-out;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

@keyframes pulse-icon {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Colores con degradado según el nombre */
.bingo-bg-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border: none;
}

.bingo-bg-success {
    background: linear-gradient(135deg, #28a745, #1c7430);
    color: #fff;
    border: none;
}

.bingo-bg-info {
    background: linear-gradient(135deg, #17a2b8, #0c5460);
    color: #fff;
    border: none;
}

.bingo-bg-warning {
    background: linear-gradient(135deg, #ffc107, #d39e00);
    color: #212529;
    border: none;
}

.bingo-bg-danger {
    background: linear-gradient(135deg, #dc3545, #a71d2a);
    color: #fff;
    border: none;
}

.bingo-bg-secondary {
    background: linear-gradient(135deg, #6c757d, #343a40);
    color: #fff;
    border: none;
}

.bingo-bg-white {
    background: linear-gradient(135deg, #ffffff, #f1f1f1);
    color: #212529;
    border: none;
}

.bingo-bg-dark {
    background: linear-gradient(135deg, #343a40, #1d2124);
    color: #fff;
    border: none;
}

.bingo-bg-orange {
    background: linear-gradient(135deg, #fd7e14, #cc580c);
    color: #fff;
    border: none;
}

.bingo-bg-purple {
    background: linear-gradient(135deg, #6f42c1, #4b2c91);
    color: #fff;
    border: none;
}

/* Sombra elegante para las cards con degradado */
.bingo-bg-primary,
.bingo-bg-success,
.bingo-bg-info,
.bingo-bg-warning,
.bingo-bg-danger,
.bingo-bg-secondary,
.bingo-bg-white,
.bingo-bg-dark,
.bingo-bg-orange,
.bingo-bg-purple {
    border-radius: 12px; /* esquinas suaves */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25),
                0 3px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Efecto hover más vistoso */
.bingo-bg-primary:hover,
.bingo-bg-success:hover,
.bingo-bg-info:hover,
.bingo-bg-warning:hover,
.bingo-bg-danger:hover,
.bingo-bg-secondary:hover,
.bingo-bg-white:hover,
.bingo-bg-dark:hover,
.bingo-bg-orange:hover,
.bingo-bg-purple:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35),
                0 4px 10px rgba(0, 0, 0, 0.2);
}


.btn-add-new {
    position: absolute;
    top: -20px;
    right: 5px;
    width: 40px;
    height: 40px;
}

/* Para móviles pequeños */
@media (max-width: 480px) {
    .modal-title {
        font-size: 0.9rem;
    }

    .mb-sm-3 {
        margin-bottom: 1rem !important;
    }

    .content-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .content-cartons-select {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .board-number {
        display: flex;
        justify-content: center;
        gap: 5px;
        max-width: 90%;
        margin: auto;
        top: -20px;
    }

    .column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-bottom: 5px;
    }

    .one-carton .bingo-border-carton {
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 20px;
    }

    .one-carton .bingo-carton-number {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .one-carton .bingo-carton-header {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: #ffffff;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .bingo-carton-number {
        font-size: 3.5vw;  /* Ajustar tamaño de texto */
        width: 7vw;  /* Ajustar tamaño de los números */
        height: 7vw;
    }

    .bingo-carton-header {
        font-size: 3.5vw;
        width: 7vw;  /* Ajustar tamaño de los números */
        height: 7vw;
    }

    .center-section .cartons-section .play-section {
        padding-bottom: 100px;
    }

    .board-section {
        padding-bottom: 120px;
    }

    .center-section {
        flex: 0.5;
    }

    .controls-board {
        position: fixed;
        right: 15px;
        bottom: 15px;
    }

    #finalized {
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
        position: relative;
        animation: pulse 1s infinite;
    }

    .notifications {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
    }

    .btn-small {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    .btn {
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        z-index: 1;
    }

    .google {
        width: 75%;
        font-size: 1rem;
        color: #535560;
    }

    .btn-home {
        position: fixed;
        left: 5px;
        top: 5px;
        background: linear-gradient(145deg, #fa5c93, #FF1C00);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-wallet {
        position: fixed;
        left: 50px;
        top: 5px;
        background: linear-gradient(145deg, #22cbe6, #0d6efd);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-wallet-profile {
        position: fixed;
        left: 67px;
        top: 13px;
        background: linear-gradient(145deg, #22cbe6, #0d6efd);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-statistics {
        position: fixed;
        top: 67px;
        left: 13px;
        background: linear-gradient(145deg, #22cbe6, #0d6efd);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-profile {
        position: fixed;
        left: 13px;
        top: 13px;
        background: linear-gradient(145deg, #FFFFFF, #FFFFFF);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-gamepad {
        position: fixed;
        left: 5px;
        top: 50px;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-gamepad-profile {
        position: fixed;
        left: 13px;
        top: 67px;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-qrcode {
        position: fixed;
        left: 5px;
        bottom: 5px;
        background: linear-gradient(145deg, #f6a95a, #ff8100);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-minus {
        width: 50px;
        height: 56px;
    }

    .btn-plus {
        width: 50px;
        height: 56px;
    }

    .total-balls {
        position: fixed;
        left: 5px;
        top: 50px;
        text-transform: uppercase;
        font-size: 0.9rem;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        padding: 0 8px;
        z-index: 1;
    }

    .btn-sliders {
        position: fixed;
        right: 5px;
        top: 5px;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .time-game {
        position: fixed;
        right: 50px;
        top: 5px;
        background-color: rgba(255, 255, 255, 0.2);
        padding: 2px 10px;
        border-radius: 40px;
        text-transform: uppercase;
        text-align: center;
    }

    .total-accumulated {
        position: fixed;
        right: 5px;
        top: 50px;
        text-transform: uppercase;
        font-size: 0.9rem;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        padding: 2px 8px;
    }

    .live .total-accumulated {
        position: fixed;
        right: auto;
        left: 5px;
        top: 90px;
        text-transform: uppercase;
        font-size: 0.9rem;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        padding: 0px 8px;
        z-index: 1;
    }

    .init-count {
        font-size: 0.9rem;
    }

    .header-switch {
        position: fixed;
        left: 10px;
        top: 95px;
    }

    .btn-bingooo {
        position: fixed;
        right: 5px;
        bottom: 5px;
        height: 50px;
        width: 150px;
        border: none;
        border-radius: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        font-weight: bold;
        cursor: pointer;
        color: #ffffff;
        transition: all 0.3s ease;
        background: linear-gradient(to bottom, #4cd137, #44bd32);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-chat {
        position: fixed;
        left: 5px;
        bottom: 5px;
        background: linear-gradient(145deg, #22cbe6, #0d6efd);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-volume {
        position: fixed;
        right: 50px;
        top: 5px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-microphone {
        position: fixed;
        right: 50px;
        top: 50px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-binary {
        position: fixed;
        right: 5px;
        top: 50px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-logout {
        position: fixed;
        right: 5px;
        top: 50px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        background: linear-gradient(145deg, #181C32, #131628);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-lock {
        position: fixed;
        right: 50px;
        top: 50px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-bingo {
        color: #ffffff;
        border-radius: 50px;
        padding: 6px;
        font-size: 0.9rem;
        border: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .message-bubble-slider {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 3px;
        align-items: center;
        scroll-behavior: smooth;
        width: 235px;
        padding: 0 5px;
    }

    .emoji-slider {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 3px;
        align-items: center;
        scroll-behavior: smooth;
        width: 235px;
        padding: 0 5px;
    }

    .form-control-chat.message-input {
        height: 40px;
        border-radius: 20px;
        font-size: 0.8rem;
        background-color: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: #ffffff;
    }

    .message-btn {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        border: none;
        padding: 3px 8px;
        margin: 3px 0px;
        cursor: pointer;
        font-size: 0.8rem;
        border-radius: 50px;
        transition: all 0.2s ease;
    }

    .emoji-message-panel .input-group {
        margin-top: 2px;
        margin-bottom: 0px;
        width: 65%;
        margin-left: 40px;
    }

    .message-display-container {
        display: none;
        flex-direction: column;
        position: fixed;
        bottom: 5px;
        left: 0px;
        width: 330px;
        background-color: transparent;
        border: 0px solid transparent;
        z-index: 1052;
        height: 450px;
        justify-content: space-between;
        /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); */
        overflow: hidden;
    }

    .max-w-20-xs {max-width: 20% !important; width: 20% !important; margin: auto;}
    .max-w-25-xs {max-width: 25% !important; width: 25% !important; margin: auto;}
    .max-w-30-xs {max-width: 30% !important; width: 30% !important; margin: auto;}
    .max-w-35-xs {max-width: 35% !important; width: 35% !important; margin: auto;}
    .max-w-40-xs {max-width: 40% !important; width: 40% !important; margin: auto;}
    .max-w-45-xs {max-width: 45% !important; width: 45% !important; margin: auto;}
    .max-w-50-xs {max-width: 50% !important; width: 50% !important; margin: auto;}
    .max-w-55-xs {max-width: 55% !important; width: 55% !important; margin: auto;}
    .max-w-60-xs {max-width: 60% !important; width: 60% !important; margin: auto;}
    .max-w-65-xs {max-width: 65% !important; width: 65% !important; margin: auto;}
    .max-w-70-xs {max-width: 70% !important; width: 70% !important; margin: auto;}
    .max-w-75-xs {max-width: 75% !important; width: 75% !important; margin: auto;}
    .max-w-80-xs {max-width: 80% !important; width: 80% !important; margin: auto;}
    .max-w-85-xs {max-width: 85% !important; width: 85% !important; margin: auto;}
    .max-w-90-xs {max-width: 90% !important; width: 90% !important; margin: auto;}
    .max-w-95-xs {max-width: 95% !important; width: 95% !important; margin: auto;}

    .cartons-section {
        height: calc(100vh - 180px);
        padding-bottom: clamp(100px, calc(100vh - 180px), 220px);
    }

    .play-section {
        height: calc(100vh - 320px);
    }

    .toastify-right, .toastify-left {
        margin-left: auto;
        margin-right: auto;
        left: 5px;
        right: 5px;
        max-width: fit-content;
    }

    .play-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .card-hour {
        position: absolute;
        top: 10px;
        left: 10px;
        background: #ffeb3b;
        color: #000;
        font-weight: bold;
        padding: 3px 6px;
        border-radius: 8px;
        font-size: 0.7rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .card-price {
        position: absolute;
        top: 30px;
        right: -55px;
        background: #e91e63;
        color: #fff;
        font-weight: bold;
        padding: 5px 35px;
        transform: rotate(45deg);
        font-size: 0.7rem;
        box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    }

    .play-section {
        padding-bottom: 70px;
    }
}

/* Para móviles grandes */
@media (min-width: 481px) and (max-width: 700px) {
    .content-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .content-cartons-select {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .board-number {
        display: flex;
        justify-content: center;
        gap: 5px;
        max-width: 90%;
        margin: auto;
        top: -20px;
    }

    .column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-bottom: 5px;
    }

    .one-carton, .two-cartons .bingo-border-carton {
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 20px;
        height: 100%;
    }

    .one-carton, .two-cartons .bingo-carton-number {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .one-carton, .two-cartons .bingo-carton-header {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: #ffffff;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }


    .bingo-carton-number {
        font-size: 2vw;  /* Ajustar tamaño de texto */
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .bingo-carton-header {
        font-size: 2vw;
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .cartons-section {
        height: calc(90vh - 296px) !important;
    }

    .center-section .cartons-section .board-section {
        padding-bottom: 150px !important;
    }

    .center-section {
        flex: 0.5;
    }

    .controls-board {
        position: fixed;
        right: 15px;
        bottom: 15px;
    }
    
    .google {
        width: 75%;
    }

    .total-balls {
        padding: 0px 5px;
        left: 15px;
    }

    .notifications {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
    }

    .max-w-20-xs {max-width: 20% !important; width: 20% !important; margin: auto;}
    .max-w-25-xs {max-width: 25% !important; width: 25% !important; margin: auto;}
    .max-w-30-xs {max-width: 30% !important; width: 30% !important; margin: auto;}
    .max-w-35-xs {max-width: 35% !important; width: 35% !important; margin: auto;}
    .max-w-40-xs {max-width: 40% !important; width: 40% !important; margin: auto;}
    .max-w-45-xs {max-width: 45% !important; width: 45% !important; margin: auto;}
    .max-w-50-xs {max-width: 50% !important; width: 50% !important; margin: auto;}
    .max-w-55-xs {max-width: 55% !important; width: 55% !important; margin: auto;}
    .max-w-60-xs {max-width: 60% !important; width: 60% !important; margin: auto;}
    .max-w-65-xs {max-width: 65% !important; width: 65% !important; margin: auto;}
    .max-w-70-xs {max-width: 70% !important; width: 70% !important; margin: auto;}
    .max-w-75-xs {max-width: 75% !important; width: 75% !important; margin: auto;}
    .max-w-80-xs {max-width: 80% !important; width: 80% !important; margin: auto;}
    .max-w-85-xs {max-width: 85% !important; width: 85% !important; margin: auto;}
    .max-w-90-xs {max-width: 90% !important; width: 90% !important; margin: auto;}
    .max-w-95-xs {max-width: 95% !important; width: 95% !important; margin: auto;}

    .cartons-section {
        height: calc(100vh - 280px);
    }
}

/* Para tabletas */
@media (min-width: 701px) and (max-width: 1024px) {
    .content-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .content-cartons-select {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .board-number {
        display: flex;
        justify-content: center;
        gap: 5px;
        max-width: 90%;
        margin: auto;
        top: -20px;
    }

    .column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-bottom: 5px;
    }

    .one-carton, .two-cartons .bingo-border-carton {
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 20px;
        height: 100%;
    }

    .one-carton, .two-cartons .bingo-carton-number {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .one-carton, .two-cartons .bingo-carton-header {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: #ffffff;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }


    .bingo-carton-number {
        font-size: 2vw;  /* Ajustar tamaño de texto */
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .bingo-carton-header {
        font-size: 2vw;
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .center-section .cartons-section .board-section .play-section {
        padding-bottom: 130px;
    }

    .center-section {
        flex: 0.5;
    }

    .controls-board {
        position: fixed;
        right: 15px;
        bottom: 15px;
    }

    .total-balls {
        padding: 0px 5px;
        left: 15px;
    }

    .notifications {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
    }

    .max-w-20-xs {max-width: 20% !important; width: 20% !important; margin: auto;}
    .max-w-25-xs {max-width: 25% !important; width: 25% !important; margin: auto;}
    .max-w-30-xs {max-width: 30% !important; width: 30% !important; margin: auto;}
    .max-w-35-xs {max-width: 35% !important; width: 35% !important; margin: auto;}
    .max-w-40-xs {max-width: 40% !important; width: 40% !important; margin: auto;}
    .max-w-45-xs {max-width: 45% !important; width: 45% !important; margin: auto;}
    .max-w-50-xs {max-width: 50% !important; width: 50% !important; margin: auto;}
    .max-w-55-xs {max-width: 55% !important; width: 55% !important; margin: auto;}
    .max-w-60-xs {max-width: 60% !important; width: 60% !important; margin: auto;}
    .max-w-65-xs {max-width: 65% !important; width: 65% !important; margin: auto;}
    .max-w-70-xs {max-width: 70% !important; width: 70% !important; margin: auto;}
    .max-w-75-xs {max-width: 75% !important; width: 75% !important; margin: auto;}
    .max-w-80-xs {max-width: 80% !important; width: 80% !important; margin: auto;}
    .max-w-85-xs {max-width: 85% !important; width: 85% !important; margin: auto;}
    .max-w-90-xs {max-width: 90% !important; width: 90% !important; margin: auto;}
    .max-w-95-xs {max-width: 95% !important; width: 95% !important; margin: auto;}
}

/* Para escritorios pequeños */
@media (min-width: 1025px) and (max-width: 1280px) {
    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .max-w-20 {max-width: 20% !important; width: 20% !important; margin: auto;}
    .max-w-25 {max-width: 25% !important; width: 25% !important; margin: auto;}
    .max-w-30 {max-width: 30% !important; width: 30% !important; margin: auto;}
    .max-w-35 {max-width: 35% !important; width: 35% !important; margin: auto;}
    .max-w-40 {max-width: 40% !important; width: 40% !important; margin: auto;}
    .max-w-45 {max-width: 45% !important; width: 45% !important; margin: auto;}
    .max-w-50 {max-width: 50% !important; width: 50% !important; margin: auto;}
    .max-w-55 {max-width: 55% !important; width: 55% !important; margin: auto;}
    .max-w-60 {max-width: 60% !important; width: 60% !important; margin: auto;}
    .max-w-65 {max-width: 65% !important; width: 65% !important; margin: auto;}
    .max-w-70 {max-width: 70% !important; width: 70% !important; margin: auto;}
    .max-w-75 {max-width: 75% !important; width: 75% !important; margin: auto;}
    .max-w-80 {max-width: 80% !important; width: 80% !important; margin: auto;}
    .max-w-85 {max-width: 85% !important; width: 85% !important; margin: auto;}
    .max-w-90 {max-width: 90% !important; width: 90% !important; margin: auto;}
    .max-w-95 {max-width: 95% !important; width: 95% !important; margin: auto;}
}

/* Para escritorios grandes */
@media (min-width: 1281px) {
    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .max-w-20 {max-width: 20% !important; width: 20% !important; margin: auto;}
    .max-w-25 {max-width: 25% !important; width: 25% !important; margin: auto;}
    .max-w-30 {max-width: 30% !important; width: 30% !important; margin: auto;}
    .max-w-35 {max-width: 35% !important; width: 35% !important; margin: auto;}
    .max-w-40 {max-width: 40% !important; width: 40% !important; margin: auto;}
    .max-w-45 {max-width: 45% !important; width: 45% !important; margin: auto;}
    .max-w-50 {max-width: 50% !important; width: 50% !important; margin: auto;}
    .max-w-55 {max-width: 55% !important; width: 55% !important; margin: auto;}
    .max-w-60 {max-width: 60% !important; width: 60% !important; margin: auto;}
    .max-w-65 {max-width: 65% !important; width: 65% !important; margin: auto;}
    .max-w-70 {max-width: 70% !important; width: 70% !important; margin: auto;}
    .max-w-75 {max-width: 75% !important; width: 75% !important; margin: auto;}
    .max-w-80 {max-width: 80% !important; width: 80% !important; margin: auto;}
    .max-w-85 {max-width: 85% !important; width: 85% !important; margin: auto;}
    .max-w-90 {max-width: 90% !important; width: 90% !important; margin: auto;}
    .max-w-95 {max-width: 95% !important; width: 95% !important; margin: auto;}
}

/* 😊 Feliz (Salto suave) */
.emoji-btn:focus, .emoji-btn:hover { animation: bounce 0.6s ease-in-out infinite; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 😢 Triste (Latido lento y encogido) */
.emoji-btn:nth-child(2):focus, .emoji-btn:nth-child(2):hover { animation: sadPulse 0.8s ease-in-out infinite; }
@keyframes sadPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.9); }
}

/* 🤯 Sorprendido (Sacudida rápida) */
.emoji-btn:nth-child(3):focus, .emoji-btn:nth-child(3):hover { animation: shake 0.5s ease-in-out infinite; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* 😂 Risa (Rebote de risa) */
.emoji-btn:nth-child(4):focus, .emoji-btn:nth-child(4):hover { animation: laughBounce 0.4s ease-in-out infinite; }
@keyframes laughBounce {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(-10deg); }
}

/* 😍 Enamorado (Latido grande) */
.emoji-btn:nth-child(5):focus, .emoji-btn:nth-child(5):hover { animation: heartbeat 0.6s ease-in-out infinite; }
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* 🥺 Suplicante (Temblor pequeño) */
.emoji-btn:nth-child(6):focus, .emoji-btn:nth-child(6):hover { animation: tinyShake 0.3s ease-in-out infinite; }
@keyframes tinyShake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(2px); }
}

/* 🤔 Pensativo (Cabeceo lateral) */
.emoji-btn:nth-child(7):focus, .emoji-btn:nth-child(7):hover { animation: headTilt 0.5s ease-in-out infinite; }
@keyframes headTilt {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(8deg); }
}

/* 🙄 Fastidio (Giro de ojos) */
.emoji-btn:nth-child(8):focus, .emoji-btn:nth-child(8):hover { animation: eyeRoll 0.8s ease-in-out infinite; }
@keyframes eyeRoll {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(15deg); }
}

/* 🧐 Curioso (Zoom de inspección) */
.emoji-btn:nth-child(9):focus, .emoji-btn:nth-child(9):hover { animation: zoomIn 0.4s ease-in-out infinite; }
@keyframes zoomIn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* 😘 Beso (Inclinación con zoom) */
.emoji-btn:nth-child(10):focus, .emoji-btn:nth-child(10):hover { animation: kiss 0.6s ease-in-out infinite; }
@keyframes kiss {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.1) rotate(-10deg); }
}

/* 😜 Travieso (Lengua afuera) */
.emoji-btn:nth-child(11):focus, .emoji-btn:nth-child(11):hover { animation: tongueOut 0.5s ease-in-out infinite; }
@keyframes tongueOut {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 😅 Nervioso (Sacudida ligera) */
.emoji-btn:nth-child(12):focus, .emoji-btn:nth-child(12):hover { animation: nervousShake 0.4s ease-in-out infinite; }
@keyframes nervousShake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

/* 😨 Asustado (Sacudida intensa) */
.emoji-btn:nth-child(13):focus, .emoji-btn:nth-child(13):hover { animation: scaredShake 0.3s ease-in-out infinite; }
@keyframes scaredShake {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 😎 Genial (Zoom y giro) */
.emoji-btn:nth-child(14):focus, .emoji-btn:nth-child(14):hover { animation: coolZoom 0.4s ease-in-out infinite; }
@keyframes coolZoom {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.2) rotate(-5deg); }
}

/* 🤪 Loco (Onda divertida) */
.emoji-btn:nth-child(15):focus, .emoji-btn:nth-child(15):hover { animation: crazyWave 0.5s ease-in-out infinite; }
@keyframes crazyWave {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(15deg); }
}
a {
    color: #d7d7d7;
    text-decoration: underline;
}

.next-game {
    animation: blinkColor 1s infinite;
}

@keyframes blinkColor {
    0% { color: #ff4444; }
    50% { color: #44ff44; }
    100% { color: #4488ff; }
}

/* Cursor de máquina de escribir */
.cursor {
    display: inline-block;
    width: 2px;
    background: white;
    margin-left: 3px;
    animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {
    0%, 50% { opacity: 1; }
    50.1%, 100% { opacity: 0; }
}

.status-badge .badge {
    font-size: 0.75rem;
}

.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.pagination-sm .page-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.card-header h6 {
    margin-bottom: 0;
}

.form-control-sm {
    font-size: 0.875rem;
}

.table-responsive {
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.opacity-50 {
    opacity: 0.5 !important;
    pointer-events: none;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

#statistics-cards .card {
    transition: transform 0.2s ease-in-out;
}

#statistics-cards .card:hover {
    transform: translateY(-2px);
}

.btn-bingo {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-bingo:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.available-wallet {
    font-weight: bold;
    color: #28a745;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 98% !important;
        margin: 0.5rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .btn-group-sm .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .card-body.p-3 {
        padding: 1rem !important;
    }
    
    .col-lg-3.col-md-6.mb-3 {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 576px) {
    .table th,
    .table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
    
    .btn-bingo {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .pagination-sm .page-link {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
}

/* Animation for loading */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* Status badge colors */
.status-badge .badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

.status-badge .badge.bg-success {
    background-color: #198754 !important;
}

.status-badge .badge.bg-danger {
    background-color: #dc3545 !important;
}

.status-badge .badge.bg-info {
    background-color: #0dcaf0 !important;
    color: #000;
}

/* Custom scrollbar for table */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ===== Awards modal actions (custom buttons) ===== */
.awards-actions {
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    margin-top: .25rem;
    padding-top: .25rem;
}

.awards-actions .btn-bingo i {
    margin-right: 6px;
}

/* Recargar billetera button */
.btn-bingo-wallet {
    background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(47, 128, 237, 0.3);
}

/* Comprar cartones button */
.btn-bingo-buy {
    background: linear-gradient(135deg, #48c774 0%, #36a85f 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(72, 199, 116, 0.3);
}

.btn-bingo-wallet:hover,
.btn-bingo-buy:hover {
    filter: brightness(1.05);
}

/* Responsive width for inline buttons in awards modal */
@media (max-width: 576px) {
    .awards-actions .btn-bingo {
        width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 6px;
    }
}

/* CTA text above footer buttons in awards modal */
.awards-cta-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
    margin-bottom: 0.25rem;
    letter-spacing: 0.2px;
}

@media (max-width: 576px) {
    .awards-cta-text {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }
}


/* Mobile: make purchase button full-width and 12px text (supports dynamic IDs e.g., card-button-buy-135) */
@media (max-width: 576px) {
    .btn.card-button-buy,
    .card-button-buy,
    .continue-button-buy,
    [id^="card-button-buy-"],
    [id^="card-button-buy"] {
        width: 100% !important;
        display: block !important;
        font-size: 12px !important;
    }

    /* Stronger override when Bootstrap utility .w-50 is present (ensure higher specificity) */
    .btn.card-button-buy.w-50,
    .card-button-buy.w-50,
    .continue-button-buy.w-50,
    [id^="card-button-buy-"].w-50,
    [id^="card-button-buy"].w-50 {
        width: 100% !important;
    }
}