/* ==========================================================
   افکت‌های بصری: Glow, Blur, Neumorphism, Parallax Background
   ========================================================== */

.neu-panel {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    box-shadow:
        8px 8px 16px rgba(74,59,107,0.10),
        -8px -8px 16px rgba(255,255,255,0.9);
}
.neu-inset {
    background: var(--color-cream);
    border-radius: var(--radius-md);
    box-shadow:
        inset 4px 4px 8px rgba(74,59,107,0.10),
        inset -4px -4px 8px rgba(255,255,255,0.8);
}

.glow-text {
    text-shadow: 0 0 12px rgba(255,209,102,0.8), 0 2px 0 rgba(0,0,0,0.1);
}

/* ---------- پس‌زمینه پارالاکس با ابر/خورشید ---------- */
.parallax-layer {
    position: absolute;
    inset: 0;
    z-index: var(--z-bg);
    overflow: hidden;
    pointer-events: none;
}
.cloud {
    position: absolute;
    opacity: 0.9;
    animation: cloud-drift linear infinite;
}
.sun-glow {
    position: absolute;
    top: 6%; left: 8%;
    width: 90px; height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFF3C4 0%, var(--color-sun) 60%, transparent 75%);
    animation: glow-pulse 3.5s ease-in-out infinite, spin-slow 40s linear infinite;
}

/* ---------- ذرات نور / برق ستاره ---------- */
.sparkle-particle {
    position: absolute;
    pointer-events: none;
    animation: sparkle 1.2s ease-out forwards;
}

/* ---------- کانفتی ---------- */
.confetti-piece {
    position: fixed;
    top: -20px;
    width: 10px; height: 16px;
    pointer-events: none;
    z-index: var(--z-toast);
    animation: confetti-fall linear forwards;
}

/* ---------- بلور پس‌زمینه برای مودال‌های روی صحنه بازی ---------- */
.bg-blur { filter: blur(6px); transition: filter .2s; }
