* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #0e0d0d;
    overflow: hidden;
}

.container {
    position: relative;
    width: 80vmin;
    height: 80vmin;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .spinBtn {
    position: absolute;
    width: 12vmin;
    height: 12vmin;
    background-color: #fff;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.1em;
    border: 0.5vmin solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    user-select: none;
    font-size: 1.5vmin;
}

.container .spinBtn::before {
    content: '';
    position: absolute;
    top: -4vmin;
    width: 4vmin;
    height: 6vmin;
    background: #fff;
    clip-path: polygon(50% 0%, 15% 100%, 85% 100%);
}

.container .wheel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 0.5vmin #333, 0 0 0 1.5vmin #fff, 0 0 0 1.8vmin #111;
    transition: transform 5s ease-in-out;
}

.container .wheel .number {
    position: absolute;
    width: 50%;
    height: 50%;
    background: var(--clr);
    transform-origin: bottom right;
    transform: rotate(calc(40deg * var(--i)));
    clip-path: polygon(0 0, 56% 0, 100% 100%, 0 56%);
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    cursor: pointer;
}

.container .wheel .number span {
    position: relative;
    transform: rotate(45deg);
    font-size: 4vmin;
    font-weight: 700;
    color: #fff;
    text-shadow: 3px 5px 2px rgba(0, 0, 0, 0.15);
}

.container .wheel .number span::after {
    /* content: '$'; */
    position: absolute;
    font-size: 1.5vmin;
    font-weight: 500;
}
