.wheel-cover {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    /* border: 3px solid #0a1b18; */
    position: absolute;
    inset: -35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.wheel-cover img {
    width:100%;
}

.gameWheelWrap {
    position: relative;
    display: flex;
    width: 100%;
max-width: 600px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.wheel-container {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* font-size: 0rem; */
    user-select: none;
    margin: 0 auto;
}


.wheel-container::before {
    background-image: url(../images/arrow.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /* inset: 29%; */
    /* background: #39ffe2; */
    content: '';
    position: absolute;
    top: 13%;
    width: 5%;
    height: 12%;
    /* background: #f43648; */
    z-index: 11;
    clip-path: polygon(58% 0%, 100% 50%, 50% 100%, 0% 50%);
    /* left: calc(50% - 15px); */
    left: calc(50% - 2.75%);
}

.wheel {
    position: absolute;
    width: 100%;
    height: 100%;
    /* border: 3px solid #0a1b18; */
    border: 0.2em solid #bafff9; /* Relative border; scales with size */
    border-radius: 50%;
    transition: transform 5s ease-in-out;
    overflow: visible;
}

.wheel span {
    position: absolute;
    left: 50%;
    /* width: 2px; */
    width: 0.5%; /* Thin line, scales */
    height: 100%;
    transform-origin: left center;
    transform: rotate(calc(var(--deg) * var(--i)));
    background: rgba(0, 0, 0, 0);
    z-index: 2;
}

.wheel-background {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 0;
    transition: filter 0.5s ease-in-out;
}

.wheel .winning-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    transition: background 0.5s ease-in-out;
}

.spinBtn {
        background-position: center center;
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-size: cover; /* Optional: Adjusts the image size to cover the entire area */
    position: absolute;
    /* inset: 140px; */
    inset: 33%; /* Centers button at ~35% from edges (adjust for your inner wheel size) */
    /* background: #39ffe2; */
    color: #0a1b18;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    user-select: none;
    text-transform: uppercase;
    font-size: 1.5em; /* Scales with container font-size */
    font-weight: 600;
    letter-spacing: 0.1em;
}

.spinBtn img {
width:100%
}



.segment-text {
    margin: 0;
    font-size: 0.8em;
    padding-top: 23px;
    font-weight: bold;
    color: #ffffff;
}

.segment-image {
    height: 15%;
}

.segments {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.segments div {
    position: absolute;
    /* inset: 10px; */
    inset: 2.5%; /* Relative inset for padding around segments */
    transform: rotate(calc(var(--deg) * var(--i) + (var(--deg) / 2)));
    text-align: center;
    font-size: 2em; /* Scales with container */
    font-weight: 500;
}

.blur-element {
    filter: blur(2px) brightness(0.4);
    transition: filter 0.5s ease-in-out;
}

.highlight-element-text p {
    color: #000000 !important;
}

.inner {
    position: absolute;
    width: 65%;
    height: 65%;
    background: #0a1b18;
    border-radius: 50%;
    transition: transform 5s ease-in-out;
    overflow: visible;
    z-index: 5;
}

.inner span {
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    transform-origin: left center;
    background: #1fc7a8;
    filter: brightness(0.5);
    z-index: 6;
}

.inner span.winning {
    background: linear-gradient(to bottom, #ffeb3b, #ffc107);
    transition: all 0.5s ease-in-out;
}





@media screen and (min-width: 600px) and (max-width: 900px) and (orientation: landscape) {
.wheel-cover img {
width: 324px;
}


.gameWheelWrap {
max-width: 290px;
}


.segment-text {
    font-size: 0.5em;
    padding-top: 8px;
}
}








@media screen and (min-width: 240px) and (max-width: 480px) and (orientation: portrait) {
.wheel-cover img {
width: 324px;
}


.gameWheelWrap {
max-width: 290px;
}


.segment-text {
    font-size: 0.5em;
    padding-top: 8px;
}
}