* {
  box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: Arial, sans-serif;

    background: #121212;
    color: white;
}

.container {
    width: 900px;
    max-width: 95%;

    text-align: center;
}

h1 {
    font-size: 42px;
}

.description {
    color: #aaa;
}

.roulette {
    position: relative;

    margin: 40px 0;
}

.viewport {
    overflow: hidden;

    height: 150px;

    border: 2px solid #444;

    background: #1e1e1e;
}

.track {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 10px;

    transform: translateX(0);

    transition: transform 5s cubic-bezier(.1, .7, .1, 1);
}

.weapon {
    min-width: 170px;
    height: 120px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #292929;

    border: 2px solid #555;
    border-radius: 8px;

    font-size: 22px;
    font-weight: bold;
}

.pointer {
    position: absolute;

    left: 50%;
    top: -12px;

    transform: translateX(-50%);

    width: 0;
    height: 0;

    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 25px solid orange;

    z-index: 10;
}

button {
    padding: 18px 50px;

    font-size: 22px;
    font-weight: bold;

    cursor: pointer;

    border: none;
    border-radius: 8px;

    background: orange;
}

button:hover {
    transform: scale(1.05);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#result {
    margin-top: 30px;
}

