.block-container-free * {
    user-select: none;
}

.block-container-free {
    position: relative;
    width: 100%;
    padding: 20px 10px;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: -10px 10px 15px rgb(0 0 0 / 20%);
    background-image: linear-gradient(180deg, #5e036e 0%, #3d0047 100%);
}

.box-btn-free {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 5px;
}

.box-btn-free .btn-free {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 75px;
    /*min-height: 80px;*/
    line-height: 18px;
    border-radius: 6px;
    cursor: pointer;
    padding: 5px;
    font-size: 15px;
    font-family: 'IRANYekanXVF', IRANYekanX, sans-serif;
    background-color: #ffffff0f;
    transition: all .3s linear;
}

.box-btn-free .btn-free:disabled,
.box-btn-free .btn-free.disabled {
    cursor: not-allowed;
}

.btn-free:hover,
.btn-free.active {
    box-shadow: -5px 5px 10px rgb(0 0 0 / 20%);
}

.box-btn-free .btn-free .btn-box-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 30px;
    height: 30px;
    font-size: 18px;
    border-radius: 6px;
    margin-bottom: 5px;
    color: #fff;
}

.box-btn-free .btn-free .btn-service-name {
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-family: 'IRANYekanXVF', IRANYekanX, sans-serif !important;
}

.box-btn-free .btn-free .box-free-limit-badge {
    border-radius: 10px;
    position: absolute;
    top: -5px;
    right: -12px;
    min-width: 30px;
    height: 20px;
    font-size: 10px;
    transform: rotate(45deg);
    text-align: center;
    padding: 2px 5px;
    background: #fff !important;
    font-weight: bolder;
    z-index: 1;
}

.content-free-container {
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin: 50px auto 0;
}

.content-free-container .block-content-free {
    width: 55%;
}

.content-free-container .box-form-free {
    width: 40%;
}

.box-content-free {
    margin-bottom: 20px;
}

.free-service-content .free-service-name {
    text-align: right;
    color: #fff;
    font-family: 'IRANYekanXVF', IRANYekanX, sans-serif;
    font-size: 26px !important;
    font-weight: bold;
    text-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

.free-service-content .free-service-description * {
    font-size: 15px !important;
    font-family: 'IRANYekanXVF', IRANYekanX, sans-serif;
    color: #fff;
    text-align: right;
}

.free-service-content .free-service-description ul {
    list-style: none;
    padding-right: 0;
}

.free-service-content .free-service-description p {
    margin-bottom: 5px !important;
}

.content-free-container .box-form-free #form-free {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.content-free-container .box-form-free label[for=user_link_field] {
    color: #fff;
    font-size: 14px;
    font-family: 'IRANYekanXVF', IRANYekanX, sans-serif;
    display: block;
    margin: 0 auto 10px;
    text-align: center;
    cursor: pointer;
}

.content-free-container #user_link_field {
    width: 100%;
    background: #fff;
    border-radius: 5px;
    font-size: 16px;
    padding: 4px 10px;
    text-align: center;
}

.content-free-container #user_link_field::placeholder {
    font-family: 'IRANYekanXVF', IRANYekanX, sans-serif;
    font-size: 13px;
}

.content-free-container .btn-action-free {
    padding: 8px 50px !important;
    margin: 5px auto;
    font-size: 16px;
    border: 0;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'IRANYekanXVF', IRANYekanX, sans-serif !important;
    cursor: pointer;
    color: #fff;
    background: #169cf6;
    transition: all 200ms ease-in;
    box-shadow: -5px 5px 5px rgb(0 0 0 / 20%);
}

.content-free-container .btn-referer-free {
    padding: 8px !important;
    margin: 5px auto;
    font-size: 16px;
    border: 0;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'IRANYekanXVF', IRANYekanX, sans-serif !important;
    cursor: pointer;
    color: #fff;
    background: #169cf6;
    transition: all 200ms ease-in;
    box-shadow: -5px 5px 5px rgb(0 0 0 / 20%);
}

.content-free-container .btn-action-free:hover {
    box-shadow: none;
    transform: scale(1.03);
}

.box-progress-free .progress-text {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-family: 'IRANYekanXVF', IRANYekanX, sans-serif;
    padding-bottom: 5px;
    animation: blinker 1.3s linear infinite;
}

.content-free-container .box-form-free .box-order-free {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-copy {
    border: 0;
    border-radius: 5px;
    padding: 3px 10px;
    font-size: 13px;
    font-family: 'IRANYekanXVF', IRANYekanX, sans-serif;
    transition: all ease-in-out 250ms;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: space-around;
    color: #ffffff !important;
    background: #00000029;
}

.btn-copy.active,
.btn-copy:hover {
    color: #fff;
    background: #169cf6;
}

.box-remaining-time {
    font-size: 30px;
    margin-top: 5px;
    text-align: center;
    font-weight: bold !important;
    color: #fff;
    font-family: 'IRANYekanXVF', IRANYekanX, sans-serif;
}

/* Free ads block */
.free-ads-block {
    cursor: pointer;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #169cf6;
    width: 75px;
    height: 75px;
    border-radius: 0 60px 0 0;
    transition: all ease 300ms;
    animation: blink-shadow 2s linear infinite;
}

.free-ads-block div span {
    transform: rotate(45deg);
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    bottom: 20px;
    right: 32px;
    white-space: nowrap;
    display: none;
}

.free-ads-block div i {
    /*font-size: 33px;
    color: #fff;
    position: absolute;
    top: 20px;
    right: 20px;*/
    font-size: 40px;
    color: #fff;
    position: absolute;
    left: 10px;
    bottom: 10px;
    animation: rotator 2s ease-in-out alternate-reverse infinite;
}

.free-ads-block:hover {
    background: white !important;
    transform: scale(.9) !important;
    bottom: -5px !important;
    left: -5px !important;
    transition: all ease 300ms !important;
}

.free-ads-block:hover div i {
    color: #169cf6 !important;
    transform: rotate(360deg) scale(1.2);
    transition: all ease 300ms;
    animation: rotator 0.5s ease-in-out;
}

.free-ads-block:hover div span {
    color: #169cf6 !important;
}

.block-container-free .alert-box {
    font-size: 14px !important;
}

@media screen and (max-width: 992px) {
    .content-free-container {
        gap: 5px;
    }

    .content-free-container .block-content-free {
        width: 100%;
    }

    .content-free-container .box-form-free {
        width: 60%;
    }
}

@media screen and (max-width: 670px) {
    .free-service-content .free-service-name {
        text-align: center;
    }

    .content-free-container {
        width: 100%;
        margin-top: 30px;
    }

    .free-service-content .free-service-name {
        font-size: 20px;
    }

    .free-service-content .free-service-description * {
        font-size: 14px;
    }

    .content-free-container .block-content-free,
    .content-free-container .box-form-free {
        width: 80%;
    }

    .block-container-free {
        border-radius: 10px;
        padding-bottom: 70px;
    }

    .free-ads-block {
        width: 90% !important;
        height: 50px !important;
        border-radius: 20px 20px 0 0 !important;
        margin: 0 auto !important;
        left: 50% !important;
        right: 50% !important;
        transform: translate(50%, 0%);
    }

    .free-ads-block div {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-direction: row-reverse;
        height: 100%;
    }

    .free-ads-block div i {
        font-size: 35px !important;
        position: static !important;
    }

    .free-ads-block div span {
        display: block !important;
        transform: rotate(0) !important;
        font-size: 18px !important;
        position: static !important;
    }

    .free-ads-block:hover {
        transform: scale(.9) translate(55%, 0%) !important;
        right: 50% !important;
        left: 50% !important;
        height: 60px !important;
    }
}

@media screen and (max-width: 470px) {
    .content-free-container .block-content-free,
    .content-free-container .box-form-free {
        width: 100%;
        margin-top: 10px;
    }
}

@keyframes rotator {
    from {
        transform: rotate(0) scale(0.8);
    }
    to {
        transform: rotate(360deg) scale(1.3);
    }
}

@keyframes blink-shadow {
    0% {
        box-shadow: none;
    }
    33% {
        box-shadow: 0 0 0 10px #41affa3d, 0 0 0 5px #5ebafa3d, 0 0 0 15px #5ebafa35;
    }
    66% {
        box-shadow: 0 0 0 20px #6ec5ff36, 0 0 0 10px #87cfff36, 0 0 0 30px #87cfff3d;
    }
    100% {
        box-shadow: 0 0 0 40px #169cf600, 0 0 0 20px #169cf600, 0 0 0 60px #169cf600;
    }
}
