﻿@font-face {
    font-family: 'Catamaran';
    src: url('/fonts/CATAMARAN-BOLD.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Catamaran';
    src: url('/fonts/CATAMARAN-EXTRABOLD.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
}

@font-face {
    font-family: 'Catamaran';
    src: url('/fonts/CATAMARAN-REGULAR.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Catamaran';
    src: url('/fonts/CATAMARAN-SEMIBOLD.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

html, body {
    font-family: 'Catamaran', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0
}

.bg {
    min-height: 100vh
}

.fullscreen {
    min-height: 100vh;
    background-color: #f06;
    /*display: flex;*/
    align-items: center;
    justify-content: center
}

.pt {
    padding-top: 1rem
}

.text-white {
    color: #fff
}

.row-center {
    display: flex;
    justify-content: center
}

.logo {
    max-width: 220px
}

.msg {
    margin-top: 1.5rem
}

.msg-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center
}

.title-wrap {
    text-align: center;
    margin: 1rem 0
}

.title {
    margin: 0 0 .5rem 0
}

.combo-value {
    font-size: 5vw;
    margin: 0.5vw;
    color: #fff;
}

.ruleta-container {
    position: relative;
    /*width: min(92vw, 560px);*/
    width: clamp(260px, 100%, 560px); /* 100% del contenedor, con min y máx */
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.ruleta-canvas-wrapper {
    position: absolute;
    inset: 0;
}

.ruleta-container canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
    z-index: 4;
}

.borde-ruleta, .puntero-img, .centro-ruleta {
    position: absolute;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none
}

.borde-ruleta {
    inset: 0; 
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    --border-scale: 1.18;
    transform: scale(var(--border-scale));
    transform-origin: 50% 50%;
}

.puntero-img {
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    z-index: 7;
}

.centro-ruleta {
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 30%;
    z-index: 8;
}

.ruleta-container img {
    image-rendering: auto;
}

.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.25rem
}

.girar-btn {
    margin-top: 1rem;
    padding: 0.5rem 1.9rem;
    background: #ff0066;
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
    max-width: 90%;
}

.girar-border_n {
    border: solid 3px #ffc5dd;
}

.girar-border_s {
    border: solid 3px #9b9b9b;
}

.girar-border_g {
    border: solid 3px #d8bb2d;
}

.combo-info {
    margin-top: .5rem;
    font-size: 4.5vw;
    color: #ff0066;
    background: beige;
    border: solid;
    border-color: #ff0066;
    border-radius: 8px;
}

.resultado {
    color: #fff
}

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    line-height: 1.5rem;
}

.popup-content {
    background: #fff;
    color: #111;
    border-radius: 2rem;
    border: #f06 solid 4px;
    padding: 1rem 1.25rem;
    max-width: min(90vw,560px);
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.popup-img {
    max-width: 420px;
    width: 90%;
    margin: 0 auto .5rem auto;
    display: block
}

.pop-ini-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    background: #ff0066;
    color: #ffffff;
    border-radius: 1rem;
    cursor: pointer;
    max-width: 90%;
    border: solid #ff0066;
}

.pop-end-btn {
    padding: 0.5rem 1.5rem;
    font-size: 1.4rem;
    background: #ff0066;
    color: #ffffff;
    border-radius: 1rem;
    cursor: pointer;
    max-width: 90%;
    border: solid #ff0066;
}
[hidden] {
    display: none !important;
}