#win-popup {
    position: fixed;
    max-width: 800px;
    width: 90%;
    max-height: 400px;
    min-height: 300px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0; 
    background-color: rgb(29, 41, 57);
    color: rgb(255, 193, 7);
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.35) 0px 0px 15px;
    text-align: center;
    z-index: 1000;
    opacity: 1;
    margin: auto;
    display: flex;
    transition: transform 0.5s, opacity 0.5s;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#copy_close_btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: rgb(191, 35, 31);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#discountSpinner {
    position: fixed;
    width: 70%;
    height: fit-content;
    max-width: 800px;
    padding: 15px;
    margin: auto;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    overflow: auto;
    background: #1d2939;
    border-radius: 10px;
    margin-bottom: 50px;
    z-index: 999;
    display: none;
    box-shadow: rgb(255 255 255 / 35%) 0px 5px 15px;
    transition: all 1s ease;
    opacity: 0;
    max-height: 100vh;
    overflow-x: hidden;
}

.neurodive-wheel-wrapper {
    display: none;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: auto;
    margin: auto;
    margin-top: 45px; 
    position: relative;
}

#close-wheel {
    position: absolute;
    right: -5px;
    top: 0px;
    background: no-repeat;
    color: #fff;
    border: none;
    cursor: pointer;
}

.neurodive-wheel-wrapper .wheel_container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.wheel-form--container {
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wheel-form--container > div {
    width: 100%;
}

.wheel-form--container h3,
.wheel-form--container h5 {
    color: #fff;
    margin-top: 0;
}

.wheel_error {
    color: #ff4b4b;
    margin: 0;
    font-size: 14px;
    letter-spacing: 1px;
}

.input-container {
    margin-bottom: 16px;
}

.input-field {
    padding-left: 10px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    display: block;
    max-width: 300px;
    height: 35px;
    border-radius: 5px;
    margin: auto;
    border: 1px solid #ccc;
}

.input-field::placeholder {
    font-size: 16px;
}

#spin-the-wheel-btn {
    display: block;
    width: 100%;
    background: #ffc107;
    color: #000;
    font-weight: 700;
    height: 41px;
    border: none;
    max-width: 300px;
    margin: auto;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#wheel {
    width: 100%;
    height: 100%;
    top: 0;
    padding: 0;
}

#spin-btn {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    height: 20%;
    width: 20%;
    border-radius: 50%;
    cursor: pointer;
    border: 0;
    background: #252525;
    color: #ffc107;
    font-weight: bold;
    font-size: 14px;
}

.arrow-container {
    position: absolute;
    filter: drop-shadow(0px 10px 5px rgba(0, 0, 0, 0.5));
    z-index: 10;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
}

.arrow {
    width: 48px;
    height: 42px;
    background-color: #bf231f;
    clip-path: polygon(65% 0, 80% 42%, 50% 100%, 19% 42%, 35% 0);
}

.leds-container {
    position: absolute;
    width: 265px;
    height: 265px;
    top: 50%;
    left: 50%;
    border: 23px solid rgb(37, 37, 37);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.led {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    animation: led-color-change 2s infinite;
    position: absolute;
}

@keyframes led-color-change {
    0% {
        background-color: #ffffff;
        box-shadow: 0 0 10px #ffffff;
    }
    33% {
        background-color: #e3fcff;
        box-shadow: 0 0 10px #00acc2;
    }
    66% {
        background-color: #ffeae9;
        box-shadow: 0 0 10px #de3c37;
    }
    100% {
        background-color: #fff5e9;
        box-shadow: 0 0 10px #fa8a00;
    }
}

/* Media queries for responsive layout */
@media screen and (max-width: 320px) {
    #discountSpinner {
        width: 90%;
    }
    
    .leds-container {
        width: 200px;
        height: 200px;
    }
    
    .neurodive-wheel-wrapper .wheel_container {
        width: 80%;
    }
}

@media screen and (min-width: 375px) and (max-width: 479px) {
    .leds-container {
        width: 270px;
        height: 270px;
    }
    
    .neurodive-wheel-wrapper {
        margin-top: 37px;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    #discountSpinner {
        width: 80%;
    }
    
    #spin-btn {
        font-size: 1em;
    }
    
    .arrow-container {
        top: 0;
    }
    
    .leds-container {
        width: 430px;
        height: 430px;
    }
    
    .neurodive-wheel-wrapper .wheel_container {
        width: 70%;
        height: 50%;
    }
    
    .wheel-form--container h3 {
        font-size: 20px;
    }
    
    .wheel-form--container h5 {
        font-size: 14px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    #discountSpinner {
        width: 70%;
    }
    
    #spin-btn {
        font-size: 0.8em;
    }
    
    .arrow-container {
        top: 0;
    }
    
    .leds-container {
        width: 429px;
        height: 429px;
    }
    
    .neurodive-wheel-wrapper .wheel_container {
        width: 60%;
        height: 50%;
    }
    
    .wheel-form--container h3 {
        font-size: 24px;
    }
    
    .wheel-form--container h5 {
        font-size: 16px;
    }
}

@media screen and (min-width: 1025px) {
    #discountSpinner {
        width: 60%;
    }
    
    .leds-container {
        width: 500px;
        height: 500px;
    }
    
    .neurodive-wheel-wrapper .wheel_container {
        width: 50%;
        height: 50%;
    }
    
    .wheel-form--container h3 {
        font-size: 28px;
    }
    
    .wheel-form--container h5 {
        font-size: 18px;
    }
} 