:root {
    --rojo-ruleta: #c62828;
    --negro-ruleta: #212121;
    --verde-ruleta: #2e7d32;
    --dorado: #ffd700;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.contenedor-principal {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

/* Estilos de la ruleta */
.ruleta-contenedor {
    position: relative;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}

.ruleta {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sector {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 50%, 50% 0, 100% 0);
    transform-origin: 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.bola {
    position: absolute;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 2;
}

/* Panel de control */
.panel-control {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 300px;
}

.fichas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.ficha {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    color: white;
    font-weight: bold;
}

.ficha:hover {
    transform: scale(1.05);
}

.configuracion {
    border-top: 2px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
}

.modal-resultado {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    z-index: 1000;
}