.wheel-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 42px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    font-weight: bold;
    letter-spacing: 1.2px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    padding: 15px 20px;
    border-radius: 8px;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.section-title .gold-text {
    font-size: 46px;
    display: inline-block;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #d4af37, #ffdc73, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.wheel-container {
    position: relative;
    width: 950px;
    height: 500px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

.wheel-container:after {
    display: none;
}

.wheel {
    position: relative;
    width: 100%;
    height: 950px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 12s ease-in-out;
    transform-origin: center 475px;
    transform: rotate(90deg);
}

.wheel-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wheel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.wheel-arrow {
    position: absolute;
    top: 46px;
    left: 50%;
    transform: translateX(-37%);
    z-index: 10;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#arrow-image {
    max-width: 90px;
    height: auto;
}

.spin-button {
    padding: 18px 36px; 
    font-size: 22px; 
    background: linear-gradient(45deg, #d4af37, #ffdc73);
    color: #000;
    border: none;
    border-radius: 50px; 
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.spin-button:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ffdc73, #d4af37);
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.spin-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.5);
}

.spin-button:hover:before {
    opacity: 1;
}

.spin-button:disabled {
    background: #555;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

@media screen and (max-width: 992px) {
    .wheel-container {
        width: 90%;
        max-width: 600px;
        height: 310px;
        margin-top: 0px;
    }
    
    .wheel {
        height: 600px;
        transform-origin: center 300px;
    }
    

    
    .wheel-arrow {
        position: absolute;
        top: 63%;
        left: 50%;
        transform: translateX(-40%);
        z-index: 30;
    }
    
    #arrow-image {
        max-width: 60px;
        height: auto;
    }
}

@media screen and (max-width: 768px) {
    .wheel-container {
        margin-top: -15px;
    }
    
    .section-title {
        margin-bottom: 5px;
        font-size: 30px;
        padding: 10px;
    }
    
    .wheel-section {
        padding: 20px 0 40px;
    }
    

    
    .wheel-arrow {
        top: 60%;
    }
    
    #arrow-image {
        max-width: 40px;
    }
}

@media screen and (max-width: 480px) {
    .wheel-container {
        margin-top: -25px;
    }
    
    .section-title {
        margin-bottom: 0px;
        font-size: 24px;
        padding: 5px;
    }
    
    .wheel-section {
        padding: 10px 0 30px;
    }
    

    
    .wheel-arrow {
        top: 56%;
    }
    
    #arrow-image {
        max-width: 30px;
    }
}
