.wheelContainer {
    display: flex;
    overflow: hidden;
    width: 500px;
    background: #F8F4E9;
    border-radius: 10px;
    font-family: "PT Sans", sans-serif;
    max-width: 100%;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #E8D9C5; /* Теплый бежево-серый */
    max-height: 300px;
    height: 300px;
    position: relative;
}

.wheelContainer form {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
}

.wheelContainer input[type='text'] {
    padding: 0.4em 1em;
    border: 1px solid #E8D9C5;
    border-radius: 4px;
}

.wheelContainer button:hover {
    background: #5C0921;

}

.wheelContainer button {
    padding: 0.4em 1em;
    border: none;
    border-radius: 4px;
    background: #B80232;
    color: white;
    transition: background-color 0.2s linear;
}

.wheelContainer .padder {
    padding: 2rem 2rem 0 2rem;
}

.wheelContentColumn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.wheelContainer h2 {
    margin-bottom: 0.5em;
    font-size: 1.5rem;
    margin-top: 0;
}

.wheelContainer p {
    margin-top: 0;
    margin-bottom: 0.4em;
}

.wheelTermsHolder a {
    display: inline-flex;
    padding: 1em 0;
    color: gray;
    opacity: 0.7;
}

.wheelTermsHolder {
    text-align: center;
    font-size: 0.8rem;
}

.wheelContainer .visible {
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
}

.wheelContainer .transited {
    transition: visibility 0s, opacity 0.5s, max-height 0s linear;
}

.wheelContainer .hidden {
    visibility: hidden;
    opacity: 0 !important;
    max-height: 0 !important;
}

.wheelTerms {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #F8F4E9;

}
.wheelContainer #fws{
    position: absolute;
    width:100%;
    height:100%;
    left:0;
    top:0;
    pointer-events: none;
    z-index:3;
}
.wheelWaiting,
.wheelTerms,
.wheelResult {
    visibility: hidden;
    opacity: 0;
    max-height: 0;
}

#wheelOfFortune {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    margin-left: -180px;
    min-width: 300px;
    max-width: 300px;
    max-height: 300px;
}

#wheel {
    display: block;
    user-select: none;
}

#spin {
    font: 0.8rem/0 sans-serif;
    user-select: none;
    /*cursor: pointer;*/
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 35%;
    background: #fff;
    color: #fff;
    box-shadow: 0 0 0 8px currentColor, 0 0 15px 5px rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    transition: 0.8s;
    -webkit-tap-highlight-color: transparent;
    text-transform: uppercase;
}

#spin::after {
    content: "";
    position: absolute;
    right: -17px;
    border: 10px solid transparent;
    border-left-color: currentColor;
    border-right: none;
}
