/* Redemption Page Styles */

.redemption-bg {
    padding: 80px 0 80px;
}

.redemption-sec {
    width: 100%;
}

/* Page Title */
.redemption-title {
    font-size: 32px;
    font-weight: 700;
    color: #c99969;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-align: left;
}

/* Banner Section */
.redemption-banner {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.redemption-banner .banner-bg {
    width: 100%;
    height: auto;
    display: block;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 20px;
}

.banner-text h2 {
    font-size: 30px;
    font-weight: 700;
    color: #6879a7;
    margin-bottom: 0;
    text-transform: uppercase;
    line-height: 1;
}

.banner-date {
    font-size: 24px;
    font-weight: 600;
    color: #6879a7;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.banner-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.btn-total {
    background: #ffffff;
    border: 1px solid #d8b08c;
    color: #d8b08c;
    padding: 9px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-total:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}

.btn-terms {
    background: #d8b08c;
    border: none;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(212, 169, 130, 0.3);
}

.btn-terms:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 169, 130, 0.4);
}

/* Rewards Grid */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Reward Card */
.reward-card {
    background: transparent;
    border-radius: 20px;
    padding-top: 80px;
    padding-bottom: 50px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.reward-card:hover {
    transform: translateY(-10px);
}

.card-inner {
    position: relative;
    z-index: 1;
    background: url(../images/redemption/gift-bg.jpg) center top no-repeat;
    border-radius: 15px;
    padding: 80px 20px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: visible;
    background-size: 100% 100%;
}


.reward-card:hover .card-inner {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gift-box {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translate(-50%);
    z-index: 10;
    margin-bottom: 0;
}

.gift-box img {
    max-width: 158px;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(212, 169, 130, 0.4));
    transition: transform 0.3s ease;
}

.reward-card:hover .gift-box img {
    transform: scale(1.08) rotate(3deg);
}

/* Card Details */
.card-details {
    margin-top: 45px;
    position: relative;
    z-index: 2;
    background: transparent;
}

.points-title {
    font-size: 24px;
    font-weight: 700;
    color: #dab088;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.min-withdrawal {
    font-size: 14px;
    color: #6879a7;
    margin-bottom: 10px;
    font-weight: 500;
}

.btn-claim {
    background: linear-gradient(to bottom, #edd7ba 0%, #d4a982 100%);
    border: none;
    color: #ffffff;
    padding: 10px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(212, 169, 130, 0.3);
    letter-spacing: 1px;
    position: absolute;
    bottom: -85px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-claim:hover {
    box-shadow: 0 6px 15px rgba(212, 169, 130, 0.5);
}

.btn-claim:active {
    transform: translate(-50%, -48%);
}

/* Terms & Conditions Modal Styles */
#redemptionTncModal .modal-content {
    border-radius: 15px;
    border: none;
}

#redemptionTncModal .modal-header {
    background: linear-gradient(to bottom, #edd7ba 0%, #d4a982 100%);
    color: #ffffff;
    border-radius: 15px 15px 0 0;
    padding: 20px 30px;
    border-bottom: none;
}

#redemptionTncModal .modal-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#redemptionTncModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

#redemptionTncModal .btn-close:hover {
    opacity: 1;
}

#redemptionTncModal .modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.tnc-content h6 {
    font-size: 18px;
    font-weight: 700;
    color: #c99969;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #edd7ba;
}

.tnc-content h6:first-child {
    margin-top: 0;
}

.tnc-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tnc-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.tnc-content ol li {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.tnc-content ol li strong {
    color: #c99969;
    font-weight: 600;
}

.tnc-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #edd7ba;
}

.tnc-footer p {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.tnc-footer p strong {
    color: #c99969;
}

#redemptionTncModal .modal-footer {
    padding: 15px 30px;
    border-top: 1px solid #e9ecef;
}

#redemptionTncModal .modal-footer .btn {
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#redemptionTncModal .modal-footer .btn-secondary {
    background: #6c757d;
    border: none;
}

#redemptionTncModal .modal-footer .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

#redemptionTncModal .modal-footer .btn-primary {
    background: linear-gradient(to bottom, #edd7ba 0%, #d4a982 100%);
    border: none;
}

#redemptionTncModal .modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 169, 130, 0.4);
}

/* Redemption Success Modal */
.redeem-modal-content {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 0;
    border: none;
}

.redeem-modal-content .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.redeem-modal-body {
    padding: 50px 40px;
    text-align: center;
}

.redeem-title {
    font-size: 36px;
    font-weight: 700;
    color: #c99969;
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: 0.5px;
}

.redeem-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

.redeem-subtitle .redeem-points {
    font-weight: 700;
    color: #c99969;
    font-size: 22px;
}

.redeem-gift-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.redeem-gift-img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(212, 169, 130, 0.4));
    animation: gift-bounce 2s ease-in-out infinite;
}

@keyframes gift-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .rewards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 768px) {
    .redemption-title {
        font-size: 24px;
        text-align: center;
    }

    .banner-text h2 {
        font-size: 24px;
    }

    .banner-date {
        font-size: 18px;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-total,
    .btn-terms {
        padding: 10px 25px;
        font-size: 14px;
    }

    .rewards-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reward-card {
        padding-top: 70px;
        padding-bottom: 40px;
    }

    .gift-box {
        top: -30px;
    }

    .gift-box img {
        max-width: 140px;
    }

    .card-inner {
        padding: 70px 20px 25px;
    }

    .card-details {
        margin-top: 35px;
    }

    .points-title {
        font-size: 20px;
    }

    .min-withdrawal {
        margin-bottom: 8px;
    }

    .btn-claim {
        bottom: -75px;
        padding: 10px 35px;
        font-size: 15px;
    }

    #redemptionTncModal .modal-body {
        padding: 20px;
    }

    .tnc-content h6 {
        font-size: 16px;
    }

    .tnc-content p,
    .tnc-content ol li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .redemption-bg {
        padding: 20px 0 40px;
    }

    .redemption-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .banner-text h2 {
        font-size: 20px;
    }

    .banner-date {
        font-size: 16px;
    }

    .reward-card {
        padding-top: 60px;
        padding-bottom: 35px;
    }

    .gift-box {
        top: -25px;
    }

    .gift-box img {
        max-width: 120px;
    }

    .card-inner {
        padding: 60px 15px 22px;
    }

    .card-details {
        margin-top: 30px;
    }

    .points-title {
        font-size: 18px;
    }

    .min-withdrawal {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .btn-claim {
        padding: 10px 30px;
        font-size: 14px;
        bottom: -70px;
    }

    #redemptionTncModal .modal-body {
        padding: 15px;
    }

    #redemptionTncModal .modal-title {
        font-size: 18px;
    }

    .tnc-content h6 {
        font-size: 15px;
        margin-top: 20px;
    }

    .tnc-content p,
    .tnc-content ol li {
        font-size: 12px;
    }

    /* Redeem Modal Responsive */
    .redeem-modal-body {
        padding: 35px 25px;
    }

    .redeem-title {
        font-size: 28px;
    }

    .redeem-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .redeem-subtitle .redeem-points {
        font-size: 18px;
    }

    .redeem-gift-img {
        max-width: 160px;
    }
}
