/* main-bunner */

.header {
    max-width: 1440px;
    margin: 0 auto;
}


.header.main-container {
    padding-left: 0;
    padding-right: 0;
}

.main-tasks-bunner {
    margin-bottom: 140px;
}

.centered-container {
    max-width: 1440px;
    margin: 0 auto;
}

.main-tasks-bunner h1 {
    font-family: 'ExtraBoldThunder', sans-serif;
    font-size: 147px;
    font-weight: 800;
    line-height: 122px;
    letter-spacing: 0.03em;
    text-align: center;
    color: var(--white-color);
    margin-top: 0;
    max-width: 1440px;
    margin: 0 auto 40px;
}

.main-tasks-bunner span {
    color: #9E9E9E;
}

.main-tasks-bunner-content {
    display: flex;
    position: relative;
    min-height: 655px;
    overflow: hidden;
    padding: 0 40px;
    box-sizing: border-box;
}

.main-tasks-bunner-content p {
    font-family: 'Lato', sans-serif;
    font-size: 27px;
    font-weight: 900;
    line-height: 36px;
    text-align: justify;
    max-width: 45%;
    color: var(--white-color);
    margin-top: 40px;
}

.main-tasks-bunner-content .primary-btn {
    position: absolute;
    bottom: 32%;
    left: 0;
    width: 45%;
    justify-content: center;
}

.main-tasks-bunner-content-description {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.bunner-car-mobile {
    display: none;
}

.bunner-car {
    position: absolute;
    width: 50%;
    left: 0;
    top: 50px;
    z-index: -1;
    filter: brightness(33%);
}

.bunner-racer {
    position: absolute;
    width: 41%;
    right: 0;
    top: 0;
    z-index: -1;
}

@media (max-width: 1550px) {
    .main-tasks-bunner h1 {
        padding: 0 40px;
        width: 100%;
        box-sizing: border-box;
    }

    .header.main-container {
        width: 100%;
        box-sizing: border-box;
    }

    .bunner-car {
        width: 66%;
        top: 99px;
    }

    .bunner-racer {
        width: 52%;
    }    
}

@media (max-width: 1200px) {
    .main-tasks-bunner {
        margin-bottom: 78px;
    }

    .main-tasks-bunner h1 {
        font-family: 'ExtraBoldThunder', sans-serif;
        font-size: 92px;
        line-height: 92px;
    }

    .bunner-racer {
        top: 19%;
    } 
}

@media (max-width: 992px) {
    #start-earning {
        display: none;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .header.main-container {
        padding-bottom: 0;
    }
    .main-tasks-bunner h1 {
        font-size: 56px;
        line-height: 50px;
        margin-bottom: 0;
    }

    .main-tasks-bunner-content p {
        font-size: 20px;
        line-height: 24px;
        max-width: 80%;
        margin: 40px auto 80px;
    }

    .main-tasks-bunner-content .primary-btn,
    .main-tasks-bunner-content .secondary-btn {
        width: 80%;
        position: relative;
        bottom: 0;
        margin: 0 auto;
    }

    .bunner-car {
        display: none;
    }

    .bunner-car-mobile {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-58%);
        width: 100%;
    }

    .bunner-racer {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        width: 347px;
        z-index: 1;

    }

    .main-tasks-bunner-content {
        min-height: 737px;
        overflow: hidden;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .main-tasks-bunner-content p {
        max-width: 100%;
    }

    .main-tasks-bunner-content .primary-btn, .main-tasks-bunner-content .secondary-btn {
        width: 100%;
    }

    .bunner-car-mobile {
        transform: translateY(-68%);
    }

    .main-tasks-bunner-content {
        padding-left: 16px;
        padding-right: 16px;
    }

}

@media (max-width: 445px) {
    .main-tasks-bunner-content {
        min-height: 688px;
    }
}

/* rewards-container */
.main-container {
    padding: 0 40px 70px;
    box-sizing: border-box;
    overflow: hidden;
}

.rewards-container {
    margin-bottom: 100px;
    max-width: 1440px;
    margin: 0 auto;
    margin-bottom: 98px;
}

.rewards-container.main-container {
    padding: 0 0 70px;
}

.rewards-content {
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    width: 100%;
    max-height: 376px;
    border-radius: 80px;
    position: relative;
    overflow: visible;
    scrollbar-width: none;
}

.rewards-content::-webkit-scrollbar {
    display: none;
}

.rewards-placeholder {
    font-family: 'ExtraBoldThunder', sans-serif;
    font-size: 63px;
    font-weight: 800;
    line-height: 57.96px;
    letter-spacing: 0.03em;
    text-align: left;
    color: var(--white-color);
    width: 250px;
    padding-left: 45px;
    position: relative;
    position: absolute;
    z-index: 1000;
    background-color: var(--primary-light-dark-color);
    height: 100%;
    bottom: 0;
    border-top-left-radius: 80px;
    border-bottom-left-radius: 80px;
    overflow: hidden;
}

.rewards-placeholder img {
    position: absolute;
    width: 75%;
    bottom: 0;
    left: 0;
}

.rewards-placeholder .rew-img {
    display: block;
}

.rewards-placeholder .rew-mobile-img {
    display: none;
}

.reward-item {
    width: 100%;
    height: 100%;
    border-radius: 60px;
    box-sizing: border-box;
    color: var(--white-color);
    text-align: center;
    padding: 30px 27px;
}

.reward-item h4 {
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 24px;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0;
}

.reward-item-coins-amount {
    font-family: 'Lato', sans-serif;
    font-size: 27px;
    font-weight: 900;
    line-height: 36px;
    margin-bottom: 18px;
}

.reward-item .primary-btn {
    margin: 0 auto;
    width: 100%;
    justify-content: center;
    padding: 8px 30px;
    min-height: 55px;
}

.reward-item .primary-btn img {
    width: 35px;
    height: 35px;
}

.reward-item-coins{
    width: 100%;
}
.reward-item-coins img {
    width: 40%;
}

.reward-item.active {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: #070707;
}

.reward-item.claimed,
.reward-item.blocked {
    border: 1px dashed rgba(255, 255, 255, 0.4);
    background-color: #121212;
}

.reward-item.claimed .primary-btn[disabled],
.reward-item.blocked .primary-btn[disabled] {
    cursor: not-allowed;
    margin-bottom: 110px;
    background: var(--dark-gray-road-texture);
    color: transparent;
    background-size: contain;
}

.splide__arrows {
    position: absolute;
    width: 100%;
    bottom: -90px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 20px;
}

.splide__track--draggable {
    border-radius: 80px;
    overflow: hidden;
    max-height: 100%;
    height: 100%;
    padding: 32px 0;
    box-sizing: border-box;
}

#rewards_splide {
    max-width: 100%;
}

#rewards_splide li {
    box-sizing: border-box;
    max-width: 235px;
    max-height: 313px;
}

.splide__arrow.splide__arrow--prev {
    width: 57px;
    height: 43px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-dark-color);
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    border: 1px solid #FFFFFF66;
    box-sizing: border-box;
    background-image: url(./assets/arrow_left_slider.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    display: block;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    left: .5px;
}

.splide__arrow.splide__arrow--next {
    width: 57px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-dark-color);
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
    border: 1px solid #FFFFFF66;
    box-sizing: border-box;
    background-image: url(./assets/arrow_right_slider.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    display: block;
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    right: 0;
}

@media (max-width: 1550px) {
    .rewards-container.main-container {
        padding: 0 40px 70px;
        box-sizing: border-box;
    }
}

@media (max-width: 1200px) {
    .rewards-container.main-container {
        margin-bottom: 62px;
    }
}

@media (max-width: 992px) {
    .rewards-placeholder {
        font-size: 46px;
        line-height: 48.96px;
        width: 231px;
    }
}

@media (max-width: 768px) {
    .rewards-placeholder {
        font-size: 24px;
        line-height: 30px;
        width: 138px;
        border-top-left-radius: 40px;
        border-bottom-left-radius: 40px;
        box-sizing: border-box;
        padding-left: 34px;
    }

    .rewards-content {
        max-height: 241px;
        border-radius: 40px;
    }

    .rewards-placeholder .rew-img {
        display: none;
    }

    .rewards-placeholder .rew-mobile-img {
        display: block;
        position: absolute;
        width: 75%;
        bottom: 0;
        left: 0;
    }

    .reward-item.claimed, .reward-item.blocked {
        border-radius: 40px;
    }

    .splide__track--draggable {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .reward-item {
        padding: 16px 18px;
    }

    .reward-item h4 {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 0;
    }

    .reward-item-coins img {
        width: 58px;
    }

    .reward-item-coins-amount {
        font-size: 27px;
        line-height: 36px;
        margin-bottom: 4px;
    }

    .splide__track--draggable {
        border-radius: 40px;
    }

    .reward-item.active {
        border-radius: 40px;
    }

    .splide__arrows {
        display: none;
    }

    .rewards-container.main-container {
        padding: 0 16px 0px;
    }
}

/* pilot-income-container */

.income-metrics {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 0 40px;
    box-sizing: border-box;
}

.income-metrics .metric-item {
    margin-bottom: 24px;
}

.income-metrics  .metric-item {
    margin-right: 81px;
}

.income-metrics  .metric-item:last-child {
    margin-right: 0;
}

.metric-item-balance {
    display: flex;
    align-items: center;
}

.metric-item-balance span {
    color: var(--white-color);
    font-family: 'ExtraBoldThunder', sans-serif;
    font-size: 100px;
    font-weight: 800;
    line-height: 92px;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
}

.metric-item-balance img {
    width: 100px;
    height: 100px;
    margin-top: -24px;
    margin-right: 12px;
}

.metric-item-label {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 22px;
    text-align: right;
    color: #9E9E9E;
}

.racer-level {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-family: 'ExtraBoldThunder', sans-serif;
    font-size: 100px;
    font-weight: 800;
    line-height: 92px;
    letter-spacing: 0.03em;
    margin-bottom: 80px;
}

.racer-level img {
    width: 60px;
    height: 93px;
    margin: 0 46px;
}

.racer-img {
    max-width: 1049px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 42px;
    position: relative;
}

.blocked-screan {
    display: none;
}

.racer-img.unlock-junior .blocked-screan img {
    width: 100px;
    height: 140px;
}

.racer-img.unlock-junior .blocked-screan {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(20, 20, 20, 0.8);
}

.racer-img img {
    width: 100%;
    object-fit: contain;
}

.racer-level-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 82px;
}

.racer-level-progress .progress-item {
    position: relative;
    padding-right: 117px;
}

.racer-level-progress .progress-item:last-child {
    padding-right: 0;
}

.racer-level-progress .progress-item
.progress-item-level {
    width: 83px;
    height: 83px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'ExtraBoldThunder', sans-serif;
    font-size: 63px;
    font-weight: 800;
    line-height: 57.96px;
    letter-spacing: 0.03em;
    color: #9E9E9E;
    border: 1px solid #1B1B1B;
    border-radius: 100%;
    padding-top: 12px;
    box-sizing: border-box;
    background-color: #1B1B1B;
}

.racer-level-progress .progress-item
.progress-item-level-node {
    width: 117px;
    height: 3px;
    background-color: #1B1B1B;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.racer-level-progress .progress-item.active
.progress-item-level {
    background-color: var(--primary-orange-color);
    color: var(--white-color);
}

.racer-level-progress .progress-item.active
.progress-item-level-node {
    width: 117px;
    height: 3px;
    background-color: var(--primary-orange-color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.racer-level-progress .progress-item.next
.progress-item-level {
    border: 1px solid var(--primary-orange-color);
}

#upgrade_or_unlock_racer_btn {
    width: 100%;
    text-align: center;
}

.secondary-btn {
    padding: 8px 9px 8px 30px;
    font-size: 24px;
    font-weight: 900;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-radius: 99px;
    border: none;
    max-height: 84px;
    font-family: 'Commissioner', sans-serif;
    background: var(--dark-gray-road-texture);
    background-size: contain;
    transition: .3s;
    cursor: pointer;
    text-decoration: none;
}

.secondary-btn:hover {
    background: #444343;
    background-size: contain;
}

.secondary-btn .arrow {
    background-color: var(--white-color);
    border-radius: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    min-width: 60px;
    min-height: 60px;
    margin-left: 50px;
}

.secondary-btn .icon {
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.secondary-btn .icon img {
    width: 44px;
    height: 44px;
}

.secondary-btn .amount {
    padding-left: 50px;
    display: flex;
    align-items: center;
}

.secondary-btn .amount img {
    width: 40px;
    height: 40px;
}

.secondary-btn .arrow img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(15%) sepia(2%) saturate(20%) hue-rotate(342deg) brightness(100%) contrast(93%);
}

.income-metrics-container .secondary-btn,
.income-metrics-container .primary-btn {
    justify-content: center;
    margin: 0 auto;
    width: 678px;
    margin-bottom: 35px;
}

@media (max-width: 1550px) {
    .pilot-income-container {
        width: 100%;
        padding: 40px;
        box-sizing: border-box;
    }
}

@media (max-width: 1200px) {
    .racer-level {
        margin-bottom: 44px;
    }

    .income-metrics-container .secondary-btn, .income-metrics-container .primary-btn {
        margin-bottom: 78px;
    }
}

@media (max-width: 992px) {
    .income-metrics .metric-item {
        margin-right: 24px;
    }

    .income-metrics {
        justify-content: space-around;
        margin-bottom: 24px;
    }

    .racer-level {
        font-size: 82px;
    }

    .metric-item-balance span {
        font-size: 72px;
        line-height: 74px;
    }

    .metric-item-balance img {
        width: 80px;
        height: 80px;
        margin-top: -13px;
        margin-right: 12px;
    }
}

@media (max-width: 768px) {
    .racer-img.unlock-junior .blocked-screan img {
        width: 70px;
        height: 110px;
    }

    .income-metrics-container .secondary-btn, .income-metrics-container .primary-btn {
        width: 100%;
    }

    .income-metrics {
        justify-content: center;
    }

    
    .racer-level img {
        width: 18px;
        height: 28px;
        margin: -5px 8px 0;
    }

    .racer-level {
        font-size: 32px;
        line-height: 29px;
        margin-top: 24px;
    }

    .racer-level-progress .progress-item {
        padding-right: 40px;
    }

    .racer-level-progress .progress-item .progress-item-level {
        font-size: 24px;
        line-height: 30px;
        width: 41px;
        height: 41px;
        padding-top: 6px;

    }

    .racer-level-progress .progress-item .progress-item-level-node,
    .racer-level-progress .progress-item.active .progress-item-level-node {
        width: 40px;
    }

    .racer-level-progress {
        margin-bottom: 60px;
    }

    .racer-img {
        margin-bottom: 30px;
    }

    .metric-item-balance span {
        font-size: 32px;
        line-height: 29px;
    }

    .metric-item-balance img {
        width: 32px;
        height: 32px;
    }

    .metric-item-label {
        font-size: 12px;
        line-height: 15px;
    }

    .metric-item-balance {
        justify-content: end;
    }

    .pilot-income-container {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .income-metrics-container .secondary-btn {
        font-size: 18px;
    }

    .secondary-btn .arrow {
        min-width: 48px;
        min-height: 48px;
        margin-left: 16px;
    }

    .secondary-btn .amount {
        padding-left: 16px;
    }    
}

@media (max-width: 370px) {
    .income-metrics {
        flex-wrap: nowrap;
    }
}

/* bcgr-road */
.quiz-road-bcgr-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 180px;
}

.quiz-road-bcgr-container.main-container {
    padding-bottom: 0;
}

.quiz-road-bcgr {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.bunner-header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 86px;
}

.bunner-header h2 {
    font-family: 'ExtraBoldThunder', sans-serif;
    font-size: 147px;
    font-weight: 800;
    line-height: 122px;
    letter-spacing: 0.03em;
    text-align: left;
    color: #FFFFFF4D;
    margin: 0;
}

.bunner-header p {
    font-family: 'Lato', sans-serif;
    font-size: 27px;
    font-weight: 900;
    line-height: 36px;
    text-align: justify;
    color: var(--white-color);
    max-width: 50%;
    border-radius: 200px;
    border: 1px solid #FFFFFF66;
    margin: 0;
    padding: 22px 69px;
    box-sizing: border-box;
    backdrop-filter: blur(14.100000381469727px);
    background: #00000030;
}

.quiz-content {
    width: 100%;
    position: relative;
    text-align: center;
    overflow: hidden;
    height: auto;
    margin-bottom: 164px;
}

.quiz-content img:first-child {
    max-width: 1280px;
    margin: 0 auto;
    margin-bottom: -5px;
}

.quiz-content img:last-child {
    position: absolute;
    right: 40%;
    max-width: 176px;
    bottom: 0;
}

.quiz-container .primary-btn {
    margin: 0 auto;
    justify-content: center;
    width: 678px;
}

.quiz-container {
    margin-bottom: 180px;
}

@media (max-width: 1369px) {
    .quiz-content img:first-child {
        max-width: 100%;
    }
}

@media (max-width: 1200px) {

    .quiz-container {
        margin-bottom: 78px;
    }
    .bunner-header h2 {
        font-family: 'ExtraBoldThunder', sans-serif;
        font-size: 126px;
        margin-right: 24px;
    }

    .bunner-header p {
        border-radius: 80px;
        padding: 22px 45px;

    }

    .quiz-road-bcgr-container.main-container {
        padding-top: 0;
    }

    .quiz-content img:last-child {
        right: 34%;
        width: 13%;
    }

    .quiz-content {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .bunner-header h2 {
        font-size: 56px;
        line-height: 50px;
        width: 100%;
        margin-bottom: 22px;
    }

    .quiz-road-bcgr-container.main-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bunner-header p {
        max-width: 100%;
        font-size: 16px;
        line-height: 22px;
        padding: 27px 40px;
    }

    .bunner-header {
        display: block;
        margin-bottom: 22px;
    }

    .quiz-container .primary-btn {
        width: 100%;
    }
}

@media (max-width: 445px) {
    .quiz-container .primary-btn {
        justify-content: space-between;
    }
}


/* tasks-container  */

.tasks-container {
    margin-bottom: 180px;
}

#day_of_tasks {
    font-family: 'ExtraBoldThunder', sans-serif;
    font-size: 100px;
    font-weight: 800;
    line-height: 92px;
    letter-spacing: 0.03em;
    text-align: left;
    color: var(--white-color);
    margin-bottom: 53px;
    margin-top: 0;
}

.task-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 130px;
}

.task-item:last-child {
    margin-bottom: 0;
}

.task-item-description {
    max-width: 855px;
    margin-right: 24px;
}

.task-item-description h4 {
    font-family: 'ExtraBoldThunder', sans-serif;
    font-size: 100px;
    font-weight: 800;
    line-height: 92px;
    letter-spacing: 0.03em;
    text-align: left;
    color: var(--white-color);
    margin-bottom: 18px;
    margin-top: 0;
}

.task-item-description p {
    font-family: 'Lato', sans-serif;
    font-size: 27px;
    font-weight: 900;
    line-height: 36px;
    text-align: left;
    color: #9E9E9E;
    margin-top: 0;
    margin-bottom: 18px;
}

.task-item-amount-or-status {
    width: 445px;
    min-width: 321px;
    height: 219px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 80px;
    background-color: #121212;
    border: 1px solid #FFFFFF66;
    font-family: 'ExtraBoldThunder', sans-serif;
    font-size: 100px;
    font-weight: 800;
    line-height: 92px;
    letter-spacing: 0.03em;
    text-align: left;
    color: var(--white-color);
    padding: 24px;
}

.task-item-amount-or-status span {
    padding-left: 28px;
    box-sizing: border-box;
    margin-bottom: -12px;
}

.task-item-amount-or-status img {
    width: 100px;
    height: 100px;
}

@media (max-width: 1200px) {
    .task-item-description h4,
    .task-item-amount-or-status {
        font-size: 72px;
        line-height: 74px;
    }

    .task-item-amount-or-status img {
        width: 80px;
        height: 80px;
    }

    .task-item-amount-or-status {
        padding: 12px;
        box-sizing: border-box;
    }

}

@media (max-width: 768px) {
    #day_of_tasks {
        font-size: 32px;
        line-height: 29px;
        margin-bottom: 16px;
    }

    .task-item-description h4,
    .task-item-amount-or-status {
        font-size: 32px;
        line-height: 29px;
        margin-bottom: 14px;
    }

    .task-item-description p {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 28px;
    }

    .task-item {
        margin-bottom: 40px;
    }

    .task-item-amount-or-status {
        width: 101px;
        min-width: 101px;
        height: 67px;
        border-radius: 20px;
        padding: 18px;
    }

    .task-item-amount-or-status img {
        width: 24px;
        height: 24px;
    }

    .task-item-amount-or-status span {
        padding-left: 8px;
        margin-bottom: -6px;
    }
}

/* referral-container */

.referral-container {
    margin-bottom: 180px;
}

.referral-header.bunner-header p {
    max-width: 600px;
}

.referral-content {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.referral-mockup-container {
    border-radius: 100px;
    border: 1px solid #FFFFFF66;
    width: 446px;
    height: 433px;
    background-color: #121212;
    overflow: hidden;
    position: relative;
    margin-right: 24px;
}

.referral-mockup-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.referral-description {
    width: 100%;
}

.referral-description .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.total-referrals,
.total-earned {
    width: 50%;
    padding: 32px 52px;
    text-align: center;
    border-radius: 200px;
    border: 1px solid #FFFFFF66;
    background: #00000030;
    backdrop-filter: blur(14.100000381469727px);
    box-sizing: border-box;
}

.total-referrals {
    margin-right: 24px;
}

.total-referrals h3,
.total-earned h3 {
    font-family: 'Commissioner', sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 25.82px;
    color: var(--white-color);
    margin: 0;
    margin-bottom: 30px;
}

.total-referrals div,
.total-earned div {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'ExtraBoldThunder', sans-serif;
    font-size: 63px;
    font-weight: 800;
    line-height: 57.96px;
    letter-spacing: 0.03em;
    color: var(--white-color);
}

.total-referrals img,
.total-earned img {
    width: 70px;
    height: 70px;
    margin-top: -14px;
}

.referral-input-container {
    width: 100%;
}

.referral-input-container label {
    color: var(--white-color);
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 22px;
    text-align: left;
}

.referral-input-container label .input-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    margin-bottom: 12px;
}

.referral-input-container label .input-container input {
    width: 70%;
    margin-right: 24px;
    border-radius: 200px;
    border: 1px solid #FFFFFF66;
    backdrop-filter: blur(14.100000381469727px);
    background: #00000030;
    padding: 34px 47px;
    box-sizing: border-box;
    color: var(--white-color);
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 24px;
    text-align: left;
}

.referral-input-container label .input-container .primary-btn {
    width: 30%;
    justify-content: center;
    min-height: 92px;
}

.referral-input-container p {
    color: var(--white-color);
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 22px;
    text-align: left;
    display: flex;
    align-items: center;
    margin: 0;
}

.referral-input-container p img {
    width: 32px;
    height: 32px;
    margin: 0 8px;
}

@media (max-width: 1200px) {
    .referral-mockup-container {
        min-width: 320px;
        border-radius: 60px;
    }

    .referral-input-container label .input-container .primary-btn {
        min-width: 215px;
    }

    .tasks-container { 
        margin-bottom: 78px;
    }

    .referral-container {
        margin-bottom: 78px;
    }
}

@media (max-width: 992px) {
    .referral-mockup-container {
        min-width: 293px;
        height: 386px;
    }

    .referral-description .top {
        display: block;
    }

    .total-referrals {
        margin-right: 0;
        margin-bottom: 24px;
        width: 100%;
    }

    .total-referrals:last-child {
        margin-bottom: 0;
    }

    .total-referrals, .total-earned {
        width: 100%;
    }

    .referral-content {
        position: relative;
        padding-bottom: 154px;
    }

    .referral-description .bottom {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .referral-header.bunner-header p {
        max-width: 100%;
    }

    .referral-content {
        display: block;
    }

    .referral-mockup-container {
        width: 100%;
        height: 600px;
        margin-bottom: 24px;
    }

    .referral-input-container label .input-container {
        display: block;
    }

    .referral-input-container label .input-container input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 24px;
        padding: 25px 22px;
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 60px;
    }

    .referral-input-container label .input-container .primary-btn {
        width: 100%;
        min-height: 72px;
        justify-content: space-between;
    }

    .total-referrals, .total-earned {
        padding: 24px 50px;
    }

    .total-referrals h3, .total-earned h3 {
        font-size: 18px;
        line-height: 19px;
        margin-bottom: 24px;
    }

    .total-referrals div, .total-earned div {
        font-size: 39px;
        line-height: 30px;
    }

    .referral-content {
        padding-bottom: 255px;
    }

    .referral-input-container p {
        position: absolute;
        top: 46%;
    }

}

@media (max-width: 768px) {
    .referral-header.bunner-header p {
        max-width: 100%;
    }

    .referral-content {
        display: block;
    }

    .referral-mockup-container {
        height: 335px;
    }
}

/* leaderboard-container */
.leaderboard-container.main-container {
    padding-bottom: 0;
}

.leaderboard-container {
    margin-bottom: 180px;
}

.leaderboard-container.main-container {
    padding-right: 0;
    padding-left: 0;
}

.leaderboard-top-racers {
    display: flex;
    align-content: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.leaderboard-top-racer {
    width: 431px;
    height: 219px;
    border-radius: 80px;
    border: 1px solid #FFFFFF66;
    background-color: #121212;
    padding: 34px 44px;
    box-sizing: border-box;
    width: 32%;
    margin-right: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.leaderboard-top-racer:last-child {
    margin-right: 0;
}

.top-busket {
    width: 112px;
    height: 112px;
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
}

.top-racer-info {
    margin-right: 24px;
}

.top-racer-info h4 {
    font-family: 'ExtraBoldThunder', sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 40.48px;
    letter-spacing: 0.03em;
    text-align: left;
    color: var(--white-color);
    margin: 0 0 12px;
}

.top-racer-info .top-racer-amount {
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 22px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 13px;
}

.top-racer-info .top-racer-amount img {
    width: 48px;
    height: 48px;
    margin-right: 8px;
}

.top-racer-info .secret-bonus {
    font-family: 'Lato', sans-serif;
    font-size: 27px;
    font-weight: 900;
    line-height: 36px;
    text-align: left;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: start;
}

.top-racer-info .secret-bonus  img {
    width: 24px;
    height: 38px;
    margin-right: 8px;
}

.leaderboard-board {
    border: 1px solid #FFFFFF66;
    border-radius: 40px;
    overflow: hidden;
    padding: 34px 24px;
}

table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}

td {
    width: 25%;
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 22px;
    color: var(--white-color);
    text-align: left;
    padding: 16px 34px;
    overflow: hidden; 
    text-overflow: ellipsis;
    white-space: nowrap;
}
th {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 22px;
    text-align: center;
    color: #4D4D4D;
    text-align: left;
    padding: 0 34px 24px;
}

td .coin {
    width: 40px;
    height: 40px;
    margin-right: 8px;
}

td .avatar {
    width: 48px;
    height: 48px;
    margin-right: 20px;
}


tr {
    border-bottom: 1px solid #333333;
}

tr:last-child {
    border: none;
}

td div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.avatar-cell {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 22px;
    text-align: center;
    color: var(--white-color);
}

.avatar-cell div .mobile-rank-cell {
    display: none;
}

tr.highlight-user {
    border-radius: 24px;
    border: 1px solid #FFFFFF66;
    background-color: #121212;
}

#quiz-btn:disabled {
    background-color: #cccccc; /* Змінюємо колір фону для дизейбленої кнопки */
    cursor: not-allowed; /* Міняємо курсор на "не можна" */
    opacity: 0.5; /* Зменшуємо прозорість, щоб показати, що кнопка неактивна */
}

@media (max-width: 1550px) {
    .leaderboard-container.main-container {
        padding: 0 40px;
    }
}

@media (max-width: 1350px) {
    .top-busket {
        width: 30%;
        height: auto;
    }

    .leaderboard-top-racer {
        height: 256px;
        width: 31%;
        padding: 37px 29px;
    }
    
}

@media (max-width: 1275px) {
    .top-busket {
        width: 24%;
        right: 7px;
    }
}

@media (max-width: 1200px) {
    .leaderboard-container.main-container {
        margin-bottom: 78px;
    }

    .avatar-cell div {
        display: block;
        text-align: left;
    }

    .leaderboard-top-racers {
        display: block;
    }

    .leaderboard-top-racer {
        margin: 0 auto 42px;
        width: 80%;
    }

    .leaderboard-top-racer:last-child {
        margin: 0 auto;
    }

    .top-busket {
        width: 24%;
        height: auto;
    }

    .leader-row  {
        max-width: 100px;
    }

    td {
        white-space: normal !important;
    }
    table {
        width: auto !important;
    }
}

@media (max-width: 992px) {
    .avatar-cell div .mobile-rank-cell {
        display: block;
        margin-top: 4px;
    }
    
    .ranks-table-cell {
        display: none;
    }
    .leaderboard-header {
        display: block;
    }

    .leaderboard-header p {
        max-width: 80%;
        margin: 0 auto;
    }
    .leaderboard-header {
        margin-bottom: 55px;
    }

}

@media (max-width: 768px) {

    td {
        font-size: 18px;
        line-height: 22px;
        padding: 28px 12px 16px;
    }

    .avatar-cell {
        font-size: 16px;
        line-height: 22px;
    }

    td .avatar {
        margin-right: 8px;
    }

    td .coin {
        width: 26px;
        height: 26px;
        margin-right: 8px;
    }

    .leaderboard-board {
        padding: 29px 16px 18px;
        border-radius: 30px;
    }

    .leaderboard-container.main-container {
        padding: 0 16px;
    }
    .leaderboard-header {
        margin-bottom: 24px;
    }

    .leaderboard-header p {
        max-width: 100%;
    }

    .top-busket {
        width: 114px;
        height: auto;
    }

    .leaderboard-top-racer {
        margin: 0 auto 24px;
        width: 100%;
        padding: 25px;
        border-radius: 50px;
        height: 164px;
    }

    .top-racer-info h4 {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .top-racer-info .top-racer-amount {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 8px;
    }

    .top-racer-info .top-racer-amount img {
        width: 34px;
        height: 34px;
    }

    .top-racer-info .secret-bonus img {
        width: 22px;
        height: 34px;
    }

    .top-racer-info .secret-bonus {
        font-size: 20px;
        line-height: 24px;
    }
}

@media (max-width: 445px) {
    td {
        padding: 28px 3px 16px;
    }
}
