/**
 * OmniPulse Gamification Lucky Wheel Styles
 */

.op-wheel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.op-wheel-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.op-wheel-dialog {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fff6f0 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 380px;
    padding: 24px 20px 28px 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
    z-index: 2;
    animation: opModalIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.op-wheel-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 28px;
    color: #666;
    cursor: pointer;
}

.op-wheel-badge {
    background: #ff5000;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 6px;
}

.op-wheel-title {
    margin: 4px 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    color: #111111;
}

.op-wheel-sub {
    margin: 0 0 16px 0;
    font-size: 12px;
    color: #666666;
}

.op-wheel-stage {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.op-wheel-pointer {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
}

.op-wheel-disc-wrap {
    width: 320px;
    height: 320px;
    position: relative;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(255, 80, 0, 0.25);
    transition: transform 5s cubic-bezier(0.15, 0.9, 0.2, 1.0);
}

.op-wheel-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff5000 0%, #d83500 100%);
    border: 4px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: transform 0.15s;
}

.op-wheel-center-btn:active {
    transform: translate(-50%, -50%) scale(0.92);
}

.op-wheel-msg {
    margin-top: 14px;
    font-size: 12.5px;
    color: #d83500;
    font-weight: 600;
}

/* Winner Celebration Card */
.op-wheel-success-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    margin-top: 16px;
    border: 2px dashed #00a651;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.15);
    animation: opFadeIn 0.4s ease;
}

@keyframes opFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.op-confetti-icon {
    font-size: 32px;
}

.op-coupon-label {
    font-size: 11.5px;
    color: #555555;
    margin: 6px 0;
}

.op-coupon-code-pill {
    background: #eaf8ef;
    border: 1px solid #00a651;
    color: #00a651;
    font-family: monospace;
    font-size: 16px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 1.5px;
    margin: 4px 0 12px 0;
}

.op-claim-btn {
    background: #ff5000;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 11px 0;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 80, 0, 0.3);
}
