@font-face {
    font-family: "YekanBakh";
    font-style: normal;
    font-weight: 400;
    src: url("../../fonts/iranyekan-bakh/woff2/YekanBakhFaNum-Regular.woff2") format("woff2"),
         url("../../fonts/iranyekan-bakh/woff/YekanBakhFaNum-Regular.woff") format("woff");
    font-display: swap;
}

.jds-wrapper a , .jds-wrapper p , .jds-wrapper h1 , .jds-wrapper h2 , .jds-wrapper h3 , .jds-wrapper h4 , .jds-wrapper h5 , .jds-wrapper h6 , .jds-wrapper div , .jds-wrapper span , .jds-wrapper input , .jds-wrapper li , .jds-wrapper ol , .jds-wrapper ul , .jds-wrapper button{
    font-family: "YekanBakh";
}
.jds-bubble-wrapper a , .jds-bubble-wrapper p , .jds-bubble-wrapper h1 , .jds-bubble-wrapper h2 , .jds-bubble-wrapper h3 , .jds-bubble-wrapper h4 , .jds-bubble-wrapper h5 , .jds-bubble-wrapper h6 , .jds-bubble-wrapper div , .jds-bubble-wrapper span , .jds-bubble-wrapper input , .jds-bubble-wrapper li , .jds-bubble-wrapper ol , .jds-bubble-wrapper ul , .jds-bubble-wrapper button{
    font-family: "YekanBakh";
}
.jds-popup-wrapper a , .jds-popup-wrapper p , .jds-popup-wrapper h1 , .jds-popup-wrapper h2 , .jds-popup-wrapper h3 , .jds-popup-wrapper h4 , .jds-popup-wrapper h5 , .jds-popup-wrapper h6 , .jds-popup-wrapper div , .jds-popup-wrapper span , .jds-popup-wrapper input , .jds-popup-wrapper li , .jds-popup-wrapper ol , .jds-popup-wrapper ul , .jds-popup-wrapper button{
    font-family: "YekanBakh";
}
.jds-adsbar-wrapper a , .jds-adsbar-wrapper p , .jds-adsbar-wrapper h1 , .jds-adsbar-wrapper h2 , .jds-adsbar-wrapper h3 , .jds-adsbar-wrapper h4 , .jds-adsbar-wrapper h5 , .jds-adsbar-wrapper h6 , .jds-adsbar-wrapper div , .jds-adsbar-wrapper span , .jds-adsbar-wrapper input , .jds-adsbar-wrapper li , .jds-adsbar-wrapper ol , .jds-adsbar-wrapper ul , .jds-adsbar-wrapper button{
    font-family: "YekanBakh";
}
.jds-ct-wrapper a , .jds-ct-wrapper p , .jds-ct-wrapper h1 , .jds-ct-wrapper h2 , .jds-ct-wrapper h3 , .jds-ct-wrapper h4 , .jds-ct-wrapper h5 , .jds-ct-wrapper h6 , .jds-ct-wrapper div , .jds-ct-wrapper span , .jds-ct-wrapper input , .jds-ct-wrapper li , .jds-ct-wrapper ol , .jds-ct-wrapper ul , .jds-ct-wrapper button{
    font-family: "YekanBakh";
}
.floating-review-card a , .floating-review-card p , .floating-review-card h1 , .floating-review-card h2 , .floating-review-card h3 , .floating-review-card h4 , .floating-review-card h5 , .floating-review-card h6 , .floating-review-card div , .floating-review-card span , .floating-review-card input , .floating-review-card li , .floating-review-card ol , .floating-review-card ul , .floating-review-card button{
    font-family: "YekanBakh";
}

.jds-lucky-container {
    position: relative;
    margin: 30px 0;
    padding: 30px;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    direction: rtl;
    text-align: center;
}

.jds-lucky-container.jds-style-default {
    border: 2px solid #e0e0e0;
}

.jds-lucky-container.jds-style-border {
    border: 3px dashed #ccc;
}

.jds-lucky-container.jds-style-shadow {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.jds-lucky-container.jds-style-gradient {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%) !important;
}


.jds-lucky-container.jds-lucky-special {
    border: 3px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #fff9e6 0%, #fffaed 100%) !important;
}
.jds-popup-close {
    border-radius: 50px !important;
}
.jds-lucky-container.jds-lucky-special::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700, #ffed4e);
    background-size: 400% 400%;
    border-radius: 16px;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
    opacity: 0.3;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.jds-lucky-container.jds-anim-fade {
    animation: fadeIn 0.6s ease-out;
}

.jds-lucky-container.jds-anim-slide {
    animation: slideUp 0.6s ease-out;
}

.jds-lucky-container.jds-anim-zoom {
    animation: zoomIn 0.5s ease-out;
}

.jds-lucky-container.jds-anim-bounce {
    animation: bounceIn 0.8s ease-out;
}

.jds-lucky-container.jds-anim-pulse {
    animation: pulseIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulseIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.jds-lucky-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #8b6914;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

.jds-badge-icon {
    font-size: 18px;
    animation: iconRotate 3s linear infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    }
}

@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}


.jds-lucky-content {
    position: relative;
    z-index: 1;
}

.jds-lucky-image {
    margin-bottom: 20px;
}

.jds-lucky-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.jds-lucky-special .jds-lucky-image img {
    animation: imageFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(255, 215, 0, 0.3));
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.jds-lucky-image img:hover {
    transform: scale(1.05);
}

.jds-lucky-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.jds-lucky-text p {
    margin: 10px 0;
}
.jds-lucky-code-hint {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.jds-hint-text {
    font-size: 16px;
    color: #8b6914;
    margin-bottom: 15px;
    font-weight: 600;
}

.jds-hint-text small {
    display: block;
    font-size: 13px;
    color: #666;
    font-weight: normal;
    margin-top: 5px;
}

.jds-code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.jds-code-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.jds-code-value {
    background: #fff;
    border: 2px dashed #ffd700;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    color: #8b6914;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    user-select: all;
    transition: all 0.3s ease;
}

.jds-code-value:hover {
    background: #fffaed;
    transform: scale(1.05);
}

.jds-copy-code {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.jds-copy-code:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}

.jds-copy-code:active {
    transform: translateY(0);
}

.jds-copy-code.copied {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.jds-lucky-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.jds-sparkle {
    position: absolute;
    font-size: 24px;
    opacity: 0;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.jds-sparkle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.jds-sparkle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 0.5s;
}

.jds-sparkle:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-delay: 1s;
}

.jds-sparkle:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}
.jds-copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
    font-weight: 600;
    z-index: 9999;
    animation: slideInRight 0.4s ease, slideOutRight 0.4s ease 2.6s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}
@media (max-width: 768px) {
    .jds-lucky-container {
        padding: 20px;
        margin: 20px 0;
    }

    .jds-lucky-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .jds-code-value {
        font-size: 16px;
        padding: 10px 16px;
    }

    .jds-code-display {
        flex-direction: column;
        gap: 8px;
    }

    .jds-lucky-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .jds-lucky-container {
        padding: 15px;
        border-radius: 12px;
    }

    .jds-code-value {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .jds-sparkle {
        font-size: 18px;
    }
}
@media (prefers-color-scheme: dark) {
    .jds-lucky-container.jds-lucky-general {
        background-color: #2a2a2a !important;
        border-color: #444;
    }

    .jds-lucky-text {
        color: #e0e0e0;
    }

    .jds-code-label {
        color: #bbb;
    }
}


