.offers-page-wrapper {
    width: 100%;
    min-height: 80vh;
    background-color: #f8fafc;
    padding: 32px 16px 80px;
}

.offers-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.offers-header-card {
    position: relative;
    background: linear-gradient(135deg, #090d1a 0%, #0f172a 40%, #171033 100%);
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 18px;
    padding: 32px 36px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.7), 0 0 0 1px rgba(124, 58, 237, 0.15);
    overflow: hidden;
}

.offers-header-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: 12%;
    width: 380px;
    height: 240px;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.32) 0%, rgba(59, 130, 246, 0.18) 45%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.offers-header-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 10%;
    width: 240px;
    height: 160px;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    filter: blur(35px);
    pointer-events: none;
}

.offers-header-content {
    flex: 1;
    max-width: 760px;
    z-index: 1;
}

.offers-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(124, 58, 237, 0.16);
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: #c4b5fd;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.2);
}

.offers-main-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}

.offers-main-subtitle {
    font-size: 14px;
    color: rgba(226, 232, 240, 0.85);
    margin: 0;
    line-height: 1.5;
}

.offers-header-action {
    z-index: 1;
    margin-left: 20px;
}

.btn-offers-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 9px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-offers-back:hover {
    background: rgba(124, 58, 237, 0.25);
    border-color: #a78bfa;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    transform: translateX(-2px);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.offer-item-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.offer-item-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color, #16a34a);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.offer-card-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
}

.offer-type-tag {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary-color, #16a34a);
    background: var(--primary-light, rgba(22, 163, 74, 0.12));
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.03em;
}

.offer-status-indicator {
    font-size: 12px;
    font-weight: 600;
    color: #d97706;
    background: #fef3c7;
    padding: 4px 10px;
    border-radius: 6px;
}

.offer-image-box {
    position: relative;
    width: 100%;
    height: 200px;
    background: radial-gradient(circle at 50% 45%, var(--primary-light, rgba(22, 163, 74, 0.16)) 0%, #ffffff 65%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}

.offer-image-box::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-light, rgba(22, 163, 74, 0.35)) 0%, transparent 70%);
    filter: blur(14px);
    pointer-events: none;
}

.offer-gift-thumb {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
    z-index: 1;
}

.offer-item-card:hover .offer-gift-thumb {
    transform: scale(1.06);
}

.offer-gift-placeholder {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 244, 0.7) 60%, rgba(255, 255, 255, 0.95) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--primary-border, rgba(22, 163, 74, 0.25)), inset 0 2px 4px #ffffff, inset 0 -2px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color, #16a34a);
    backdrop-filter: blur(8px);
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-item-card:hover .offer-gift-placeholder {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 18px 36px -6px var(--primary-border, rgba(22, 163, 74, 0.35)), 0 0 0 1px var(--primary-color, #16a34a), inset 0 2px 4px #ffffff;
}

.gift-icon-glow {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 10px var(--primary-border, rgba(22, 163, 74, 0.3)));
}

.offer-details-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.offer-title {
    font-size: 15.5px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
    line-height: 1.45;
    min-height: 44px;
    letter-spacing: -0.01em;
}

.offer-requirement-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    margin-bottom: 16px;
}

.requirement-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 4px;
}

.requirement-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color, #16a34a);
    margin-bottom: 2px;
}

.requirement-sub {
    font-size: 11px;
    color: #94a3b8;
    display: block;
}

.offer-stock-progress {
    margin-bottom: 14px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 6px;
}

.progress-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color, #16a34a);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.offer-expiry-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 18px;
}

.offer-action-box {
    margin-top: auto;
}

.btn-claim-offer {
    width: 100%;
    height: 44px;
    background: var(--primary-color, #16a34a);
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px var(--primary-border, rgba(22, 163, 74, 0.3));
    transition: all 0.2s ease;
}

.btn-claim-offer:hover {
    background: var(--primary-hover, #15803d);
    transform: translateY(-1px);
}

.offers-empty-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.offers-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.offers-empty-title {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.offers-empty-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

@media (max-width: 991px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .offers-header-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 24px 20px;
    }

    .offers-header-action {
        margin-left: 0;
        width: 100%;
    }

    .btn-offers-back {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
    .offers-main-title {
        font-size: 22px;
    }
}