@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.fontcdn.ir/Font/Vazir/Vazir.ttf') format('truetype');
}

.faran-wheel-wrapper {
    direction: rtl;
    max-width: 480px;
    margin: 40px auto;
    text-align: center;
    font-family: 'Vazir', sans-serif;
    color: #0d47a1;
}

.fw-title {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #0d47a1;
}

.fw-mobile-box {
    margin-bottom: 10px;
}

#fw-mobile {
    width: 80%;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid #90caf9;
    text-align: center;
    font-family: inherit;
}

.fw-btn {
    margin-top: 8px;
    padding: 9px 22px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(13,71,161,0.35);
}

.fw-spin-btn {
    font-size: 16px;
    margin-top: 12px;
}

.fw-error {
    min-height: 20px;
    margin-top: 6px;
    font-size: 13px;
    color: #c62828;
}

.fw-wheel-area {
    margin-top: 10px;
}

.fw-wheel-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto 12px auto;
}

/* بوم گردونه */
#fw-wheel-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #e3f2fd, #bbdefb);
    box-shadow:
        0 12px 30px rgba(0,0,0,0.22),
        0 0 0 6px rgba(144,202,249,0.5);
}

/* فلش ثابت */
.fw-pointer {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 32px solid #ffca28;
    filter: drop-shadow(0 3px 4px rgba(0,0,0,0.35));
}

.fw-result {
    margin-top: 10px;
    font-size: 18px;
    color: #0d47a1;
}

.fw-version {
    margin-top: 10px;
    font-size: 12px;
    color: #9e9e9e;
}
