.rewards-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: none;
    flex-direction: column;
    color: white;
    font-family: 'Exo 2', sans-serif;
    overflow-y: auto;
}

.rewards-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rewards-title {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, #4facfe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rewards-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    gap: 30px;
    padding: 20px;
}

.rewards-hero {
    flex: 0.8;
    background: linear-gradient(180deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

.rewards-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1614728263952-84ea256f9679?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
    /* Placeholder cyber girl vibe */
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: -1;
}

.hero-text h1 {
    font-size: 48px;
    margin: 0;
    text-shadow: 0 0 20px rgba(79, 172, 254, 0.8);
}

.hero-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

.rewards-grid {
    flex: 2.5;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
}

.reward-slot {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    min-height: 120px;
    position: relative;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.reward-slot.claimable {
    background: rgba(79, 172, 254, 0.1);
    border-color: #4facfe;
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.2);
}

.reward-slot.claimed {
    opacity: 0.5;
    cursor: default;
}

.reward-slot.claimed::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #00ff8d;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 141, 0.5);
}

.reward-slot.locked {
    filter: grayscale(1);
    cursor: not-allowed;
}

.slot-day {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.reward-icon {
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.4));
}

.reward-value {
    font-weight: bold;
    font-size: 14px;
    color: #4facfe;
}

.lock-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: 0.3s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
    .rewards-container {
        flex-direction: column;
        padding: 10px;
        margin: 10px auto;
    }

    .rewards-hero {
        min-height: 250px;
    }

    .rewards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-text h1 {
        font-size: 32px;
    }
}