/* 零果剧场 - 抽奖转盘样式 */

.lg-lottery-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.lg-lottery-card {
    width: 300px;
    background-color: #fff;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: lgFadeIn 0.3s ease-out;
}

@keyframes lgFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.lg-lottery-wheel-container {
    position: relative;
    width: 240px;
    height: 240px;
    margin-bottom: 20px;
}

.lg-lottery-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #333;
    position: relative;
    background: conic-gradient(
        #f5f5f5 0deg 72deg, 
        #e5e5e5 72deg 144deg, 
        #d5d5d5 144deg 216deg, 
        #c5c5c5 216deg 288deg, 
        #b5b5b5 288deg 360deg
    );
    transition: transform 4s cubic-bezier(0.15, 0, 0.15, 1);
}

.lg-lottery-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid #333;
    z-index: 10;
}

.lg-lottery-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    z-index: 5;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.lg-lottery-center:active {
    transform: translate(-50%, -50%) scale(0.9);
}

.lg-lottery-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lg-lottery-label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 30px;
    transform-origin: left center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
    font-size: 12px;
    font-weight: 900;
    color: #333;
}

.lg-lottery-input-container {
    width: 100%;
    margin-bottom: 16px;
}

.lg-lottery-input {
    width: 100%;
    height: 44px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: bold;
    outline: none;
}

.lg-lottery-input:focus {
    border-color: #333;
}

.lg-lottery-btn-close {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
    font-weight: bold;
    cursor: pointer;
}
