/* ══════════════════════════════════════════
   IBM WHEEL — Glassmorphism / Futuristic
   ══════════════════════════════════════════ */

/* WRAPPER */
#ibm-wheel-box {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    padding: 30px 25px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
    font-family: Arial, sans-serif;

    /* Glassmorphism layer */
    background: rgba(95, 125, 185, 0.20);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);

    /* מסגרת זכוכית + ניואנס זהב */
    border: 1.5px solid rgba(212, 175, 55, 0.50);

    /* צל עמוק בלי glow */
    box-shadow:
        0 8px 36px rgba(0, 0, 0, 0.50),
        inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

/* רקע בסיסי כחול-אפור בינוני עם blobs — מאחורי הזכוכית */
#ibm-wheel-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(90, 135, 230, 0.50) 0%, transparent 50%),
        radial-gradient(ellipse at 82% 78%, rgba(55, 85, 175, 0.48) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(75, 108, 185, 0.28) 0%, transparent 65%),
        linear-gradient(148deg, #3f5580 0%, #324470 30%, #283a62 60%, #2e4268 100%);
    pointer-events: none;
}

/* וודא שכל התוכן מעל ה-pseudo */
#ibm-wheel-box > * {
    position: relative;
    z-index: 1;
}

/* Sparkles canvas */
#ibm-wheel-sparkles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* TITLES */
.ibm-wheel-title,
.ibm-wheel-sub {
    color: #e8edf5 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.30) !important;
}
.ibm-wheel-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}
.ibm-wheel-sub {
    font-size: 22px;
    margin-bottom: 20px;
}

/* WHEEL CONTAINER */
#ibm-wheel-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 20px auto;
}
#ibm-wheel-canvas {
    width: 100% !important;
    height: auto !important;
    display: block;
}

/* ARROW — RIGHT SIDE, BLUE, POINTING LEFT */
#ibm-wheel-arrow {
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-right: 28px solid #DC143C !important;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

/* SPIN BUTTON */
#ibm-wheel-spin {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    border: 2px solid #b33f00;
    color: #b33f00 !important;
    background-color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 18px;
    transition: 0.2s ease;
    cursor: pointer;
}
#ibm-wheel-spin:hover {
    background-color: #b33f00;
    color: white !important;
}

/* RESULT */
#ibm-wheel-result {
    margin-top: 25px;
}
#ibm-wheel-result-text {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #e8edf5 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.25) !important;
}

/* PLAY NOW BUTTON */
#ibm-wheel-play {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    background-color: #0023a7;
    border: 2px solid #0023a7;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none !important;
    transition: 0.25s ease;
}
#ibm-wheel-play:hover {
    background-color: #fbc304;
    border-color: #fbc304;
    color: #0023a7 !important;
}

/* MOBILE */
@media (max-width: 600px) {
    .ibm-wheel-title { font-size: 26px; }
    .ibm-wheel-sub   { font-size: 18px; }
    #ibm-wheel-spin, #ibm-wheel-play {
        width: 80%;
        font-size: 16px;
    }
}