/* Membership styling - Public Landing + Dashboard Widgets */

/* Dashboard Page Wrapper */

.page-wrap {
    padding: 0 50px 60px;
}

.page-top {
    padding-top: 35px;
    margin-bottom: 30px;
}

.page-top h1,
.premium-title {
    font-family: "Tenor Sans", serif;
    font-size: 32px;
    font-weight: 400;
    color: #c9a86a;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.page-top p,
.premium-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-family: "Urbanist", sans-serif;
    line-height: 1.6;
}

/* Active Dashboard Grid */

.membership-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.section-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px;
}

.tier-badge-small {
    font-size: 14px;
    color: #bdbdbd;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.active-tier-name {
    font-family: "Tenor Sans", serif;
    font-size: 32px;
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.plan-action-btn {
    background: #c9a86a;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border: none;
    cursor: pointer;
    margin-bottom: 30px;
}

.privilege-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.privilege-ico {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    filter: brightness(0) saturate(100%) invert(75%) sepia(26%) saturate(831%)
        hue-rotate(3deg) brightness(92%) contrast(84%);
}

.privilege-txt {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Referral Card */

.referral-stat-box {
    background: rgba(201, 168, 106, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    margin: 25px 0;
    gap: 10px;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(201, 168, 106, 0.3);
}

.stat-num {
    font-size: 32px;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 300;
    font-family: "Tenor Sans", serif;
}

.stat-lbl {
    font-size: 14px;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Dashboard Landing Tiers */

.tiers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto 0;
    align-items: stretch;
}

.tiers-container > .tier-card {
    flex: 1;
    min-width: 370px;
    max-width: 420px;
}

.tier-card {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 45px !important;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.tier-card-content {
    flex: 1;
    display: flex;
    padding: 60px 45px !important;
    flex-direction: column;
    background: #232323;
}

.tier-label {
    font-family: "Tenor Sans", serif;
    font-size: 36px;
    color: #fff;
    margin-bottom: 45px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tier-subtitle {
    font-family: "Tenor Sans", serif;
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Join Button (Dashboard) */

.join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: #c9a86a;
    color: #000;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    margin-top: auto;
    font-family: "Urbanist", sans-serif;
    text-transform: none;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    letter-spacing: 0.5px;
}

.join-btn:hover {
    background: #d4b984;
}

.privileges-box-landing {
    margin-bottom: 30px;
}

/* Force Beige Bullets for Exclusive Privileges - Extremely Resilient Version */
.privileges-box-landing li,
.exclusive-privileges li {
    position: relative;
    margin-bottom: 12px;
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
    font-family: "Urbanist", sans-serif;
}

/* Removed custom dot logic as it conflicts with RichText bullets */

.privileges-box-landing ul,
.exclusive-privileges ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 !important;
}

.privileges-box-landing ul,
.exclusive-privileges ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 !important;
}

.tier-card,
.tier-body,
.tier-card-content {
    overflow: visible !important;
}

.tier-select-btn {
    margin-top: auto !important;
}

/* Billing */

.billing-box {
    border: 1px solid rgba(201, 168, 106, 0.3);
    padding: 30px;
    max-width: 1200px;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.bill-total {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 17px;
    color: #fff;
    font-weight: 400;
}

/* Success State */

.success-circle {
    width: 100px;
    height: 100px;
    border: 2px solid #c9a86a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px auto 30px;
}

.success-circle svg {
    width: 45px;
    height: 45px;
    color: #c9a86a;
}

.success-txt {
    text-align: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
}

.success-sub {
    text-align: center;
    font-size: 14px;
    color: #c9a86a;
    margin-bottom: 40px;
}

.back-btn-link {
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    font-size: 13px;
}

/* Invite Grid */

.invite-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
    align-items: stretch;
}

.ref-image-box {
    position: relative;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.code-pill {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 30px;
    font-size: 24px;
    font-family: "Tenor Sans", serif;
    letter-spacing: 4px;
    border-radius: 4px;
    border: 1px dashed #c9a86a;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.code-pill:hover {
    background: #c9a86a;
    color: #000;
    border-style: solid;
    transform: translateX(-50%) translateY(-2px);
}

.share-link-section {
    grid-column: 1 / 2;
    margin-top: 15px;
}

.share-link-box {
    background: #161616;
    border: 1px solid rgba(201, 168, 106, 0.2);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 2px;
}

.share-link-input {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    flex: 1;
    cursor: default;
    font-family: "Urbanist", sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.copy-link-btn {
    background: transparent;
    color: #c9a86a;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border: 1px solid rgba(201, 168, 106, 0.4);
    transition: 0.2s;
    white-space: nowrap;
}

.copy-link-btn:hover {
    background: #c9a86a;
    color: #000;
}

.invite-form-box {
    display: flex;
    flex-direction: column;
}

.invite-form-box label {
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.invite-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px;
    color: #fff;
    margin-bottom: 24px;
    font-family: "Urbanist", sans-serif;
    border-radius: 2px;
    font-size: 13px;
}

.follow-invite-btn-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    text-align: center;
}

.share-btn {
    background: #c9a86a;
    color: #000;
    border: none;
    padding: 15px;
    font-weight: 700;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.share-btn:hover {
    background: #d4b984;
}

.how-it-works {
    background: #111;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.how-it-works h4 {
    font-family: "Tenor Sans", serif;
    font-size: 18px;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 400;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
    padding-left: 18px;
    font-family: "Urbanist", sans-serif;
}

.step-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background: #c9a86a;
    border-radius: 50%;
}

/* Public Membership Landing Page */

/* Hero */

.hero2 {
    height: 450px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("../Images/membership_hero.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Membership Benefits Section */

.membership-benefits {
    padding: 70px 0;
    background: #181818;
    text-align: center;
}

.membership-benefits h2 {
    font-family: "Tenor Sans", serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 16px;
    margin-top: -20px;
    text-transform: uppercase;
}

.membership-benefits .subtitle {
    max-width: 1250px;
    margin: 0 auto 60px;
    color: #bdbdbd;
    font-size: 17px;
    line-height: 1.7;
    font-family: "Urbanist", sans-serif;
}

/* 2-column benefits grid (2x2 layout) */
.benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    border-radius: 12px;
}

.benefit-icon-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(201, 168, 106, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.benefit-icon {
    width: 52px;
    height: 52px;
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(75%) sepia(26%) saturate(831%)
        hue-rotate(3deg) brightness(92%) contrast(84%);
    /* Gold color force */
}

.benefit-content h4 {
    font-family: "Tenor Sans", serif;
    font-size: 19px;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 1px;
    font-weight: 400;
}

.benefit-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    margin: 0;
}

/* Membership Tiers Section */

.membership-tiers {
    padding: 90px 0;
    background-color: transparent !important;
    text-align: center;
}

.membership-tiers h2 {
    font-family: "Tenor Sans", serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 16px;
    margin-top: -30px;
    text-transform: uppercase;
}

.membership-tiers .subtitle {
    max-width: 600px;
    margin: 0 auto 60px;
    color: #bdbdbd;
    font-size: 17px;
    line-height: 1.7;
    font-family: "Urbanist", sans-serif;
}

/* Flex-based tier grid for better centering of new items */
.tiers-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.tiers-grid > .tier-card {
    flex: 0 1 370px !important;
}

/* Tier cards */
.tier-card {
    overflow: hidden;
    text-align: left;
    min-width: 370px !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    position: relative;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.tier-header {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.tier-header img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.tier-body {
    padding: 36px;
    flex: 1;
    display: flex;

    flex-direction: column;
    background: radial-gradient(ellipse at center, #8b7140 0%, #000000 90%);
}

.tier-body h4 {
    font-family: "Tenor Sans", serif;
    font-size: 34px !important;
    /* Large titles matching mockup */
    color: #fff !important;
    margin-bottom: 20px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
}

.exclusive-privileges {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px !important;
}

/* Custom Scrollbar for Exclusive Privileges */
.exclusive-privileges::-webkit-scrollbar {
    width: 4px;
}
.exclusive-privileges::-webkit-scrollbar-track {
    background: transparent;
}
.exclusive-privileges::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 106, 0.3);
    border-radius: 4px;
}

.tier-desc {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 15px !important;
    margin-bottom: 25px !important;
    line-height: 1.6 !important;
    font-family: "Urbanist", sans-serif !important;
    min-height: 130px;
    display: block !important;
}

.tier-subtitle {
    font-family: "Tenor Sans", serif !important;
    font-size: 18px !important;
    color: #c9a86a !important;
    /* Gold subtitle from mockup */
    margin-bottom: 20px !important;
    margin-top: 10px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    display: block !important;
}

.divider {
    height: 1.5px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    margin-bottom: 25px !important;
    margin-top: 0 !important;
    width: 100% !important;
}

.tier-body ul,
.privileges-list-modern,
.dashboard-priv-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 auto 0 !important;
}

.tier-body li,
.modern-priv-li,
.dashboard-priv-li,
.public-priv-li {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 18px;
    padding-left: 22px;
    position: relative;
    font-family: "Urbanist", sans-serif;
    line-height: 1.5;
    list-style: none !important;
}

.tier-body li::before,
.modern-priv-li::before,
.dashboard-priv-li::before,
.public-priv-li::before {
    content: "·" !important;
    position: absolute !important;
    left: 0 !important;
    top: -1px !important;
    font-size: 24px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.5 !important;
    display: block !important;
}

/* Select button pinned to bottom */
.tier-select-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: #c9a86a;
    border: none;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 13px;
    font-family: "Urbanist", sans-serif;
    margin-top: auto !important;
    text-align: center;
    text-decoration: none;
}

.tier-select-btn:hover {
    background: #d4b984;
}

/* Responsive: Dashboard */

@media (max-width: 1300px) {
    .membership-grid {
        grid-template-columns: 1fr !important;
    }

    .tiers-container,
    .tiers-grid {
        gap: 20px !important;
        justify-content: center !important;
    }

    .tiers-container > .tier-card,
    .tiers-grid > .tier-card {
        min-width: 320px !important;
        flex: 0 1 calc(50% - 20px) !important;
    }

    .invite-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 900px) {
    .invite-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .tier-header img {
        height: 400px;
        margin-top: 0;
    }

    .membership-tiers {
        margin-top: -20px;
    }
}

@media (max-width: 700px) {
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }

    .tiers-container > .tier-card,
    .tiers-grid > .tier-card {
        flex: 0 1 100% !important;
        min-width: 100% !important;
    }
}
