/* wp-rewards-public.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.wp-rewards-dashboard {
    display: flex;
    gap: 30px;
    font-family: 'Outfit', sans-serif;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    min-height: 600px;
}

.wpr-nav {
    width: 240px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.wpr-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpr-nav ul li a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    border-left: 3px solid transparent;
}

.wpr-nav ul li a:hover,
.wpr-nav ul li a.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: #ffffff;
    border-left: 3px solid #8b5cf6;
}

.wpr-content {
    flex-grow: 1;
    position: relative;
    padding-top: 10px;
}

.wpr-content section {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wpr-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

/* Balance Card */
.wpr-balance-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.3);
    margin-bottom: 30px;
    display: inline-block;
    min-width: 250px;
    border: 1px solid rgba(255,255,255,0.1);
}

.wpr-balance-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wpr-balance-value {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 10px;
}

/* Offers Grid */
#wpr-offers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.wpr-offer-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wpr-offer-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wpr-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.4);
    border-color: rgba(139, 92, 246, 0.3);
}

.wpr-offer-card:hover::before {
    opacity: 1;
}

.wpr-offer-title {
    font-size: 18px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 12px;
}

.wpr-offer-reward {
    font-size: 24px;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 20px;
}

.wpr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    width: 100%;
}

.wpr-btn-primary {
    background: #6366f1;
    color: #fff;
}

.wpr-btn-primary:hover {
    background: #4f46e5;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Lists */
.wpr-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wpr-list li {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .wp-rewards-dashboard {
        flex-direction: column;
    }
    .wpr-nav {
        width: auto;
        flex-direction: row;
        overflow-x: auto;
    }
    .wpr-nav ul {
        display: flex;
        gap: 10px;
    }
}
