* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #080b18;
    color: #ffffff;
    min-height: 100vh;
}

.reward-page {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 18px 10px 25px;
    background: #080b18;
}

.reward-page h1 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Top reward banner */
.reward-banner {
    width: 100%;
    height: 190px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 45%, #7025b8 0%, #30104f 45%, #12091e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

.gift-box {
    font-size: 105px;
    filter: drop-shadow(0 8px 15px rgba(255, 0, 200, 0.35));
}

/* 10 day cards */
.days-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.day-card {
    min-height: 88px;
    padding: 7px 3px;
    border-radius: 10px;
    border: 1px solid #24532f;
    background: #101d19;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.day-card.active {
    border: 2px solid #58e719;
    background: #18371b;
    box-shadow: 0 0 8px rgba(70, 230, 20, 0.25);
}

.day-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.diamond {
    font-size: 21px;
    line-height: 1;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 4px rgba(0, 200, 255, 0.35));
}

.reward {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

/* Claim button */
#claimBtn {
    display: block;
    width: 100%;
    margin-top: 13px;
    padding: 11px 10px;
    border: 2px solid #62e51c;
    border-radius: 10px;
    background: linear-gradient(to bottom, #65df20, #238c00);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(60, 220, 20, 0.25);
}

#claimBtn:active {
    transform: scale(0.98);
}

#message {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #aeb4c8;
}

/* Mobile */
@media (max-width: 360px) {

    .reward-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .reward-banner {
        height: 170px;
    }

    .gift-box {
        font-size: 90px;
    }

    .days-grid {
        gap: 5px;
    }

    .day-card {
        min-height: 82px;
    }
}


/* Completed reward */
.day-card {
    position: relative;
    transition: 0.2s ease;
}

.day-card.completed {
    border: 2px solid #39e639;
    background: linear-gradient(
        145deg,
        #173d20,
        #102618
    );
    box-shadow: 0 0 12px rgba(50, 230, 50, 0.25);
}

.day-check {
    position: absolute;
    top: 5px;
    right: 6px;

    width: 19px;
    height: 19px;

    border-radius: 50%;

    display: none;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 900;

    color: #ffffff;
    background: #28d83b;
}
.day-card.completed .day-check {
    display: flex;
}


.day-card.locked {
    opacity: 0.55;
}

.day-card.active {
    transform: translateY(-1px);
}


/* Countdown */
.next-reward-timer {
    margin-top: 13px;
    padding: 10px;
    border-radius: 12px;

    text-align: center;

    background: #11162a;
    border: 1px solid #303954;
}

.timer-label {
    font-size: 12px;
    color: #aeb4c8;
    margin-bottom: 3px;
}

#countdown {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #65e928;
}


/* Disabled claim button */
#claimBtn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* Success message */
#message {
    min-height: 20px;
}


/* ===============================
   TASK TABS
================================ */

.task-tabs {
    display: flex;
    width: 100%;
    gap: 6px;
    margin-bottom: 15px;
    padding: 4px;
    border-radius: 12px;
    background: #11162a;
    border: 1px solid #303954;
}

.task-tab {
    flex: 1;
    padding: 10px 5px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #aeb4c8;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.task-tab.active {
    background: linear-gradient(to bottom, #65df20, #238c00);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(60, 220, 20, 0.20);
}

.task-tab:active {
    transform: scale(0.98);
}


/* ===============================
   TASK CONTENT
================================ */

.task-content {
    display: none;
}

.task-content.active {
    display: block;
}


/* ===============================
   COMING SOON / PLACEHOLDER
================================ */

.coming-soon-box {
    min-height: 300px;
    margin-top: 15px;
    padding: 30px 15px;
    border-radius: 16px;
    background: #11162a;
    border: 1px solid #303954;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.coming-soon-icon {
    font-size: 55px;
    margin-bottom: 15px;
}

.coming-soon-box h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.coming-soon-box p {
    font-size: 13px;
    color: #aeb4c8;
}

/* Reward navigation tabs */
.task-tab {
    text-decoration: none !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-tab:hover,
.task-tab:focus,
.task-tab:visited {
    text-decoration: none !important;
}

