﻿:root {
    --color-Bronze: #CD7F32;
    --color-silver: #C0C0C0;
    --color-gold: #FFD700;
    --color-diamond: #1e4d5f;
    --card-height: 500px;
    --card-width: 300px;
}

.the-loyalty-membership .membership-slider {
    padding: 20px 50px;
}

.the-loyalty-membership .membership-card {
    position: relative;
    height: var(--card-height);
    width: var(--card-width);
    margin: 0 auto;
    padding: 30px;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.the-loyalty-membership .card-container {
    position: relative;
    width: 300px;
    height: 300px;
}

/* Card overlay */
.the-loyalty-membership .card-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 60%;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    opacity: 0.7;
    background: linear-gradient(135deg, white, var(--dynamic-color));
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
    z-index: 1;
}

/* Ruby-like shape purely in CSS */
.the-loyalty-membership .ruby-shape {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #ff4d4d, #b30000);
    clip-path: polygon(50% 0%, 100% 25%, 80% 100%, 20% 100%, 0% 25%);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    z-index: 2;
    animation: rubyPulse 2s infinite ease-in-out;
}

/* Optional background animation for card */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Optional pulsing ruby animation */
@keyframes rubyPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
  }
}


.the-loyalty-membership .membership-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: capitalize;
    z-index: 9
}

.the-loyalty-membership .benefits h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.the-loyalty-membership .benefits ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.the-loyalty-membership .benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 9
}

    .the-loyalty-membership .benefits li i {
        margin-right: 10px;
        color: #28a745;
    }

.the-loyalty-membership .note {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.the-loyalty-membership .btn {
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    font-weight: 500;
}

.the-loyalty-membership .btn-primary {
    background-color: #0077cc;
    border-color: #0077cc;
}

.the-loyalty-membership .btn-outline-primary {
    color: #0077cc;
    border-color: #0077cc;
}

.the-loyalty-membership .swiper-button-next,
.the-loyalty-membership .swiper-button-prev {
    color: #0077cc;
}
@media (max-width: 768px) {
    :root {
        --card-height: 450px;
        --card-width: 280px;
    }

    .the-loyalty-membership .membership-slider {
        padding: 20px 30px;
    }
}
