* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 }
  
html {
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

html {
    zoom: reset;
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-image: linear-gradient(#920000, #470000);
    height: 100%;
    transition: opacity 1s ease-out;
    padding: 0 !important;
    margin: 0 !important;
}

.hidden {
    opacity: 0;
}

.loading {
    background-image: linear-gradient(#920000, #470000);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loading_page {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logoloading {
    width: 38vh;
}

.iconoloading {
    width: 15vh;
    margin-bottom: -13.6vh;
    margin-top: 5vh;
}

.spinner {
    position: relative;
    box-sizing: border-box;
    background-clip: padding-box;
    width: 20vh;
    height: 20vh;
    border-radius: 10vh;
    border: 0.4vh solid rgba(255, 255, 255, 0.1);
    transform-origin: 50% 60%;
    transform: perspective(20vh) rotateX(66deg);
    animation: spinner-wiggle 1.2s infinite;
}
.spinner:before,
.spinner:after {
    content: "";
    position: absolute;
    margin: -0.4vh;
    box-sizing: inherit;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    opacity: .05;
    border: inherit;
    border-color: transparent;
    animation: spinner-spin 1.2s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, spinner-fade 1.2s linear infinite;
}
  
.spinner:before {
    border-top-color: #ffffcc;
}
  
.spinner:after {
    border-top-color: #C93;
    animation-delay: 0.3s;
}
  
@keyframes spinner-spin {
    100% {
      transform: rotate(360deg);
    }
}
@keyframes spinner-fade {
    20% {
      opacity: .1;
    }
    40% {
      opacity: 1;
    }
    60% {
      opacity: .1;
    }
}

.cargando {
    font-size: 2.5vh;
    color: #C93;
}

.titulo_1, .titulo_2, .titulo_3 {
    color: #FFF;
    font-style: italic;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

.titulo_1 {
    font-size: 3.5vh;
    text-shadow: 0.5vh 0.5vh 0.5vh #000;
    margin: 0vh 0vh 1vh;
}

.titulo_2 {
    font-size: 1.8vh;
    margin-top: 1vh;
}

.titulo_3 {
    font-size: 2vh;
}

.reg_ganador {
    margin-top: 0.6vh;
}

.linea {
    width: 55%;
    border-bottom: solid 1px #CC9933;
    margin: 0.3vh auto 0vh;
}

.menu_icon {
    position: absolute;
    right: 3vh;
    top: 3vh;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 6.6vh;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 0.6vh;
    padding: 0.5vh 0;
    position: absolute;
    z-index: 1;
    top: 110%;
    opacity: 0;
    transition: opacity 0.5s;
    font-weight: 100;
    font-size: 1vh;
    letter-spacing: 1px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.header, .footer {
    box-sizing: border-box;
}

.header {
    padding: 1vh 0vh 0vh;
    background-color: #0F0F0F;
    justify-content: flex-end;
    display: flex;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
}

.footer_2 {
    color: #FFF;
    padding: 2vh;
    text-align: center;
    font-weight: 100;
    letter-spacing: 0.2vh;
    font-size: 1.2vh;
    background-color:#470000;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0vh auto;
    background-color: #0F0F0F;
    justify-content: flex-start;
    padding: 0;
}

.footer_div {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 95vh;
    justify-content: space-between;
    margin-top: 1vh;
}

.footer_left, .footer_right {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.estadisticas-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.fila {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 2.5vh;
    margin-top: 1vh;
}

.estadistica {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8vh;
    height: 2.5vh;
    background-position: center left;
    margin: 0vh;
    background-repeat: no-repeat;
    border: solid 1px #C93;
    border-radius: 5vh;
    background-color: #fff;
    background-size: 2.3vh;
    background-position-x: 0.2vh;
}

.estadistica-valor {
    font-size: 1.6vh;
    font-weight: bold;
    margin-left: 1.2vh;
}

.separador, .separador img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

.logo_top, .logo_top img {
    height: 90%;
}

.logo {
    width: 80%;
    margin: 3vh auto 0vh;
}

.container_1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 90%;
    max-width: 95vh;
    margin: 2vh auto;
    height: 24.5vh;
}

.container_3 {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 90%;
    max-width: 95vh;
    margin: 3vh auto 3vh;
    height: 2.5vh;
    justify-content: center;
}

.juegos {
    display: flex;
    width: 100%;
    height: 27vh;
    margin-top: 20vh;
    justify-content: space-between;
}

.back_titulo_juegos {
    border-bottom: solid 2px #C93;
    background-color: rgba(0,0,0,0.7);
    border-top: solid 2px #C93;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 7vh 0vh 4vh;
    padding: 1.5vh 0vh 2vh;
}

.back_titulo_juegos .titulo_2 {
    text-shadow: 0.5vh 0.5vh 0.7vh rgb(0, 0, 0);
    font-size: 3vh;
    color: #FFF;
    font-style: italic;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

.proximamente .boton_juego {
    background-color: #999;
    border: 1px solid #ccc;
}

.proximamente .boton_juego:hover {
    background-color: #535353;
    color: #FFF;
    cursor: pointer;
    text-decoration: none;
}

.boton_juego {
    border-radius: 5vh;
    background-color: #C93;
    font-size: 1.5vh;
    padding: 0.7vh 2vh;
    color: #000;
    font-family: 'Times New Roman', Times, serif;
    margin: 0vh;
    border: 1px solid #ffc;
    width: 50%;
    text-transform: uppercase;
    font-weight: bolder;
    text-decoration: none;
    display: inline-block;
}

.boton_juego:hover {
    background-color: rgb(131, 99, 34);
    color: #FFF;
    cursor: pointer;
    text-decoration: none;
}

.ficha_juego {
    width: 47%;
    border: solid 2px #C93;
    border-radius: 1vh;
    height: 100%;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0.5vh 0.5vh 2vh rgba(0,0,0,0.3);
}

.baccarat_1 {
    background-image: url('/assets/images/baccarat_1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.proximamente {
    background-color: rgba(0,0,0,0.3);
}

#timer {
    font-size: 2vh;
    margin-bottom: 1vh;
}

.subtitle {
    font-size: 2.5vh;
    color: #C93;
    font-style: italic;
    text-shadow: 0.5vh 0.5vh 0.7vh rgb(0, 0, 0);
    margin: 0vh 0vh 0.5vh;
}

.footer_div .subtitle {
    font-size: 2.5vh;
    margin-top: 1.2vh;
}

.footer_title {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 95vh;
}

.subtitle span {
    font-size: 2vh;
    color: #FFF;
}

.valores {
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.valores button, .modal button {
    background-color: #C93;
    border: solid 1px #FFC;
    color: #000;
    font-weight: 600;
    font-family: 'Times New Roman', Times, serif;
    border-radius: 0.5vh;
    font-size: 1.2vh;
    padding: 0.5vh 0vh 0.4VH;
    margin: 1vh 0vh;
    cursor: pointer;
    text-transform: uppercase;
}

.valores button:hover, .modal button:hover {
    background-color: #957025;
    color: #FFF;
}

.balance_frame span, #timer {
    font-size: 2vh;
    color: #FFF;
}

.apuestas {
    width: 100%;
    height: 14.9vh;
    background-image: url('/assets/images/bet_background.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    margin: 1vh 0vh;
    display: flex;
}

.apuestasdt {
    width: 100%;
    height: 14.9vh;
    background-image: url('/assets/images/apuestasdt.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    margin: 1vh 0vh;
    display: flex;
}

.apuesta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.apuesta > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.apuesta:first-child, .apuesta:last-child {
    flex: 0 0 35.7%;
}

.apuesta:nth-child(2) {
    flex: 0 0 28%;
}

.apuesta .top-row {
    height: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.apuesta .bottom-row {
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.response, .amount, .label {
    color: white;
    margin: 0.5vh 0;
}

.response {
    width: 100%;
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: bottom;
    margin-bottom: 0vh;
    display: flex;
    justify-content: center;
    align-content: center;
    margin-top: 2vh;
}

.response img {
    width: 50%;
}

.amount {
    font-size: 2.5vh;
    font-weight: 700;
    margin-top: 6.5vh;
}

.label {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.3vh;
}

.botones_apuesta {
    display: flex;
    justify-content: space-between;
    margin-top: 1vh;
}

.boton_jugador, .boton_empate, .boton_banquero, .boton_dragon, .boton_tiger {
    border: solid 2px #C93;
    text-align: center;
    padding: 1vh 0vh;
    color: #FFF;
    font-size: 1.4vh;
    font-family: 'Times New Roman', Times, serif !important;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
}

.boton_jugador {
    width: 36%;
    border-radius: 1vh 0vh 0vh 1vh;
    background-color: #0000B1;
}

.boton_jugador:hover {
    background-color: #000068;
}

.boton_dragon {
    width: 36%;
    border-radius: 1vh 0vh 0vh 1vh;
    background-color: #D40007;
}

.boton_dragon:hover {
    background-color: #7E0005;
}

.boton_empate {
    width: 26.3%;
    background-color: #057928;
}

.boton_empate:hover {
    background-color: #054717;
}

.boton_banquero {
    width: 36%;
    border-radius: 0vh 1vh 1vh 0vh;
    background-color: #D40007;
}

.boton_banquero:hover {
    background-color: #7E0005;
}

.boton_tiger {
    width: 36%;
    border-radius: 0vh 1vh 1vh 0vh;
    background-color: #D19F17;
}

.boton_tiger:hover {
    background-color: #906E11;
}

.resultados {
    width: 47%;
    border: solid 2px #C93;
    border-radius: 1vh;
    background-color: rgba(0,0,0,0.15);
    height: 100%;
    text-align: center;
    padding: 0vh 1.8vh;
    box-sizing: border-box;
    position: relative;
}

.results .item {
    display: inline-block;
    padding: 1vh;
}

.results {
    display: flex;
    overflow-x: hidden;
    padding: 1vh 0vh 0vh;
    white-space: nowrap;
    position: relative;
    margin-bottom: 1vh;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Ocultar la barra de desplazamiento del navegador */
.won-bets::-webkit-scrollbar {
    display: none;
}

.won-bets {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.result-circle, .bet-circle {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.2vh;
    font-weight: bold;
    color: white;
}

.result-circle.banker, .bet-circle.banker {
    background-color: #EC2024;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    color: #FFF;
    padding: 0.5vh;
    margin: 0.5vh 0.3vh;
    border-radius: 50%;
    text-align: center;
    width: 2.1vh;
    height: 2.1vh;
    font-size: 1.1vh;
    line-height: 1vh;
    box-shadow: 0.2vh 0.2vh 0.3vh rgba(0,0,0,0.4);
}

.result-circle.tiger, .bet-circle.tiger {
    background-color: #FFC21B;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    color: #000;
    padding: 0.5vh;
    margin: 0.5vh 0.3vh;
    border-radius: 50%;
    text-align: center;
    width: 2.1vh;
    height: 2.1vh;
    font-size: 1.1vh;
    line-height: 1vh;
    box-shadow: 0.2vh 0.2vh 0.3vh rgba(0,0,0,0.4);
}

.result-circle.player, .bet-circle.player {
    background-color: #1E56FF;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    color: #FFF;
    padding: 0.5vh;
    margin: 0.5vh 0.3vh;
    border-radius: 50%;
    text-align: center;
    width: 2.1vh;
    height: 2.1vh;
    font-size: 1.1vh;
    line-height: 1.1vh;
    box-shadow: 0.2vh 0.2vh 0.3vh rgba(0,0,0,0.4);
}

.result-circle.dragon, .bet-circle.dragon {
    background-color: #EC2024;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    color: #000;
    padding: 0.5vh;
    margin: 0.5vh 0.3vh;
    border-radius: 50%;
    text-align: center;
    width: 2.1vh;
    height: 2.1vh;
    font-size: 1.1vh;
    line-height: 1.1vh;
    box-shadow: 0.2vh 0.2vh 0.3vh rgba(0,0,0,0.4);
}

.result-circle.tie {
    background-color: #159252;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    color: #FFF;
    padding: 0.5vh;
    margin: 0.5vh 0.3vh;
    border-radius: 50%;
    text-align: center;
    width: 2.1vh;
    height: 2.1vh;
    font-size: 1.1vh;
    line-height: 1.1vh;
    box-shadow: 0.2vh 0.2vh 0.3vh rgba(0,0,0,0.4);
}

.result-circle.empty {
    background-color: rgba(0,0,0,0.3);
    padding: 0.5vh;
    margin: 0.5vh 0.3vh;
    border-radius: 50%;
    width: 2.1vh;
    height: 2.1vh;
}

.bet-circle.empty {
    background-color: rgba(0, 0, 0, 0.3);
}

.won-bets {
    display: flex;
    flex-wrap: wrap;
    height: calc(100% - 7vh);
    overflow-y: hidden;
    position: relative;
    padding: 0vh 1vh;
    margin: 1.5vh 0vh;
    scroll-behavior: smooth;
}

.lost-bets .bet-circle {
    width: 3.5vh;
    height: 3.5vh;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 2vh;
    line-height: 2.4vh;
}

.bet-circle {
    display: inline-block;
    width: 3vh;
    height: 3vh;
    margin: 0.5vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.bet-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lost-bets {
    display: flex;
    justify-content: center;
    margin-top: 1vh;
}

.custom-scrollbar {
    position: relative;
    width: 100%;
    height: 1vh;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 1vh;
    overflow: hidden;
}

.custom-scrollbar-thumb {
    width: 10vh;
    height: 100%;
    background: #C93;
    border-radius: 1vh;
    cursor: pointer;
    position: relative;
}

.custom-scrollbar-thumb:hover {
    background: #A97D45;
}

.ganadas {
    width: 47%;
    border: solid 2px #C93;
    border-radius: 1vh;
    background-color: rgba(0,0,0,0.15);
    height: 100%;
    text-align: center;
    padding: 0vh 1.8vh;
    box-sizing: border-box;
    position: relative;
    margin-left: auto;
}

.bet-won {
    box-shadow: 0.2vh 0.2vh 0.5vh rgba(0,0,0,0.5);
    display: inline-block;
    width: 3vh;
    height: 3vh;
    margin: 0.5vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.custom-scrollbar-vertical {
    position: absolute;
    right: 2vh;
    bottom: 2vh;
    width: 1vh;
    height: calc(100% - 7vh);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 1vh;
    overflow: hidden;
}

.custom-scrollbar-thumb-vertical {
    width: 100%;
    height: 7vh;
    background: #C93;
    border-radius: 1vh;
    cursor: pointer;
    position: relative;
}

.custom-scrollbar-thumb-vertical:hover {
    background: #A97D45;
}

.won-bets, .custom-scrollbar-vertical, .custom-scrollbar-thumb-vertical {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.result-column {
    display: inline-block;
    text-align: center;
    vertical-align: top;
}

.empty-result {
    background-color: rgba(0,0,0,0.3);
    padding: 0.5vh;
    margin: 0.5vh 0.3vh;
    border-radius: 50%;
    width: 2.1vh;
    height: 2.1vh;
}

.fondo_jugador {
    width: 50vh;
    height: 30vh;
    background: linear-gradient(to bottom, #1a1a2e, #16213e);
    border: 2px solid #C93;
    border-radius: 2vh;
    position: relative;
    overflow: hidden;
}

#stars img {
    width: 3vh;
    height: 3vh;
    margin-right: 0.7vh;
    margin-top: 0.6vh;
}

.star-on {
    filter: drop-shadow(0vh 0vh 0.4vh #FFD700);
    transform: scale(1.05);
}

.lost-bets div {
    width: 3.5vh;
    height: 3.5vh;
    text-align: center;
}

#lost-bets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0.5vh;
}

.buttons {
    margin-top: 2vh;
}

.buttons button {
    background-color: #444;
    color: white;
    padding: 1vh 2vh;
    margin: 0.5vh;
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
}

.buttons button:hover {
    background-color: #555;
}

.modal {
    background-image: linear-gradient(#920000, #470000);
    padding: 2vh 4vh;
    width: 45vh;
    position: relative;
    margin: 10% auto;
    box-shadow: 0.2vh 0.2vh 2vh #000;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 1vh;
    border: solid 1px #C93;
}

.modal .titulo_2 {
    font-size: 2.1vh;
    margin-bottom: 1vh;
}

.modal .linea {
    width: 80%;
    margin-bottom: 3vh;
}

.modal_form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 3vh;
}

.modal label {
    width: 40%;
    display: inherit;
    font-size: 2.2vh;
}

.modal input {
    background-clip: padding-box !important;
    box-shadow: none;
    transition: none;
    border-radius: 5vh;
    font-style: italic;
    padding: 0.5vh 1vh;
    font-size: 1.5vh;
    width: 50%;
}

.modal_buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.winning-streaks-chart {
    margin: 1vh;
    padding: 1vh;
}

.chart-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 8vh;
    gap: 2vh;
}

.bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 5vh;
}

.bar {
    width: 3.5vh;
    transition: height 0.3s ease;
    background-image: linear-gradient(#920000, #470000);
    margin: 0 auto;
    border-bottom: solid 0.5vh #470000;
}

.bar-value {
    color: #FFF;
    font-size: 1.4vh;
    margin-bottom: 0.5vh;
    font-weight: bold;
}

.bar-label {
    color: #C93;
    font-size: 1.5vh;
    margin-top: 0.5vh;
    font-weight: bold;
}

.bar-width {
    width: 90%;
    text-align: center;
    border-bottom: solid 1px #C93;
}

.container_2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 90%;
    max-width: 95vh;
    margin: 2vh auto;
    height: 27vh;
    justify-content: space-between;
}

.balance_frame, .timer_frame {
    height: 100%;
    border: solid 2px #C93;
    border-radius: 1vh;
    background-color: rgba(0,0,0,0.15);
    text-align: center;
    padding: 0vh 1.8vh;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-content: space-between;
}

.centro {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Regla base para todos los tamaños */
.balance_frame, .timer_frame {
    width: clamp(18%, calc(5vw + 10%), 22%);
}

.centro {
    width: clamp(60%, calc(90% - 18vw), 52%);
}

.container_4 {
    display: none;
}

.nuevo_1 {
    display: none;
}

/* Ajustes para pantallas pequeñas (600px y menos) */
@media (max-width: 750px) {
    .balance_frame, .timer_frame {
        width: 15%;
    }
    .lost-bets .bet-circle {
        width: 3vh;
        height: 3vh;
        font-size: 1.7vh;
        line-height: 2vh;
        gap: 0.1vh;
    }
    .container_2 {
        flex-direction: column;
        height: auto !important;
        margin-bottom: 0vh;
    }
    .balance_2 {
        display: none;
    }
    .balance_frame, .timer_frame {
        width: 100%;
        flex-direction: row;
        margin-bottom: 1.5vh;
    }
    .centro {
        width: 100%;
        height: auto;
        margin-bottom: 2vh;
    }
    .apuestas {
        width: 100%;
        aspect-ratio: 10 / 3;
        height: auto;
    }
    .valores {
        flex-direction: revert;
        align-items: baseline;
        width: 50%;
        height: 100%;
        padding: 1vh 0vh 0.5vh;
        gap: 1.5vh;
    }
    .linea_1 {
        display: none;
    }
    .subtitle {
        font-size: 2vh;
    }
    .valores button {
        padding: 0.3vh 1vh !important;
        margin: 0vh 0.5vh;
        font-size: 1.5vh !important;
    }
    .titulo_2 {
        font-size: 1.5vh;
        margin-top: 0.5vh;
    }
    .titulo_3 {
        font-size: 1.7vh;
    }
    .resultados, .ganadas {
        width: 48%;
        padding: 0vh 1vh;
    }
    .container_1 {
        height: 23.5vh;
    }
    .container_3 {
        margin: 0vh auto 1vh !important;
        height: auto;
    }
    .container_4 {
        display: block;
        margin: 2vh auto;
        width: 90%;
    }
    #won-bets {
        height: calc(100% - 6vh);
        padding: 0vh 1vh;
    }
    #lost-bets {
        margin-top: 0vh;
    }
    .custom-scrollbar-vertical {
        right: 1.2vh;
    }
    .bet-circle.bet-won, .bet-circle {
        width: 2.5vh;
        height: 2.5vh;
    }
    .nuevo_1 {
        display: block;
    }
    .nuevo {
        display: none;
    }
    #timer {
        font-size: 1.5vh;
    }
    .juegos {
        flex-direction: column;
        gap: 4vh;
    }
}

@media (max-width: 900px) {
    .container_2 {
        height: 25vh;
    }
    .balance_frame, .timer_frame {
        padding: 0vh 1vh;
    }
}

/* Ajustes para pantallas grandes (991px en adelante) */
@media (min-width: 992px) {
    .balance_frame, .timer_frame {
        width: 22%;
    }
    .centro {
        width: 52%;
    }
}

@media (max-width: 991px) {
    .valores button {
        font-size: 1vh;
        padding: 0.5vh 0vh 0.4VH;
    }
    .modal button {
        font-size: 1.2vh;
        padding: 0.5vh 2vh 0.4VH;
    }
    .apuestas {
        background-size: auto;
    }
    .titulo_1 {
        font-size: 3vh;
        text-shadow: 0.5vh 0.5vh 0.5vh #000;
        margin: 0.5vh 0vh 1.5vh;
    }
    #lost-bets {
        gap: 0vh;
    }
    .container_3 {
        margin: 2vh auto 3vh;
    }
}