/* rewards/rewards.css */

/* ---- REWARD FİLTRE BUTONLARI ---- */
.reward-filter-btn.active {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    border-color: #f59e0b !important;
    color: #000 !important;
}

/* ---- KART ---- */
.reward-card {
    background: #111316;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 360px;
    max-width: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .reward-card:hover {
        transform: translateY(-3px);
        border-color: rgba(0, 255, 135, 0.35);
        box-shadow: 0 16px 40px -12px rgba(0, 255, 135, 0.18);
    }
    .reward-card.cashback:hover {
        border-color: rgba(245, 158, 11, 0.35);
        box-shadow: 0 16px 40px -12px rgba(245, 158, 11, 0.18);
    }
}

/* glow */
.reward-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100px;
    pointer-events: none;
    opacity: 0.1;
    z-index: 0;
}
.reward-card.loyalty::before  { background: radial-gradient(ellipse at top right, #00ff87, transparent 65%); }
.reward-card.cashback::before { background: radial-gradient(ellipse at top right, #f59e0b, transparent 65%); }

/* ---- TOP ROW ---- */
.reward-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px 12px;
    position: relative;
    z-index: 1;
}

.reward-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.reward-card.loyalty .reward-icon  { background: rgba(0,255,135,0.1); border: 1px solid rgba(0,255,135,0.2); }
.reward-card.cashback .reward-icon { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25); }

.reward-badge {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.reward-card.loyalty .reward-badge  { background: rgba(0,255,135,0.07); border: 1px solid rgba(0,255,135,0.2); color: #00ff87; }
.reward-card.cashback .reward-badge { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.22); color: #f59e0b; }

/* ---- AÇIKLAMA ---- */
.reward-desc {
    padding: 0 20px 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ---- DIVIDER ---- */
.reward-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 0 20px; }

/* ---- STATS ---- */
.reward-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 14px 20px 0;
}
.reward-stat {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 8px 12px;
}
.reward-stat-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 4px;
}
.reward-card.loyalty .reward-stat-value  { color: #00ff87; }
.reward-card.cashback .reward-stat-value { color: #f59e0b; }
.reward-stat-label {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-family: 'Montserrat', sans-serif;
}

/* ---- ADIMLAR ---- */
.reward-steps {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px 20px 0;
    flex: 1;
}
.reward-step {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}
.reward-step-num {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    flex-shrink: 0;
    margin-top: 1px;
}
.reward-card.loyalty .reward-step-num  { background: rgba(0,255,135,0.1); color: #00ff87; border: 1px solid rgba(0,255,135,0.2); }
.reward-card.cashback .reward-step-num { background: rgba(245,158,11,0.1); color: #f59e0b; border: 1px solid rgba(245,158,11,0.2); }

/* ---- BUTON ---- */
.reward-btn {
    display: block;
    margin: 14px 20px 18px;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
}
.reward-card.loyalty .reward-btn  { background: #00ff87; color: #000; box-shadow: 0 0 18px rgba(0,255,135,0.22); }
.reward-card.cashback .reward-btn { background: transparent; color: #f59e0b; border: 1.5px solid rgba(245,158,11,0.45); }

@media (hover: hover) and (pointer: fine) {
    .reward-card.loyalty .reward-btn:hover  { background: #fff; }
    .reward-card.cashback .reward-btn:hover { background: #f59e0b; color: #000; box-shadow: 0 0 18px rgba(245,158,11,0.22); }
}
