/* =========================================================
   SC ANIME — MEMBERSHIP PAGE
   CLEAN FINAL CSS
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.membership-page {
    padding-top: 80px;

    background:
        linear-gradient(180deg,
            #020807,
            #03130f 45%,
            #020807);
}


/* =========================================================
   MEMBERSHIP HERO
========================================================= */

.membership-hero {
    position: relative;

    padding: 55px 5% 45px;

    background:
        radial-gradient(circle at center,
            rgba(8, 95, 69, 0.22),
            transparent 60%),
        linear-gradient(180deg,
            #020807,
            #031510 55%,
            #020807);

    text-align: center;

    overflow: hidden;
}


/* =========================================================
   HERO TOP LABEL
========================================================= */

.membership-label {
    margin: 0 0 12px;

    color: #d9a62e;

    font-family: "Cinzel", serif;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 5px;

    text-transform: uppercase;
}


/* =========================================================
   HERO TITLE
   SERVICES PAGE STYLE
========================================================= */

.membership-hero h1 {
    margin: 0;

    color: transparent;

    background:
        linear-gradient(180deg,
            #fff0a3,
            #f0c75e 35%,
            #d9a62e 65%,
            #9a6a12);

    -webkit-background-clip: text;
    background-clip: text;

    font-family: "Cinzel", serif;

    font-size: clamp(42px, 6vw, 68px);

    font-weight: 700;

    line-height: 1;

    letter-spacing: 2px;

    text-shadow:
        0 0 8px rgba(255, 210, 70, 0.55),
        0 0 18px rgba(240, 190, 55, 0.40),
        0 0 32px rgba(218, 169, 58, 0.28),
        0 4px 15px rgba(0, 0, 0, 0.85);
}


/* =========================================================
   HERO GOLD LINE
========================================================= */

.membership-hero h1::after {
    content: "";

    display: block;

    width: 90px;

    height: 2px;

    margin: 20px auto;

    background:
        linear-gradient(90deg,
            transparent,
            #d9a62e,
            #fff0a3,
            #d9a62e,
            transparent);

    box-shadow:
        0 0 10px rgba(218, 169, 58, 0.4);
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.membership-hero p {
    max-width: 620px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.58);

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   MEMBERSHIP SECTION
========================================================= */

.membership-section {
    padding: 45px 5% 70px;

    background:
        linear-gradient(180deg,
            #020807,
            #031510 50%,
            #020807);
}


/* =========================================================
   MEMBERSHIP HEADING
========================================================= */

.membership-heading {
    max-width: 750px;

    margin: 0 auto 30px;

    text-align: center;
}


.membership-heading span {
    display: block;

    margin-bottom: 10px;

    color: #d9a62e;

    font-family: "Cinzel", serif;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.membership-heading h2 {
    margin: 0;

    color: transparent;

    background:
        linear-gradient(180deg,
            #fff0a3,
            #f0c75e 35%,
            #d9a62e 65%,
            #9a6a12);

    -webkit-background-clip: text;
    background-clip: text;

    font-family: "Cinzel", serif;

    font-size: clamp(30px, 4vw, 43px);

    font-weight: 700;

    line-height: 1.1;

    letter-spacing: 2px;

    text-shadow:
        0 0 12px rgba(240, 199, 94, 0.20),
        0 4px 15px rgba(0, 0, 0, 0.75);
}


.membership-heading h2::after {
    content: "";

    display: block;

    width: 80px;

    height: 2px;

    margin: 16px auto 0;

    background:
        linear-gradient(90deg,
            transparent,
            #d9a62e,
            #fff0a3,
            #d9a62e,
            transparent);

    box-shadow:
        0 0 10px rgba(218, 169, 58, 0.35);
}


/* =========================================================
   MEMBERSHIP GRID
========================================================= */

#membership-container {
    max-width: 1150px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   MEMBERSHIP CARD
========================================================= */

.membership-card {
    position: relative;

    min-height: 310px;

    padding: 24px 21px 22px;

    display: flex;

    flex-direction: column;

    text-align: center;

    background:
        linear-gradient(145deg,
            rgba(8, 43, 33, 0.90),
            rgba(2, 15, 12, 0.96));

    border:
        1px solid rgba(218, 169, 58, 0.28);

    border-radius: 11px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.30);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   CARD TOP LINE
========================================================= */

.membership-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 15%;

    width: 70%;

    height: 1px;

    background:
        linear-gradient(90deg,
            transparent,
            #e5c55e,
            transparent);
}


/* =========================================================
   CARD INNER GLOW
========================================================= */

.membership-card::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(circle at top center,
            rgba(15, 167, 123, 0.08),
            transparent 55%);
}


/* =========================================================
   CARD HOVER
========================================================= */

.membership-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(218, 169, 58, 0.72);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.45),
        0 0 25px rgba(218, 169, 58, 0.07);
}


/* =========================================================
   CARD NUMBER
========================================================= */

.membership-card-number {
    position: absolute;

    top: 22px;
    left: 20px;

    color: rgba(218, 169, 58, 0.55);

    font-family: "Cinzel", serif;

    font-size: 11px;

    letter-spacing: 1px;

    z-index: 3;
}


/* =========================================================
   CARD ICON
========================================================= */

.membership-card-icon {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(218, 169, 58, 0.50);

    border-radius: 50%;

    background:
        rgba(2, 15, 12, 0.72);

    color: #e5c55e;

    font-size: 16px;

    box-shadow:
        0 0 12px rgba(218, 169, 58, 0.08);

    z-index: 5;
}


/* =========================================================
   TIER
========================================================= */

.membership-card .tier {
    margin-top: 48px;

    margin-bottom: 7px;

    color: #d9a62e;

    font-family: "Poppins", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    position: relative;

    z-index: 3;
}


/* =========================================================
   MEMBERSHIP NAME
========================================================= */

.membership-card h2 {
    margin: 0;

    color: #ffffff;

    font-family: "Cinzel", serif;

    font-size: 19px;

    font-weight: 700;

    line-height: 1.35;

    letter-spacing: 0;

    position: relative;

    z-index: 3;
}


/* =========================================================
   PRICE
========================================================= */

.membership-card .price {
    margin-top: 13px;

    margin-bottom: 9px;

    color: #e5c55e;

    font-family: "Cinzel", serif;

    font-size: 28px;

    font-weight: 700;

    position: relative;

    z-index: 3;
}


/* =========================================================
   VALIDITY
========================================================= */

.membership-card .validity {
    display: inline-block;

    align-self: center;

    margin: 0 auto 10px;

    padding: 7px 15px;

    color: rgba(255, 255, 255, 0.55);

    font-family: "Poppins", sans-serif;

    font-size: 10px;

    letter-spacing: 1px;

    border:
        1px solid rgba(15, 167, 123, 0.35);

    position: relative;

    z-index: 3;
}


/* =========================================================
   BENEFITS
========================================================= */

.membership-card .benefits {
    min-height: 75px;

    margin: 8px 0 15px;

    color: rgba(255, 255, 255, 0.57);

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    line-height: 1.7;

    white-space: pre-line;

    position: relative;

    z-index: 3;
}


.membership-card .benefits::before {
    content: "BENEFITS";

    display: block;

    margin-bottom: 8px;

    color: #0fa77b;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 3px;
}


/* =========================================================
   MEMBERSHIP ACTION
========================================================= */

.membership-action {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: auto;

    color: #e4c35d;

    font-family: "Poppins", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    position: relative;

    z-index: 3;
}


.membership-action span {
    font-size: 14px;

    transition:
        transform 0.25s ease;
}


.membership-card:hover .membership-action span {
    transform: translateX(4px);
}


/* =========================================================
   MEMBERSHIP CARD BACKGROUND IMAGES
========================================================= */

.membership-shinobi {
    background:
        linear-gradient(180deg,
            rgba(2, 15, 12, 0.48),
            rgba(2, 15, 12, 0.90)),
        url("../images/shinobi.jpg");

    background-size: cover;

    background-position: center;
}


.membership-samurai {
    background:
        linear-gradient(180deg,
            rgba(2, 15, 12, 0.45),
            rgba(2, 15, 12, 0.90)),
        url("../images/samurai.jpg");

    background-size: cover;

    background-position: center;
}


/*
   HERO CARD
   Important:
   .membership-hero is also the main page hero class.
   This selector specifically overrides it only
   when it is used together with membership-card.
*/

.membership-card.membership-hero {
    min-height: 310px;

    padding: 24px 21px 22px;

    display: flex;

    flex-direction: column;

    text-align: center;

    background:
        linear-gradient(180deg,
            rgba(2, 15, 12, 0.42),
            rgba(2, 15, 12, 0.90)),
        url("../images/hero1.jpg");

    background-size: cover;

    background-position: center;

    border:
        1px solid rgba(218, 169, 58, 0.28);

    border-radius: 11px;
}


.membership-legend {
    background:
        linear-gradient(180deg,
            rgba(2, 15, 12, 0.45),
            rgba(2, 15, 12, 0.90)),
        url("../images/legend.jpg");

    background-size: cover;

    background-position: center;
}


/* =========================================================
   IMAGE DARK OVERLAY
========================================================= */

.membership-shinobi::after,
.membership-samurai::after,
.membership-card.membership-hero::after,
.membership-legend::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(180deg,
            rgba(2, 8, 7, 0.08),
            rgba(2, 8, 7, 0.45),
            rgba(2, 8, 7, 0.82));

    pointer-events: none;

    z-index: 1;
}


/* =========================================================
   KEEP CONTENT ABOVE IMAGE OVERLAY
========================================================= */

.membership-card>* {
    position: relative;

    z-index: 3;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1150px) {

    #membership-container {
        grid-template-columns:
            repeat(2, minmax(250px, 400px));

        justify-content: center;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .membership-page {
        padding-top: 70px;
    }


    .membership-hero {
        padding: 60px 20px 45px;
    }


    .membership-label {
        font-size: 10px;

        letter-spacing: 3px;
    }


    .membership-hero h1 {
        font-size: 42px;

        letter-spacing: 2px;
    }


    .membership-hero p {
        font-size: 12px;
    }


    .membership-section {
        padding: 40px 20px 65px;
    }


    .membership-heading {
        margin-bottom: 28px;
    }


    .membership-heading h2 {
        font-size: 28px;
    }


    #membership-container {
        grid-template-columns: 1fr;

        max-width: 430px;

        gap: 18px;
    }


    .membership-card,
    .membership-card.membership-hero {
        min-height: 420px;
    }

}

/* =========================================
   MEMBERSHIP HERO — SERVICES TITLE STYLE
========================================= */

.membership-hero h1 {
    font-family: "Cinzel", serif !important;

    font-size: clamp(30px, 4vw, 43px) !important;

    font-weight: 700 !important;

    line-height: 1.1 !important;

    letter-spacing: 2px !important;

    color: #f4f1df !important;

    background: none !important;

    -webkit-text-fill-color: #f4f1df !important;

    filter: none !important;

    text-shadow:
        0 0 8px rgba(217, 166, 46, 0.10) !important;
}

/* =========================================
   MEMBERSHIP TITLE - LEVEL GOLD
========================================= */

.membership-hero h1 span {
    color: transparent !important;

    background:
        linear-gradient(90deg,
            #fff0a3,
            #d9a62e,
            #b47b18) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;

    -webkit-text-fill-color: transparent !important;

    text-shadow:
        0 0 6px rgba(217, 166, 46, 0.18) !important;
}

.membership-page {
    background: #020807 !important;
}

.membership-hero,
.membership-section {
    background: #020807 !important;
}

.membership-hero {
    padding-bottom: 35px !important;
}

.membership-section {
    padding-top: 35px !important;
}

/* =========================================
   HERO MEMBERSHIP CARD - RESTORE IMAGE
========================================= */

#membership-container .membership-card.membership-hero {
    background:
        linear-gradient(180deg,
            rgba(2, 15, 12, 0.35),
            rgba(2, 15, 12, 0.82)),
        url("../images/hero1.jpg") !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* =========================================
   MEMBERSHIP PAGE
   EMERALD GREEN + BLACK BLENDED BACKGROUND
========================================= */

.membership-page {
    background:
        radial-gradient(ellipse at 50% 15%,
            rgba(8, 70, 52, 0.30),
            transparent 55%),
        linear-gradient(180deg,
            #020807 0%,
            #031812 42%,
            #020b08 72%,
            #010504 100%) !important;
}


/* MAIN HERO SECTION */
main.membership-page>.membership-hero {
    background:
        radial-gradient(ellipse at center,
            rgba(15, 105, 77, 0.22),
            transparent 68%),
        linear-gradient(180deg,
            #020807 0%,
            #031812 55%,
            #020b08 100%) !important;
}


/* MEMBERSHIP CARD SECTION */
main.membership-page>.membership-section {
    background:
        radial-gradient(ellipse at 50% 0%,
            rgba(10, 75, 55, 0.22),
            transparent 60%),
        linear-gradient(180deg,
            #020b08 0%,
            #03140f 45%,
            #020807 100%) !important;
}

/* =========================================
   MEMBERSHIP BACKGROUND - SERVICES MATCH
========================================= */

.membership-page {
    background:
        radial-gradient(ellipse at 50% 35%,
            rgba(8, 60, 45, 0.18) 0%,
            rgba(3, 24, 18, 0.12) 38%,
            transparent 72%),
        linear-gradient(180deg,
            #020807 0%,
            #03150f 38%,
            #031812 58%,
            #020a08 82%,
            #020807 100%) !important;
}


/* MAIN MEMBERSHIP HERO */
main.membership-page>.membership-hero {
    background:
        radial-gradient(ellipse at 50% 45%,
            rgba(8, 70, 52, 0.22),
            transparent 68%),
        linear-gradient(180deg,
            #020807 0%,
            #031711 55%,
            #020b08 100%) !important;
}


/* MEMBERSHIP CARD AREA */
main.membership-page>.membership-section {
    background:
        radial-gradient(ellipse at 50% 0%,
            rgba(8, 65, 48, 0.20),
            transparent 65%),
        linear-gradient(180deg,
            #020b08 0%,
            #03150f 48%,
            #020807 100%) !important;
}

/* =========================================
   MEMBERSHIP DETAIL PAGE
========================================= */

.membership-detail-page {
    min-height: calc(100vh - 80px);

    padding: 70px 5% 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(ellipse at center,
            rgba(8, 70, 52, 0.22),
            transparent 65%),
        linear-gradient(180deg,
            #020807,
            #03150f 50%,
            #020807);
}


/* =========================================
   DETAIL CONTAINER
========================================= */

#membership-detail-container {
    width: 100%;

    max-width: 650px;

    margin: auto;
}


/* =========================================
   DETAIL CARD
========================================= */

.membership-detail-card {
    position: relative;

    padding: 55px 45px;

    text-align: center;

    background:
        linear-gradient(145deg,
            rgba(8, 43, 33, 0.94),
            rgba(2, 15, 12, 0.98));

    border:
        1px solid rgba(218, 169, 58, 0.38);

    border-radius: 12px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45);

    overflow: hidden;
}


/* TOP GOLD LINE */

.membership-detail-card::before {
    content: "";

    position: absolute;

    top: 0;

    left: 15%;

    width: 70%;

    height: 2px;

    background:
        linear-gradient(90deg,
            transparent,
            #e5c55e,
            transparent);

    box-shadow:
        0 0 12px rgba(218, 169, 58, 0.35);
}


/* =========================================
   TIER
========================================= */

.membership-detail-tier {
    margin-bottom: 12px;

    color: #d9a62e;

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 4px;
}


/* =========================================
   NAME
========================================= */

.membership-detail-card h1 {
    margin: 0;

    color: #f4f1df;

    font-family: "Cinzel", serif;

    font-size: 42px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================
   PRICE
========================================= */

.membership-detail-price {
    margin-top: 22px;

    color: #e5c55e;

    font-family: "Cinzel", serif;

    font-size: 38px;

    font-weight: 700;

    text-shadow:
        0 0 12px rgba(218, 169, 58, 0.18);
}


/* =========================================
   VALIDITY
========================================= */

.membership-detail-validity {
    display: inline-block;

    margin-top: 10px;

    padding: 8px 18px;

    border:
        1px solid rgba(15, 167, 123, 0.35);

    color: rgba(255, 255, 255, 0.60);

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    letter-spacing: 1px;
}


/* =========================================
   BENEFITS
========================================= */

.membership-detail-benefits {
    margin-top: 30px;

    padding-top: 25px;

    border-top:
        1px solid rgba(218, 169, 58, 0.15);

    color: rgba(255, 255, 255, 0.62);

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    line-height: 2;

    white-space: pre-line;
}


/* =========================================
   JOIN BUTTON
========================================= */

.membership-join-btn {
    margin-top: 32px;

    padding: 13px 28px;

    border:
        1px solid rgba(218, 169, 58, 0.65);

    background:
        linear-gradient(135deg,
            #d9a62e,
            #b47b18);

    color: #07110d;

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.membership-join-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 25px rgba(218, 169, 58, 0.25);
}


/* =========================================
   LOADING
========================================= */

.membership-detail-loading {
    padding: 60px 20px;

    text-align: center;

    color: rgba(255, 255, 255, 0.55);

    font-family: "Poppins", sans-serif;

    font-size: 13px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .membership-detail-page {
        padding: 50px 20px 70px;
    }

    .membership-detail-card {
        padding: 40px 25px;
    }

    .membership-detail-card h1 {
        font-size: 32px;
    }

    .membership-detail-price {
        font-size: 32px;
    }

}

/* =========================================
   VIEW MEMBERSHIP - CLICKABLE STYLE
========================================= */

.membership-action {
    cursor: pointer;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    transition:
        color 0.25s ease,
        transform 0.25s ease,
        text-shadow 0.25s ease;
}

.membership-action:hover {
    color: #f0c75e;

    transform: translateY(-2px);

    text-shadow:
        0 0 10px rgba(218, 169, 58, 0.35);
}

.membership-action span {
    transition: transform 0.25s ease;
}

.membership-action:hover span {
    transform: translateX(4px);
}

/* =========================================
   MEMBERSHIP DETAIL
   FULL CINEMATIC BACKGROUND
========================================= */

.membership-detail-page {
    background:
        linear-gradient(90deg,
            rgba(1, 8, 6, 0.88),
            rgba(2, 20, 15, 0.58),
            rgba(1, 8, 6, 0.88)),
        linear-gradient(180deg,
            rgba(1, 8, 6, 0.35),
            rgba(1, 8, 6, 0.82)),
        url("../images/shinobi.jpg") !important;

    background-size: cover !important;

    background-position: center !important;

    background-repeat: no-repeat !important;

    background-attachment: fixed !important;

    position: relative;
}


/* soft emerald atmosphere over full background */

.membership-detail-page::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(ellipse at 20% 50%,
            rgba(15, 167, 123, 0.20),
            transparent 40%),
        radial-gradient(ellipse at 80% 50%,
            rgba(15, 167, 123, 0.16),
            transparent 42%);

    pointer-events: none;
}


/* keep membership card above background */

#membership-detail-container {
    position: relative;

    z-index: 2;
}

/* =========================================================
   MEMBERSHIP DETAIL — PREMIUM CINEMATIC CARD
========================================================= */

.membership-detail-card {
    position: relative;

    width: min(960px, 90%);

    min-height: 560px;

    margin: 55px auto 80px;

    padding: 55px 70px;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    justify-content: center;

    text-align: center;

    background:
        linear-gradient(90deg,
            rgba(1, 10, 8, 0.05) 0%,
            rgba(1, 10, 8, 0.72) 48%,
            rgba(1, 10, 8, 0.94) 100%);

    border: 1px solid rgba(218, 169, 58, 0.75);

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 0 12px rgba(218, 169, 58, 0.45),
        0 0 35px rgba(218, 169, 58, 0.18),
        0 0 70px rgba(15, 167, 123, 0.18),
        inset 0 0 45px rgba(15, 167, 123, 0.08);

}


/* =========================================================
   LEFT ANIME IMAGE
========================================================= */

.membership-detail-card::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 55%;

    background:
        linear-gradient(90deg,
            rgba(2, 12, 9, 0.05) 0%,
            rgba(2, 12, 9, 0.12) 55%,
            rgba(2, 12, 9, 0.95) 100%),
        url("../images/shinobi.jpg");

    background-size: cover;

    background-position: center;

    z-index: 0;

}


/* =========================================================
   EMERALD ATMOSPHERE
========================================================= */

.membership-detail-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(circle at 18% 50%,
            rgba(15, 167, 123, 0.20),
            transparent 38%),
        linear-gradient(90deg,
            transparent 42%,
            rgba(1, 10, 8, 0.30) 55%,
            rgba(1, 10, 8, 0.82) 100%);

    pointer-events: none;

    z-index: 1;

}


/* =========================================================
   KEEP CONTENT ABOVE IMAGE
========================================================= */

.membership-detail-card>* {

    position: relative;

    z-index: 2;

}


/* =========================================================
   DETAIL CONTENT WIDTH
========================================================= */

.membership-detail-tier,
.membership-detail-card h1,
.membership-detail-price,
.membership-detail-validity,
.membership-detail-benefits,
.membership-join-btn {

    width: 48%;

}


/* =========================================================
   GOLDEN GLOW
========================================================= */

.membership-detail-card h1 {

    text-shadow:
        0 0 5px rgba(255, 215, 100, 0.55),
        0 0 18px rgba(218, 169, 58, 0.35);

}


.membership-detail-price {

    text-shadow:
        0 0 8px rgba(229, 197, 94, 0.55),
        0 0 20px rgba(218, 169, 58, 0.30);

}


/* =========================================================
   PREMIUM BORDER GLOW
========================================================= */

.membership-detail-card {

    animation: membershipCardGlow 4s ease-in-out infinite alternate;

}


@keyframes membershipCardGlow {

    from {

        box-shadow:
            0 0 12px rgba(218, 169, 58, 0.40),
            0 0 35px rgba(218, 169, 58, 0.14),
            0 0 65px rgba(15, 167, 123, 0.14);

    }

    to {

        box-shadow:
            0 0 18px rgba(218, 169, 58, 0.65),
            0 0 45px rgba(218, 169, 58, 0.22),
            0 0 80px rgba(15, 167, 123, 0.22);

    }

}

/* =========================================================
   MEMBERSHIP DETAIL — REFERENCE CARD SIZE & IMAGE
========================================================= */

.membership-detail-card {
    width: min(960px, calc(100% - 80px)) !important;

    min-height: 650px !important;

    margin: 45px auto 80px !important;

    padding: 55px 65px !important;

    border-radius: 18px !important;

    background:
        linear-gradient(90deg,
            rgba(2, 15, 12, 0.05) 0%,
            rgba(2, 15, 12, 0.12) 42%,
            rgba(2, 15, 12, 0.92) 65%,
            rgba(2, 15, 12, 0.98) 100%) !important;

    border: 1px solid rgba(218, 169, 58, 0.85) !important;

    box-shadow:
        0 0 15px rgba(218, 169, 58, 0.55),
        0 0 40px rgba(218, 169, 58, 0.22),
        0 0 80px rgba(15, 167, 123, 0.22),
        inset 0 0 40px rgba(15, 167, 123, 0.08) !important;

    overflow: hidden !important;
}


/* LEFT CHARACTER IMAGE */

.membership-detail-card::before {

    width: 58% !important;

    left: 0 !important;

    top: 0 !important;

    bottom: 0 !important;

    background:
        linear-gradient(90deg,
            rgba(2, 15, 12, 0.00) 0%,
            rgba(2, 15, 12, 0.02) 45%,
            rgba(2, 15, 12, 0.30) 72%,
            rgba(2, 15, 12, 0.95) 100%),
        url("../images/shinobi.jpg") !important;

    background-size: cover !important;

    background-position: center !important;

    opacity: 1 !important;

}


/* EMERALD LIGHT AROUND CHARACTER */

.membership-detail-card::after {

    background:
        radial-gradient(circle at 18% 50%,
            rgba(15, 167, 123, 0.35),
            transparent 42%),
        linear-gradient(90deg,
            transparent 35%,
            rgba(2, 15, 12, 0.00) 45%,
            rgba(2, 15, 12, 0.80) 72%,
            rgba(2, 15, 12, 0.98) 100%) !important;

}


/* CONTENT SIDE */

.membership-detail-tier,
.membership-detail-card h1,
.membership-detail-price,
.membership-detail-validity,
.membership-detail-benefits,
.membership-join-btn {

    width: 48% !important;

}


/* GOLD TITLE */

.membership-detail-card h1 {

    font-size: clamp(38px, 4vw, 58px) !important;

    text-shadow:
        0 0 6px rgba(255, 220, 120, 0.65),
        0 0 18px rgba(218, 169, 58, 0.45),
        0 0 35px rgba(218, 169, 58, 0.25) !important;

}


/* GOLD PRICE */

.membership-detail-price {

    font-size: 38px !important;

    text-shadow:
        0 0 8px rgba(255, 215, 100, 0.75),
        0 0 22px rgba(218, 169, 58, 0.45) !important;

}

/* =========================================================
   FIX — WIDE MEMBERSHIP DETAIL CARD
========================================================= */

#membership-detail-container {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.membership-detail-card {
    width: 100% !important;
    max-width: none !important;

    min-width: 0 !important;
    min-height: 560px !important;

    margin: 45px auto 80px !important;

    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

/* =========================================================
   MEMBERSHIP CARD — GOLD CORNER ORNAMENTS
   ========================================================= */

.membership-card {
    position: relative;
    border: 1px solid rgba(218, 169, 58, 0.75) !important;
    box-shadow:
        0 0 10px rgba(218, 169, 58, 0.35),
        0 0 28px rgba(218, 169, 58, 0.12),
        0 15px 40px rgba(0, 0, 0, 0.45);
}


/* REMOVE OLD TOP LINE AND USE IT FOR CORNER DESIGN */

.membership-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;

    background:

        /* TOP LEFT — horizontal */
        linear-gradient(#e5c55e, #e5c55e) 0 0 / 38px 2px no-repeat,

        /* TOP LEFT — vertical */
        linear-gradient(#e5c55e, #e5c55e) 0 0 / 2px 38px no-repeat,

        /* TOP RIGHT — horizontal */
        linear-gradient(#e5c55e, #e5c55e) 100% 0 / 38px 2px no-repeat,

        /* TOP RIGHT — vertical */
        linear-gradient(#e5c55e, #e5c55e) 100% 0 / 2px 38px no-repeat,

        /* BOTTOM LEFT — horizontal */
        linear-gradient(#e5c55e, #e5c55e) 0 100% / 38px 2px no-repeat,

        /* BOTTOM LEFT — vertical */
        linear-gradient(#e5c55e, #e5c55e) 0 100% / 2px 38px no-repeat,

        /* BOTTOM RIGHT — horizontal */
        linear-gradient(#e5c55e, #e5c55e) 100% 100% / 38px 2px no-repeat,

        /* BOTTOM RIGHT — vertical */
        linear-gradient(#e5c55e, #e5c55e) 100% 100% / 2px 38px no-repeat;

    filter:
        drop-shadow(0 0 4px rgba(229, 197, 94, 0.65));
}


/* SMALL INNER CORNER LINES */

.membership-card {
    background-origin: border-box;
}


/* GOLD GLOW AROUND CARD */

.membership-card:hover {
    border-color: rgba(255, 218, 105, 0.95) !important;

    box-shadow:
        0 0 12px rgba(218, 169, 58, 0.55),
        0 0 35px rgba(218, 169, 58, 0.22),
        0 20px 45px rgba(0, 0, 0, 0.50);
}

/* =========================================
   CLEAN 4-CORNER ORNAMENT DESIGN
========================================= */

.membership-detail-card::before,
.membership-detail-card::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    box-shadow: none;
    pointer-events: none;
    z-index: 20;
}


/* TOP-LEFT + BOTTOM-RIGHT */
.membership-detail-card::before {
    background:

        /* TOP LEFT outer */
        linear-gradient(#e8bd45, #e8bd45) left top / 58px 3px no-repeat,

        linear-gradient(#e8bd45, #e8bd45) left top / 3px 58px no-repeat,

        /* TOP LEFT inner step */
        linear-gradient(#e8bd45, #e8bd45) 10px 10px / 35px 3px no-repeat,

        linear-gradient(#e8bd45, #e8bd45) 10px 10px / 3px 35px no-repeat,

        /* BOTTOM RIGHT outer */
        linear-gradient(#e8bd45, #e8bd45) right bottom / 58px 3px no-repeat,

        linear-gradient(#e8bd45, #e8bd45) right bottom / 3px 58px no-repeat,

        /* BOTTOM RIGHT inner step */
        linear-gradient(#e8bd45, #e8bd45) calc(100% - 45px) calc(100% - 13px) / 35px 3px no-repeat,

        linear-gradient(#e8bd45, #e8bd45) calc(100% - 13px) calc(100% - 45px) / 3px 35px no-repeat;
}


/* TOP-RIGHT + BOTTOM-LEFT */
.membership-detail-card::after {
    background:

        /* TOP RIGHT outer */
        linear-gradient(#e8bd45, #e8bd45) right top / 58px 3px no-repeat,

        linear-gradient(#e8bd45, #e8bd45) right top / 3px 58px no-repeat,

        /* TOP RIGHT inner step */
        linear-gradient(#e8bd45, #e8bd45) calc(100% - 45px) 10px / 35px 3px no-repeat,

        linear-gradient(#e8bd45, #e8bd45) calc(100% - 13px) 10px / 3px 35px no-repeat,

        /* BOTTOM LEFT outer */
        linear-gradient(#e8bd45, #e8bd45) left bottom / 58px 3px no-repeat,

        linear-gradient(#e8bd45, #e8bd45) left bottom / 3px 58px no-repeat,

        /* BOTTOM LEFT inner step */
        linear-gradient(#e8bd45, #e8bd45) 10px calc(100% - 13px) / 35px 3px no-repeat,

        linear-gradient(#e8bd45, #e8bd45) 10px calc(100% - 45px) / 3px 35px no-repeat;
}

/* =========================================
   FINAL VISIBILITY FIX
   LEFT IMAGE + RIGHT CONTENT
========================================= */

.membership-detail-card::before {
    width: 55% !important;

    background:
        linear-gradient(90deg,
            rgba(2, 12, 9, 0.00) 0%,
            rgba(2, 12, 9, 0.05) 55%,
            rgba(2, 12, 9, 0.55) 100%),
        url("../images/shinobi.jpg") !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    opacity: 1 !important;
    z-index: 0 !important;
}


/* REMOVE HEAVY DARK OVERLAY */
.membership-detail-card::after {
    background:
        linear-gradient(90deg,
            rgba(2, 12, 9, 0.00) 0%,
            rgba(2, 12, 9, 0.00) 45%,
            rgba(2, 12, 9, 0.18) 65%,
            rgba(2, 12, 9, 0.48) 100%) !important;

    z-index: 1 !important;
}


/* MAKE ALL RIGHT-SIDE CONTENT CLEAR */
.membership-detail-card>* {
    position: relative !important;
    z-index: 5 !important;
    opacity: 1 !important;
}


/* TIER */
.membership-detail-tier {
    color: #e5b93f !important;
    font-weight: 800 !important;
    text-shadow: 0 0 12px rgba(229, 185, 63, 0.65) !important;
}


/* TITLE */
.membership-detail-card h1 {
    color: #fff8df !important;
    font-weight: 800 !important;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.75),
        0 0 15px rgba(229, 185, 63, 0.65),
        0 0 30px rgba(229, 185, 63, 0.35) !important;
}


/* PRICE */
.membership-detail-price {
    color: #f5c542 !important;
    font-weight: 900 !important;
    text-shadow:
        0 0 8px rgba(255, 215, 100, 0.9),
        0 0 20px rgba(218, 169, 58, 0.55) !important;
}


/* VALIDITY */
.membership-detail-validity {
    color: #ffffff !important;
    font-weight: 600 !important;
}


/* BENEFITS */
.membership-detail-benefits {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.25) !important;
}


/* JOIN BUTTON */
.membership-join-btn {
    color: #07110d !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    box-shadow:
        0 0 12px rgba(218, 169, 58, 0.45),
        0 0 25px rgba(218, 169, 58, 0.20) !important;
}

/* =========================================
   FINAL — FULL IMAGE + SEAMLESS CONTENT
========================================= */

.membership-detail-card {
    position: relative;
    overflow: hidden;

    background: #020b08 !important;

    border: 1px solid rgba(218, 169, 58, 0.85) !important;
    border-radius: 18px !important;

    box-shadow:
        0 0 15px rgba(218, 169, 58, 0.55),
        0 0 40px rgba(218, 169, 58, 0.22),
        0 0 80px rgba(15, 167, 123, 0.18);
}


/* FULL IMAGE + DARK GRADIENT ONLY BEHIND CONTENT */

.membership-detail-card::before {
    content: "";

    position: absolute;
    inset: 0;

    width: 100%;

    background:
        linear-gradient(90deg,
            rgba(2, 11, 8, 0.00) 0%,
            rgba(2, 11, 8, 0.00) 35%,
            rgba(2, 11, 8, 0.08) 45%,
            rgba(2, 11, 8, 0.30) 55%,
            rgba(2, 11, 8, 0.68) 68%,
            rgba(2, 11, 8, 0.92) 80%,
            rgba(2, 11, 8, 0.97) 100%);

    z-index: 1;
    pointer-events: none;
}


/* NO EXTRA OVERLAY */

.membership-detail-card::after {
    content: none !important;
}


/* CONTENT ABOVE IMAGE + GRADIENT */

.membership-detail-card>* {
    position: relative !important;
    z-index: 5 !important;
    opacity: 1 !important;
}


/* RIGHT CONTENT WIDTH */

.membership-detail-tier,
.membership-detail-card h1,
.membership-detail-price,
.membership-detail-validity,
.membership-detail-benefits,
.membership-join-btn {
    width: 48% !important;
}


/* TIER */

.membership-detail-tier {
    color: #e5b93f !important;
    font-weight: 800 !important;

    text-shadow:
        0 0 10px rgba(229, 185, 63, 0.70) !important;
}


/* TITLE */

.membership-detail-card h1 {
    color: #fff8df !important;
    font-weight: 900 !important;

    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.90),
        0 0 15px rgba(229, 185, 63, 0.75),
        0 0 30px rgba(229, 185, 63, 0.40) !important;
}


/* PRICE */

.membership-detail-price {
    color: #f5c542 !important;
    font-weight: 900 !important;

    text-shadow:
        0 0 8px rgba(255, 215, 100, 0.95),
        0 0 20px rgba(218, 169, 58, 0.60) !important;
}


/* VALIDITY */

.membership-detail-validity {
    color: #ffffff !important;
    font-weight: 700 !important;

    text-shadow:
        0 1px 5px rgba(0, 0, 0, 0.90) !important;
}


/* BENEFITS */

.membership-detail-benefits {
    color: #ffffff !important;
    font-weight: 700 !important;

    text-shadow:
        0 1px 6px rgba(0, 0, 0, 0.95) !important;
}


/* JOIN BUTTON */

.membership-join-btn {
    color: #07110d !important;
    font-weight: 800 !important;
    opacity: 1 !important;

    box-shadow:
        0 0 12px rgba(218, 169, 58, 0.45),
        0 0 25px rgba(218, 169, 58, 0.20) !important;
}

/* =========================================
   FINAL FIX — FULL IMAGE + SEAMLESS DARK CONTENT
   ========================================= */

.membership-detail-card {
    position: relative !important;
    overflow: hidden !important;
    background: #020b08 !important;
}

/* FULL CARD IMAGE + SMOOTH RIGHT-SIDE DARK FADE */
.membership-detail-card::before {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    background:
        linear-gradient(90deg,
            rgba(2, 11, 8, 0.00) 0%,
            rgba(2, 11, 8, 0.00) 35%,
            rgba(2, 11, 8, 0.08) 45%,
            rgba(2, 11, 8, 0.28) 55%,
            rgba(2, 11, 8, 0.62) 68%,
            rgba(2, 11, 8, 0.90) 80%,
            rgba(2, 11, 8, 0.98) 100%),
        url("../images/shinobi.jpg") !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    z-index: 0 !important;
    pointer-events: none !important;
}

/* REMOVE EXTRA OVERLAY */
.membership-detail-card::after {
    content: none !important;
}

/* CONTENT ABOVE IMAGE */
.membership-detail-card>* {
    position: relative !important;
    z-index: 5 !important;
    opacity: 1 !important;
}

/* RIGHT CONTENT AREA */
.membership-detail-tier,
.membership-detail-card h1,
.membership-detail-price,
.membership-detail-validity,
.membership-detail-benefits,
.membership-join-btn {
    width: 48% !important;
}

/* CLEAR GOLD TIER */
.membership-detail-tier {
    color: #e5b93f !important;
    font-weight: 800 !important;

    text-shadow:
        0 0 8px rgba(229, 185, 63, 0.80),
        0 0 18px rgba(229, 185, 63, 0.35) !important;
}

/* CLEAR WHITE TITLE */
.membership-detail-card h1 {
    color: #fff8df !important;
    font-weight: 900 !important;

    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.95),
        0 0 15px rgba(229, 185, 63, 0.80),
        0 0 30px rgba(229, 185, 63, 0.45) !important;
}

/* PRICE */
.membership-detail-price {
    color: #f5c542 !important;
    font-weight: 900 !important;

    text-shadow:
        0 0 8px rgba(255, 215, 100, 0.95),
        0 0 20px rgba(218, 169, 58, 0.65) !important;
}

/* VALIDITY */
.membership-detail-validity {
    color: #ffffff !important;
    font-weight: 700 !important;

    text-shadow:
        0 1px 6px rgba(0, 0, 0, 0.95) !important;
}

/* BENEFITS */
.membership-detail-benefits {
    color: #ffffff !important;
    font-weight: 700 !important;

    text-shadow:
        0 1px 7px rgba(0, 0, 0, 0.95) !important;
}

/* JOIN BUTTON */
.membership-join-btn {
    color: #07110d !important;
    font-weight: 800 !important;
    opacity: 1 !important;

    box-shadow:
        0 0 12px rgba(218, 169, 58, 0.45),
        0 0 25px rgba(218, 169, 58, 0.25) !important;
}

/* =========================================
   GLASSMORPHISM — VALIDITY + JOIN BUTTON
   ========================================= */

/* LIFETIME GLASS BOX */
.membership-detail-validity {
    background: rgba(2, 15, 12, 0.28) !important;

    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 10px !important;

    padding: 10px 20px !important;

    color: #ffffff !important;
    font-weight: 700 !important;

    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;

    box-shadow:
        inset 0 0 18px rgba(255, 255, 255, 0.04),
        0 0 12px rgba(0, 0, 0, 0.18) !important;

    text-shadow:
        0 1px 5px rgba(0, 0, 0, 0.95) !important;
}


/* JOIN MEMBERSHIP — GOLD GLASS */
.membership-join-btn {
    background: rgba(218, 169, 58, 0.62) !important;

    border: 1px solid rgba(255, 224, 130, 0.75) !important;
    border-radius: 8px !important;

    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;

    color: #fff8df !important;
    font-weight: 800 !important;

    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.65) !important;

    box-shadow:
        inset 0 0 15px rgba(255, 255, 255, 0.08),
        0 0 15px rgba(218, 169, 58, 0.30) !important;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease !important;
}


/* BUTTON HOVER */
.membership-join-btn:hover {
    background: rgba(218, 169, 58, 0.78) !important;

    box-shadow:
        inset 0 0 18px rgba(255, 255, 255, 0.10),
        0 0 22px rgba(218, 169, 58, 0.45) !important;

    transform: translateY(-2px) !important;
}

/* =========================================
   FINAL MEMBERSHIP CARD IMAGE POSITION
   ========================================= */

.membership-detail-card::before {
    background-image:
        linear-gradient(90deg,
            rgba(2, 11, 8, 0.00) 0%,
            rgba(2, 11, 8, 0.00) 35%,
            rgba(2, 11, 8, 0.18) 45%,
            rgba(2, 11, 8, 0.48) 58%,
            rgba(2, 11, 8, 0.82) 70%,
            rgba(2, 11, 8, 0.96) 82%,
            rgba(2, 11, 8, 0.99) 100%),
        url("../images/shinobi.jpg") !important;

    background-size: cover !important;

    /* IMAGE LEFT SIDE */
    background-position: left center !important;

    background-repeat: no-repeat !important;
}

/* =========================================
   FINAL IMAGE POSITION — CHARACTER LEFT
   ========================================= */

.membership-detail-card::before {
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;

    background-image:
        linear-gradient(90deg,
            rgba(2, 11, 8, 0.00) 0%,
            rgba(2, 11, 8, 0.00) 32%,
            rgba(2, 11, 8, 0.12) 45%,
            rgba(2, 11, 8, 0.42) 58%,
            rgba(2, 11, 8, 0.78) 70%,
            rgba(2, 11, 8, 0.94) 82%,
            rgba(2, 11, 8, 0.99) 100%),
        url("../images/shinobi.jpg") !important;

    /* ZOOM IMAGE SO CHARACTER MOVES LEFT */
    background-size: 80% 100% !important;

    /* CROP FROM LEFT */
    background-position: 1% center !important;

    background-repeat: no-repeat !important;

    opacity: 1 !important;
    z-index: 0 !important;
}

/* KEEP CONTENT ABOVE IMAGE */
.membership-detail-card>* {
    position: relative !important;
    z-index: 5 !important;
}

.membership-detail-card::before {
    content: "" !important;
    position: absolute !important;

    inset: 0 !important;

    width: 60% !important;
    height: 100% !important;

    background:
        linear-gradient(90deg,
            rgba(2, 11, 8, 0.00) 0%,
            rgba(2, 11, 8, 0.00) 35%,
            rgba(2, 11, 8, 0.18) 45%,
            rgba(2, 11, 8, 0.48) 58%,
            rgba(2, 11, 8, 0.78) 70%,
            rgba(2, 11, 8, 0.96) 82%,
            rgba(2, 11, 8, 0.99) 100%),
        var(--membership-image) !important;

    background-size: 125% 100% !important;
    background-position: 18% center !important;
    background-repeat: no-repeat !important;

    opacity: 1 !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* FINAL MEMBERSHIP DETAIL CARD SIZE */
.membership-detail-card {
    width: min(92vw, 1000px) !important;
    height: 500px !important;
    min-height: 500px !important;

    margin: 30px auto !important;

    border-radius: 18px !important;
    overflow: hidden !important;
}

.membership-detail-validity {
    width: 30% !important;
    margin-left: 65% !important;
    margin-right: auto !important;
}

/* FINAL CONTENT ALIGNMENT */
.membership-detail-card h1,
.membership-detail-price,
.membership-detail-benefits,
.membership-join-btn {
    width: 80% !important;
    margin-left: 100% !important;
    margin-right: 0 !important;
    text-align: auto !important;
}

.membership-detail-tier,
.membership-detail-card h1,
.membership-detail-price,
.membership-detail-benefits,
.membership-join-btn {
    width: 30% !important;
    margin-left: 65% !important;
    margin-right: auto !important;
}

/* FINAL — SMOOTH IMAGE TO BLACK CONTENT BLEND */

.membership-detail-card::before {
    background-image:
        linear-gradient(90deg,
            rgba(2, 11, 8, 0.00) 0%,
            rgba(2, 11, 8, 0.00) 28%,
            rgba(2, 11, 8, 0.05) 38%,
            rgba(2, 11, 8, 0.15) 46%,
            rgba(2, 11, 8, 0.35) 54%,
            rgba(2, 11, 8, 0.58) 62%,
            rgba(2, 11, 8, 0.78) 70%,
            rgba(2, 11, 8, 0.92) 80%,
            rgba(2, 11, 8, 0.98) 90%,
            rgba(2, 11, 8, 1.00) 100%),
        var(--membership-image) !important;

    background-size: 125% 100% !important;
    background-position: 18% center !important;
    background-repeat: no-repeat !important;
}

/* FINAL — IMAGE SMOOTHLY MERGE INTO DARK CONTENT */

.membership-detail-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;

    width: 70% !important;
    height: 100% !important;

    background-image:
        linear-gradient(90deg,

            /* IMAGE AREA */
            rgba(2, 11, 8, 0.00) 0%,
            rgba(2, 11, 8, 0.00) 25%,

            /* START BLENDING */
            rgba(2, 11, 8, 0.03) 32%,
            rgba(2, 11, 8, 0.10) 40%,
            rgba(2, 11, 8, 0.22) 48%,

            /* SMOOTH MERGE */
            rgba(2, 11, 8, 0.40) 55%,
            rgba(2, 11, 8, 0.60) 62%,
            rgba(2, 11, 8, 0.78) 69%,

            /* DARK CONTENT */
            rgba(2, 11, 8, 0.90) 77%,
            rgba(2, 11, 8, 0.97) 87%,
            rgba(2, 11, 8, 1.00) 100%),
        var(--membership-image) !important;

    background-size: cover !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;

    z-index: 0 !important;
    pointer-events: none !important;
}

/* =========================================================
   ADMIN MEMBERSHIP PAGE
   Scoped to admin page only
========================================================= */

body:has(.membership-grid) {

    background: #020807 !important;
    color: #f4f1df;
}


/* PAGE CONTAINER */

body:has(.membership-grid) .membership-grid {

    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(320px, 1fr));

    gap: 24px;

    width: 100%;

    max-width: 1200px;

    margin: 30px auto;

    padding: 0 20px;

    box-sizing: border-box;
}


/* ADMIN MEMBERSHIP CARD */

body:has(.membership-grid) .membership-card {

    position: relative;

    min-height: auto !important;

    padding: 30px !important;

    display: block !important;

    text-align: left !important;

    background:
        linear-gradient(145deg,
            #082b21,
            #020f0c) !important;

    border:
        1px solid rgba(218, 169, 58, 0.45) !important;

    border-radius: 14px !important;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.35),

        inset 0 0 25px rgba(15, 167, 123, 0.05) !important;

    overflow: visible !important;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* HOVER */

body:has(.membership-grid) .membership-card:hover {

    transform: translateY(-4px);

    border-color:
        rgba(218, 169, 58, 0.85) !important;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.45),

        0 0 20px rgba(218, 169, 58, 0.12) !important;
}


/* CARD HEADER */

body:has(.membership-grid) .membership-card-header {

    margin-bottom: 22px;

    padding-bottom: 15px;

    border-bottom:
        1px solid rgba(218, 169, 58, 0.18);
}


/* TITLE */

body:has(.membership-grid) .membership-card-header h2 {

    margin: 0;

    color: #f4f1df;

    font-family: "Cinzel", serif;

    font-size: 22px;

    letter-spacing: 1px;
}


/* FORM LABEL */

body:has(.membership-grid) .membership-card label {

    display: block;

    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.72);

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    font-weight: 500;
}


/* INPUTS */

body:has(.membership-grid) .membership-card input,
body:has(.membership-grid) .membership-card textarea,
body:has(.membership-grid) .membership-card select {

    width: 100%;

    box-sizing: border-box;

    margin-bottom: 16px;

    padding: 11px 13px;

    background: #061712;

    color: #ffffff;

    border:
        1px solid rgba(218, 169, 58, 0.30);

    border-radius: 6px;

    outline: none;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* INPUT FOCUS */

body:has(.membership-grid) .membership-card input:focus,
body:has(.membership-grid) .membership-card textarea:focus,
body:has(.membership-grid) .membership-card select:focus {

    border-color: #d9a62e;

    box-shadow:
        0 0 10px rgba(218, 169, 58, 0.12);
}


/* BENEFITS TEXTAREA */

body:has(.membership-grid) .membership-card textarea {

    min-height: 90px;

    resize: vertical;
}


/* ACTIVE ROW */

body:has(.membership-grid) .membership-card .active-row {

    display: flex;

    align-items: center;

    gap: 10px;

    margin: 8px 0 20px;

    color: #ffffff;

    font-size: 13px;
}


/* SAVE BUTTON */

body:has(.membership-grid) .membership-card button {

    width: 100%;

    padding: 12px 18px;

    border: 1px solid #d9a62e;

    border-radius: 6px;

    background:
        linear-gradient(135deg,
            #d9a62e,
            #b47b18);

    color: #07110d;

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


body:has(.membership-grid) .membership-card button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(218, 169, 58, 0.25);
}


/* MOBILE */

@media (max-width: 800px) {

    body:has(.membership-grid) .membership-grid {

        grid-template-columns: 1fr;

        padding: 0 15px;
    }

}

/* =========================================================
   ADMIN MEMBERSHIP PAGE
   ADMIN PANEL LAYOUT ONLY
   Does NOT override customer membership styles
========================================================= */

body:has(.admin-dashboard) {
    background: #050805;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
}


/* =========================================================
   ADMIN DASHBOARD WRAPPER
========================================================= */

.admin-dashboard {
    min-height: 100vh;
    display: flex;
    background: #050805;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
}


/* =========================================================
   ADMIN SIDEBAR
========================================================= */

.admin-dashboard .admin-sidebar {
    width: 250px;
    min-height: 100vh;

    position: fixed;
    left: 0;
    top: 0;

    display: flex;
    flex-direction: column;

    padding: 25px 18px;

    background: rgba(7, 15, 10, 0.97);

    border-right: 1px solid rgba(217, 166, 46, 0.18);

    z-index: 1000;
}


/* BRAND */

.admin-dashboard .admin-sidebar-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 8px 8px 30px;

    text-decoration: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-dashboard .admin-sidebar-brand img {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    border: 1px solid #d9a62e;
}

.admin-dashboard .admin-sidebar-brand h2 {
    margin: 0;

    font-family: "Cinzel", serif;

    font-size: 18px;

    letter-spacing: 2px;

    color: #d9a62e;
}

.admin-dashboard .admin-sidebar-brand span {
    display: block;

    margin-top: 3px;

    color: #777;

    font-size: 8px;

    letter-spacing: 2px;
}


/* =========================================================
   ADMIN NAVIGATION
========================================================= */

.admin-dashboard .admin-nav {
    flex: 1;

    padding-top: 28px;
}

.admin-dashboard .admin-nav-link {
    display: flex;
    align-items: center;

    gap: 14px;

    min-height: 45px;

    margin-bottom: 7px;

    padding: 0 14px;

    color: #858585;

    text-decoration: none;

    font-size: 11px;

    letter-spacing: 0.5px;

    transition: 0.3s;
}

.admin-dashboard .admin-nav-link i {
    width: 18px;

    text-align: center;

    font-size: 13px;
}

.admin-dashboard .admin-nav-link:hover {
    color: #d9a62e;

    background:
        rgba(217, 166, 46, 0.05);
}

.admin-dashboard .admin-nav-link.active {
    color: #d9a62e;

    background:
        rgba(217, 166, 46, 0.08);

    border-left: 2px solid #d9a62e;
}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.admin-dashboard .admin-sidebar-bottom {
    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-dashboard .admin-logout:hover {
    color: #d96b5f;
}


/* =========================================================
   ADMIN MAIN
========================================================= */

.admin-dashboard .admin-main {
    width: calc(100% - 250px);

    margin-left: 250px;

    padding: 32px;

    min-height: 100vh;
}


/* =========================================================
   ADMIN TOP BAR
========================================================= */

.admin-dashboard .admin-topbar {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 32px;
}

.admin-dashboard .admin-topbar p {
    margin: 0 0 5px;

    color: #d9a62e;

    font-size: 9px;

    letter-spacing: 3px;
}

.admin-dashboard .admin-topbar h1 {
    margin: 0;

    font-family: "Cinzel", serif;

    font-size: 27px;

    letter-spacing: 2px;

    color: #ffffff;
}


/* =========================================================
   ADMIN PROFILE
========================================================= */

.admin-dashboard .admin-profile {
    display: flex;

    align-items: center;

    gap: 11px;
}

.admin-dashboard .admin-profile-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #d9a62e;

    background:
        rgba(217, 166, 46, 0.08);

    border: 1px solid rgba(217, 166, 46, 0.25);
}

.admin-dashboard .admin-profile strong {
    display: block;

    color: #eeeeee;

    font-size: 11px;
}

.admin-dashboard .admin-profile span {
    display: block;

    margin-top: 3px;

    color: #777;

    font-size: 9px;
}


/* =========================================================
   MOBILE ADMIN
========================================================= */

@media (max-width: 900px) {

    .admin-dashboard .admin-sidebar {
        width: 220px;
    }

    .admin-dashboard .admin-main {
        width: calc(100% - 220px);

        margin-left: 220px;

        padding: 25px;
    }
}


@media (max-width: 700px) {

    .admin-dashboard .admin-sidebar {
        width: 70px;

        padding: 20px 10px;
    }

    .admin-dashboard .admin-sidebar-brand {
        justify-content: center;

        padding: 8px 0 25px;
    }

    .admin-dashboard .admin-sidebar-brand div {
        display: none;
    }

    .admin-dashboard .admin-nav-link {
        justify-content: center;

        padding: 0;
    }

    .admin-dashboard .admin-nav-link span {
        display: none;
    }

    .admin-dashboard .admin-nav-link i {
        font-size: 15px;
    }

    .admin-dashboard .admin-main {
        width: calc(100% - 70px);

        margin-left: 70px;

        padding: 20px;
    }

    .admin-dashboard .admin-topbar {
        align-items: flex-start;
    }
}

/* =========================================================
   ADMIN MEMBERSHIP — LUXURY FORM FINISH
========================================================= */

/* ---------- INTRO TEXT ---------- */

.admin-dashboard .membership-intro span {
    display: block;

    margin-bottom: 10px;

    color: #d9a62e;

    font-family: "Cinzel", serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.admin-dashboard .membership-intro h2 {
    margin: 0 0 12px;

    font-family: "Cinzel", serif;

    font-size: 28px;

    font-weight: 600;

    letter-spacing: 1.5px;

    color: #f5f0df;

    text-shadow:
        0 0 12px rgba(217, 166, 46, 0.15);
}

.admin-dashboard .membership-intro p {
    margin: 0;

    color: #9daca5;

    font-size: 12px;

    letter-spacing: 0.5px;

    line-height: 1.8;
}


/* ---------- CARD HEADER ---------- */

.admin-dashboard .membership-card-header {
    border-bottom: 1px solid rgba(217, 166, 46, 0.18);

    padding-bottom: 18px;

    margin-bottom: 20px;
}

.admin-dashboard .membership-title h3 {
    margin: 0;

    font-family: "Cinzel", serif;

    font-size: 18px;

    letter-spacing: 2px;

    color: #f1ead5;

    text-shadow:
        0 0 10px rgba(217, 166, 46, 0.12);
}

.admin-dashboard .membership-title span {
    display: block;

    margin-top: 5px;

    color: #b89545;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 500;
}


/* ---------- FORM LABELS ---------- */

.admin-dashboard .membership-form-group label {
    display: block;

    margin-bottom: 8px;

    color: #cbbf9e;

    font-family: "Cinzel", serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* ---------- INPUT / TEXTAREA ---------- */

.admin-dashboard .membership-form-group input,
.admin-dashboard .membership-form-group textarea {

    width: 100%;

    box-sizing: border-box;

    background:
        linear-gradient(145deg,
            rgba(3, 22, 16, 0.98),
            rgba(2, 14, 11, 0.98));

    border: 1px solid rgba(217, 166, 46, 0.38);

    border-radius: 7px;

    color: #f3eee0;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    letter-spacing: 0.3px;

    padding: 12px 14px;

    outline: none;

    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, 0.28),
        0 0 0 rgba(217, 166, 46, 0);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* INPUT HOVER */

.admin-dashboard .membership-form-group input:hover,
.admin-dashboard .membership-form-group textarea:hover {

    border-color:
        rgba(217, 166, 46, 0.65);
}


/* INPUT FOCUS */

.admin-dashboard .membership-form-group input:focus,
.admin-dashboard .membership-form-group textarea:focus {

    border-color: #d9a62e;

    background:
        linear-gradient(145deg,
            rgba(5, 28, 20, 1),
            rgba(2, 17, 12, 1));

    box-shadow:
        0 0 0 1px rgba(217, 166, 46, 0.15),
        0 0 18px rgba(217, 166, 46, 0.10),
        inset 0 0 18px rgba(0, 0, 0, 0.30);
}


/* PLACEHOLDER */

.admin-dashboard .membership-form-group input::placeholder,
.admin-dashboard .membership-form-group textarea::placeholder {

    color: #66756e;
}


/* TEXTAREA */

.admin-dashboard .membership-form-group textarea {

    min-height: 90px;

    resize: vertical;

    line-height: 1.7;
}


/* ---------- ACTIVE SECTION ---------- */

.admin-dashboard .membership-active-section,
.admin-dashboard .membership-active,
.admin-dashboard .membership-form-group:has(input[type="checkbox"]) {

    color: #d8d0ba;
}


/* ACTIVE LABEL */

.admin-dashboard input[type="checkbox"]+label {

    color: #cbbf9e;
}


/* ---------- LUXURY CHECKBOX ---------- */

.admin-dashboard input[type="checkbox"] {

    appearance: none;

    -webkit-appearance: none;

    width: 18px !important;

    height: 18px !important;

    min-width: 18px;

    padding: 0 !important;

    margin: 0;

    border: 1px solid rgba(217, 166, 46, 0.65);

    border-radius: 4px;

    background:
        linear-gradient(145deg,
            #061b14,
            #03100c);

    cursor: pointer;

    position: relative;

    vertical-align: middle;

    box-shadow:
        inset 0 0 8px rgba(0, 0, 0, 0.45);

    transition: all 0.25s ease;
}


/* CHECKED */

.admin-dashboard input[type="checkbox"]:checked {

    background:
        linear-gradient(145deg,
            #d9a62e,
            #a97916);

    border-color: #e7bd58;

    box-shadow:
        0 0 10px rgba(217, 166, 46, 0.30);
}


/* GOLD CHECK MARK */

.admin-dashboard input[type="checkbox"]:checked::after {

    content: "";

    position: absolute;

    left: 5px;

    top: 2px;

    width: 5px;

    height: 9px;

    border: solid #07100b;

    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}


/* CHECKBOX HOVER */

.admin-dashboard input[type="checkbox"]:hover {

    border-color: #d9a62e;

    box-shadow:
        0 0 10px rgba(217, 166, 46, 0.18);
}


/* ---------- CARD ICON ---------- */

.admin-dashboard .membership-icon {

    color: #d9a62e;

    text-shadow:
        0 0 10px rgba(217, 166, 46, 0.35);
}


/* ---------- GOLD DIVIDERS ---------- */

.admin-dashboard .membership-form-group {

    position: relative;
}


/* ---------- SAVE BUTTON ---------- */

.admin-dashboard .membership-card button {

    font-family: "Cinzel", serif;

    letter-spacing: 1.5px;

    font-size: 10px;

    font-weight: 600;

    border-radius: 6px;

    border: 1px solid rgba(217, 166, 46, 0.75);

    background:
        linear-gradient(135deg,
            #d9a62e,
            #a97916);

    color: #08110c;

    box-shadow:
        0 4px 15px rgba(217, 166, 46, 0.15);

    transition: all 0.3s ease;
}

.admin-dashboard .membership-card button:hover {

    transform: translateY(-1px);

    box-shadow:
        0 6px 22px rgba(217, 166, 46, 0.28);
}

/* =========================================
   ADMIN SIDEBAR BOTTOM — ALWAYS VISIBLE
========================================= */

.admin-dashboard .admin-sidebar {
    height: 100vh !important;
    min-height: 100vh !important;
    box-sizing: border-box !important;
}

.admin-dashboard .admin-nav {
    flex: 1 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
}

.admin-dashboard .admin-sidebar-bottom {
    flex-shrink: 0 !important;
    margin-top: auto !important;
}

/* =========================================================
   MEMBERSHIP CHECKOUT PAGE
   SC ANIME — PREMIUM CHECKOUT
========================================================= */

.membership-checkout-page {
    min-height: calc(100vh - 76px);
    padding: 110px 30px 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(ellipse at 20% 50%,
            rgba(15, 167, 123, 0.18),
            transparent 42%),
        radial-gradient(ellipse at 80% 50%,
            rgba(218, 169, 58, 0.10),
            transparent 42%),
        linear-gradient(180deg,
            #020807 0%,
            #03150f 50%,
            #020807 100%);

    position: relative;
}

#membership-checkout-container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

/* =========================================================
   CHECKOUT CARD
========================================================= */

.membership-checkout-card {
    position: relative;

    width: min(1050px, 100%);
    min-height: 590px;

    display: grid;
    grid-template-columns: 46% 54%;

    overflow: hidden;

    background: #020b08;

    border: 1px solid rgba(218, 169, 58, 0.82);
    border-radius: 18px;

    box-shadow:
        0 0 15px rgba(218, 169, 58, 0.45),
        0 0 40px rgba(218, 169, 58, 0.18),
        0 0 80px rgba(15, 167, 123, 0.16);

}


/* =========================================================
   LEFT IMAGE
========================================================= */

.membership-checkout-image {
    position: relative;

    min-height: 590px;

    background-image:
        linear-gradient(90deg,
            rgba(2, 11, 8, 0.00) 0%,
            rgba(2, 11, 8, 0.05) 40%,
            rgba(2, 11, 8, 0.35) 70%,
            rgba(2, 11, 8, 0.95) 100%),
        var(--checkout-image);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================================
   IMAGE EMERALD GLOW
========================================================= */

.membership-checkout-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(ellipse at 25% 50%,
            rgba(15, 167, 123, 0.20),
            transparent 48%);

    pointer-events: none;
}


/* =========================================================
   RIGHT CONTENT
========================================================= */

.membership-checkout-content {
    position: relative;
    z-index: 5;

    padding: 55px 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        linear-gradient(90deg,
            rgba(2, 11, 8, 0.72),
            rgba(2, 11, 8, 0.96));
}


/* =========================================================
   SMALL LABEL
========================================================= */

.membership-checkout-label {
    margin-bottom: 8px;

    color: #d9a62e;

    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}


/* =========================================================
   TIER
========================================================= */

.membership-checkout-tier {
    margin-bottom: 5px;

    color: #e5b93f;

    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 3px;

    text-shadow:
        0 0 10px rgba(229, 185, 63, 0.55);
}


/* =========================================================
   MEMBERSHIP NAME
========================================================= */

.membership-checkout-content h1 {
    margin: 0;

    color: #fff8df;

    font-family: "Cinzel", serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;

    line-height: 1.1;
    letter-spacing: 2px;

    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.75),
        0 0 15px rgba(229, 185, 63, 0.65),
        0 0 30px rgba(229, 185, 63, 0.30);
}


/* =========================================================
   SUBTITLE
========================================================= */

.membership-checkout-subtitle {
    margin: 12px 0 0;

    color: rgba(255, 255, 255, 0.55);

    font-family: "Poppins", sans-serif;
    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   SUMMARY
========================================================= */

.membership-checkout-summary {
    margin-top: 25px;

    padding: 8px 20px;

    border:
        1px solid rgba(218, 169, 58, 0.20);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.025);
}


/* =========================================================
   SUMMARY ROW
========================================================= */

.membership-summary-row {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);
}


.membership-summary-row:last-child {
    border-bottom: none;
}


.membership-summary-row span {
    color: rgba(255, 255, 255, 0.42);

    font-family: "Poppins", sans-serif;
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 1.5px;
}


.membership-summary-row strong {
    color: #ffffff;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;

    text-align: right;
}


/* =========================================================
   PRICE
========================================================= */

.membership-checkout-price {
    color: #f5c542 !important;

    font-family: "Cinzel", serif !important;
    font-size: 22px !important;
    font-weight: 900 !important;

    text-shadow:
        0 0 8px rgba(255, 215, 100, 0.85),
        0 0 20px rgba(218, 169, 58, 0.45);
}


/* =========================================================
   BENEFITS
========================================================= */

.membership-checkout-benefits {
    margin-top: 20px;

    padding: 15px 18px;

    border-left:
        2px solid #d9a62e;

    background:
        linear-gradient(90deg,
            rgba(218, 169, 58, 0.08),
            rgba(218, 169, 58, 0.01));
}


.membership-benefits-title {
    margin-bottom: 7px;

    color: #d9a62e;

    font-family: "Poppins", sans-serif;
    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}


.membership-benefits-text {
    color: rgba(255, 255, 255, 0.72);

    font-family: "Poppins", sans-serif;
    font-size: 11px;

    line-height: 1.9;

    white-space: pre-line;
}


/* =========================================================
   CONTINUE TO PAYMENT
========================================================= */

.membership-continue-btn {
    width: 100%;

    margin-top: 24px;
    padding: 14px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border:
        1px solid rgba(255, 224, 130, 0.85);

    border-radius: 6px;

    background:
        linear-gradient(135deg,
            #d9a62e,
            #b47b18);

    color: #07110d;

    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.membership-continue-btn i {
    transition:
        transform 0.3s ease;
}


.membership-continue-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(218, 169, 58, 0.32);
}


.membership-continue-btn:hover i {
    transform: translateX(5px);
}


/* =========================================================
   BACK BUTTON
========================================================= */

.membership-back-btn {
    width: 100%;

    margin-top: 10px;
    padding: 10px;

    border: none;

    background: transparent;

    color: rgba(255, 255, 255, 0.42);

    font-family: "Poppins", sans-serif;
    font-size: 9px;
    font-weight: 500;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        color 0.3s ease;
}


.membership-back-btn i {
    margin-right: 5px;
}


.membership-back-btn:hover {
    color: #d9a62e;
}


/* =========================================================
   LOADING
========================================================= */

.membership-checkout-loading {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d9a62e;

    font-family: "Poppins", sans-serif;
    font-size: 11px;

    letter-spacing: 2px;
}


/* =========================================================
   ERROR
========================================================= */

.membership-checkout-error {
    padding: 60px 30px;

    color: rgba(255, 255, 255, 0.60);

    font-family: "Poppins", sans-serif;
    font-size: 13px;

    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .membership-checkout-card {
        grid-template-columns: 1fr;
    }

    .membership-checkout-image {
        min-height: 350px;
    }

    .membership-checkout-content {
        padding: 45px 35px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .membership-checkout-page {
        padding:
            95px 15px 60px;
    }

    .membership-checkout-card {
        border-radius: 14px;
    }

    .membership-checkout-image {
        min-height: 280px;
    }

    .membership-checkout-content {
        padding: 35px 22px;
    }

    .membership-checkout-content h1 {
        font-size: 32px;
    }

    .membership-checkout-summary {
        padding: 6px 15px;
    }

    .membership-summary-row {
        min-height: 45px;
    }

}

/* =====================================================
   MEMBERSHIP PAYMENT PAGE
===================================================== */

.membership-payment-page {
    min-height: 70vh;
    background: #020807;
    padding-top: 120px;
    padding-bottom: 80px;
}

.membership-payment-section {
    width: 100%;
}

.membership-payment-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================
   PAGE HEADING
========================= */

.membership-payment-heading {
    text-align: center;
    margin-bottom: 50px;
}

.membership-payment-label {
    color: #d4af37;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.membership-payment-heading h1 {
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: 38px;
    font-weight: 700;
    margin: 0;
}

.membership-payment-heading h1 span {
    color: #d4af37;
}

.membership-payment-line {
    width: 70px;
    height: 2px;
    background: #d4af37;
    margin: 18px auto;
}

.membership-payment-subtitle {
    color: #9b9b9b;
    font-size: 14px;
    margin: 0 auto;
    max-width: 650px;
}


/* =========================
   PAYMENT CARD
========================= */

.membership-payment-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #07110f;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 4px;
    overflow: hidden;
}


/* =========================
   LEFT PAYMENT DETAILS
========================= */

.membership-payment-details {
    padding: 45px;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
}

.membership-payment-details h2 {
    color: #d4af37;
    font-family: "Cinzel", serif;
    font-size: 22px;
    margin: 0 0 12px;
}

.membership-payment-details>p {
    color: #9b9b9b;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 35px;
}


/* =========================
   PAYMENT INFORMATION
========================= */

.membership-payment-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.membership-payment-info>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.membership-payment-info span {
    color: #888888;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.membership-payment-info strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
}

#payment-membership-amount {
    color: #d4af37;
    font-size: 20px;
    font-weight: 600;
}


/* =========================
   UPI SECTION
========================= */

.membership-upi-box {
    padding: 45px;
    text-align: center;
}

.membership-upi-box h3 {
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: 20px;
    margin: 0 0 25px;
}


/* =========================
   QR BOX
========================= */

.membership-qr-box {
    width: 210px;
    height: 210px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 5px solid #ffffff;
}

.membership-qr-box img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.membership-scan-text {
    color: #d4af37;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0 0 25px;
}


/* =========================
   UPI ID
========================= */

.membership-upi-id {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 18px;
    background: #020807;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.membership-upi-id span {
    color: #888888;
    font-size: 11px;
    letter-spacing: 1px;
}

.membership-upi-id strong {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

.membership-upi-id button {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: transparent;
    color: #d4af37;
    cursor: pointer;
    transition: 0.3s ease;
}

.membership-upi-id button:hover {
    background: #d4af37;
    color: #020807;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .membership-payment-page {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .membership-payment-heading h1 {
        font-size: 28px;
    }

    .membership-payment-card {
        grid-template-columns: 1fr;
    }

    .membership-payment-details {
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        padding: 30px;
    }

    .membership-upi-box {
        padding: 30px;
    }

    .membership-payment-info>div {
        gap: 15px;
    }

    .membership-upi-id {
        flex-wrap: wrap;
    }
}

/* =========================
   PAYMENT VERIFICATION
========================= */

.membership-payment-verification {
    margin-top: 30px;
    text-align: left;
}

.membership-payment-verification label {
    display: block;
    color: #d4af37;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.membership-payment-verification input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    margin-bottom: 20px;
    background: #020807;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    outline: none;
}

.membership-payment-verification input[type="text"]:focus {
    border-color: #d4af37;
}

.membership-payment-verification input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 22px;
    color: #aaaaaa;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
}

.membership-i-have-paid-btn {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #d4af37;
    background: #d4af37;
    color: #020807;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
}

.membership-i-have-paid-btn i {
    margin-right: 8px;
}

.membership-i-have-paid-btn:hover {
    background: transparent;
    color: #d4af37;
}

.membership-qr-box {
    width: 210px;
    height: 210px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.membership-qr-box img {
    width: 210px;
    height: 210px;
    object-fit: contain;
    transform: scale(1.45);
    display: block;
}

.membership-qr-box {
    width: 190px;
    height: 190px;
    margin: 0 auto 15px;
    padding: 8px;
    box-sizing: border-box;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.membership-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.75);
    display: block;
}

/* =========================
   MEMBERSHIP PAYMENT SUCCESS
========================= */

.membership-payment-success {
    width: 100%;
    grid-column: 1 / -1;
    padding: 45px 30px;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(2, 8, 7, 0.95);
}

.membership-payment-success i {
    font-size: 28px;
    color: #d4af37;
    margin-bottom: 18px;
}

.membership-payment-success h2 {
    margin: 0 0 12px;
    color: #d4af37;
    font-family: "Cinzel", serif;
    font-size: 22px;
    letter-spacing: 1px;
}

.membership-payment-success p {
    margin: 6px 0;
    color: #d0d0d0;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================
   ADMIN MEMBERS SECTION
========================================= */

.admin-members-section {
    margin-top: 50px;
    padding: 35px;
    background: rgba(2, 8, 7, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.admin-members-section .membership-intro {
    margin-bottom: 30px;
}

.members-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.member-payment-card {
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
    background: #020807;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

/* =========================================
   MEMBERSHIP PAYMENT REQUEST TABLE
========================================= */

.members-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.members-table-header,
.members-table-row {
    display: grid;

    grid-template-columns:
        70px 100px 160px 120px 80px 100px 80px;

    align-items: center;

    min-width: 710px;
}

.members-table-header {
    padding: 12px 14px;

    background: rgba(212, 175, 55, 0.06);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);

    color: #d4af37;

    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.members-table-row {
    padding: 12px 14px;

    background: rgba(2, 8, 7, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    color: #ffffff;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
}

.members-table-row:last-child {
    border-bottom: none;
}

.members-table-row span {
    padding-right: 12px;
}

.member-pending-status {
    color: #d4af37;
    font-weight: 600;
}

.member-view-btn {
    padding: 7px 16px;

    border: 1px solid #d4af37;
    background: transparent;
    color: #d4af37;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.3s ease;
}

.member-view-btn:hover {
    background: #d4af37;
    color: #020807;
}

/* =========================================
   MEMBERSHIP PAYMENT DETAILS MODAL
========================================= */

.membership-details-overlay {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(5px);
}

.membership-details-modal {
    position: relative;

    width: 100%;
    max-width: 650px;
    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

    box-sizing: border-box;

    background: #020807;

    border: 1px solid #d4af37;

    box-shadow: 0 0 30px rgba(212, 175, 55, 0.18);
}

.membership-details-modal h2 {
    margin: 0 0 28px;

    color: #d4af37;

    font-family: "Cinzel", serif;
    font-size: 22px;

    letter-spacing: 1px;
}

.membership-details-close {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: 1px solid rgba(212, 175, 55, 0.5);

    background: transparent;

    color: #d4af37;

    cursor: pointer;
}

.membership-details-close:hover {
    background: #d4af37;
    color: #020807;
}

.membership-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 13px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.membership-detail-row span,
.membership-details-screenshot>span {
    color: #9c9c9c;

    font-size: 11px;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.membership-detail-row strong {
    color: #ffffff;

    font-size: 13px;

    text-align: right;
}

.membership-details-screenshot {
    margin-top: 25px;
}

.membership-details-screenshot>span {
    display: block;
    margin-bottom: 12px;
}

.membership-details-screenshot img {
    display: block;

    max-width: 100%;
    max-height: 350px;

    margin: 0 auto;

    object-fit: contain;

    border: 1px solid rgba(212, 175, 55, 0.45);
}

.membership-confirm-btn {
    width: 100%;

    margin-top: 25px;

    padding: 13px 20px;

    border: 1px solid #d4af37;

    background: #d4af37;

    color: #020807;

    font-family: "Poppins", sans-serif;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.membership-confirm-btn:hover {
    background: transparent;
    color: #d4af37;
}

/* =========================================
   ACTIVE MEMBERSHIP STATUS
========================================= */

.membership-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 24px;
    padding: 10px 24px;

    border: 1px solid #d8af32;
    border-radius: 3px;

    background: rgba(216, 175, 50, 0.12);

    color: #d8af32;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;

    box-shadow:
        0 0 12px rgba(216, 175, 50, 0.18),
        inset 0 0 10px rgba(216, 175, 50, 0.05);
}

/* =========================================
   MY ACTIVE MEMBERSHIPS
========================================= */

.my-active-memberships-section {
    width: 100%;
    padding: 70px 20px 30px;
}

.my-active-memberships-container {
    max-width: 1200px;
    margin: 0 auto;
}

.my-active-memberships-heading {
    text-align: center;
    margin-bottom: 40px;
}

.my-active-memberships-heading span {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #d8af32;
    margin-bottom: 10px;
}

.my-active-memberships-heading h2 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 32px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 2px;
}

.my-active-memberships-heading h2 strong {
    color: #d8af32;
    font-weight: 700;
}

.active-memberships-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Active membership card - temporary base style */
.active-membership-card {
    position: relative;
    padding: 35px;

    width: 540px;
    max-width: 100%;
    box-sizing: border-box;

    border: 1px solid rgba(216, 175, 50, 0.45);
    background: rgba(20, 20, 20, 0.8);
    border-radius: 6px;
    box-shadow:
        0 0 25px rgba(216, 175, 50, 0.08),
        inset 0 0 20px rgba(216, 175, 50, 0.03);
}

.active-membership-card .active-badge {
    display: inline-block;
    padding: 7px 14px;
    margin-bottom: 18px;
    border: 1px solid #d8af32;
    color: #d8af32;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.active-membership-card h3 {
    margin: 0 0 10px;
    font-family: "Cinzel", serif;
    font-size: 26px;
    color: #ffffff;
}

.active-membership-card .active-tier {
    color: #d8af32;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

@media (max-width: 768px) {

    .my-active-memberships-section {
        padding: 50px 15px 20px;
    }

    .my-active-memberships-heading h2 {
        font-size: 25px;
    }

    .active-memberships-grid {
        grid-template-columns: 1fr;
    }

}

.active-membership-card.membership-shinobi {
    background:
        linear-gradient(180deg,
            rgba(2, 15, 12, 0.45),
            rgba(2, 15, 12, 0.90)),
        url("../images/shinobi.jpg");

    background-size: cover;
    background-position: center;
}

.active-membership-card.membership-samurai {
    background:
        linear-gradient(180deg,
            rgba(2, 15, 12, 0.45),
            rgba(2, 15, 12, 0.90)),
        url("../images/samurai.jpg");

    background-size: cover;
    background-position: center;
}

.active-membership-card.membership-hero {
    background:
        linear-gradient(180deg,
            rgba(2, 15, 12, 0.45),
            rgba(2, 15, 12, 0.90)),
        url("../images/hero1.jpg");

    background-size: cover;
    background-position: center;
}

.active-membership-card.membership-legend {
    background:
        linear-gradient(180deg,
            rgba(2, 15, 12, 0.45),
            rgba(2, 15, 12, 0.90)),
        url("../images/legend.jpg");

    background-size: cover;
    background-position: center;
}
/* =========================================
   LUXURY ACTIVE MEMBERSHIP CARD
========================================= */

.active-membership-card {
    text-align: center;

    padding: 36px 36px 32px;

    border: 1px solid rgba(216, 175, 50, 0.65);
    border-radius: 6px;

    box-shadow:
        0 0 30px rgba(216, 175, 50, 0.12),
        inset 0 0 30px rgba(216, 175, 50, 0.04);
}


/* ACTIVE BADGE */

.active-membership-card .active-badge {
    display: block;

    width: fit-content;
    margin: 0 auto 22px;

    padding: 9px 22px;

    border: 1px solid rgba(216, 175, 50, 0.85);

    background: rgba(5, 8, 5, 0.55);

    color: #d8af32;

    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    box-shadow:
        0 0 12px rgba(216, 175, 50, 0.12);
}


/* TIER */

.active-membership-card .active-tier {
    margin-bottom: 6px;

    color: #d8af32;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 4px;
}


/* MEMBERSHIP NAME */

.active-membership-card h3 {
    margin: 0 0 26px;

    color: #ffffff;

    font-family: "Cinzel", serif;
    font-size: 30px;
    font-weight: 600;

    letter-spacing: 2px;

    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.15);
}


/* DETAILS AREA */

.active-membership-details {
    display: flex;
    flex-direction: column;

    gap: 18px;

    margin-bottom: 24px;
}


/* EACH DETAIL */

.active-detail-item {
    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 5px;
}


/* DETAIL LABEL */

.active-detail-item span {
    color: #d8af32;

    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


/* DETAIL VALUE */

.active-detail-item p {
    margin: 0;

    color: #ffffff;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;

    line-height: 1.6;

    letter-spacing: 0.5px;
}


/* EXPIRY DATE */

.active-detail-item:last-child p {
    color: #f0d477;

    font-weight: 600;
}


/* CANCEL BUTTON */

.cancel-membership-btn {
    display: block;

    width: 100%;

    margin-top: 8px;

    padding: 13px 20px;

    border: 1px solid rgba(216, 175, 50, 0.75);

    background: rgba(5, 8, 5, 0.7);

    color: #d8af32;

    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    cursor: pointer;

    transition: all 0.3s ease;
}


/* CANCEL HOVER */

.cancel-membership-btn:hover {
    background: #d8af32;

    color: #050805;

    box-shadow:
        0 0 20px rgba(216, 175, 50, 0.35);

    transform: translateY(-1px);
}
/* =========================================
   ACTIVE HERO MEMBERSHIP BACKGROUND
========================================= */

.active-membership-card.membership-hero {
    background:
        linear-gradient(
            180deg,
            rgba(2, 15, 12, 0.42),
            rgba(2, 15, 12, 0.90)
        ),
        url("../images/hero1.jpg") !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
/* =========================================
   MEMBERSHIP PAYMENT STATUS
========================================= */

.member-payment-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 110px;
    padding: 7px 12px;

    border-radius: 3px;

    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}


/* PAYMENT PENDING */

.member-payment-status.payment-pending {
    border: 1px solid rgba(216, 175, 50, 0.5);
    background: rgba(216, 175, 50, 0.08);
    color: #d8af32;
}


/* CONFIRMED */

.member-payment-status.payment-confirmed {
    border: 1px solid rgba(80, 200, 120, 0.5);
    background: rgba(80, 200, 120, 0.08);
    color: #63d88a;
}


/* REFUND PENDING */

.member-payment-status.refund-pending {
    border: 1px solid rgba(255, 100, 100, 0.65);
    background: rgba(255, 80, 80, 0.10);
    color: #ff7777;

    box-shadow:
        0 0 12px rgba(255, 80, 80, 0.12);
}
/* =========================================
   PENDING MEMBERSHIPS
========================================= */

.my-pending-memberships-section {
    width: 100%;
    padding: 50px 20px 30px;
}

.my-pending-memberships-container {
    max-width: 1200px;
    margin: 0 auto;
}

.my-pending-memberships-heading {
    text-align: center;
    margin-bottom: 35px;
}

.my-pending-memberships-heading span {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #d8af32;
    margin-bottom: 10px;
}

.my-pending-memberships-heading h2 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 30px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 2px;
}

.my-pending-memberships-heading h2 strong {
    color: #d8af32;
    font-weight: 700;
}

.pending-memberships-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pending-membership-card {
    width: 540px;
    padding: 35px;
    text-align: center;

    border: 1px solid rgba(216, 175, 50, 0.45);

    background:
        linear-gradient(
            180deg,
            rgba(10, 10, 10, 0.82),
            rgba(10, 10, 10, 0.96)
        );

    border-radius: 6px;

    box-shadow:
        0 0 25px rgba(216, 175, 50, 0.08),
        inset 0 0 20px rgba(216, 175, 50, 0.03);
}

.pending-badge {
    display: inline-block;

    padding: 7px 15px;
    margin-bottom: 18px;

    border: 1px solid #d8af32;

    color: #d8af32;

    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.pending-tier {
    color: #d8af32;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 3px;
    margin-bottom: 8px;
}

.pending-membership-card h3 {
    margin: 0 0 25px;

    font-family: "Cinzel", serif;
    font-size: 28px;
    font-weight: 600;

    color: #ffffff;
}

.pending-membership-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.pending-detail-item {
    text-align: center;
}

.pending-detail-item span {
    display: block;

    margin-bottom: 5px;

    color: #d8af32;

    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;
}

.pending-detail-item p {
    margin: 0;

    color: #ffffff;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.pending-membership-card .cancel-membership-btn {
    margin-top: 25px;

    padding: 11px 24px;

    border: 1px solid #d8af32;
    border-radius: 3px;

    background: rgba(216, 175, 50, 0.08);

    color: #d8af32;

    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition: all 0.25s ease;
}

.pending-membership-card .cancel-membership-btn:hover {
    background: #d8af32;
    color: #111111;

    box-shadow:
        0 0 15px rgba(216, 175, 50, 0.25);
}

@media (max-width: 768px) {

    .my-pending-memberships-section {
        padding: 40px 15px 20px;
    }

    .pending-membership-card {
        width: 100%;
        padding: 28px 20px;
    }

    .my-pending-memberships-heading h2 {
        font-size: 24px;
    }
}
/* =========================================
   PENDING MEMBERSHIP BACKGROUND IMAGES
========================================= */

.pending-membership-card {
    position: relative;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pending-membership-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(2, 15, 12, 0.35),
            rgba(2, 15, 12, 0.92)
        );

    z-index: 0;
}

.pending-membership-card > * {
    position: relative;
    z-index: 1;
}

.pending-membership-card.pending-shinobi {
    background-image: url("../images/shinobi.jpg");
}

.pending-membership-card.pending-samurai {
    background-image: url("../images/samurai.jpg");
}

.pending-membership-card.pending-hero {
    background-image: url("../images/hero1.jpg");
}

.pending-membership-card.pending-legend {
    background-image: url("../images/legend.jpg");
}
/* =========================================
   MEMBERSHIP REFUND BUTTON
========================================= */

.membership-refund-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px 24px;

    border: 1px solid #ff7777;
    border-radius: 3px;

    background: rgba(255, 80, 80, 0.08);

    color: #ff7777;

    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition: all 0.25s ease;
}

.membership-refund-btn:hover {
    background: #ff7777;
    color: #111111;

    box-shadow:
        0 0 15px rgba(255, 80, 80, 0.25);
}
.active-membership-card .cancel-membership-btn {
    color: #d8af32 !important;
    background: rgba(216, 175, 50, 0.08) !important;
    border: 1px solid #d8af32 !important;
}
/* =========================================
   MEMBERSHIP PAYMENT STATUS COLORS
========================================= */

.member-payment-status {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.member-payment-status.payment-pending {
    color: #f4c430 !important;
}

.member-payment-status.payment-confirmed {
    color: #39d98a !important;
}

.member-payment-status.refund-pending {
    color: #ff9f43 !important;
}

.member-payment-status.membership-cancelled {
    color: #ff5c5c !important;
}

.member-payment-status.payment-refunded {
    color: #b56cff !important;
}
/* =========================================
   MEMBERSHIP DISCLAIMER
========================================= */

.membership-disclaimer-section {
    width: 100%;
    padding: 70px 6% 60px;
    box-sizing: border-box;
}

.membership-disclaimer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 40px;
    text-align: center;

    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 14px;

    background: rgba(8, 15, 15, 0.85);

    box-shadow:
        0 0 25px rgba(212, 175, 55, 0.08),
        inset 0 0 20px rgba(212, 175, 55, 0.03);
}

.membership-disclaimer-container span {
    display: block;

    margin-bottom: 14px;

    font-family: "Cinzel", serif;
    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    color: #d4af37;
}

.membership-disclaimer-container p {
    margin: 0;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.8;

    color: #d8d8d8;
}
/* =========================================
   SAVE DISCLAIMER BUTTON
========================================= */

.membership-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 22px;
    padding: 12px 26px;

    border: 1px solid rgba(218, 169, 58, 0.75);
    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            #d9a62e,
            #b47b18
        );

    color: #07110d;

    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
        0 0 10px rgba(218, 169, 58, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.membership-save-btn:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            #f0c75e,
            #d9a62e
        );

    box-shadow:
        0 0 15px rgba(218, 169, 58, 0.45),
        0 5px 20px rgba(0, 0, 0, 0.35);
}

.membership-save-btn:active {
    transform: translateY(0);
}

/* =========================================
   SC ANIME — MEMBERSHIP CANCEL MODAL
   Black + Emerald + Gold Theme
========================================= */

#membership-cancel-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    background: rgba(0, 5, 4, 0.86);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

#membership-cancel-modal .membership-cancel-box {
    position: relative;

    width: 100%;
    max-width: 470px;
    box-sizing: border-box;

    padding: 35px 30px;

    text-align: center;

    background:
        radial-gradient(
            ellipse at top,
            rgba(8, 70, 52, 0.30),
            transparent 65%
        ),
        linear-gradient(145deg, #06150f, #020807);

    border: 1px solid rgba(218, 169, 58, 0.75);
    border-radius: 12px;

    box-shadow:
        0 0 15px rgba(218, 169, 58, 0.20),
        0 0 40px rgba(15, 167, 123, 0.10),
        0 25px 70px rgba(0, 0, 0, 0.65);

    animation: membershipCancelEnter 0.25s ease-out;
}

/* Gold top line */

#membership-cancel-modal .membership-cancel-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;

    width: 70%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #d9a62e,
        #fff0a3,
        #d9a62e,
        transparent
    );
}

/* Warning icon */

#membership-cancel-modal .membership-cancel-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin: 0 auto 18px;

    color: #e5c55e;
    font-size: 26px;

    background: rgba(218, 169, 58, 0.08);
    border: 1px solid rgba(218, 169, 58, 0.50);
    border-radius: 50%;

    box-shadow: 0 0 20px rgba(218, 169, 58, 0.10);
}

/* Small label */

#membership-cancel-modal .membership-cancel-eyebrow {
    margin: 0 0 12px;

    color: #d9a62e;
    font-family: "Cinzel", serif;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

/* Modal heading */

#membership-cancel-modal .membership-cancel-box h2 {
    margin: 0;

    color: #fff8df;
    font-family: "Cinzel", serif;

    font-size: clamp(20px, 4vw, 27px);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.4;

    text-shadow: 0 0 12px rgba(218, 169, 58, 0.12);
}

#membership-cancel-modal .membership-cancel-box h2 span {
    color: #e5c55e;
}

/* Gold divider */

#membership-cancel-modal .membership-cancel-line {
    width: 65px;
    height: 2px;

    margin: 18px auto;

    background: linear-gradient(
        90deg,
        transparent,
        #d9a62e,
        #fff0a3,
        #d9a62e,
        transparent
    );
}

/* Confirmation text */

#membership-cancel-modal .membership-cancel-message {
    margin: 0;

    color: rgba(255, 255, 255, 0.82);
    font-family: "Poppins", sans-serif;

    font-size: 13px;
    line-height: 1.8;
}

/* Refund warning */

#membership-cancel-modal .membership-cancel-warning {
    margin: 20px 0 0;
    padding: 13px 14px;

    color: #f0d58a;
    background: rgba(218, 169, 58, 0.07);

    border: 1px solid rgba(218, 169, 58, 0.30);
    border-radius: 6px;

    font-family: "Poppins", sans-serif;
    font-size: 11px;
    line-height: 1.8;
}

#membership-cancel-modal .membership-cancel-warning i {
    margin-right: 5px;
    color: #e5c55e;
}

/* Action buttons */

#membership-cancel-modal .membership-cancel-actions {
    display: flex;
    flex-direction: column;
    gap: 11px;

    margin-top: 25px;
}

#membership-cancel-modal .membership-cancel-actions button {
    width: 100%;
    min-height: 46px;
    padding: 13px 18px;

    box-sizing: border-box;
    border-radius: 5px;

    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;

    cursor: pointer;
    transition: all 0.25s ease;
}

/* Confirm cancellation */

#membership-cancel-modal #confirm-membership-cancel {
    color: #07110d;

    background: linear-gradient(
        110deg,
        #f0d477,
        #d9a62e,
        #b47b18
    );

    border: 1px solid #e5c55e;

    box-shadow: 0 4px 15px rgba(218, 169, 58, 0.12);
}

#membership-cancel-modal #confirm-membership-cancel:hover {
    transform: translateY(-2px);

    box-shadow: 0 7px 22px rgba(218, 169, 58, 0.25);
}

#membership-cancel-modal #confirm-membership-cancel:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

/* Keep membership */

#membership-cancel-modal #keep-membership {
    color: #e5c55e;
    background: rgba(15, 167, 123, 0.05);

    border: 1px solid rgba(15, 167, 123, 0.45);
}

#membership-cancel-modal #keep-membership:hover {
    color: #fff0a3;
    background: rgba(15, 167, 123, 0.13);
    border-color: #0fa77b;
}

/* Entry animation */

@keyframes membershipCancelEnter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile */

@media (max-width: 480px) {
    #membership-cancel-modal {
        padding: 16px;
    }

    #membership-cancel-modal .membership-cancel-box {
        padding: 28px 20px;
    }

    #membership-cancel-modal .membership-cancel-icon {
        width: 56px;
        height: 56px;
        font-size: 23px;
    }

    #membership-cancel-modal .membership-cancel-warning {
        font-size: 10px;
    }
}

/* =========================================
   PREMIUM PAYMENT REJECTION MESSAGE
========================================= */

.payment-rejection-reason {
    position: relative;
    margin: 18px auto 22px;
    padding: 16px 20px;
    max-width: 440px;

    background: linear-gradient(
        135deg,
        rgba(3, 24, 18, 0.94),
        rgba(1, 10, 8, 0.96)
    );

    border: 1px solid rgba(216, 175, 50, 0.55);
    border-left: 3px solid #d9a62e;
    border-radius: 8px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.30),
        0 0 16px rgba(216, 175, 50, 0.07);

    text-align: left;
}

.payment-rejection-reason strong {
    display: block;
    margin-bottom: 9px;

    color: #e5c55e;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.payment-rejection-reason p {
    margin: 0;
    color: #fff8df;

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

/* =========================================
   FIX — CANCEL MEMBERSHIP TEXT VISIBILITY
========================================= */

.pending-membership-card .cancel-membership-btn {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 13px 20px;

    background: rgba(2, 12, 9, 0.92) !important;
    color: #f5d66f !important;

    border: 1px solid #d9a62e !important;
    border-radius: 5px;

    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;

    text-align: center;
    text-transform: uppercase;
    opacity: 1 !important;
    cursor: pointer;

    box-shadow:
        inset 0 0 12px rgba(216, 175, 50, 0.05),
        0 4px 15px rgba(0, 0, 0, 0.25);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.pending-membership-card .cancel-membership-btn:hover {
    background: linear-gradient(
        135deg,
        #f0cf61,
        #c99a24
    ) !important;

    color: #07110d !important;
    transform: translateY(-2px);

    box-shadow:
        0 0 16px rgba(216, 175, 50, 0.25);
}

/* Rejected payment status */

.pending-membership-card .pending-detail-item p {
    overflow-wrap: anywhere;
    line-height: 1.7;
}

/* Membership Payment Success - Back Button */
.membership-payment-success button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #e3bd32, #c99c19);
    color: #06110d;
    border: 1px solid #e3bd32;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.membership-payment-success button:hover {
    background: transparent;
    color: #e3bd32;
    box-shadow: 0 0 15px rgba(227, 189, 50, 0.2);
}

/* Admin Membership - Reject Payment Button */
.membership-reject-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 13px 20px;
    background: transparent;
    color: #e8bd36;
    border: 1px solid #e8bd36;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.membership-reject-btn:hover {
    background: #e8bd36;
    color: #06110d;
    box-shadow: 0 0 14px rgba(232, 189, 54, 0.2);
}

/* Admin Membership - Confirm Membership Button */
.membership-confirm-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #e8c547, #d4a928);
    color: #06110d;
    border: 1px solid #e8c547;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.membership-confirm-btn:hover {
    background: transparent;
    color: #e8c547;
    box-shadow: 0 0 16px rgba(232, 197, 71, 0.22);
}


.membership-confirm-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(6px);
}

.membership-confirm-modal {
    position: relative !important;
    width: 100% !important;
    max-width: 440px !important;
    padding: 35px 28px !important;
    background: #06110d !important;
    color: #fff !important;
    border: 1px solid #e8c547 !important;
    border-radius: 8px !important;
    box-shadow: 0 0 35px rgba(232, 197, 71, 0.2) !important;
    text-align: center !important;
}

.membership-confirm-modal h2 {
    color: #e8c547 !important;
    font-family: 'Cinzel', serif !important;
    font-size: 20px !important;
}

.membership-confirm-modal p {
    color: #eee !important;
    line-height: 1.8 !important;
}

.membership-confirm-actions button {
    padding: 12px 20px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.membership-confirm-cancel {
    background: transparent !important;
    color: #e8c547 !important;
    border: 1px solid #e8c547 !important;
}

.membership-confirm-accept {
    background: #e8c547 !important;
    color: #06110d !important;
    border: 1px solid #e8c547 !important;
}

.membership-confirm-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: #e8c547 !important;
    border: 1px solid #e8c547 !important;
    border-radius: 4px !important;
    font-size: 22px !important;
    cursor: pointer !important;
}

.membership-confirm-close:hover {
    background: #e8c547 !important;
    color: #06110d !important;
}

.membership-reason-modal .membership-reason-input {
    display: block;
    width: 100%;
    min-height: 110px;
    box-sizing: border-box;
    margin-top: 22px;
    padding: 14px;
    background: #020806;
    color: #ffffff;
    border: 1px solid rgba(232, 197, 71, 0.65);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
    outline: none;
}

.membership-reason-modal .membership-reason-input:focus {
    border-color: #e8c547;
    box-shadow: 0 0 12px rgba(232, 197, 71, 0.15);
}

.membership-reason-modal .membership-reason-input::placeholder {
    color: #8b918d;
}

/* Membership - Retry Payment Button */
.retry-membership-payment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #e8c547, #d4a928);
    color: #06110d;
    border: 1px solid #e8c547;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-membership-payment-btn:hover {
    background: transparent;
    color: #e8c547;
    box-shadow: 0 0 16px rgba(232, 197, 71, 0.22);
    transform: translateY(-2px);
}

.retry-membership-payment-btn:focus-visible {
    outline: 2px solid #e8c547;
    outline-offset: 3px;
}

/* Admin Membership - Customer Details Button */
.member-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.member-customer-details-btn {
    padding: 10px 14px;
    background: transparent;
    color: #e8c547;
    border: 1px solid #e8c547;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.member-customer-details-btn:hover {
    background: #e8c547;
    color: #06110d;
}

/* Admin Membership - Customer Details Modal */
.membership-customer-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
}

.membership-customer-modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 35px;
    background: #06110d;
    border: 1px solid #d9b52e;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(217, 181, 46, 0.15);
}

.membership-customer-modal-content h2 {
    margin: 0;
    color: #e8c547;
    font-family: 'Cinzel', serif;
    font-size: 23px;
}

.membership-customer-modal-line {
    width: 65px;
    height: 2px;
    margin: 15px 0 25px;
    background: #e8c547;
}

.membership-customer-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.membership-customer-detail-item span {
    color: #aaa;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.membership-customer-detail-item strong {
    color: #fff;
    font-size: 13px;
    text-align: right;
    overflow-wrap: anywhere;
}

.membership-customer-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: transparent;
    color: #e8c547;
    border: 1px solid #e8c547;
    border-radius: 4px;
    font-size: 22px;
    cursor: pointer;
}

.membership-customer-modal-close:hover {
    background: #e8c547;
    color: #06110d;
}

@media (max-width: 480px) {
    .membership-customer-modal-content {
        padding: 28px 20px;
    }

    .membership-customer-modal-content h2 {
        font-size: 19px;
    }
}

/* Fix membership table action button overlap */
.member-action-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    min-width: 110px;
    width: 110px;
}

.member-action-buttons .member-view-btn,
.member-action-buttons .member-customer-details-btn {
    display: block;
    position: static;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 10px 8px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.5;
}

.member-action-buttons .member-customer-details-btn {
    white-space: normal;
}

.member-action-buttons button {
    float: none;
    transform: none;
}

@media (max-width: 768px) {
    .member-action-buttons {
        min-width: 100px;
        width: 100px;
    }
}

/* Membership table action buttons - same row */
.member-action-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    min-width: 0;
    white-space: nowrap;
}

.member-action-buttons .member-view-btn,
.member-action-buttons .member-customer-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 75px;
    min-height: 40px;
    margin: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    position: static;
    float: none;
    transform: none;
}

.member-action-buttons .member-customer-details-btn {
    min-width: 100px;
}

/* Separate STATUS and ACTION columns */
.membership-table th:nth-last-child(2),
.membership-table td:nth-last-child(2) {
    min-width: 125px;
    padding-right: 18px;
    text-align: center;
    white-space: nowrap;
}

.membership-table th:last-child,
.membership-table td:last-child {
    min-width: 235px;
    padding-left: 18px;
    white-space: nowrap;
}

/* Keep action buttons inside their own column */
.member-action-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: max-content;
    position: static;
}

/* Keep membership status and action columns separate */
.member-action-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
}

.member-action-buttons .member-view-btn {
    flex-shrink: 0;
    min-width: 75px;
}

.member-action-buttons .member-customer-details-btn {
    flex-shrink: 0;
    min-width: 135px;
}

.member-action-buttons button {
    position: static !important;
    margin: 0 !important;
    transform: none !important;
}

/* FINAL FIX: Separate membership status from action buttons */
.members-table-row {
    display: grid !important;
    grid-template-columns:
        60px
        100px
        160px
        120px
        80px
        130px
        minmax(240px, 1fr) !important;
    align-items: center !important;
    column-gap: 10px !important;
}

.members-table-row > span {
    min-width: 0;
    box-sizing: border-box;
}

.members-table-row > span:nth-child(6) {
    text-align: center;
    white-space: nowrap;
    padding-right: 8px;
}

.members-table-row > span:nth-child(7) {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
    padding-left: 8px;
}

.member-action-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
}

.members-table-header {
    display: grid !important;
    grid-template-columns:
        60px
        100px
        160px
        120px
        80px
        130px
        minmax(240px, 1fr) !important;
    column-gap: 10px !important;
}
/* Membership Status Filter */
#membership-status-filter {
    min-width: 180px;
    padding: 10px 14px;
    background: #050909;
    color: #f5c400;
    border: 1px solid #d4af37;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

#membership-status-filter:focus {
    border-color: #ffe066;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.3);
}

#membership-status-filter option {
    background: #050909;
    color: #f5c400;
}
/* =========================================
   ADMIN MEMBERSHIP — PAGINATION
========================================= */

.membership-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
    padding: 15px;
}

.membership-pagination button {
    background: linear-gradient(135deg, #d9a62e, #b47b18);
    color: #07110d;
    border: 1px solid #e5c55e;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.25s ease;
}

.membership-pagination button:hover:not(:disabled) {
    background: #f0cf55;
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(218, 169, 58, 0.35);
}

.membership-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.membership-pagination span {
    color: #e5c55e;
    font-weight: 600;
    font-size: 14px;
}
/* =========================================
   ADMIN MEMBERSHIP — EXPORT EXCEL BUTTON
========================================= */

.member-export-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin: 12px 0 18px;
    padding: 11px 20px;

    background: linear-gradient(135deg, #d9a62e, #b47b18);
    color: #07110d;

    border: 1px solid #e5c55e;
    border-radius: 6px;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;

    cursor: pointer;
    transition: all 0.25s ease;
}

.member-export-btn i {
    font-size: 15px;
}

.member-export-btn:hover {
    background: linear-gradient(135deg, #f0cf55, #d9a62e);
    transform: translateY(-2px);

    box-shadow:
        0 0 12px rgba(218, 169, 58, 0.35),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.member-export-btn:active {
    transform: translateY(0);
}
/* =========================================================
   CANCELLED MEMBERSHIPS — HEADING ONLY
   Only styles MEMBERSHIP HISTORY + CANCELLED MEMBERSHIPS.
   Other membership sections and cards remain unchanged.
========================================================= */

.my-cancelled-memberships-heading {
    width: 100%;
    margin: 0 auto 26px;
    text-align: center;
    box-sizing: border-box;
}

.my-cancelled-memberships-heading > span {
    display: block;
    margin: 0 0 10px;
    color: #d9a62e;
    font-family: "Cinzel", serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    line-height: 1.6;
    text-transform: uppercase;
}

.my-cancelled-memberships-heading h2 {
    margin: 0;
    color: #f4f1df;
    font-family: "Cinzel", serif;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.25;
    text-align: center;
}

.my-cancelled-memberships-heading h2 strong {
    color: #e5c55e;
}

@media (max-width: 700px) {
    .my-cancelled-memberships-heading {
        margin-bottom: 20px;
    }

    .my-cancelled-memberships-heading > span {
        font-size: 9px;
        letter-spacing: 2.5px;
    }

    .my-cancelled-memberships-heading h2 {
        font-size: clamp(22px, 6vw, 30px);
        letter-spacing: 1px;
    }
}
/* Move Cancelled Memberships above Membership Policy */
.my-cancelled-memberships-section {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* CANCELLED MEMBERSHIPS - FOLDER VIEW ONLY */

.my-cancelled-memberships-section {
    padding: 20px 5% 30px;
}

.my-cancelled-memberships-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

.cancelled-memberships-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    color: #f4f1df;
    text-align: left;
    cursor: pointer;
    background: linear-gradient(110deg, #071b14, #020807);
    border: 1px solid rgba(218, 169, 58, 0.55);
    border-radius: 10px;
}

.cancelled-memberships-toggle:hover {
    border-color: #e5c55e;
}

.cancelled-folder-icon {
    color: #e5c55e;
    font-size: 26px;
}

.cancelled-heading-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
}

.cancelled-heading-text small {
    color: #d9a62e;
    font-size: 10px;
    letter-spacing: 3px;
}

.cancelled-heading-text strong {
    color: #f4f1df;
    font-family: "Cinzel", serif;
    font-size: clamp(17px, 2.5vw, 24px);
}

.cancelled-chevron {
    color: #e5c55e;
    transition: transform 0.25s ease;
}

.cancelled-memberships-toggle[aria-expanded="true"] .cancelled-chevron {
    transform: rotate(180deg);
}

.cancelled-memberships-content {
    padding-top: 20px;
}

.cancelled-memberships-content[hidden] {
    display: none !important;
}

.cancelled-memberships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 420px));
    justify-content: center;
    gap: 20px;
}

@media (max-width: 600px) {
    .my-cancelled-memberships-section {
        padding: 16px 18px 24px;
    }

    .cancelled-memberships-toggle {
        padding: 16px;
        gap: 12px;
    }

    .cancelled-folder-icon {
        font-size: 22px;
    }

    .cancelled-heading-text small {
        font-size: 9px;
        letter-spacing: 2px;
    }
}

/* CANCELLED MEMBERSHIPS — COMPACT FOLDER BAR */

.cancelled-memberships-toggle {
    padding: 13px 18px !important;
    gap: 12px !important;
    border-radius: 8px !important;
}

.cancelled-folder-icon {
    font-size: 20px !important;
}

.cancelled-heading-text {
    gap: 3px !important;
}

.cancelled-heading-text small {
    font-size: 8px !important;
    letter-spacing: 2.5px !important;
}

.cancelled-heading-text strong {
    font-size: 17px !important;
    letter-spacing: 0.5px !important;
}

.cancelled-chevron {
    font-size: 12px !important;
}

@media (max-width: 600px) {
    .cancelled-memberships-toggle {
        padding: 11px 13px !important;
        gap: 10px !important;
    }

    .cancelled-folder-icon {
        font-size: 17px !important;
    }

    .cancelled-heading-text small {
        font-size: 7px !important;
        letter-spacing: 2px !important;
    }

    .cancelled-heading-text strong {
        font-size: 14px !important;
    }
}
/* Cancelled membership compact list */
.cancelled-memberships-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cancelled-membership-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
}

.cancelled-row-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.cancelled-row-info strong {
    font-size: 15px;
}

.cancelled-row-info span {
    font-size: 12px;
    color: #777;
}

.cancelled-row-status {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.cancelled-membership-view-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    background: #222;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.cancelled-membership-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
}

.cancelled-modal-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px;
    border-radius: 14px;
    background: #fff;
    color: #222;
}

.cancelled-modal-box h2 {
    margin: 0 30px 20px 0;
}

.cancelled-modal-box p {
    margin: 12px 0;
    overflow-wrap: anywhere;
    font-size: 14px;
}

.cancelled-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .cancelled-membership-row {
        flex-wrap: wrap;
    }

    .cancelled-row-info {
        flex-basis: 60%;
    }

    .cancelled-row-status {
        text-align: left;
    }
}
.cancelled-row-info strong {
    color: #111 !important;
}

.cancelled-row-info span {
    color: #666 !important;
}

.cancelled-row-status {
    color: #222 !important;
}

.cancelled-membership-view-btn {
    color: #fff !important;
}

/* Membership Upgrade Request Card */
.upgrade-request-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 28px;
    margin: 20px auto;
    background: linear-gradient(145deg, #071b15, #020806);
    border: 1px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.15);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.upgrade-request-badge {
    display: inline-block;
    padding: 7px 14px;
    margin-bottom: 18px;
    border: 1px solid #d4af37;
    border-radius: 4px;
    color: #f5cc55;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.upgrade-request-card h3 {
    margin: 0 0 18px;
    color: #f5cc55;
    font-family: 'Cinzel', serif;
    font-size: 22px;
    text-align: center;
}

.upgrade-request-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}

.upgrade-request-detail {
    padding: 12px;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 6px;
}

.upgrade-request-detail span {
    display: block;
    margin-bottom: 6px;
    color: #c5b77b;
    font-size: 10px;
    letter-spacing: 1px;
}

.upgrade-request-detail strong {
    color: #ffffff;
    font-size: 13px;
}

.upgrade-request-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.upgrade-request-actions button {
    flex: 1;
    min-height: 42px;
    border: 1px solid #d4af37;
    border-radius: 4px;
    background: transparent;
    color: #f5cc55;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.upgrade-request-actions button:hover {
    background: #d4af37;
    color: #06110c;
}

.upgrade-request-status {
    color: #f5cc55;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .upgrade-request-card {
        padding: 20px;
    }

    .upgrade-request-actions {
        flex-direction: column;
    }
}
.upgrade-rejection-reason {
    margin-top: 16px;
    padding: 14px;
    border-left: 3px solid #d4af37;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 4px;
}

.upgrade-rejection-reason span {
    display: block;
    margin-bottom: 8px;
    color: #f5cc55;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.upgrade-rejection-reason p {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.6;
}