.container {
    padding: 30rpx;
    background-color: var(--background-color);
    min-height: 100vh;
}
.header {
    padding: 20rpx 0;
    text-align: center;
    margin-bottom: 20rpx;
}
.title {
    font-size: 36rpx;
    font-weight: bold;
    color: var(--text-main);
}
.vip-banner {
    background: linear-gradient(to bottom right, #111827, #1f2937);
    border-radius: 30rpx;
    padding: 40rpx;
    color: var(--text-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40rpx;
    box-shadow: 0 10rpx 20rpx rgba(0,0,0,0.1);
}
.vip-title {
    color: #fcd34d;
    font-weight: bold;
    font-size: 32rpx;
    margin-bottom: 10rpx;
}
.vip-desc {
    color: #d1d5db;
    font-size: 24rpx;
}
.vip-btn {
    background: linear-gradient(to right, #fcd34d, #fbbf24);
    color: #111827;
    font-size: 24rpx;
    font-weight: bold;
    padding: 10rpx 30rpx;
    border-radius: 40rpx;
    margin: 0;
}
.section-title {
    font-size: 32rpx;
    font-weight: bold;
    margin-bottom: 20rpx;
    color: var(--text-main);
}
.coupon-list.disabled-list {
    filter: grayscale(100%);
    opacity: 0.6;
    pointer-events: none;
}
.coupon-card {
    background: #ffffff;
    border-radius: 20rpx;
    margin-bottom: 24rpx;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

/* Colorful style for unused coupons */
.coupon-card:not(.used) {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%); /* More saturated gradient */
    border: 1px solid #fecdd3;
}

.coupon-card.used {
    background: #f9fafb;
    box-shadow: none;
    border: 1px solid #eee;
}

.coupon-left {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 30rpx;
    position: relative;
}

/* Dashed line separator */
.coupon-left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20rpx;
    bottom: 20rpx;
    border-right: 2px dashed #e5e7eb;
}

.coupon-card:not(.used) .coupon-left::after {
    border-right: 2px dashed #fca5a5; /* Reddish dashed line for unused */
    opacity: 0.5;
}

.amount {
    min-width: 120rpx;
    text-align: center;
    color: #ef4444; /* Red */
    margin-right: 24rpx;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.coupon-card.used .amount {
    color: #9ca3af; /* Gray */
}

.num {
    font-size: 56rpx;
    font-weight: bold;
    line-height: 1;
}

.unit {
    font-size: 24rpx;
    margin-top: 4rpx;
}

.info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coupon-name {
    font-size: 30rpx;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 8rpx;
}

.coupon-card.used .coupon-name {
    color: #9ca3af;
}

.coupon-desc {
    font-size: 22rpx;
    color: #6b7280;
}

.coupon-card:not(.used) .coupon-desc {
    color: #7f1d1d; /* Darker red for description on colorful bg */
    opacity: 0.7;
}

.coupon-right {
    width: 160rpx; /* Increased width to fit date */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 10rpx;
}

.btn-text {
    padding: 10rpx 24rpx;
    border-radius: 30rpx;
    font-size: 24rpx;
    font-weight: bold;
    margin-bottom: 8rpx;
}

.expiry-date {
    font-size: 18rpx;
    color: #9ca3af;
    text-align: center;
    line-height: 1.2;
}

.coupon-card:not(.used) .expiry-date {
    color: #ef4444;
    opacity: 0.8;
}

/* Active button style */
.coupon-card:not(.used) .btn-text {
    background: linear-gradient(to right, #ef4444, #f87171);
    color: white;
    box-shadow: 0 4rpx 10rpx rgba(239, 68, 68, 0.3);
}

/* Used button style */
.coupon-card.used .btn-text {
    background-color: #e5e7eb;
    color: #9ca3af;
}

/* Circles for ticket effect */
.coupon-card::before, .coupon-card::after {
    content: '';
    position: absolute;
    width: 24rpx;
    height: 24rpx;
    background-color: var(--background-color); /* Assuming this var is set on page/container */
    border-radius: 50%;
    right: 148rpx; /* Position at the separator (adjusted for new width) */
    z-index: 10;
}

.coupon-card::before {
    top: -12rpx;
}

.coupon-card::after {
    bottom: -12rpx;
}

.limit-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom right, #f59e0b, #d97706);
    color: white;
    font-size: 20rpx;
    padding: 4rpx 12rpx;
    border-bottom-right-radius: 16rpx;
    z-index: 20;
}