.sweepstake-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

.sweepstake {
    margin-bottom: 10px;
    width: calc(33% - 9px);
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.sweepstake .organizer-container {
    position: relative;
    height: 85px;
    overflow: hidden;
    background: transparent;
    transition: all 0.15s;
    z-index: 1;
}

.sweepstake .organizer-container:hover {
    transition: all 0.15s;
    background: #ffffff45;
}

.sweepstake .organizer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-size: cover;
}

.sweepstake .organizer-container:before {
    content: '';
    background: #ffffffab;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.sweepstake .organizer-container .organizer {
    display: flex;
    justify-content: space-between;
    background-size: cover;
    position: absolute;
    overflow: hidden;
    width: 100%;
}

.sweepstake .organizer-container .organizer .organizer-profile {
    display: flex;
    gap: 8px;
    padding: 10px;
}

.sweepstake .organizer-container .organizer .organizer-profile img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
    background: #ffffffeb;
}

.sweepstake .organizer-container .organizer .organizer-profile a {
    font-size: 16px;
    font-weight: 600;
    color: #353535;
    text-overflow: ellipsis;
    display: block;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
}

.sweepstake .organizer-container .organizer .organizer-profile p {
    margin: 0;
    font-size: 12px;
}

.sweepstake .organizer-container .organizer .organizer-banner {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    padding-right: 10px;
}

.sweepstake .organizer-container .organizer .organizer-banner button,
.sweepstake .organizer-container .organizer .organizer-banner a {
    display: block;
    width: 100%;
}

.sweepstake .sweepstake-content {
    padding-top: 3px;
    margin-bottom: 10px;
}

.sweepstake .sweepstake-content .sweepstake-title {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0 20px;
}

.sweepstake .sweepstake-content .sweepstake-prizes {
    width: 100%;
    background: #ededed;
    padding: 10px;
    margin-top: 4px;
    height: 180px;
}

.sweepstake .sweepstake-content .sweepstake-prizes .slick-prev:not(.slider-nav .slick-prev) {
    left: 0 !important;
    top: 50%;
    height: 100% !important;
    background: linear-gradient(90deg, #ededed 40%, transparent) !important;
    border-radius: 0 !important;
}

.sweepstake .sweepstake-content .sweepstake-prizes .slick-next:not(.slider-nav .slick-next) {
    right: 0 !important;
    top: 50%;
    height: 100% !important;
    background: linear-gradient(-90deg, #ededed 40%, transparent) !important;
    border-radius: 0 !important;
}

.sweepstake .sweepstake-content .sweepstake-prizes .slick-slide {
    width: 32% !important;
    padding: 5px;
    background: #fff;
    border-radius: 6px;
    flex-shrink: 0;
}

.sweepstake .sweepstake-content .sweepstake-prizes .slick-track {
    display: flex;
    gap: 6px;
    width: 100% !important;
}

.sweepstake .sweepstake-content .sweepstake-prizes .slick-dots {
    bottom: -3px;
}

.sweepstake .sweepstake-content .sweepstake-prizes .sweepstake-prize {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 150px;
}

.sweepstake .sweepstake-content .sweepstake-prizes .sweepstake-prize img {
    width: 100%;
    height: 90px;
    border: 1px solid #333333;
    object-fit: cover;
    object-position: bottom center;
    border-radius: 6px;
    margin-bottom: 6px;
}

.sweepstake .sweepstake-content .sweepstake-prizes .sweepstake-prize .balance-prize {
    width: 100%;
    height: 90px;
    border-radius: 6px;
    margin-bottom: 6px;
    background: linear-gradient(220deg, #ee775212, #e73c7e12, #23a6d512, #23d5ab12, #ee775212) #2f5e5c;
    animation: Gradient 5s ease infinite;
    position: relative;
    background-size: 500% 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: end;
    align-items: center;
}

.sweepstake .sweepstake-content .sweepstake-prizes .sweepstake-prize .balance-prize img {
    margin-top: 8px !important;
    width: 40px !important;
    height: 47px !important;
    border: 0 !important;
    padding: 0 !important;
}

.sweepstake .sweepstake-content .sweepstake-prizes .sweepstake-prize .balance-prize div {
    color: rgb(255, 255, 255);
    background: transparent;
    font-size: 18px;
    margin-bottom: 6px;
}

.sweepstake .sweepstake-content .sweepstake-prizes .sweepstake-prize .balance-prize::after {
    content: '';
    position: absolute;
    background-size: inherit;
    background-image: inherit;
    animation: inherit;
    left: 0px;
    right: 0px;
    height: 100%;
}

@keyframes Gradient {
    50% {
        background-position: 200% 250%;
    }
}

.sweepstake .sweepstake-content .sweepstake-prizes .sweepstake-prize .prize-winners {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-bottom: 5px;
    font-weight: 600;
}

.sweepstake .sweepstake-content .sweepstake-prizes .sweepstake-prize .prize-name {
    text-align: center;
    font-size: 11px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.sweepstake .timer {
    gap: 4px;
    margin: 8px 0;
}

.sweepstake .timer div {
    width: calc(25% - 7px);
    height: 50px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 3px 8px #0000001f;
}

.sweepstake .timer div span {
    font-weight: 600;
}

.sweepstake .sweepstake-info {
    display: flex;
    justify-content: space-between;
    padding: 3px 10px;
}

.sweepstake .sweepstake-info .stake-info {
    display: flex;
    flex-direction: column;
    width: 32%;
    background: #fff;
    padding: 5px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 3px 8px #00000024;
}
.sweepstake .sweepstake-info .stake-info .stake-info-value {
    font-weight: 600;
    font-size: 14px;
}

.stake-buttons
{
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 10px;
}

.stake-buttons button, .stake-buttons a
{
    width: calc(50% - 4px);
    height: 40px;
}

.sweepstake .stake-share {
    margin-bottom: 10px;
    padding: 0 10px;
}

.sweepstake .stake-share button {
    width: 100%;
}

.stake-button {
    background: linear-gradient(to left top, #c32c71 50%, #b33771 50%);
    border-style: none;
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    position: relative;
    padding: 5px 15px;
    overflow: hidden;
    transition: all .5s;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, .2);
    border-radius: 6px;
}

.stake-button span {
    position: absolute;
    display: block;
}

.stake-button span:nth-child(1) {
    height: 2px;
    width: 200px;
    top: 0px;
    left: -200px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), #f6e58d);
    border-top-right-radius: 1px;
    border-bottom-right-radius: 1px;
    animation: span1 2s linear infinite;
}

@keyframes span1 {
    0% {
        left: -200px
    }

    100% {
        left: 200px;
    }
}

.stake-button span:nth-child(2) {
    height: 70px;
    width: 2px;
    top: -70px;
    right: 0px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #f6e58d);
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
    animation: span2 2s linear infinite;
    animation-delay: 1s;
}

@keyframes span2 {
    0% {
        top: -70px;
    }

    100% {
        top: 70px;
    }
}

.stake-button span:nth-child(3) {
    height: 2px;
    width: 200px;
    right: -200px;
    bottom: 0px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0), #f6e58d);
    border-top-left-radius: 1px;
    border-bottom-left-radius: 1px;
    animation: span3 2s linear infinite;
    animation-delay: 2s;
}

@keyframes span3 {
    0% {
        right: -200px;
    }

    100% {
        right: 200px;
    }
}

.stake-button span:nth-child(4) {
    height: 70px;
    width: 2px;
    bottom: -70px;
    left: 0px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), #f6e58d);
    border-top-right-radius: 1px;
    border-top-left-radius: 1px;
    animation: span4 2s linear infinite;
    animation-delay: 3s;
}

@keyframes span4 {
    0% {
        bottom: -70px;
    }

    100% {
        bottom: 70px;
    }
}

.filter-card {
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 0;
    box-shadow: #24272426 0px 0px 6px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: Inter, -apple-system, BlinkMacSystemFont, Arial, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

.filter-card .sweepstake-filter-header {
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
    background: #f07134;
    padding: 6px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.filter-option {
    padding: 8px;
    background: #e5e5e51c;
    border-radius: 6px;
    margin: 10px 0;
}

.filter-card .filter-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.filter-header {
    display: none;
}

.form-bg {
    height: auto !important;
}

.stake-button-disabled {
    background: linear-gradient(to left top, #2e7035 50%, #336139 50%);
    border-style: none;
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    position: relative;
    padding: 5px 15px;
    overflow: hidden;
    transition: all .5s;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, .2);
    border-radius: 6px;
}

.stake-button-joined {
    background: linear-gradient(to left top, #2e5670 50%, #2c6578 50%);
    border-style: none;
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    position: relative;
    padding: 5px 15px;
    overflow: hidden;
    transition: all .5s;
    box-shadow: 0px 1px 7px rgb(102 214 207 / 46%);
    border: 2px solid #afe9ff;
    border-radius: 6px;
}

.bg-button {
    -webkit-box-align: center;
    align-items: center;
    border: none;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    font-stretch: normal;
    font-style: normal;
    font-weight: 600;
    -webkit-box-pack: center;
    justify-content: center;
    outline: none;
    padding: 8px;
    position: relative;
    text-decoration: none;
    background-color: rgb(255, 96, 0);
    color: rgb(255, 255, 255);
    font-size: 16px;
    height: 46px;
    min-width: 184px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, Arial, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif !important;
    margin-top: 10px;
}

.bg-button.waiting {
    background: rgb(105, 105, 105);
}

.bg-button.success {
    background: rgb(49, 120, 26);
}

.modal-body input,
.modal-body select,
.modal-body textarea {
    margin: 0;
    outline: 0;
    margin-top: 5px;
    font-size: 13px;
    width: 100% !important;
    min-height: 41px;
    border-radius: 8px;
    border: 2px solid #eee !important;
    padding: 10px 17px;
    outline: none;
    box-shadow: none !important;
    background-color: #fff;
    resize: no;
    transition: border-color 0.2s;
}

.modal-body .sweepstake {
    width: 100%;
    margin-bottom: 10px;
}

.modal-body .sweepstake {
    width: 100%;
}

.sweepstake-modal-body .sweepstake .stake-banner {
    background-size: cover;
    padding: 10px;
    font-weight: 600;
    border-radius: 6px;
}


.sweepstake-modal-body .sweepstake .stake-title {
    background: #000000a8;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    color: #fff;
}

.follow-link {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    align-items: center;
    padding: 8px;
    background: #d9c1ff;
    border-left: 5px solid #ac7afc;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-bottom: 8px;
}

.follow-link.completed {
    background: #c1deff;
}

.follow-link .quest-status.waiting {
    color: white;
}

.follow-link .quest-status.completed {
    color: #1a900a;
}

.follow-link .web-link {
    flex: 1 1;
    color: black;
}

.follow-link i:first-of-type {
    margin-right: 10px;
}

.follow-link .quest-status i {
    margin-left: 10px;
}

.follow-link i {
    margin-top: 6px;
}

.claim-description {
    border-radius: 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    min-height: 50px;
    width: 100%;
    background-color: #f4f6fe;
    margin-bottom: 14px;
}

.claim-description .left-border {
    background-color: #f36f24;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
    width: 8px;
}

.claim-description .claim-container {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 16px 24px;
}

.claim-description .claim-container i {
    color: #f36f24;
    font-size: 18px;
    margin-right: 10px;
    margin-top: 6px;
}

.claim-description .claim-container .claim-content {
    -ms-flex: 1;
    flex: 1;
}

.claim-description .claim-container .claim-content .claim-message {
    color: var(--var-dark-gray-color);
    font-size: 14px;
    letter-spacing: -.28px;
    line-height: 1.5;
}

.mobil-filter-button {
    display: none;
}

.sweepstake-list-line
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
}

.sweepstake-list-line.slick-initialized
{
    overflow: hidden !important;
}

.sweepstake-list-line .sweepstake
{
    width: 22%;
    flex-shrink: 0;
}

.sweepstake-list-line .slick-slide
{
   padding: 0 5px;
}

.slick-prev:not(.slider-nav .slick-prev) {
    left: -7px !important;
}

.sweepstake-list-line .slick-next:not(.slider-nav .slick-next)
{
   right: -7px !important
}

@media only screen and (max-width: 992px) {
    .sweepstake {
        width: 100% !important;
    }
    .sweepstake-list-line .sweepstake {
        width: 86% !important;
    }
    .mobil-filter-button {
        display: flex !important;
        gap: 8px;
        justify-content: space-between;
        width: 100%;
        z-index: 3;
    }
    #filter
    {
        display: none;
    }
    .filter-section {
        background: #2b313c;
        position: fixed;
        z-index: 999;
        top: 0;
        left: 0;
        right: 0;
        bottom: 70px;
        margin: 0 !important;
        padding: 0 !important;
        overflow-y: auto;
        padding-top: 40px !important;
    }

    .filter-card {
        border: 0;
        border-radius: 0;
        margin: 0;
    }

    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }

    .filter-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 99999;
    }

    .filter-header span {
        font-weight: bold;
        font-size: 15px;
        margin-top: 8px;
    }

    .ilan-sorting-block {
        flex-direction: column;
        gap: 10px;
    }
}

.sweepstake-single .stake-buttons button
{
    width: 100% !important;
}

/** DARK THEME **/
body.dark-theme .filter-card{
    background: #212630;
    color: #fff;
}

body.dark-theme .filter-option,
body.dark-theme .sweepstake .sweepstake-info .stake-info,
body.dark-theme .sweepstake .sweepstake-content .sweepstake-prizes .slick-slide,
body.dark-theme .sweepstake .timer div{
    background: #171a21;
}

body.dark-theme .sweepstake{
    background: #212630;
    border-color: #323948;
    color: #fff;
}

body.dark-theme .sweepstake .organizer-container .organizer .organizer-profile a{
    color: #fff;
}

body.dark-theme .sweepstake .organizer-container:before{
    background: #000000ab;
}

body.dark-theme .sweepstake .sweepstake-content .sweepstake-prizes{
    background: #212630;
}

body.dark-theme .sweepstake .sweepstake-content .sweepstake-prizes .slick-prev:not(.slider-nav .slick-prev){
    background: linear-gradient(90deg, #212630 40%, transparent) !important;
}

body.dark-theme .sweepstake .sweepstake-content .sweepstake-prizes .slick-next:not(.slider-nav .slick-next){
    background: linear-gradient(-90deg, #212630 40%, transparent) !important;
}

body.dark-theme .claim-description .claim-container .claim-content .claim-message{
    color: #fff !important;
}
