/* Homepage Kismet Club panel: the shiny member card from /kismet-club tucked behind it,
   peeking over the top edge and glowing through frosted perk tiles. */
.kp-club { position: relative; isolation: isolate; }
.kp-club__copy, .kp-club__perks { position: relative; z-index: 2; }
.kp-club__perks li { background: rgba(36, 29, 82, .38); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); }

.kp-club__card { position: absolute; z-index: 1; top: -118px; right: 7%; width: 360px; pointer-events: none; perspective: 1200px; }
.kp-club__card .kc-card { --gold: #e9b949; position: relative; width: 100%; aspect-ratio: 1.586; border-radius: 26px; padding: 24px 26px; color: #fff; overflow: hidden;
    background: radial-gradient(120% 140% at 100% 0%, #8a7ae6 0%, #5a4fb0 34%, #2f2669 74%, #1c1641 100%);
    box-shadow: 0 40px 80px rgba(10, 6, 40, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
    transform: rotateY(-12deg) rotateX(10deg) rotate(7deg);
    animation: kpc-float 6s ease-in-out infinite;
    display: flex; flex-direction: column; justify-content: space-between; }
.kp-club__card .kc-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 15% 110%, rgba(233, 185, 73, .4) 0%, rgba(233, 185, 73, 0) 70%); }
.kp-club__card .kc-card::after { content: ""; position: absolute; inset: 1px; border-radius: 25px; border: 1px solid rgba(255, 255, 255, .16); }
.kp-club__card .kc-card__shine { position: absolute; top: -50%; left: -60%; width: 50%; height: 200%; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .32) 50%, rgba(255, 255, 255, 0) 100%); transform: rotate(18deg); animation: kpc-shine 5s 1s ease-in-out infinite; }
.kp-club__card .kc-card__top, .kp-club__card .kc-card__bottom { position: relative; display: flex; align-items: center; justify-content: space-between; }
.kp-club__card .kc-card__top img { height: 18px; width: auto; }
.kp-club__card .kc-card__top span { font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(233, 185, 73, .5); }
.kp-club__card .kc-card__mid { position: relative; display: flex; align-items: center; gap: 12px; }
.kp-club__card .kc-card__mid strong { font-size: 76px; font-weight: 900; line-height: .9; letter-spacing: -0.04em; background: linear-gradient(180deg, #fff 0%, #f4dca0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kp-club__card .kc-card__mid span { font-size: 16px; font-weight: 800; line-height: 1.2; color: #e6e1fb; }
.kp-club__card .kc-card__bottom span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #cfc8f2; }
.kp-club__card .kc-card__bottom img { width: 38px; height: auto; filter: brightness(0) invert(1); opacity: .9; }
@keyframes kpc-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes kpc-shine { 0%, 55% { left: -60%; } 80%, 100% { left: 140%; } }

/* Room for the card to peek over the panel */
#club { padding-top: 170px; }

@media (max-width: 991px) {
    .kp-club__card { width: 300px; top: -96px; right: 24px; }
    #club { padding-top: 140px; }
}
@media (max-width: 640px) {
    .kp-club__card { width: 220px; top: -78px; right: 10px; }
    .kp-club__card .kc-card { padding: 16px 18px; border-radius: 18px; }
    .kp-club__card .kc-card::after { border-radius: 17px; }
    .kp-club__card .kc-card__mid strong { font-size: 48px; }
    .kp-club__card .kc-card__mid span { font-size: 12px; }
    .kp-club__card .kc-card__top img { height: 13px; }
    .kp-club__card .kc-card__bottom span { font-size: 9px; }
    .kp-club__card .kc-card__bottom img { width: 26px; }
    #club { padding-top: 112px; }
    .kp-club { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .kp-club__card .kc-card, .kp-club__card .kc-card__shine { animation: none !important; }
}
