/* =============================================================================
   Store Page — CSS
   Complete redesign: cards, frames, banners, themes, badges
   ============================================================================= */

/* ── Celebration Lightbox ─────────────────────────────────────────────────── */

.inv-celebrate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.inv-celebrate.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.inv-celebrate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.inv-celebrate__card {
    position: relative;
    background: linear-gradient(160deg, #111827 0%, #0d1424 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    max-width: 340px;
    width: 90%;
    box-shadow:
        0 0 60px rgba(245, 158, 11, 0.15),
        0 0 120px rgba(245, 158, 11, 0.05);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.inv-celebrate.is-visible .inv-celebrate__card {
    transform: scale(1);
}

.inv-celebrate__icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: inv-celebrate-bounce 0.6s ease 0.3s both;
}

@keyframes inv-celebrate-bounce {
    0%   { transform: scale(0) rotate(-15deg); }
    50%  { transform: scale(1.3) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.inv-celebrate__title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #f0f4ff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.inv-celebrate__sub {
    font-size: 0.85rem;
    color: #f59e0b;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.inv-celebrate__btn {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: #f59e0b;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 10px 32px;
    cursor: pointer;
    transition: opacity 0.15s;
}

.inv-celebrate__btn:hover {
    opacity: 0.8;
}

/* Particles */
.inv-celebrate__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.inv-celebrate__particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: inv-particle 1.2s ease-out forwards;
    opacity: 0;
}

.inv-celebrate.is-visible .inv-celebrate__particles span {
    opacity: 1;
}

.inv-celebrate__particles span:nth-child(1) { background: #f59e0b; left: 50%; top: 50%; animation-delay: 0.2s; --px: -60px; --py: -80px; }
.inv-celebrate__particles span:nth-child(2) { background: #3b82f6; left: 50%; top: 50%; animation-delay: 0.25s; --px: 50px; --py: -70px; }
.inv-celebrate__particles span:nth-child(3) { background: #a855f7; left: 50%; top: 50%; animation-delay: 0.3s; --px: -70px; --py: 40px; }
.inv-celebrate__particles span:nth-child(4) { background: #22c55e; left: 50%; top: 50%; animation-delay: 0.35s; --px: 60px; --py: 50px; }
.inv-celebrate__particles span:nth-child(5) { background: #ef4444; left: 50%; top: 50%; animation-delay: 0.4s; --px: -30px; --py: -90px; }
.inv-celebrate__particles span:nth-child(6) { background: #fbbf24; left: 50%; top: 50%; animation-delay: 0.45s; --px: 80px; --py: -20px; }
.inv-celebrate__particles span:nth-child(7) { background: #60a5fa; left: 50%; top: 50%; animation-delay: 0.5s; --px: -80px; --py: -10px; }
.inv-celebrate__particles span:nth-child(8) { background: #f472b6; left: 50%; top: 50%; animation-delay: 0.55s; --px: 20px; --py: 80px; }

@keyframes inv-particle {
    0%   { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--px), var(--py)) scale(0); opacity: 0; }
}

/* Extra particles for donation celebration (16 total) */
.inv-celebrate--donation .inv-celebrate__particles span:nth-child(9)  { background: #fbbf24; left: 50%; top: 50%; animation-delay: 0.3s; --px: -50px; --py: -60px; }
.inv-celebrate--donation .inv-celebrate__particles span:nth-child(10) { background: #34d399; left: 50%; top: 50%; animation-delay: 0.35s; --px: 70px; --py: -40px; }
.inv-celebrate--donation .inv-celebrate__particles span:nth-child(11) { background: #f59e0b; left: 50%; top: 50%; animation-delay: 0.4s; --px: -40px; --py: 70px; }
.inv-celebrate--donation .inv-celebrate__particles span:nth-child(12) { background: #818cf8; left: 50%; top: 50%; animation-delay: 0.45s; --px: 40px; --py: -80px; }
.inv-celebrate--donation .inv-celebrate__particles span:nth-child(13) { background: #fb923c; left: 50%; top: 50%; animation-delay: 0.5s; --px: -80px; --py: 30px; }
.inv-celebrate--donation .inv-celebrate__particles span:nth-child(14) { background: #a78bfa; left: 50%; top: 50%; animation-delay: 0.55s; --px: 30px; --py: 90px; }
.inv-celebrate--donation .inv-celebrate__particles span:nth-child(15) { background: #f472b6; left: 50%; top: 50%; animation-delay: 0.6s; --px: -90px; --py: -30px; }
.inv-celebrate--donation .inv-celebrate__particles span:nth-child(16) { background: #22d3ee; left: 50%; top: 50%; animation-delay: 0.65s; --px: 90px; --py: 30px; }

.inv-celebrate__coins-award {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 0.25rem;
}

.inv-celebrate__tier {
    font-size: 0.8rem;
    color: #c8cce8;
    margin-bottom: 1rem;
}

.inv-celebrate__share-btn {
    display: block;
    width: 100%;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c8cce8;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    margin-bottom: 0.75rem;
    transition: background 0.15s, color 0.15s;
}

.inv-celebrate__share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f59e0b;
}

/* ── Store Tabs (matching dashboard style) ────────────────────────────────── */

.inv-store-tabs {
    display: flex;
    align-items: center;
    position: sticky;
    top: var(--inv-header-h, 64px);
    z-index: 30;
    background: #080d1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin: 0 -1rem 1.5rem;
    padding: 0 1rem;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.inv-store-tabs::-webkit-scrollbar {
    display: none;
}

.inv-store-tab {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7494;
    background: none;
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    position: relative;
    transition: color 0.15s;
    white-space: nowrap;
}

.inv-store-tab:hover {
    color: #c8cce8;
}

.inv-store-tab.is-active {
    color: #f59e0b;
}

.inv-store-tab.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: #f59e0b;
    border-radius: 2px 2px 0 0;
}

/* ── Store Panels ─────────────────────────────────────────────────────────── */

.inv-store-panel {
    display: none;
}

.inv-store-panel.is-active {
    display: block;
}

@media (max-width: 767px) {
    .inv-store-tabs {
        top: 56px;
        margin: 0 -1rem 1rem;
    }
    .inv-store-tab {
        font-size: 0.72rem;
        padding: 12px 14px;
    }
}

/* ── Donation Widget ──────────────────────────────────────────────────────── */

.inv-donate-widget {
    margin-top: 2rem;
}

.inv-donate-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.inv-donate-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    background: transparent;
    cursor: pointer;
    transition: all 0.15s;
    min-width: 70px;
}

.inv-donate-pill:hover {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.05);
}

.inv-donate-pill.is-active {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

.inv-donate-pill__usd {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f0f4ff;
}

.inv-donate-pill.is-active .inv-donate-pill__usd {
    color: #f59e0b;
}

.inv-donate-pill__pyg {
    font-size: 0.55rem;
    color: #6b7494;
}

.inv-donate-custom {
    display: flex;
    align-items: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    padding: 0 12px;
    gap: 4px;
    min-width: 90px;
    transition: border-color 0.15s;
}

.inv-donate-custom:focus-within {
    border-color: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

.inv-donate-custom__prefix {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #6b7494;
}

.inv-donate-custom__input {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f0f4ff;
    width: 60px;
    padding: 10px 0;
    -moz-appearance: textfield;
}

.inv-donate-custom__input::-webkit-inner-spin-button,
.inv-donate-custom__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.inv-donate-custom__input::placeholder {
    color: #3d4560;
    font-weight: 500;
}

.inv-donate-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1.25rem;
    padding: 8px 12px;
    background: rgba(245, 158, 11, 0.06);
    border-radius: 8px;
}

.inv-donate-preview__label {
    font-size: 0.75rem;
    color: #8b90b0;
}

.inv-donate-preview__coins {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f59e0b;
}

.inv-donate-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 2rem;
    border-radius: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: #f59e0b;
    color: #000;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
}

.inv-donate-cta:hover {
    opacity: 0.8;
}

.inv-donate-cta:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.inv-donate-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 1.25rem;
    font-size: 0.72rem;
    color: #6b7494;
}

.inv-donate-proof__sep {
    color: #3d4560;
}

.inv-donate-transparency {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.inv-donate-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inv-donate-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
}

.inv-donate-bar__label {
    width: 110px;
    flex-shrink: 0;
    color: #8b90b0;
    white-space: nowrap;
}

.inv-donate-bar__track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.inv-donate-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 3px;
}

.inv-donate-bar__pct {
    width: 28px;
    text-align: right;
    color: #6b7494;
    font-weight: 600;
}

.inv-donor-wall {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.inv-donor-wall__list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.inv-donor-wall__list::-webkit-scrollbar {
    display: none;
}

.inv-donor-wall__item {
    flex-shrink: 0;
    border-radius: 50%;
    transition: transform 0.15s;
}

.inv-donor-wall__item:hover {
    transform: scale(1.1);
}

/* Highlight animation for #donate deep link */
.inv-donate-widget--highlight {
    animation: inv-donate-glow 1.5s ease-out;
}

@keyframes inv-donate-glow {
    0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50%  { box-shadow: 0 0 30px 8px rgba(245, 158, 11, 0.15); }
    100% { box-shadow: 0 0 0 0 transparent; }
}

@media (max-width: 767px) {
    .inv-donate-amounts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .inv-donate-custom {
        grid-column: span 3;
    }
    .inv-donate-bar__label {
        width: 80px;
        font-size: 0.6rem;
    }
}

/* ── Donation CTA styles moved to global.css (used on homepage, footer, settings) ── */

/* ── Card Base ────────────────────────────────────────────────────────────── */

.inv-store-card {
	background: #111827;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.inv-store-card:hover {
	border-color: rgba(245, 158, 11, 0.4);
	transform: translateY(-2px);
}

.inv-store-card--owned {
	border-color: rgba(34, 197, 94, 0.3);
}

.inv-store-card--owned:hover {
	border-color: rgba(34, 197, 94, 0.5);
}

.inv-store-card--promo {
	border-color: rgba(245, 158, 11, 0.4);
	box-shadow: 0 0 12px rgba(245, 158, 11, 0.1);
}

.inv-store-card--promo:hover {
	border-color: rgba(245, 158, 11, 0.6);
}

/* ── NEW Badge ────────────────────────────────────────────────────────────── */

.inv-store-card__new-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.55rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #fff;
	z-index: 2;
	text-transform: uppercase;
	animation: inv-new-pulse 2s ease-in-out infinite;
}

@keyframes inv-new-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.7; }
}

/* ── Card Preview (70% height = 140px) ────────────────────────────────────── */

.inv-store-card__preview {
	height: 140px;
	background: #0d1424;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

/* ── Card Info ────────────────────────────────────────────────────────────── */

.inv-store-card__info {
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.inv-store-card__name {
	font-family: 'Rajdhani', sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	color: #c8cce8;
	line-height: 1.2;
	margin: 0;
}

.inv-store-card__meta {
	margin-top: auto;
}

.inv-store-card__price {
	font-family: 'Rajdhani', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	color: #f59e0b;
}

/* ── Buy Button ───────────────────────────────────────────────────────────── */

.inv-store-card__btn {
	width: 100%;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border-radius: 6px;
	font-family: 'Rajdhani', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	background: #f59e0b;
	color: #000;
	border: none;
	cursor: pointer;
	transition: opacity 0.15s ease;
	margin-top: auto;
}

.inv-store-card__btn:hover {
	opacity: 0.8;
}

.inv-store-card__btn--disabled {
	background: rgba(255, 255, 255, 0.04);
	color: #3d4560;
	cursor: not-allowed;
}

.inv-store-card__btn--disabled:hover {
	opacity: 1;
}

/* ── Level Badges ─────────────────────────────────────────────────────────── */

.inv-lvl-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 20px;
	font-size: 0.55rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.inv-lvl-badge--scout {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
}

.inv-lvl-badge--commander {
	background: rgba(245, 158, 11, 0.15);
	color: #f59e0b;
}

.inv-lvl-badge--warlord {
	background: rgba(239, 68, 68, 0.15);
	color: #ef4444;
}

.inv-lvl-badge--exclusive {
	background: rgba(59, 130, 246, 0.15);
	color: #60a5fa;
}

/* =============================================================================
   FRAME PREVIEWS
   ============================================================================= */

.inv-frame-preview {
	position: relative;
	width: 80px;
	height: 80px;
}

.inv-frame-avatar {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: linear-gradient(135deg, #1a2540, #0d1424);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	z-index: 1;
}

.inv-frame-svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 80px;
	height: 80px;
	z-index: 2;
}

.inv-frame-svg svg {
	width: 100%;
	height: 100%;
}

/* Frame animations */
@keyframes goldPulse {
	0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.5)); }
	50% { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.9)); }
}

.frame-gold-anim {
	animation: goldPulse 2s ease-in-out infinite;
}

@keyframes bluePulse {
	0%, 100% { filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.5)); }
	50% { filter: drop-shadow(0 0 12px rgba(96, 165, 250, 1)); }
}

.frame-invictus-anim {
	animation: bluePulse 2s ease-in-out infinite;
}

/* =============================================================================
   BANNER PREVIEWS
   ============================================================================= */

.inv-banner-preview {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.inv-banner-glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.inv-banner-bolt {
	position: absolute;
	width: 40px;
	height: 60px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.8;
}

.inv-banner-castle {
	position: absolute;
	width: 80px;
	height: 40px;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
}

/* =============================================================================
   THEME PREVIEWS (Mini Mockup)
   ============================================================================= */

.inv-theme-preview {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 10px;
	gap: 6px;
	border-radius: 4px;
}

.inv-theme-nav {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 14px;
	border-radius: 3px;
	padding: 0 6px;
}

.inv-theme-nav-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
}

.inv-theme-nav-bar {
	width: 18px;
	height: 3px;
	border-radius: 2px;
	opacity: 0.3;
}

.inv-theme-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 4px;
}

.inv-theme-bar {
	height: 4px;
	border-radius: 2px;
	opacity: 0.2;
}

.inv-theme-tiers {
	display: flex;
	gap: 4px;
	margin-top: auto;
}

.inv-theme-tier {
	flex: 1;
	height: 22px;
	border-radius: 3px;
}

/* =============================================================================
   BADGE PREVIEWS
   ============================================================================= */

.inv-badge-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.inv-badge-icon {
	font-size: 2.5rem;
	filter: drop-shadow(0 0 8px var(--badge-glow, #6b7494));
}

/* ── Badge Cards (bottom section) ─────────────────────────────────────────── */

.inv-badge-card {
	background: #111827;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	padding: 20px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.inv-badge-card:hover {
	border-color: var(--badge-glow, rgba(255, 255, 255, 0.15));
	transform: translateY(-2px);
}

.inv-badge-card__icon {
	font-size: 2rem;
	filter: drop-shadow(0 0 8px var(--badge-glow, #6b7494));
}

.inv-badge-card__name {
	font-family: 'Rajdhani', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	color: #c8cce8;
	line-height: 1.2;
}

.inv-badge-card__reward {
	font-size: 0.55rem;
	font-weight: 700;
	color: #f59e0b;
}

/* =============================================================================
   Warlord Rank — Featured Card
   ============================================================================= */

.inv-warlord-card {
	position: relative;
	background: #111827;
	border: 1px solid rgba(239, 68, 68, 0.35);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s;
}

.inv-warlord-card:hover {
	border-color: rgba(239, 68, 68, 0.55);
}

.inv-warlord-card__glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 20% 50%, rgba(239, 68, 68, 0.08) 0%, transparent 60%);
	pointer-events: none;
}

.inv-warlord-card__content {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	flex-wrap: wrap;
}

.inv-warlord-card__icon {
	font-size: 2rem;
	line-height: 1;
	flex-shrink: 0;
}

.inv-warlord-card__text {
	flex: 1;
	min-width: 180px;
}

.inv-warlord-card__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.inv-store-card__btn--warlord {
	background: linear-gradient(135deg, #b91c1c, #ef4444);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.7rem;
}

.inv-store-card__btn--warlord:hover {
	background: linear-gradient(135deg, #991b1b, #dc2626);
}

/* =============================================================================
   Subscription Plan Cards
   ============================================================================= */

.inv-plan-card {
	position: relative;
	background: #111827;
	border-radius: 12px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.inv-plan-card--featured {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, #111827 60%);
}

.inv-plan-card--active {
	box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.3);
}

.inv-plan-card__popular {
	position: absolute;
	top: -1px;
	right: 1rem;
	font-family: 'Rajdhani', sans-serif;
	font-size: 0.55rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
	background: linear-gradient(135deg, #b91c1c, #ef4444);
	padding: 3px 10px;
	border-radius: 0 0 6px 6px;
}

.inv-plan-card__badge {
	display: inline-flex;
	align-self: flex-start;
	font-family: 'Rajdhani', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 3px 12px;
	border-radius: 6px;
}

.inv-plan-card__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
}

.inv-plan-card__amount {
	font-family: 'Rajdhani', sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	color: #f0f4ff;
	line-height: 1;
}

.inv-plan-card__period {
	font-size: 0.75rem;
	color: #6b7494;
}

.inv-plan-card__features {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.75rem;
	color: #c8cce8;
}

.inv-plan-card__features li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.inv-plan-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	border-radius: 8px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	cursor: pointer;
	border: none;
	background: #f59e0b;
	color: #000;
	transition: opacity 0.15s;
	margin-top: auto;
}

.inv-plan-card__btn:hover {
	opacity: 0.85;
}

.inv-plan-card__btn--warlord {
	background: linear-gradient(135deg, #b91c1c, #ef4444);
	color: #fff;
}

.inv-plan-card__btn--warlord:hover {
	opacity: 0.85;
}

.inv-plan-card__status {
	text-align: center;
	font-size: 0.75rem;
	font-weight: 700;
	color: #22c55e;
	padding: 8px 0;
	margin-top: auto;
}

.inv-plan-card__status--dim {
	color: #6b7494;
}

/* ── Comparison Table ────────────────────────────────────────────────────── */
.inv-compare {
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding-top: 2rem;
	margin-bottom: 2rem;
}

.inv-compare__table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.inv-compare__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.82rem;
	min-width: 480px;
}

.inv-compare__table thead th {
	font-family: 'Rajdhani', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 12px 10px;
	text-align: center;
	border-bottom: 2px solid rgba(255, 255, 255, 0.08);
	vertical-align: bottom;
}

.inv-compare__feature-col {
	text-align: left !important;
	color: #8b93b0;
	width: 40%;
}

.inv-compare__level {
	width: 20%;
}

.inv-compare__level--scout {
	color: #6b7494;
}

.inv-compare__level--commander {
	color: #f59e0b;
}

.inv-compare__level--warlord {
	color: #ef4444;
}

.inv-compare__price-tag {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 0.68rem;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	opacity: 0.6;
	margin-top: 2px;
}

.inv-compare__row td {
	padding: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	text-align: center;
}

.inv-compare__row--alt td {
	background: rgba(255, 255, 255, 0.015);
}

.inv-compare__feature-name {
	text-align: left !important;
	color: #c5cbe0;
	font-weight: 500;
}

.inv-compare__check {
	color: #22c55e;
	font-weight: 700;
	font-size: 1rem;
}

.inv-compare__cross {
	color: #374151;
	font-size: 0.9rem;
}

.inv-compare__text {
	color: #c5cbe0;
	font-weight: 600;
	font-size: 0.78rem;
}

.inv-compare__color-dot {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	vertical-align: middle;
	box-shadow: 0 0 6px currentColor;
}

@media (max-width: 639px) {
	.inv-compare__table {
		font-size: 0.75rem;
	}

	.inv-compare__table thead th {
		padding: 8px 6px;
		font-size: 0.72rem;
	}

	.inv-compare__row td {
		padding: 8px 6px;
	}
}
