#wheel-container {
    position: relative;
    margin: 50px auto;
    width: 100%;
    align-items: center;
}


#wheel-wrapper {
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    position: relative;
}

#wheel {
    position: relative;
    width: 100%;
    height: 100%;
}

#wheel img {
    width: 100%;
    height: 100%;
    display: block;
}

.wheel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
        transform: rotate(-16deg);
    opacity: 0;

}

.wheel-part {
    position: absolute;
    /*width: 50%;
    height: 50%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    background: transparent;
    overflow: hidden;
    transform-origin: 100% 100%;
    padding: 10px;
}

#part-1 { transform: rotate(30deg) translateX(92%) rotate(-9deg); }
#part-2 { transform: rotate(73deg) translateX(127%) rotate(-18deg) }
#part-3 { transform: rotate(111deg) translateX(134%) rotate(-24deg); }
#part-4 { transform: rotate(125deg) translateX(244%) rotate(-13deg); }
#part-5 { transform: rotate(155deg) translateX(174%) rotate(-21deg); }
#part-6 { transform: rotate(181deg) translateX(225%) rotate(-7deg); }
#part-7 { transform: rotate(206deg) translateX(184%) rotate(4deg); }
#part-8 { transform: rotate(226deg) translateX(221%) rotate(1deg); }
#part-9 { transform: rotate(256deg) translateX(257%) rotate(7deg); }
#part-10 { transform: rotate(279deg) translateX(207%) rotate(10deg); }
#part-11 { transform: rotate(313deg) translateX(163%) rotate(13deg); }
#part-12 { transform: rotate(349deg) translateX(137%) rotate(4deg); }

#pointer {
    position: absolute;
    /*right: 48%;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);*/
	    right: 49%;
    top: 49%;
    transform: translateY(-150%) rotate(-30deg);
	/**/
    z-index: 1;
}

#pointer img {
    width: 90px; /* Adjust to fit your design */
    height: auto;
}

.pointer-v2{
	position: absolute; 
    top: 30px; 
    left: 70px; 
    width: 45%; 
    z-index: 99;
}

#claim-section {
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#spin-button, #claim-button {
        margin: 15px;
    padding: 10px 20px;
    font-size: 56px;
    background: transparent;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    color: #C02586;
    font-weight: 700;
    font-family: poppins;
    transition: background-color 0.3s ease;
    animation: pulse 1s infinite;
}

#spin-button:hover, #claim-button:hover {
    background-color: White;
    box-shadow: 1px 1px 14px 1px #0000001c;
}

#result {
    font-size: 18px;
    font-family: poppins;
    margin: 20px 0;
    color: black;
    text-align: center;
}

#confetti-canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 2;
        display: none; /* Hide canvas by default */
    }
    
#prize{
    color: #C02586;
    font-weight: 700;
}    

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
}

    
@media screen and (max-width: 580px) {
  #wheel-wrapper {
        display: block;
    } 
    #pointer {
        position: fixed;
        right: 17%;
        top: 28%;
        }
        #pointer img {
        width: 60px;
        height: auto;
    }
    .pointer-v2{
        position: absolute; 
        top: 30px;
        left: 70px;
        width: 85%; 
        z-index: 99;
    }
    #spin-button {
        font-size: 36px;
    }
    #claim-button {
        font-size: 26px;
    }
    #wheel-container {
        position: relative;
        margin: 120px auto;
    }
    #claim-section {
    	padding: 30px 0px;
    }
}    

@media screen and (max-width: 1050px) {
   #spin-button, #claim-button {
    font-size: 32px;
    }
}

/* Ensure the Poppins font is loaded */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

.wrap {
    font-family: 'Poppins', sans-serif;
    padding: 20px;
}

.stwdm-logo {
    text-align: center;
    margin-bottom: 20px;
}

.stwdm-logo img {
    max-width: 150px; /* Adjust the width as needed */
    height: auto;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.stwdm-settings-section {
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.stwdm-settings-section input[type="text"] {
    width: calc(100% - 22px); /* Adjust width to account for padding */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.stwdm-settings-section input[type="text"]::placeholder {
    color: #999;
}

.stwdm-settings-section button {
    background-color: #C02586;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    width: 100%;
}

.stwdm-settings-section button:hover {
    background-color: #a02070; /* Darker shade on hover */
}