/* 
 * Milano Eyes Fashion Reward - 奖励兑换样式
 * 黑金风格设计
 */

/* ======= 奖励兑换部分 ======= */
#rewards {
    background-color: #0a0a0a;
}

.rewards-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* 优惠券样式 */
.available-coupons h3,
.rewards-catalog h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.available-coupons h3::after,
.rewards-catalog h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #d4af37;
}

.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.coupon-card {
    background: linear-gradient(45deg, #1a1a1a, #242424);
    border: 1px solid #d4af37;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 10px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.3);
}

.coupon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: 0;
}

.coupon-card.premium {
    border: 2px solid #d4af37;
    background: linear-gradient(45deg, #1c1c1c, #2a2a2a);
}

.coupon-card.premium::after {
    content: 'VIP';
    position: absolute;
    top: -10px;
    right: 20px;
    background: #d4af37;
    color: #000;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    transform: rotate(15deg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.coupon-card.special {
    border: 1px solid #d4af37;
    background: linear-gradient(45deg, #18181f, #222230);
}

.coupon-header {
    background-color: rgba(212, 175, 55, 0.15);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.coupon-type {
    font-size: 0.85rem;
    color: #d4af37;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coupon-discount {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
}

.coupon-body {
    padding: 20px 15px;
    position: relative;
    z-index: 1;
}

.coupon-code {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-align: center;
    padding: 8px;
    border: 1px dashed rgba(212, 175, 55, 0.5);
    border-radius: 5px;
    background-color: rgba(212, 175, 55, 0.05);
}

.coupon-info {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
}

.coupon-validity {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.coupon-footer {
    padding: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    position: relative;
    z-index: 1;
}

.btn-gold {
    background-color: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #d4af37;
    color: #000000;
}

/* 奖励目录样式 */
.rewards-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #ffffff;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.filter-btn:hover, .filter-btn.active {
    background-color: rgba(212, 175, 55, 0.8);
    color: #000000;
    border-color: #d4af37;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.reward-item {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.reward-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

.reward-img {
    height: 180px;
    overflow: hidden;
}

.reward-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.reward-item:hover .reward-img img {
    transform: scale(1.05);
}

.reward-info {
    padding: 20px;
    text-align: center;
}

.reward-info h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.reward-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.reward-points {
    color: #d4af37;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding: 5px 0;
    border-top: 1px dashed rgba(212, 175, 55, 0.3);
    border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
}
