/* ========================================
   抽奖面板样式
   ======================================== */

/* 抽奖信息 */
.lottery-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    font-size: 1.2em;
}

.lottery-info .label {
    color: #666;
}

.lottery-info .prize-name {
    color: #e91e63;
    font-weight: bold;
    font-size: 1.3em;
}

.lottery-info .remaining {
    color: #ff9800;
    font-weight: bold;
    font-size: 1.3em;
}

/* 滚轮容器 */
.roller-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
}

.name-roller {
    background: #0f3460;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e94560;
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.name-roller span {
    color: #ffd700;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 5px;
}

/* 滚动动画 */
.name-roller.rolling span {
    animation: textGlow 0.5s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.4);
    }
}

/* 控制按钮 */
.lottery-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.lottery-controls .btn {
    width: auto;
    min-width: 150px;
}

/* 中奖名单 */
.current-winners {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #e0e0e0;
}

.current-winners h3 {
    text-align: center;
    color: #e91e63;
    margin-bottom: 15px;
}

.winners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.winner-tag {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa07a 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    animation: popIn 0.3s ease-out;
}

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

/* 响应式 */
@media (max-width: 600px) {
    .lottery-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .name-roller span {
        font-size: 1.8em;
    }

    .lottery-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .lottery-controls .btn {
        width: 100%;
    }
}
