.vipn-wrap {
	--vipn-bg: #0d0d0d;
	--vipn-card-bg: #161616;
	--vipn-border: #e0b400;
	--vipn-tab-active: #f2b90f;
	--vipn-button: #e02222;
	--vipn-badge: #1f6f43;
	--vipn-text: #ffffff;

	background: var(--vipn-bg);
	color: var(--vipn-text);
	padding: 32px 16px 48px;
	border-radius: 14px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}
.vipn-wrap * {
	box-sizing: border-box;
}

/* Total pill */
.vipn-total-pill {
	display: block;
	max-width: 260px;
	margin: 0 auto 28px;
	background: linear-gradient(180deg, #e63333, #b41414);
	color: #fff;
	text-align: center;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .3px;
	padding: 12px 20px;
	border-radius: 999px;
	box-shadow: 0 0 24px rgba(224, 34, 34, .55);
}
.vipn-total-pill span {
	font-weight: 800;
}

/* Tabs */
.vipn-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-bottom: 28px;
}
.vipn-tab {
	appearance: none;
	cursor: pointer;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .25);
	color: #cfd3d8;
	font-weight: 700;
	font-size: 14px;
	padding: 10px 22px;
	border-radius: 999px;
	transition: all .2s ease;
}
.vipn-tab:hover {
	border-color: var(--vipn-tab-active);
	color: #fff;
}
.vipn-tab.is-active {
	background: var(--vipn-tab-active);
	border-color: var(--vipn-tab-active);
	color: #1a1200;
	box-shadow: 0 0 16px rgba(242, 185, 15, .45);
}
.vipn-tab-count {
	opacity: .8;
	font-weight: 600;
}

/* Status bar */
.vipn-status-bar {
	max-width: 1000px;
	margin: 0 auto 24px;
	background: rgba(242, 185, 15, .07);
	border: 1px solid rgba(242, 185, 15, .35);
	border-radius: 8px;
	text-align: center;
	padding: 12px 16px;
	font-size: 14px;
	color: #e9e9e9;
}
.vipn-showing-count,
.vipn-showing-total {
	color: var(--vipn-tab-active);
	font-weight: 700;
}
.vipn-showing-label {
	color: #fff;
	font-weight: 700;
}

/* Grid */
.vipn-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	max-width: 1100px;
	margin: 0 auto;
}
@media (max-width: 900px) {
	.vipn-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.vipn-grid {
		grid-template-columns: 1fr;
	}
}

/* Card */
.vipn-card {
	position: relative;
	background: var(--vipn-card-bg);
	border: 1px solid var(--vipn-border);
	border-radius: 14px;
	padding: 26px 20px 22px;
	text-align: center;
	box-shadow: 0 0 18px rgba(224, 180, 0, .18);
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	transition: transform .25s cubic-bezier(.2, .7, .3, 1), box-shadow .25s ease, border-color .25s ease;
	animation: vipnCardIn .5s cubic-bezier(.2, .7, .3, 1) backwards;
}

/* Staggered entrance animation for the first couple of rows */
.vipn-grid .vipn-card:nth-child(1)  { animation-delay: .02s; }
.vipn-grid .vipn-card:nth-child(2)  { animation-delay: .07s; }
.vipn-grid .vipn-card:nth-child(3)  { animation-delay: .12s; }
.vipn-grid .vipn-card:nth-child(4)  { animation-delay: .17s; }
.vipn-grid .vipn-card:nth-child(5)  { animation-delay: .22s; }
.vipn-grid .vipn-card:nth-child(6)  { animation-delay: .27s; }
.vipn-grid .vipn-card:nth-child(7)  { animation-delay: .32s; }
.vipn-grid .vipn-card:nth-child(8)  { animation-delay: .37s; }
.vipn-grid .vipn-card:nth-child(9)  { animation-delay: .42s; }
.vipn-grid .vipn-card:nth-child(n+10) { animation-delay: .46s; }

@keyframes vipnCardIn {
	from {
		opacity: 0;
		transform: translateY(18px) scale(.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Soft ambient glow that idles on every card, independent of hover */
.vipn-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	animation: vipnAmbientGlow 3.2s ease-in-out infinite;
}
@keyframes vipnAmbientGlow {
	0%, 100% { box-shadow: 0 0 14px 0 rgba(242, 185, 15, .08); }
	50%      { box-shadow: 0 0 24px 2px rgba(242, 185, 15, .22); }
}

/* Rotating gradient ring that sweeps in on hover for a premium "spotlight" feel */
.vipn-card::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	padding: 2px;
	background: conic-gradient(from 0deg, transparent 0%, var(--vipn-tab-active) 12%, transparent 26%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity .25s ease;
	animation: vipnSpin 2.8s linear infinite;
	pointer-events: none;
	z-index: 0;
}
.vipn-card > * {
	position: relative;
	z-index: 1;
}
@keyframes vipnSpin {
	to { transform: rotate(360deg); }
}

.vipn-card:hover {
	transform: translateY(-6px) scale(1.015);
	border-color: var(--vipn-tab-active);
	box-shadow:
		0 0 32px rgba(242, 185, 15, .45),
		0 14px 30px rgba(0, 0, 0, .45);
}
.vipn-card:hover::before {
	opacity: 1;
}

.vipn-card.is-hidden {
	display: none;
}

/* Re-triggerable entrance animation, added/removed by JS when filters change */
.vipn-card.vipn-replay {
	animation-name: vipnCardIn;
}

.vipn-badge {
	display: inline-block;
	background: var(--vipn-badge);
	color: #d9ffe8;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .3px;
	padding: 5px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
	animation: vipnBadgePulse 2.4s ease-in-out infinite;
}
@keyframes vipnBadgePulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(31, 111, 67, .55); }
	50%      { box-shadow: 0 0 0 6px rgba(31, 111, 67, 0); }
}

.vipn-number {
	position: relative;
	display: inline-block;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: .5px;
	margin-bottom: 8px;
	padding: 4px 10px;
	border-radius: 6px;
	word-break: break-word;
	transition: background .25s ease, box-shadow .25s ease, color .25s ease;
	overflow: hidden;
}

/* Shine sweep across the number on hover, echoing a highlighted-number look */
.vipn-number::before {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
	transform: skewX(-20deg);
	transition: left .6s ease;
}
.vipn-card:hover .vipn-number::before {
	left: 130%;
}

.vipn-card:hover .vipn-number {
	background: rgba(242, 185, 15, .12);
	box-shadow: inset 0 0 0 1px rgba(242, 185, 15, .5);
	color: var(--vipn-tab-active);
}

/* Optional: mark a card as featured/highlighted (e.g. add class="vipn-card vipn-card--highlight"
   in shortcode.php) to reproduce the solid highlighted-number look shown in the design mock. */
.vipn-card--highlight {
	border-color: #2f7bff;
	box-shadow: 0 0 30px rgba(47, 123, 255, .4);
}
.vipn-card--highlight .vipn-number {
	background: #2f6ff2;
	color: #fff;
	box-shadow: 0 0 18px rgba(47, 111, 242, .6);
}

.vipn-sub {
	font-size: 13px;
	color: #9aa0a6;
	margin-bottom: 12px;
}

.vipn-price {
	font-size: 20px;
	font-weight: 800;
	color: var(--vipn-tab-active);
	margin-bottom: 18px;
}

.vipn-button {
	position: relative;
	display: block;
	width: 100%;
	background: linear-gradient(180deg, #ef2b2b, #c41414);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 800;
	letter-spacing: .4px;
	font-size: 14px;
	padding: 12px 16px;
	border-radius: 8px;
	overflow: hidden;
	transition: filter .15s ease, transform .15s ease, box-shadow .25s ease;
}
.vipn-button::after {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
	transform: skewX(-20deg);
	transition: left .55s ease;
}
.vipn-button:hover {
	filter: brightness(1.1);
	transform: translateY(-1px);
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(224, 34, 34, .55);
}
.vipn-button:hover::after {
	left: 130%;
}
.vipn-button:active {
	transform: translateY(0);
	filter: brightness(.95);
}

@media (prefers-reduced-motion: reduce) {
	.vipn-card,
	.vipn-card::before,
	.vipn-card::after,
	.vipn-badge,
	.vipn-number::before,
	.vipn-button::after {
		animation: none !important;
		transition: none !important;
	}
}

.vipn-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: #999;
	padding: 40px 0;
}
