/* Redemption Page Styles */

.redemption-bg {
    padding: 80px 0 80px;
}

.redemption-sec {
    width: 100%;
}

/* Page Title */
.redemption-title {
    font-size: 28px;
    font-weight: 500;
    color: #c99969;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: center;
}

/* Banner Section */
.redemption-banner {
    position: relative;
    width: 100%;
    border-radius: 10px;
    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;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 10px;
}

.banner-text h2 {
    font-size: 17px;
    font-weight: 600;
    color: #6879a7;
    margin-bottom: 0;
    text-transform: uppercase;
    line-height: 1;
}

.banner-date {
    font-size: 17px;
    font-weight: 600;
    color: #6879a7;
    margin-bottom: 10px;
}

.banner-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.btn-total {
    background: #ffffff;
    border: 1px solid #d8b08c;
    color: #d8b08c;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    height: 40px;
    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;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(212, 169, 130, 0.3);
    border: 1px solid transparent;
}

.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(2, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Reward Card */
.reward-card {
    background: transparent;
    border-radius: 20px;
    padding-top: 65px;
    padding-bottom: 0;
    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 20px;
    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: 135px;
    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: 35px;
    position: relative;
    z-index: 2;
    background: transparent;
    height: 175px;
    align-content: center;
    max-height: 175px;
}

.points-title {
    font-size: 22px;
    font-weight: 700;
    color: #dab088;
    margin-bottom: 0;
    text-transform: uppercase;
}

.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: -55px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-claim:hover {
    box-shadow: 0 6px 15px rgba(212, 169, 130, 0.5);
}

/* ===== TNC Modal (Reward & Redemption Terms & Conditions) ===== */
.tnc-modal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.tnc-modal .modal-header {
    background: linear-gradient(135deg, #d4a982 0%, #c99969 100%);
    color: #fff;
    border-bottom: none;
    padding: 1rem 1.25rem;
}

.tnc-modal .modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tnc-modal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.tnc-modal .btn-close:hover {
    opacity: 1;
}

.tnc-modal .modal-body {
    padding: 1.5rem 1.25rem;
    max-height: 60vh;
    background: #faf9f7;
}

.tnc-modal .tnc-content {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.tnc-modal .tnc-content h6 {
    color: #c99969;
    font-size: 15px;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tnc-modal .tnc-content h6:first-child {
    margin-top: 0;
}

.tnc-modal .tnc-content p {
    margin-bottom: 0.75rem;
    color: #555;
}

.tnc-modal .tnc-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.tnc-modal .tnc-content li {
    margin-bottom: 0.4rem;
}

.tnc-modal .tnc-content li strong {
    color: #6879a7;
}

.tnc-modal .tnc-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e8e4df;
}

.tnc-modal .tnc-footer p {
    margin-bottom: 0.35rem;
    font-size: 13px;
    color: #666;
}

.tnc-modal .modal-footer {
    border-top: 1px solid #e8e4df;
    padding: 1rem 1.25rem;
    background: #fff;
    gap: 0.75rem;
}

.tnc-modal .modal-footer .btn-secondary {
    background: #f0ebe6;
    border: 1px solid #d8b08c;
    color: #6879a7;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.tnc-modal .modal-footer .btn-primary {
    background: linear-gradient(to bottom, #edd7ba 0%, #d4a982 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 10px rgba(212, 169, 130, 0.3);
}

.tnc-modal .modal-footer .btn-primary:hover {
    box-shadow: 0 6px 15px rgba(212, 169, 130, 0.4);
}

/* ===== Redeem Success Modal (Congratulations) ===== */
#redeemSuccessModal .redeem-modal-content {
    background: #fff;
    border: none;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: visible;
    margin: 0 auto;
}

#redeemSuccessModal .redeem-modal-content .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    opacity: 0.7;
    filter: none;
}

#redeemSuccessModal .redeem-modal-content .btn-close:hover {
    opacity: 1;
}

#redeemSuccessModal .redeem-modal-body {
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
}

#redeemSuccessModal .redeem-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #b27b3f;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

#redeemSuccessModal .redeem-subtitle {
    font-size: 1rem;
    color: #333;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

#redeemSuccessModal .redeem-points {
    font-weight: 700;
    color: #b27b3f;
}

#redeemSuccessModal .redeem-gift-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

#redeemSuccessModal .redeem-gift-img {
    max-width: 200px;
    height: auto;
    display: block;
}

