/* --- SPIN WHEEL POPUP STYLES --- */
.spin-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 1002;
}
.spin-wheel-container {
    position: relative;
    width: 80vmin;
    height: 80vmin;
    max-width: 500px;
    max-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spin-wheel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 5s cubic-bezier(0.1, 0.7, 0.4, 1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 3px solid #FFD700;
    overflow: hidden;
}
.wheel-segment {

}
.wheel-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    transform-origin: 25% 25%;
    clip-path: polygon(0% 0%, 50% 0%, 50% 100%, 0% 100%);
}

.wheel-content {
    /* Konumlandırma ve Hizalama */
    position: absolute;
    top: 0; /* Artık %50 değil, dilimin başlangıç noktasından alacak */
    left: 0;
    width: 100%; /* Metnin dilim genişliğinin tamamını kaplamasını sağlar */
    height: 100%;
    
    /* Metin Stili */
    color: #fff;
    font-weight: bold;
    font-size: 1.2em; /* Font büyüklüğünü daha sonra JS'ten ayarlayacağız */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    
    /* Dikey hizalama için flexbox */
    display: flex;
    justify-content: center;
    align-items: center;
}

.spin-btn{
position: absolute;
width: 80px;
height: 80px;
border-radius: 50%;

/* Bombeli Altın Gradyan */
background: linear-gradient(145deg, #FFD700, #DAA520);

/* İnce, şık bir kenarlık */
border: 3px solid #FFC107;

color: #fff;
font-weight: bold;
cursor: pointer;
z-index: 10;

/* Bombeli görünüm için gölge */
box-shadow: 
    5px 5px 10px rgba(0, 0, 0, 0.4), 
    -5px -5px 10px rgba(255, 255, 255, 0.2);

transition: 
    transform 0.2s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.spin-btn:hover {
    transform: scale(1.1);
}
.pointer {
    position: absolute;
    top: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid #fff;
    z-index: 10;
}
.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2em;
    color: white;
    cursor: pointer;
    z-index: 100;
}