.spin-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: 20px;
}

.wheel-wrapper {
    position: relative;
    width: 320px; /* Increased slightly for labels */
    height: 320px;
    margin-bottom: 30px;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid #2d325a;
    /* 8 Segments = 45 degrees each */
    background: conic-gradient(
        #212529 0deg 45deg,      /* iPhone (Black) */
        #6c757d 45deg 90deg,     /* No Luck (Grey) */
        #ffd700 90deg 135deg,    /* R100 (Gold) */
        #ced4da 135deg 180deg,   /* No Luck (Light Grey) */
        #198754 180deg 225deg,   /* R500 (Green) */
        #6c757d 225deg 270deg,   /* No Luck (Grey) */
        #0d6efd 270deg 315deg,   /* Samsung (Blue) */
        #ced4da 315deg 360deg    /* No Luck (Light Grey) */
    );
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* Label container */
.label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%; /* Radius */
    height: 2px;
    background: transparent;
    transform-origin: left center;
    display: flex;
    justify-content: flex-end; /* Push text to edge */
    align-items: center;
}

/* The actual text */
.text {
    transform: rotate(180deg); /* Rotate to read from Rim to Center (looks better usually) or 0 for Center to Rim */
    margin-right: 20px; /* Distance from edge */
    color: #fff;
    font-weight: bold;
    font-size: 0.75rem; /* Slightly smaller to fit */
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    gap: 5px;
}
.text i {
    font-size: 1.2rem;
}

.marker {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid #fff;
    z-index: 10;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.3));
}

.spin-btn-center {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #202442;
    border: 4px solid #e1e1e1;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    font-size: 1.2rem;
    pointer-events: none; /* The outer button controls it */
}

.spin-trigger-btn {
    margin-top: 20px;
    width: 80%;
    max-width: 300px;
}

.spin-message {
    text-align: center;
    margin-top: 10px;
    min-height: 30px;
    font-size: 1.1rem;
    color: #d4ddf4;
}

/* Modal customization */
.modal-content {
    background-color: var(--card-bg);
    color: #fff;
    border: 1px solid var(--border-color);
}
.modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.modal-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}
