.activity-rewards-banner {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #222126 0%, #1c1b20 100%);
    border: 1px solid rgba(103, 88, 199, 0.18);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.activity-rewards-banner a {
    padding: 30px;
    display: block;
    width: 100%;
    height: 100%;
    white-space: normal;
}

.activity-rewards-banner h3 {
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    margin-bottom: 30px;
    color: #e8e6f5;
    border: 1px solid rgba(103, 88, 199, 0.28);
    background: rgba(103, 88, 199, 0.06);
}

.activity-rewards-banner p {
    color: #96949f;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    line-height: 25px;
}

.activity-rewards-banner img {
    width: 100%;
    max-width: 270px;
    display: block;
    margin: 0 auto 20px;
}

.day-in-a-row {
    color: #6758C7 !important;
    font-weight: bold !important;
    border-bottom: 2px solid #6758C7;
    background-color: #6758C7;
    background-image: linear-gradient(
        90deg,
        #6758C7 0%,
        #7C6BE8 50%,
        #6758C7 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* =========================
   REWARD CARD
========================= */

.reward {
    padding: 20px;
    border-radius: 18px;
    display: flex;
    position: relative;
    background: #29282f;
    margin-bottom: 25px !important;
    overflow: hidden;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 4px;
    margin-left: 10px;
    font-weight: 600;
    color: #ffffff;

    background-image:
        linear-gradient(
            145deg,
            rgba(103, 88, 199, 0.16),
            rgba(103, 88, 199, 0.02)
        ),
        url(../img/back_cardes.png);

    background-size: 107%;
    background-position: center;

    animation: gradient 15s linear infinite;
    align-content: center;
    align-items: center;

    border: 1px solid rgba(103, 88, 199, 0.22);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(103, 88, 199, 0.04);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.reward:hover {
    transform: translateY(-3px);

    border-color: rgba(103, 88, 199, 0.55);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.28),
        0 0 25px rgba(103, 88, 199, 0.12);
}

.reward .received {
    display: none;
}

.reward.active .received {
    display: flex;
    position: absolute;
    width: 66%;
    height: 54%;
    align-items: center;
    margin: 10px;
    margin-left: 73px;
    justify-content: center;

    font-size: 25px;
    color: #a69cf0;

    background: linear-gradient(
        135deg,
        rgba(103, 88, 199, 0.28),
        rgba(81, 69, 168, 0.22)
    );

    font-weight: bold;
    text-transform: uppercase;

    backdrop-filter: blur(12px);

    border: 1px solid rgba(103, 88, 199, 0.3);

    z-index: 1;
    transition: 0.8s;
    border-radius: 18px;

    text-shadow: 0 0 15px rgba(103, 88, 199, 0.5);
}

.reward.active .received:hover {
    display: flex;
    position: absolute;
    align-items: center;
    margin: -68px;
    justify-content: center;

    background: rgba(28, 28, 28, 0);
    text-transform: uppercase;

    backdrop-filter: none;

    z-index: 1;
    transition: 0.7s;
    cursor: pointer;

    font-size: 0;
    font-weight: 600;
    color: #ffffff;

    width: 135px;
    height: 108px;
}

.reward:last-child {
    margin-bottom: 0;
}


/* =========================
   REWARD DAY
========================= */

.reward .reward-day {
    flex-direction: column;
    width: 135px;
    height: 70px;

    border-radius: 12px;

    align-items: center;

    background: linear-gradient(
        145deg,
        rgba(103, 88, 199, 0.85),
        rgba(81, 69, 168, 0.85)
    );

    border: 1px solid rgba(153, 143, 230, 0.35);

    font-weight: 600;
    margin-bottom: 0;
    top: 0;
    display: flex;
    justify-content: center;
    margin-top: -30px;

    position: relative;

    backdrop-filter: blur(15px);

    box-shadow:
        0 8px 20px rgba(103, 88, 199, 0.18);
}

.reward .reward-day span {
    font-size: 30px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    line-height: 35px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.reward .reward-day i {
    font-size: 12.5px;
    font-weight: 600;
    font-style: normal;
    position: relative;
    color: #e8e6f5;
    top: -5px;
}


/* =========================
   REWARD CONTENT
========================= */

.reward .reward-content {
    flex: 1;
    align-self: center;
    display: flex;
    flex-direction: row;
    padding-left: 5px;
    padding-top: 10px;
}

.reward .reward-content span:nth-child(1) {
    font-weight: bold;
    font-size: 15px;
    color: #ffffff;
    border-radius: 5px;
    width: fit-content;
}

.reward .reward-content span:nth-child(2) {
    font-size: 14px;
}


/* =========================
   REWARD ICON
========================= */

#iconrewards {
    background: rgba(103, 88, 199, 0.10);

    margin: 0 0 20px 5px;
    padding: 15px;

    width: 50px;
    height: 50px;

    display: inline-block;

    font-family: Font Awesome\ 5 Free;
    font-size: 20px;

    border-radius: 8px;

    color: #9b91e5;
    text-align: center;

    border: 1px solid rgba(103, 88, 199, 0.15);

    transition: all 0.3s ease;
}

#iconrewards:hover {
    background: #6758C7;

    margin: 0 0 20px 5px;
    padding: 15px;

    width: 50px;
    height: 50px;

    display: inline-block;

    font-family: Font Awesome\ 5 Free;
    font-size: 20px;

    border-radius: 8px;

    color: #ffffff;
    text-align: center;

    border-color: #6758C7;

    box-shadow:
        0 5px 20px rgba(103, 88, 199, 0.35);

    transform: translateY(-2px);

    transition: all 0.3s ease;
}


/* =========================
   BOTTOM BUTTON
========================= */

#wrapper {
    width: 100%;
    height: 100px;

    background: #1c1b20;

    cursor: pointer;
    position: relative;
    overflow: hidden;

    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

    margin-bottom: 30px;

    border: 1px solid rgba(103, 88, 199, 0.12);
}

#inner {
    width: 100%;
    height: 100px;

    background: linear-gradient(
        90deg,
        rgba(103, 88, 199, 0.12),
        rgba(103, 88, 199, 0.04)
    );

    position: absolute;

    top: 0;
    left: -312px;

    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

    border-top: #6758C7 solid 4px;

    transition: 0.6s ease;
}

#wrapper:hover #inner {
    left: 0;

    box-shadow:
        0 -5px 25px rgba(103, 88, 199, 0.10);
}

#buttontext {
    margin-top: 14px;

    font-size: 16px;
    font-weight: bold;
    text-align: center;

    color: #e8e6f5;
}

#arrowrewards {
    margin-top: 10px;

    font-size: 16px;
    font-weight: bold;

    color: #6758C7;

    transition: transform 0.3s ease;
}

#wrapper:hover #arrowrewards {
    transform: translateX(5px);
}


center {
    box-sizing: border-box;
    margin: 0;
}


/* =========================
   REWARDS GRID
========================= */

#activity-rewards {
    align-items: center;
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(226px, 1fr));

    grid-gap: 15px 15px;

    margin-top: auto;
}


/* =========================
   REFERRAL PERCENT
========================= */

#referal_procent {
    border: 1px solid rgba(103, 88, 199, 0.16);

    padding: 11px;

    color: #e8e6f5;

    text-align: center;

    font-size: 14px;

    margin-bottom: 10px;

    background: linear-gradient(
        135deg,
        #30303a,
        #29282f
    );

    font-weight: bold;

    border-radius: 7px;

    transition: 0.3s ease;
}

#referal_procent:hover {
    border-color: rgba(103, 88, 199, 0.45);

    background: linear-gradient(
        135deg,
        rgba(103, 88, 199, 0.18),
        #29282f
    );

    box-shadow:
        0 5px 18px rgba(103, 88, 199, 0.10);
}