/* ================================
   Rewards Overlay
   ================================ */

.rewards-container {
    text-align: center;
    padding: 30px 30px;
    background: #ecf0f1;
    border-radius: 32px;
    border: 8px solid #bdc3c7;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
    width: 1000px;
    /* Slightly wider to accommodate timers comfortably */
    display: flex;
    flex-direction: column;
}

.rewards-title {
    font-size: 100px;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #f1c40f, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.2));
    text-transform: uppercase;
}

/* Rewards Grid */
.rewards-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    /* Increased gap */
    margin-bottom: 30px;
}

/* Reward Card */
.reward-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 15px;
    border-radius: 16px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    background: #dfe6e9;
    /* Default background */
}

.reward-card.reward-locked {
    background: #dfe6e9;
    border-color: #bdc3c7;
    opacity: 0.8;
    /* More visible than before */
}

.reward-card.reward-ready {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-color: #f1c40f;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.3);
    animation: rewardGlow 2s ease-in-out infinite;
}

.reward-card.reward-claimed {
    background: #27ae60;
    border-color: #2ecc71;
    opacity: 0.9;
}

@keyframes rewardGlow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(241, 196, 15, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(241, 196, 15, 0.5);
    }
}

/* Card Elements */
.reward-info {
    text-align: center;
    width: 100%;
}

/* Live Timer Style */
.reward-timer {
    font-size: 60px;
    /* Large timer text */
    font-weight: 900;
    font-family: 'Courier New', monospace;
    /* Monospace for steady numbers */
    margin-bottom: 8px;
    color: #2c3e50;
    /* Dark for locked/light bg */
}

.reward-ready .reward-timer {
    color: #f1c40f;
    /* Gold for ready */
    font-size: 40px;
    /* "READY" text size */
    font-family: inherit;
    /* Normal font for text */
}

.reward-claimed .reward-timer {
    color: #ecf0f1;
    /* White for claimed */
    font-size: 40px;
    font-family: inherit;
    opacity: 0.8;
}

.reward-coins {
    font-size: 60px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #2c3e50;
}

.reward-coins .reward-coin-icon {
    width: 60px;
    height: 60px;
    vertical-align: middle;
}

.reward-ready .reward-coins {
    color: #f1c40f;
}

.reward-claimed .reward-coins {
    color: #ecf0f1;
}

.reward-status {
    width: 100%;
    margin-top: 5px;
}

.reward-status-text {
    font-size: 60px;
    font-weight: 700;
}

.reward-status-text.locked {
    font-size: 0;
    /* Hide lock icon if timer is prominent? Keep it small */
    display: none;
    /* Actually hide it, timer implies locked */
}

.reward-status-text.claimed {
    color: #ecf0f1;
    font-size: 60px;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Claim Button */
.reward-claim-btn {
    font-size: 60px !important;
    padding: 12px 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(to bottom, #f1c40f, #f39c12) !important;
    color: #2c3e50 !important;
    font-weight: 900 !important;
    border: none !important;
    cursor: pointer !important;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(241, 196, 15, 0.4);
    transition: all 0.2s ease;
    width: 80%;
    /* Not full width for button looks better */
    margin: 0 auto;
    display: block;
}

.reward-claim-btn:hover {
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.6);
}

.reward-claim-btn:active {
    transform: scale(0.95);
}

/* Notification Dot */
.rewards-notification-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 62px;
    height: 62px;
    background: #e74c3c;
    border-radius: 50%;
    font-size: 42px;
    font-weight: 900;
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.5);
    pointer-events: none;
}