* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.content {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    justify-content: space-between;
}

.character {
    width: 15%;
    display: flex;
    align-items: end;
    justify-content: center;
    margin-left: 50px;
    z-index: 1;
}

.character__img {
    width: 150%;
}

.wheel-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.wheel {
    width: 1000px;
    height: 1000px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


.wheel-outer__img {
    position: absolute;
    width: 48%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.design-03 .wheel-outer__img {
    top: 49%;
    width: 50%;
}

.design-03 .wheel-button__icon {
    opacity: 0.8;
}

.wheel-arrow {
    position: absolute;
    width: 4%;
    top: 34%;
    left: 49.8%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.wheel-inner__img {
    position: absolute;
    width: 40%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wheel-button {
    position: absolute;
    width: 10%;
    z-index: 4;
}

.wheel-button__icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5%;
    height: 5%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-button__icon {
    width: 100%;
    height: auto;
    transform-origin: center center;
    display: block;
}

.wheel__sections {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.wheel__section {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-shadow: 0 0 0.5vw #ff4500;
}

.wheel__section:nth-of-type(1) {
    transform: rotate(22.5deg) translateY(-13%);
}

.wheel__section:nth-of-type(2) {
    transform: rotate(67.5deg) translateY(-13%);
}

.wheel__section:nth-of-type(3) {
    transform: rotate(112.5deg) translateY(-13%);
}

.wheel__section:nth-of-type(4) {
    transform: rotate(157.5deg) translateY(-13%);
}

.wheel__section:nth-of-type(5) {
    transform: rotate(202.5deg) translateY(-13%);
}

.wheel__section:nth-of-type(6) {
    transform: rotate(247.5deg) translateY(-13%);
}

.wheel__section:nth-of-type(7) {
    transform: rotate(292.5deg) translateY(-13%);
}

.wheel__section:nth-of-type(8) {
    transform: rotate(337.5deg) translateY(-13%);
}

.design-03 .wheel__section:nth-of-type(1) {
    transform: rotate(22.5deg) translateY(-12%);
}

.design-03 .wheel__section:nth-of-type(2) {
    transform: rotate(67.5deg) translateY(-12%);
}

.design-03 .wheel__section:nth-of-type(3) {
    transform: rotate(112.5deg) translateY(-12%);
}

.design-03 .wheel__section:nth-of-type(4) {
    transform: rotate(157.5deg) translateY(-12%);
}

.design-03 .wheel__section:nth-of-type(5) {
    transform: rotate(202.5deg) translateY(-12%);
}

.design-03 .wheel__section:nth-of-type(6) {
    transform: rotate(247.5deg) translateY(-12%);
}

.design-03 .wheel__section:nth-of-type(7) {
    transform: rotate(292.5deg) translateY(-12%);
}

.design-03 .wheel__section:nth-of-type(8) {
    transform: rotate(337.5deg) translateY(-12%);
}

.design-07 .wheel-outer__img {
    width: 45%;
}

.design-07 .wheel-arrow {
    top: 31.50%;
    left: 50.05%;
    z-index: 3;
}

.design-08 .wheel-outer__img {
    width: 42%;
}

.design-08 .wheel-arrow {
    top: 32.50%;
    left: 50.05%;
    z-index: 3;
}


.wheel__number {
    margin-bottom: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
}

.wheel__text {
    font-size: clamp(20px, 4vw, 30px);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    color: #fff;
    opacity: 0.8;
}


.spins {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-right: 50px;
    z-index: 1;
}

.spins__content {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    width: 100%;
    color: aliceblue;
    gap: 20px;
    background-color: rgba(1, 1, 1, 0.7);
    border: 3px solid #c88b23;
    border-radius: 22px;
}

.spins__count {
    font-weight: 900;
    font-size: 27px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(#FF7C00, #FFB800);
    flex-shrink: 0;
}

.spins__text {
    font-size: clamp(16px, 4vw, 20px);
    line-height: 20px;
    font-weight: 400;
    text-transform: uppercase;
    text-shadow: 0 0 10px #ff4500;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: contain;
    color: #fff;
    text-align: center;
    padding: 20px;
    gap: 30px;
    width: 80vw;
    max-width: 430px;
    min-width: 280px;
    height: auto;
    aspect-ratio: 1 / 1;
}

.modal__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    pointer-events: none;
}


.modal__text {
    font-size: clamp(20px, 6vw, 30px);
    white-space: pre-line;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #ff4500;
}

.modal__button {
    display: none;
    padding: 15px 30px;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(90deg, #ff4500, #ff7300);
    border: none;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal__button:hover {
    background: linear-gradient(90deg, #ff7300, #ff4500);
    box-shadow: 0 0 30px rgba(255, 73, 0, 1), 0 0 50px rgba(255, 69, 0, 0.8);
    transform: scale(1.2);
}

.images__img {
    position: absolute;
    max-width: 40vw;
    height: auto;
}

.images__img:nth-of-type(1) {
    top: 5%;
    right: 5%;
    z-index: 0;
}

.images__img:nth-of-type(2) {
    bottom: 10%;
    right: 30%;
}

.images__img:nth-of-type(3) {
    bottom: 5%;
    right: 5%;
}

.wheel-button__icon-wrapper,
.wheel-button__icon {
    pointer-events: none;
}

@media (max-width: 1024px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .character {
        margin-left: 100px;
        align-self: baseline;
    }

    .character__img {
        position: absolute;
        top: 30%;
        left: 40%;
        transform: translate(-50%, -50%);
        width: 300px;
        height: auto;
    }

    .spins {
        flex-direction: row;
        width: 80%;
        margin-right: 0;
        margin-bottom: 50px;
    }

    .spins__content {
        padding: 10px 15px;
        text-align: center;
        height: 100%;
    }

    .spins__count {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .images__img:nth-of-type(1) {
        top: 5%;
        right: 0%;
        z-index: 0;
    }
}

@media (max-width: 768px) {
    .images__img:nth-of-type(2) {
        display: none;

    }
}

@media (max-width: 425px) {
    .wheel {
        width: 835px;
        height: 835px;
    }

    .images__img:nth-of-type(1) {
        top: 10%;
        right: 0%;
        z-index: 0;
    }

    .images__img:nth-of-type(3) {
        bottom: 10%;
        right: 5%;
    }
}

@media (max-width: 375px) {
    .spins__count {
        display: none;
    }

    .wheel {
        width: 725px;
        height: 725px;
    }
}