/* Shared visual foundation for public, member and administrator pages. */
/* Variables, reset and base element styles. */
:root {
    --green: #103c30;
    --deep: #082921;
    --gold: #c6a565;
    --ivory: #f6f2e9;
    --ink: #162620;
    --muted: #64716c;
    --line: #d9d2c4;
    --white: #fff;
    --danger: #a9443a
}
* {
    box-sizing: border-box
}
html {
    scroll-behavior: smooth
}
body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: Arial,sans-serif
}
a {
    color: inherit;
    text-decoration: none
}
button,input {
    font: inherit
}
/* Shared header, navigation and button styles. */
.topbar {
    height: 84px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 5
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--green)
}
.brand>span:last-child {
    display: flex;
    flex-direction: column;
    letter-spacing: .12em
}
.brand b {
    font-family: Georgia,serif
}
.brand small {
    font-size: 9px;
    color: #8d7647
}
.logo-mark {
    width: 42px;
    height: 42px;
    border: 1px solid var(--gold);
    display: grid;
    place-items: center;
    font: 23px Georgia;
    color: var(--green);
    transform: rotate(45deg)
}
.logo-mark::first-letter {
    transform: rotate(-45deg)
}
.topbar nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px
}
.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 24px
}
.btn {
    display: inline-block;
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #102a22;
    padding: 14px 20px;
    font-weight: 700;
    cursor: pointer
}
.btn:hover {
    filter: brightness(1.08)
}
.btn.small {
    padding: 11px 16px
}
.btn.full {
    width: 100%;
    text-align: center
}
.btn.ghost {
    background: transparent;
    color: white;
    border-color: #fff
}
.btn.ghost-dark {
    background: transparent;
    border-color: var(--green);
    color: var(--green)
}
.hero {
    height: 680px;
    position: relative;
    color: white;
    background: url('https://firstclasse.com.my/wp-content/uploads/2022/04/FC-Feature-Image-41.jpg') center/cover
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(5,35,27,.9),rgba(5,35,27,.52),rgba(5,35,27,.08))
}
.hero-copy {
    position: absolute;
    left: 8vw;
    top: 50%;
    transform: translateY(-50%);
    max-width: 720px
}
.eyebrow {
    font-size: 11px;
    letter-spacing: .2em;
    font-weight: 700;
    color: #9d7a3d;
    margin: 0 0 17px
}
.eyebrow.gold {
    color: #dfc487
}
.hero h1 {
    font: 400 clamp(55px,7vw,94px)/.96 Georgia,serif;
    margin: 0
}
.hero h1 em,h2 em {
    color: #ddc080
}
.hero-copy>p:not(.eyebrow) {
    font: 18px/1.7 Georgia,serif;
    max-width: 550px
}
.actions {
    display: flex;
    gap: 12px;
    margin-top: 30px
}
.split {
    padding: 100px 10vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9vw;
    align-items: center
}
.split h2,.privileges h2 {
    font: 46px/1.1 Georgia,serif;
    margin: 0
}
.split>div:last-child {
    border-left: 1px solid var(--line);
    padding-left: 40px;
    color: var(--muted);
    font: 17px/1.8 Georgia,serif
}
.privileges {
    background: white;
    padding: 90px 7vw
}
.center {
    text-align: center
}
.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: 45px;
    border-block: 1px solid var(--line)
}
.cards article {
    padding: 42px;
    border-right: 1px solid var(--line)
}
.cards article:last-child {
    border: 0
}
.cards span {
    color: var(--gold);
    font: 18px Georgia
}
.cards h3 {
    font: 27px Georgia;
    margin: 35px 0 12px
}
.cards p {
    color: var(--muted);
    line-height: 1.7
}
footer {
    background: var(--deep);
    color: #b6c4be;
    padding: 28px 7vw;
    display: flex;
    justify-content: space-between;
    font-size: 12px
}
/* Registration, login and administrator setup screens. */
.auth-body {
    background: white
}
.auth-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr
}
.auth-photo {
    background: linear-gradient(0deg,rgba(5,35,27,.7),rgba(5,35,27,.08)),url('https://golfsavers.b-cdn.net/assets/images/tpc-kuala-lumpur-west-clubhouse.jpg?quality=70') center/cover;
    position: relative
}
.auth-photo>div {
    position: absolute;
    left: 8%;
    bottom: 8%;
    border-left: 1px solid var(--gold);
    padding-left: 22px;
    color: white
}
.auth-photo p {
    font: 30px/1.35 Georgia;
    margin: 0 0 13px
}
.auth-photo small {
    letter-spacing: .18em;
    color: #e2ca92
}
.auth-form {
    padding: 70px clamp(35px,7vw,110px);
    display: flex;
    justify-content: center;
    flex-direction: column
}
.auth-form>a {
    color: var(--muted);
    margin-bottom: 55px
}
.auth-form h1,.simple-card h1,.status-card h1,.verify-card h1 {
    font: 46px/1.1 Georgia;
    margin: 0 0 12px
}
.auth-form>p:not(.eyebrow),.simple-card>p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.6
}
.auth-form form,.simple-card form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px
}
label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 700
}
input {
    height: 48px;
    border: 1px solid #cbc5b9;
    background: #fbfaf7;
    padding: 0 13px;
    outline: none
}
input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px #c6a56522
}
.check {
    flex-direction: row;
    align-items: center;
    font-weight: 400
}
.check input {
    height: auto
}
.switch {
    text-align: center
}
.switch a {
    font-weight: bold;
    border-bottom: 1px solid var(--gold)
}
.error,.notice {
    padding: 13px;
    margin: 12px 0;
    background: #f8e5e2;
    color: #8b332b;
    border: 1px solid #edc8c2
}
.notice {
    background: #e4f0e9;
    color: #286247;
    border-color: #bcd7c8
}
.simple-card {
    width: min(520px,calc(100% - 40px));
    margin: 8vh auto;
    background: white;
    border: 1px solid var(--line);
    padding: 48px;
    box-shadow: 0 20px 60px #1a2b2414
}
.simple-card .logo-mark,.verify-card .logo-mark {
    margin: 0 auto 30px
}
.admin-login-logo {
    display: block;
    width: 230px;
    max-width: 100%;
    max-height: 110px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 28px
}
.admin-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    margin: 0
}
.simple-card>a {
    display: block;
    text-align: center;
    margin-top: 24px;
    color: var(--green)
}
/* Membership status and public QR-verification screens. */
.soft-bg {
    background: radial-gradient(circle at top,#fff,var(--ivory));
    min-height: 100vh
}
.status-wrap {
    min-height: calc(100vh - 84px);
    display: grid;
    place-items: center;
    padding: 60px 20px
}
.status-card,.verify-card {
    background: white;
    border: 1px solid var(--line);
    padding: 55px;
    width: min(680px,100%);
    text-align: center;
    box-shadow: 0 25px 70px #1a2b2412
}
.status-icon,.verify-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 28px;
    background: #f4ead5;
    color: #9e732a;
    font-size: 32px
}
.status-card>p:not(.eyebrow),.verify-card p {
    color: var(--muted);
    line-height: 1.7
}
.reference {
    background: #f7f4ed;
    border: 1px solid var(--line);
    padding: 20px;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 8px
}
.reference small {
    letter-spacing: .15em;
    color: #8c7447
}
.reference b {
    font: 23px Georgia;
    color: var(--green)
}
.steps {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 12px;
    color: #888
}
.steps .done {
    color: #367958
}
.verify-card {
    margin: 10vh auto
}
.verify-icon.valid {
    background: #dfeee6;
    color: #2d714f
}
.verify-icon.invalid {
    background: #f4e1df;
    color: #a54238
}
/* Member and administrator dashboard layouts. */
.dash-body {
    background: #f2f0ea
}
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 270px;
    background: var(--deep);
    padding: 30px 24px;
    color: white;
    display: flex;
    flex-direction: column
}
.brand.inverse {
    color: white
}
.brand.inverse .logo-mark {
    color: white
}
.user-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 38px 0 25px;
    border-bottom: 1px solid #ffffff1c
}
.user-mini>span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: var(--deep);
    font-weight: bold
}
.user-mini>div {
    display: flex;
    flex-direction: column;
    gap: 4px
}
.user-mini small {
    color: #9ab9ad
}
.sidebar nav {
    display: flex;
    flex-direction: column;
    margin-top: 28px
}
.sidebar nav a {
    padding: 14px;
    color: #adc1b9
}
.sidebar nav a.active {
    background: #174b3c;
    color: white;
    border-left: 2px solid var(--gold)
}
.signout {
    margin-top: auto;
    border-top: 1px solid #ffffff1c;
    padding: 18px;
    color: #adc1b9
}
.dash-main {
    margin-left: 270px;
    padding: 55px 5vw
}
.dash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px
}
.dash-head h1 {
    font: 43px Georgia;
    margin: 0 0 7px
}
.dash-head p:last-child {
    color: var(--muted);
    margin: 0
}
.active-pill {
    background: #e0ede6;
    border: 1px solid #bed8ca;
    color: #2e6c4e;
    padding: 11px 14px;
    font-size: 12px
}
.dash-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 24px
}
.digital-card {
    min-height: 390px;
    background: linear-gradient(135deg,#1c5946,var(--deep));
    border: 1px solid var(--gold);
    color: white;
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 28px 55px #092b2435;
    position: relative;
    overflow: hidden
}
.digital-card:after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid #c6a56533;
    border-radius: 50%;
    right: -90px;
    bottom: -140px
}
.card-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e1c888
}
.card-brand .logo-mark {
    color: white
}
.card-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    display: block;
    flex-shrink: 0
}
.overview-card-logo {
    width: 108px;
    height: 108px;
    object-fit: contain;
    display: block;
    flex-shrink: 0
}
.card-brand small {
    letter-spacing: .14em;
    line-height: 1.5
}
.digital-card>div:nth-child(2) small,.card-bottom small {
    display: block;
    font-size: 9px;
    letter-spacing: .16em;
    color: #c9d0cc
}
.digital-card h2 {
    font: 27px Georgia;
    margin: 8px 0
}
.digital-card>div:nth-child(2)>span {
    font-size: 9px;
    letter-spacing: .16em;
    color: #d7bb7d
}
.card-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    position: relative;
    z-index: 2
}
.card-bottom>div {
    display: grid;
    grid-template-columns: auto auto;
    gap: 7px 22px
}
.card-bottom b {
    font-size: 12px
}
.card-bottom img {
    width: 96px;
    height: 96px;
    background: white;
    padding: 5px
}
.details {
    background: white;
    border: 1px solid var(--line);
    padding: 30px
}
.details h2,.table-card h2 {
    font: 26px Georgia;
    margin-top: 0
}
.details dl {
    margin: 0
}
.details dt {
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 14px
}
.details dd {
    margin: 5px 0 14px;
    font-weight: bold;
    font-size: 13px
}
.verified {
    padding: 12px;
    background: #e1eee7;
    color: #2d6e4e
}
.qr-help {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5
}
.card-page {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    flex-direction: column;
    padding: 45px
}
.digital-card.large {
    width: min(720px,100%)
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-bottom: 25px
}
.stat-grid article {
    background: white;
    border: 1px solid var(--line);
    padding: 24px;
    display: flex;
    flex-direction: column
}
.stat-grid b {
    font: 34px Georgia;
    color: var(--green)
}
.stat-grid span {
    font-size: 12px;
    color: var(--muted)
}
.table-card {
    background: white;
    border: 1px solid var(--line);
    padding: 28px
}
.table-scroll {
    overflow: auto
}
table {
    border-collapse: collapse;
    width: 100%;
    min-width: 880px
}
th,td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 12px
}
th {
    background: #f2f0ea;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .08em
}
td:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px
}
td small {
    color: var(--muted)
}
.badge {
    padding: 7px 9px;
    font-size: 10px
}
.badge.pending {
    background: #f5e9d2;
    color: #936b25
}
.badge.active {
    background: #e0eee6;
    color: #2e6d4d
}
.badge.rejected {
    background: #f3e1df;
    color: #9b4037
}
.inline-actions {
    display: flex;
    gap: 6px
}
.inline-actions button {
    border: 0;
    padding: 8px 9px;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer
}
.approve {
    background: #dfeee6;
    color: #296748
}
.reject {
    background: #f3e1df;
    color: #9a3c33
}
.muted {
    color: var(--muted)
}
/* Responsive layout rules for tablet and smaller screens. */
@media(max-width:900px) {
    .topbar nav {
        display: none;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: white;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start
    }
    .topbar nav.open {
        display: flex
    }
    .menu-toggle {
        display: block
    }
    .split,.auth-layout,.dash-grid {
        grid-template-columns: 1fr
    }
    .cards {
        grid-template-columns: 1fr
    }
    .cards article {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }
    .auth-photo {
        min-height: 300px
    }
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 0
    }
    .sidebar nav,.sidebar .signout,.user-mini {
        display: none
    }
    .dash-main {
        margin-left: 0;
        padding: 35px 24px
    }
    .stat-grid {
        grid-template-columns: 1fr
    }
    .dash-head {
        align-items: flex-start;
        gap: 18px;
        flex-direction: column
    }
}
.header-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
    flex-shrink: 0
}
.digital-card.premium-card.gold {
    background: radial-gradient(circle at 85% 15%,rgba(255,224,148,.18),transparent 28%),linear-gradient(135deg,#70521d,#d2ad58 45%,#76551e);
    border-color: #f0d58c;
    box-shadow: 0 28px 65px rgba(82,58,17,.34),inset 0 1px 0 rgba(255,255,255,.25)
}
.digital-card.premium-card.platinum {
    background: repeating-linear-gradient(115deg,rgba(255,255,255,.025) 0,rgba(255,255,255,.025) 1px,transparent 1px,transparent 8px),linear-gradient(145deg,#090a0b,#343a3f 48%,#111315);
    border-color: #dce2e6;
    box-shadow: 0 30px 75px rgba(0,0,0,.48),inset 0 0 24px rgba(255,255,255,.07)
}
.digital-card.premium-card.gold:before {
    top: -50%;
    left: -80%;
    width: 45%;
    height: 200%;
    transform: rotate(20deg);
    background: linear-gradient(90deg,transparent,rgba(255,247,218,.2),transparent);
    animation: premium-card-shine 7s ease-in-out infinite
}
.digital-card.premium-card.platinum:before {
    top: -50%;
    left: -80%;
    width: 45%;
    height: 200%;
    transform: rotate(20deg);
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent);
    animation: premium-card-shine 8s ease-in-out infinite
}
/* Provides shared public, authentication, status, dashboard and print styles. */
/* Styles premium digital cards and member-management actions. */
.manage-tier,.inline-actions {
    align-items: center;
    flex-wrap: wrap
}
.update-tier,.delete-member {
    padding: 8px 10px;
    border: 1px solid transparent;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap
}
.update-tier {
    background: #dfeee6;
    border-color: #a8cfb7;
    color: #1d6041
}
.delete-member {
    background: transparent;
    border-color: #b95349;
    color: #a13e35
}
.delete-member:hover {
    background: #f5e2df
}
.notice-error {
    background: #f8e5e2;
    color: #8b332b;
    border-color: #edc8c2
}
.member-management {
    min-width: 1180px
}
.digital-card.premium-card {
    min-height: 420px;
    aspect-ratio: 1.585/1;
    justify-content: space-between;
    padding: 34px 38px;
    background: #1b5946;
    border: 1px solid #c6a565;
    box-shadow: 0 24px 55px rgba(8,42,34,.3),inset 0 1px 0 rgba(255,255,255,.09)
}
.premium-card.standard {
    background: repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0,rgba(255,255,255,.025) 1px,transparent 1px,transparent 10px),linear-gradient(145deg,#1b5946,#082a22)
}
.premium-card.gold {
    background: radial-gradient(circle at 85% 15%,rgba(255,224,148,.18),transparent 28%),linear-gradient(135deg,#70521d,#d2ad58 45%,#76551e);
    border-color: #f0d58c;
    box-shadow: 0 28px 65px rgba(82,58,17,.34),inset 0 1px 0 rgba(255,255,255,.25)
}
.premium-card.platinum {
    background: repeating-linear-gradient(115deg,rgba(255,255,255,.025) 0,rgba(255,255,255,.025) 1px,transparent 1px,transparent 8px),linear-gradient(145deg,#090a0b,#343a3f 48%,#111315);
    border-color: #dce2e6;
    box-shadow: 0 30px 75px rgba(0,0,0,.48),inset 0 0 24px rgba(255,255,255,.07)
}
.premium-card:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    width: 45%;
    height: 200%;
    transform: rotate(20deg);
    pointer-events: none;
    z-index: 1
}
.premium-card.gold:before {
    background: linear-gradient(90deg,transparent,rgba(255,247,218,.2),transparent);
    animation: premium-card-shine 7s ease-in-out infinite
}
.premium-card.platinum:before {
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent);
    animation: premium-card-shine 8s ease-in-out infinite
}
.premium-card:after {
    display: none
}
.premium-card>* {
    position: relative;
    z-index: 2
}
.card-decoration {
    position: absolute!important;
    inset: 14px;
    border: 1px solid rgba(255,255,255,.12);
    pointer-events: none
}
.standard .card-decoration {
    border-color: rgba(214,185,120,.35)
}
.gold .card-decoration {
    border-color: rgba(255,240,194,.4)
}
.platinum .card-decoration {
    border-color: rgba(221,226,230,.38)
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px
}
.premium-card .card-brand {
    color: #fff
}
.premium-card .card-brand span {
    display: flex;
    flex-direction: column;
    letter-spacing: .13em;
    font-size: 13px
}
.premium-card .card-brand small {
    font-size: 8px;
    color: #e5c981;
    margin-top: 5px
}
.tier-emblem {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid #d6b978;
    background: rgba(255,255,255,.08);
    color: #f0da9d;
    font-size: 19px;
    box-shadow: inset 0 0 12px rgba(255,255,255,.1)
}
.platinum .tier-emblem {
    border-color: #dde3e7;
    color: #fff
}
.card-member {
    padding-top: 16px
}
.card-member small,.card-data small {
    display: block;
    color: #e8cd90;
    font-size: 9px;
    letter-spacing: .16em
}
.card-member h2 {
    max-width: 75%;
    margin: 8px 0 10px;
    color: #fff;
    font: clamp(22px,2.3vw,31px)/1.08 Georgia,serif;
    overflow-wrap: anywhere
}
.membership-tier-label {
    display: inline-block;
    color: #f4d992;
    font-size: 10px;
    letter-spacing: .18em
}
.card-active-status {
    display: inline-block;
    margin-left: 12px;
    padding: 5px 7px;
    border: 1px solid rgba(255,255,255,.33);
    border-radius: 20px;
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    letter-spacing: .1em
}
.premium-card .card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px
}
.card-data {
    display: grid;
    grid-template-columns: auto auto;
    gap: 7px 20px
}
.card-data b {
    color: #fff;
    font-size: 12px
}
.card-qr {
    background: #fff;
    padding: 8px;
    border: 1px solid #d6b978;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0
}
.gold .card-qr {
    border: 2px solid #f1d98f;
    box-shadow: 0 5px 18px rgba(62,42,9,.2)
}
.platinum .card-qr {
    border: 2px solid #dde3e7;
    box-shadow: 0 5px 20px rgba(255,255,255,.1)
}
.card-qr img {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: contain
}
.premium-card.large {
    width: min(760px,100%);
    min-height: 470px
}
@keyframes premium-card-shine {
    0%,55% {
        left: -80%
    }
    100% {
        left: 145%
    }
}
@media(max-width:560px) {
    .digital-card.premium-card {
        padding: 26px 24px;
        min-height: 400px
    }
    .premium-card .card-footer {
        align-items: flex-end;
        gap: 16px
    }
    .card-qr img {
        width: 76px;
        height: 76px
    }
    .card-member h2 {
        font-size: clamp(1.1rem,5vw,1.5rem)
    }
    .card-data {
        grid-template-columns: 1fr;
        gap: 4px
    }
    .card-active-status {
        margin: 10px 0 0
    }
    .premium-card .card-brand span {
        font-size: 10px
    }
    .overview-card-logo {
        width: 68px;
        height: 68px
    }
}
@media(prefers-reduced-motion:reduce) {
    .premium-card:before {
        animation: none!important
    }
}
/* Styles the public membership-tier comparison section and its responsive cards. */
.tier-comparison {
    padding: 112px 28px 120px;
    background: linear-gradient(180deg,#fff 0%,#fbfaf6 100%)
}
.membership-tier-inner {
    max-width: 1500px;
    margin: 0 auto
}
.membership-tier-heading {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center
}
.membership-tier-heading h2 {
    font-size: clamp(38px,4vw,54px)
}
.membership-tier-heading:after {
    content: '';
    display: block;
    width: 76px;
    height: 1px;
    margin: 28px auto 0;
    background: linear-gradient(90deg,transparent,#b78c43,transparent)
}
.membership-tier-heading .tier-intro {
    font: 17px/1.7 Georgia,serif;
    margin: 20px auto 0
}
.membership-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
    align-items: stretch
}
.membership-tier-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 40px;
    background: #fbfaf6;
    border: 1px solid rgba(18,60,48,.2);
    box-shadow: 0 12px 28px rgba(8,41,33,.08);
    transition: transform 250ms ease,box-shadow 250ms ease,border-color 250ms ease
}
.membership-tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 36px rgba(8,41,33,.14)
}
.tier-card-header {
    min-height: 142px
}
.tier-label {
    display: inline-block;
    color: #b78c43;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase
}
.tier-card-header h3 {
    margin: 14px 0 10px;
    color: #123c30;
    font: 34px/1.1 Georgia,serif
}
.tier-card-header p {
    margin: 0;
    color: #607069;
    font: 16px/1.55 Georgia,serif
}
.tier-divider {
    height: 1px;
    margin: 27px 0 25px;
    background: linear-gradient(90deg,#b78c43,rgba(183,140,67,.1))
}
.tier-benefits {
    list-style: none;
    padding: 0;
    margin: 0
}
.tier-benefits li {
    position: relative;
    padding-left: 31px;
    margin-bottom: 13px;
    color: #263d35;
    font-size: 15px;
    line-height: 1.5
}
.tier-benefits li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e3eee8;
    color: #176247;
    font-size: 11px;
    font-weight: 700
}
.tier-card-footer {
    margin-top: auto;
    padding-top: 23px;
    border-top: 1px solid rgba(18,60,48,.14);
    color: #87703f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}
.gold-tier {
    z-index: 1;
    top: -12px;
    background: linear-gradient(145deg,#164a3b,#0b2f27);
    border: 1px solid #d6b76e;
    box-shadow: 0 20px 38px rgba(8,41,33,.24)
}
.gold-tier:hover {
    box-shadow: 0 26px 44px rgba(8,41,33,.3)
}
.gold-tier .tier-label,.gold-tier .tier-card-header h3 {
    color: #f0da9d
}
.gold-tier .tier-card-header p,.gold-tier .tier-benefits li {
    color: #f8f3e8
}
.gold-tier .tier-divider {
    background: linear-gradient(90deg,#d6b76e,rgba(214,183,110,.12))
}
.gold-tier .tier-benefits li:before {
    background: rgba(214,183,110,.2);
    color: #f0da9d;
    border: 1px solid rgba(240,218,157,.38)
}
.gold-tier .tier-card-footer {
    border-color: rgba(240,218,157,.22);
    color: #f0da9d
}
.membership-tier-card>.tier-badge {
    position: absolute;
    right: 27px;
    top: 25px;
    padding: 7px 10px;
    background: #d6b76e;
    color: #0b2f27;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}
.platinum-tier {
    overflow: hidden;
    background: linear-gradient(145deg,#111416,#343a3e);
    border-color: #dde2e5;
    box-shadow: 0 22px 42px rgba(0,0,0,.24)
}
.platinum-tier:before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .2;
    background: linear-gradient(30deg,transparent 46%,#fff 47%,transparent 48%) 0 0/38px 38px
}
.platinum-tier>* {
    position: relative
}
.platinum-tier .tier-label,.platinum-tier .tier-card-header h3 {
    color: #fff
}
.platinum-tier .tier-card-header p,.platinum-tier .tier-benefits li {
    color: #c8cdcf
}
.platinum-tier .tier-divider {
    background: linear-gradient(90deg,#dde2e5,rgba(221,226,229,.1))
}
.platinum-tier .tier-benefits li:before {
    background: rgba(221,226,229,.15);
    border: 1px solid rgba(221,226,229,.48);
    color: #fff
}
.platinum-tier .tier-card-footer {
    border-color: rgba(221,226,229,.24);
    color: #dde2e5
}
.membership-tier-card>.platinum-badge {
    background: #dde2e5;
    color: #202427
}
@media(max-width:1050px) {
    .membership-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
    .platinum-tier {
        grid-column: 1/-1;
        width: min(100%,520px);
        justify-self: center
    }
    .gold-tier {
        top: 0
    }
}
@media(max-width:700px) {
    .tier-comparison {
        padding: 78px 20px 84px
    }
    .membership-tier-heading {
        margin-bottom: 36px
    }
    .membership-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }
    .platinum-tier {
        grid-column: auto;
        width: 100%;
        justify-self: auto
    }
    .membership-tier-card {
        padding: 28px 22px
    }
    .tier-card-header {
        min-height: auto;
        padding-right: 0
    }
    .membership-tier-card>.tier-badge {
        position: static;
        align-self: flex-start;
        margin-bottom: 20px
    }
    .gold-tier {
        transform: none
    }
}
@media(prefers-reduced-motion:reduce) {
    .membership-tier-card {
        transition: none
    }
    .membership-tier-card:hover {
        transform: none
    }
}
@media(max-width:600px) {
    .header-logo {
        width: 46px;
        height: 46px
    }
    .hero {
        height: 650px
    }
    .hero h1 {
        font-size: 48px
    }
    .hero-copy {
        left: 24px;
        right: 24px
    }
    .actions {
        flex-direction: column
    }
    .split,.privileges {
        padding: 70px 24px
    }
    .split {
        gap: 40px
    }
    .split>div:last-child {
        padding-left: 22px
    }
    .auth-form {
        padding: 55px 24px
    }
    .auth-form h1,.status-card h1 {
        font-size: 37px
    }
    .auth-photo {
        min-height: 240px
    }
    .status-card {
        padding: 38px 22px
    }
    .steps {
        flex-direction: column;
        align-items: center
    }
    .digital-card {
        padding: 24px;
        min-height: 360px
    }
    .card-bottom img {
        width: 75px;
        height: 75px
    }
    .card-bottom>div {
        grid-template-columns: 1fr;
        gap: 5px
    }
    .dash-head h1 {
        font-size: 34px
    }
    .card-page {
        padding: 35px 15px
    }
    .admin-login-logo {
        width: 190px;
        max-height: 90px;
        margin-bottom: 22px
    }
    footer {
        flex-direction: column;
        gap: 8px
    }
}
@media print {
    body>*:not(.card-page) {
        display: none!important
    }
    .card-page .btn,.topbar {
        display: none
    }
    .card-page {
        min-height: auto;
        padding: 0
    }
    .digital-card.large {
        box-shadow: none;
        width: 180mm;
        height: 112mm
    }
}
.tier-stats {
    grid-template-columns: repeat(4,1fr)
}
.table-heading {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: start
}
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}
.filters a {
    font-size: 11px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    color: var(--muted)
}
.filters a.selected {
    background: var(--green);
    border-color: var(--green);
    color: #fff
}
.inline-actions select {
    border: 1px solid var(--line);
    background: #fff;
    padding: 7px;
    font-size: 11px;
    max-width: 110px
}
.tier-badge {
    display: inline-block;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: bold
}
.tier-badge.standard {
    background: #e0eee6;
    color: #2e6d4d
}
.tier-badge.gold {
    background: #f4e4b9;
    color: #74551c
}
.tier-badge.platinum {
    background: #30363a;
    color: #eef1f2;
    border: 1px solid #aeb6bc
}
.badge.expired {
    background: #e7e7e7;
    color: #4d5357
}
.digital-card.standard {
    background: linear-gradient(135deg,#1c5946,#082921);
    border-color: #c6a565
}
.digital-card.gold {
    background: linear-gradient(135deg,#6f531e,#d4af5c,#8f6b29);
    border-color: #f0d58c
}
.digital-card.platinum {
    background: linear-gradient(135deg,#0c0d0e,#34383c,#777e84,#16181a);
    border-color: #dce1e5;
    box-shadow: 0 25px 60px rgba(0,0,0,.45),inset 0 0 25px rgba(255,255,255,.08)
}
.digital-card.gold:before,.digital-card.platinum:before {
    content: '';
    position: absolute;
    inset: -30%;
    pointer-events: none;
    z-index: 0;
    transform: translateX(-80%) rotate(18deg);
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
    animation: card-shine 9s ease-in-out infinite
}
.digital-card.platinum:before {
    background: linear-gradient(90deg,transparent,rgba(230,238,245,.24),transparent);
    animation-duration: 12s
}
.digital-card>* {
    position: relative;
    z-index: 1
}
.digital-card.gold .card-bottom img {
    background: #fff9e9
}
.digital-card.platinum .card-bottom img {
    border: 2px solid #dce1e5
}
.benefit-panel {
    margin-top: 24px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 30px
}
.benefit-panel h2 {
    font: 28px Georgia;
    margin: 0 0 20px
}
.benefit-list {
    columns: 2;
    list-style: none;
    padding: 0;
    margin: 0
}
.benefit-list li {
    padding: 9px 0;
    color: var(--muted);
    break-inside: avoid
}
.verify-card.gold {
    border-color: #e1c06e
}
.verify-card.platinum {
    border-color: #aeb6bc
}
.verify-details {
    text-align: left;
    margin: 25px auto;
    max-width: 380px;
    border-top: 1px solid var(--line)
}
.verify-details dt {
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--muted);
    padding-top: 12px
}
.verify-details dd {
    margin: 4px 0 12px;
    font-weight: bold
}
.tier-intro {
    text-align: center;
    color: var(--muted);
    margin: 18px auto 0;
    max-width: 560px
}
.tier-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: 40px
}
.tier-card {
    padding: 30px;
    border: 1px solid var(--line);
    background: #fff
}
.tier-card.gold {
    border-color: #d4af5c;
    background: linear-gradient(180deg,#fffdf8,#f8efd8)
}
.tier-card.platinum {
    background: linear-gradient(150deg,#1b1e20,#3d4346);
    color: #fff;
    border-color: #b8c0c4
}
.tier-card h3 {
    font: 28px Georgia;
    margin: 0 0 20px
}
.tier-card ul {
    margin: 0;
    padding-left: 18px
}
.tier-card li {
    margin: 0 0 11px;
    font-size: 13px;
    line-height: 1.45
}
.tier-card.platinum li {
    color: #e7ebed
}
@keyframes card-shine {
    0%,55% {
        transform: translateX(-95%) rotate(18deg)
    }
    100% {
        transform: translateX(120%) rotate(18deg)
    }
}
@media(prefers-reduced-motion:reduce) {
    .digital-card.gold:before,.digital-card.platinum:before {
        animation: none
    }
}
@media(max-width:1100px) {
    .tier-stats {
        grid-template-columns: repeat(3,1fr)
    }
    .tier-cards {
        grid-template-columns: 1fr
    }
    .benefit-list {
        columns: 1
    }
}
@media(max-width:700px) {
    .tier-stats {
        grid-template-columns: 1fr
    }
    .table-heading {
        flex-direction: column
    }
    .inline-actions {
        flex-wrap: wrap
    }
    .tier-cards {
        gap: 14px
    }
}
