/* VIP Cards */
.vip-card {
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border-radius: 16px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.05);
	margin-bottom: 20px;
}
.vip-card:last-child {
	margin-bottom: 0;
}
.vip-card__header {
	background: linear-gradient(135deg, #3a3f47 0%, #2f333a 100%);
	padding: 12px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vip-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 16px;
}
.vip-nav .vip-nav__link {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: #e3e7ee !important;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-decoration: none !important;
	transition: all 0.2s ease;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.vip-nav .vip-nav__link i {
	font-size: 14px;
	opacity: 0.9;
}
.vip-nav .vip-nav__link:hover {
	color: #fff !important;
	border-color: rgba(76, 167, 255, 0.5);
	background: rgba(255, 255, 255, 0.09);
	transform: translateY(-1px);
}
.vip-nav .vip-nav__link.active {
	display: none !important;
}
@media (max-width: 768px) {
	.vip-card__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.vip-card__badge {
		align-self: flex-start;
	}
}
.vip-card__server {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}
.vip-card__server i {
	font-size: 16px;
	color: #3498db;
}
.vip-card__badge {
	display: flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
	padding: 6px 12px;
	border-radius: 16px;
	font-weight: 600;
	font-size: 12px;
	color: #fff;
	box-shadow: none;
}
.vip-card__badge i {
	font-size: 14px;
}
.vip-card__body {
	padding: 16px;
}
.vip-card__info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 15px;
	margin-bottom: 15px;
}
.vip-info-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.vip-info-item__icon {
	width: 32px;
	height: 32px;
	background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: none;
}
.vip-info-item__icon i {
	font-size: 16px;
	color: #fff;
}
.vip-info-item__content {
	flex: 1;
}
.vip-info-item__label {
	font-size: 11px;
	color: #95a5a6;
	margin-bottom: 3px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.vip-info-item__value {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}
.vip-info-item__value--time {
	color: #3498db;
}
.vip-card__actions {
	display: flex;
	gap: 10px;
	justify-content: flex-start;
	flex-wrap: wrap;
	padding-top: 15px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.vip-card__actions .btn {
	border-radius: 6px;
	border: none;
	box-shadow: none;
}
.vip-card__actions .btn-primary {
	background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}
.vip-card__actions .btn-warning {
	background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}
.vip-card__actions .badge {
	border-radius: 8px;
	padding: 10px 20px;
}

/* Modal Improvements */
.vip-refund-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}
.vip-refund-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.7);
	backdrop-filter: blur(4px);
}
.vip-refund-modal__content {
	position: relative;
	z-index: 1;
	max-width: 520px;
	width: 90%;
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border-radius: 16px;
	padding: 28px;
	color: #fff;
	box-shadow: 0 20px 60px rgba(0,0,0,0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
	animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.vip-refund-modal__title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.vip-refund-modal__title:before {
	content: '';
	width: 4px;
	height: 24px;
	background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
	border-radius: 2px;
}
.vip-refund-modal__text {
	font-size: 15px;
	opacity: 0.9;
	line-height: 1.6;
}
.vip-refund-modal__actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 24px;
}
.vip-refund-modal__actions .btn {
	border-radius: 8px;
	padding: 10px 24px;
	font-weight: 600;
	border: none;
}

/* Marketplace (rebuild) */
.market-filters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}
.market-filter {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.market-filter__label {
	font-size: 12px;
	color: #95a5a6;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.market-filter .form-control {
	height: 42px;
	min-height: 42px;
	padding: 0 12px;
	box-sizing: border-box;
	background: #25282d;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: #fff;
	width: 100%;
}
.market-filter input.form-control {
	line-height: 42px;
}
.market-filter select.form-control {
	line-height: 42px;
	padding: 0 32px 0 12px;
}
.market-filter input[type="number"].form-control {
	appearance: textfield;
	-moz-appearance: textfield;
	-webkit-appearance: textfield;
}
.market-filter input[type="number"].form-control::-webkit-outer-spin-button,
.market-filter input[type="number"].form-control::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.market-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	font-size: 12px;
	color: #95a5a6;
}
.market-info {
	padding: 4px 10px;
	background: rgba(52, 152, 219, 0.12);
	border: 1px solid rgba(52, 152, 219, 0.25);
	border-radius: 999px;
}
.market-stats-row {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 12px;
	margin: 8px 0 4px;
}
.market-stats-col {
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	padding: 12px;
}
.market-stats-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
}
.market-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.market-stat-card {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 10px;
	padding: 10px;
}
.market-stat-label {
	font-size: 11px;
	color: #95a5a6;
	margin-bottom: 6px;
}
.market-stat-value {
	font-size: 16px;
	font-weight: 700;
	color: #ecf0f1;
}
.market-top-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.market-top-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 10px;
	padding: 8px 10px;
}
.market-top-count {
	font-size: 11px;
	color: #95a5a6;
	font-weight: 600;
}
.market-top-user {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #a6c8ff;
	text-decoration: underline;
}
.market-top-sum {
	font-weight: 700;
	color: #2ecc71;
	font-size: 12px;
}
@media (max-width: 992px) {
	.market-stats-row {
		grid-template-columns: 1fr;
	}
}
.market-hub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 12px;
	margin-top: 12px;
}
.market-hub-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border-radius: 14px;
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border: 1px solid rgba(255,255,255,0.08);
	text-decoration: none;
	color: #ecf0f1;
	transition: all 0.2s ease;
}
.market-hub-card:hover {
	border-color: rgba(52, 152, 219, 0.45);
	transform: translateY(-1px);
}
.market-hub-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(52, 152, 219, 0.15);
	color: #a6c8ff;
	font-size: 22px;
}
.market-hub-content {
	flex: 1;
}
.market-hub-title {
	font-weight: 700;
	margin-bottom: 4px;
}
.market-hub-desc {
	font-size: 12px;
	color: #95a5a6;
}
.market-hub-stats {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 11px;
	color: #9aa3ad;
	margin-top: 6px;
}
.market-hub-stats b {
	color: #ecf0f1;
}
.market-hub-stats.muted {
	color: #6f7a85;
}
.market-hub-action {
	font-size: 12px;
	font-weight: 700;
	color: #f1c40f;
}
.market-hub-sections {
	margin-top: 14px;
	display: grid;
	gap: 12px;
}
.market-hub-tools {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 12px;
	margin-top: 10px;
}
.market-hub-search {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.market-hub-search input.form-control {
	background: #25282d;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	color: #fff;
	padding: 10px 12px;
}
.market-hub-search-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.market-hub-filter {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.market-hub-filter__label {
	font-size: 12px;
	color: #95a5a6;
	font-weight: 700;
}
.market-hub-filter select.form-control {
	background: #25282d;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	color: #fff;
	padding: 10px 12px;
}
.market-hub-section {
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	padding: 12px;
}
.market-hub-section__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
}
.market-hub-section__actions {
	margin-left: auto;
	display: inline-flex;
	gap: 8px;
}
.market-hub-link {
	font-size: 11px;
	font-weight: 700;
	color: #f1c40f;
	text-decoration: none;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(241, 196, 15, 0.12);
	border: 1px solid rgba(241, 196, 15, 0.3);
}
.market-hub-link.inline {
	margin-left: auto;
	padding: 2px 6px;
	font-size: 10px;
}
.market-hub-link:hover {
	color: #fff;
}
.market-hub-lists {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 10px;
}
.market-hub-list-card {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 10px;
	padding: 10px;
}
.market-hub-list-title {
	font-size: 12px;
	font-weight: 700;
	color: #ecf0f1;
	margin-bottom: 8px;
}
.market-hub-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.market-hub-list.empty {
	color: #95a5a6;
	font-size: 12px;
}
.market-hub-item {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 12px;
	color: #cbd3da;
}
.market-hub-item__title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.market-hub-item__price {
	font-weight: 700;
	color: #2ecc71;
	white-space: nowrap;
}
.market-hub-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.market-hub-action-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 10px;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.08);
	color: #cbd3da;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
}
.market-hub-action-btn:hover {
	color: #fff;
	border-color: rgba(52, 152, 219, 0.4);
}
.market-hub-rules {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #95a5a6;
	font-size: 12px;
}
.market-hub-rule {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 8px;
	padding: 8px 10px;
}
/* Shop-specific styles */
.market-hub-card[href*="/shop/marketplace"] .market-hub-icon {
	background: rgba(46, 204, 113, 0.15);
	color: #2ecc71;
}
.market-hub-card[href*="/shop/marketplace"]:hover {
	border-color: rgba(46, 204, 113, 0.45);
}
.market-hub-card[href*="/shop/marketplace"] .market-hub-action {
	color: #2ecc71;
}
/* Enhanced list card styles */
.market-hub-list-card {
	position: relative;
}
.market-hub-list-card:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: rgba(46, 204, 113, 0.3);
	border-radius: 2px 0 0 2px;
}
.market-hub-list-card:last-child::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: rgba(241, 196, 15, 0.3);
	border-radius: 2px 0 0 2px;
}
/* Shop type badges */
.market-hub-item__badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 6px;
	border-radius: 6px;
	font-size: 10px;
	font-weight: 600;
	margin-left: 4px;
}
.market-hub-item__badge--credits {
	background: rgba(52, 152, 219, 0.15);
	color: #3498db;
	border: 1px solid rgba(52, 152, 219, 0.3);
}
.market-hub-item__badge--gold {
	background: rgba(241, 196, 15, 0.15);
	color: #f1c40f;
	border: 1px solid rgba(241, 196, 15, 0.3);
}
.market-hub-item__badge--race {
	background: rgba(155, 89, 182, 0.15);
	color: #9b59b6;
	border: 1px solid rgba(155, 89, 182, 0.3);
}
.market-hub-item__badge--bank {
	background: rgba(231, 76, 60, 0.15);
	color: #e74c3c;
	border: 1px solid rgba(231, 76, 60, 0.3);
}
/* Enhanced stats display */
.market-hub-stats {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 8px;
}
.market-hub-stats > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 0;
	border-bottom: 1px solid rgba(255,255,255,0.05);
}
.market-hub-stats > div:last-child {
	border-bottom: none;
}
.market-hub-stats span {
	font-size: 11px;
	color: #95a5a6;
}
.market-hub-stats b {
	font-size: 12px;
	color: #2ecc71;
	font-weight: 700;
}
/* Improved section titles */
.market-hub-section__title {
	font-size: 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
	margin-bottom: 12px;
}
.market-hub-section__title i {
	font-size: 16px;
	color: #3498db;
}
/* Enhanced list titles */
.market-hub-list-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	margin-bottom: 10px;
}
/* Better empty states */
.market-hub-list.empty {
	text-align: center;
	padding: 12px;
	color: #6f7a85;
	font-size: 11px;
	font-style: italic;
}
/* Improved item display */
.market-hub-item {
	padding: 6px 8px;
	border-radius: 6px;
	background: rgba(255,255,255,0.02);
	transition: all 0.2s ease;
}
.market-hub-item:hover {
	background: rgba(255,255,255,0.05);
}
.market-hub-item__title {
	flex: 1;
	min-width: 0;
}
.market-hub-item__price {
	font-size: 13px;
}
/* Savings indicator */
.market-hub-item__price[style*="green"],
.market-hub-item__price.positive {
	color: #2ecc71 !important;
}
.market-hub-item__price.negative {
	color: #e74c3c !important;
}
@media (max-width: 992px) {
	.market-hub-tools {
		grid-template-columns: 1fr;
	}
	.market-hub-lists {
		grid-template-columns: 1fr;
	}
	.market-hub-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================
   MARKETPLACE HUB REDESIGN - FULL WIDTH
   ============================================ */

.marketplace-hub-container {
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
}

/* Header */
.marketplace-hub-header {
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border-radius: 20px;
	padding: 30px;
	margin-bottom: 24px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
	            0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.marketplace-hub-header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.marketplace-hub-header__content {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1;
}

.marketplace-hub-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.marketplace-hub-create {
	position: relative;
}

.marketplace-hub-create > summary {
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.marketplace-hub-create > summary::-webkit-details-marker {
	display: none;
}

.marketplace-hub-create-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 12px;
	background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
	border: 1px solid rgba(46, 204, 113, 0.3);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px rgba(46, 204, 113, 0.3);
}

.marketplace-hub-create-btn i {
	font-size: 18px;
}

.marketplace-hub-create-btn:hover {
	background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(46, 204, 113, 0.4);
	color: #fff;
}

.marketplace-hub-create__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	min-width: 220px;
	padding: 8px;
	border-radius: 12px;
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	z-index: 50;
}

.marketplace-hub-create__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.marketplace-hub-create__item i {
	font-size: 18px;
	color: #cbd3da;
}

.marketplace-hub-create__item:hover {
	background: rgba(255, 255, 255, 0.06);
	transform: translateX(2px);
}

.marketplace-hub-create__item:hover i {
	color: #fff;
}

.marketplace-hub-header__icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	color: #fff;
	box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
	position: relative;
}

.marketplace-hub-new-count {
	position: absolute;
	top: -8px;
	right: -8px;
	background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	padding: 4px 8px;
	border-radius: 12px;
	min-width: 24px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
	border: 2px solid #2f333a;
	animation: pulse-badge 2s infinite;
	z-index: 10;
}

@keyframes pulse-badge {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
	}
	50% {
		transform: scale(1.1);
		box-shadow: 0 6px 16px rgba(231, 76, 60, 0.7);
	}
}

.marketplace-hub-title {
	font-size: 32px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 8px 0;
}

.marketplace-hub-subtitle {
	font-size: 16px;
	color: #95a5a6;
	margin: 0;
}

.marketplace-hub-nav {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.marketplace-hub-nav__item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #cbd3da;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
}

.marketplace-hub-nav__item i {
	font-size: 18px;
}

.marketplace-hub-nav__item:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(52, 152, 219, 0.5);
	color: #fff;
	transform: translateY(-2px);
}

.marketplace-hub-nav__item.active {
	background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
	border-color: #3498db;
	color: #fff;
	box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
}

/* Stats Overview */
.marketplace-hub-stats-overview {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

.marketplace-hub-stat-item {
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border-radius: 16px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	gap: 16px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
	            0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.marketplace-hub-stat-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35),
	            0 1px 0 rgba(255, 255, 255, 0.08) inset,
	            0 0 0 1px rgba(52, 152, 219, 0.2);
	border-color: rgba(52, 152, 219, 0.3);
}

.marketplace-hub-stat-item__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.1) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #3498db;
	flex-shrink: 0;
}

.marketplace-hub-stat-item__content {
	flex: 1;
}

.marketplace-hub-stat-item__value {
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 4px;
	line-height: 1;
	transition: all 0.3s ease;
}

.marketplace-hub-stat-item__value:not(:empty) {
	animation: fadeInUp 0.5s ease-out;
}

.marketplace-hub-stat-item__value .stat-value {
	display: inline-block;
	animation: countUp 0.8s ease-out;
}

@keyframes countUp {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.9);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.marketplace-hub-stat-item__label {
	font-size: 12px;
	color: #95a5a6;
}

/* Тултипы для статистики */
.marketplace-hub-stat-item[data-tooltip="true"] {
	position: relative;
	cursor: help;
}

.marketplace-hub-tooltip {
	position: absolute;
	bottom: calc(100% + 12px);
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	z-index: 1000;
}

.marketplace-hub-tooltip::before {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid rgba(47, 51, 58, 0.98);
}

.marketplace-hub-tooltip.active {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}

.marketplace-hub-tooltip__content {
	background: rgba(47, 51, 58, 0.98);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	padding: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
	min-width: 180px;
}

.marketplace-hub-tooltip__item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	font-size: 12px;
	color: #cbd3da;
}

.marketplace-hub-tooltip__item:not(:last-child) {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marketplace-hub-tooltip__item i {
	font-size: 16px;
	opacity: 0.8;
}

.marketplace-hub-tooltip__item .bx-crown {
	color: #f1c40f;
}

.marketplace-hub-tooltip__item .bx-paint {
	color: #3498db;
}

.marketplace-hub-tooltip__item .bx-key {
	color: #2ecc71;
}

.marketplace-hub-tooltip__item strong {
	color: #fff;
	font-weight: 700;
	margin-left: auto;
}

/* Моя статистика */
.marketplace-hub-my-stats {
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border-radius: 16px;
	padding: 20px;
	margin-bottom: 24px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.marketplace-hub-my-stats__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marketplace-hub-my-stats__header i {
	font-size: 20px;
	color: #3498db;
}

.marketplace-hub-my-stats__title {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.marketplace-hub-my-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.marketplace-hub-my-stats__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: all 0.3s ease;
}

.marketplace-hub-my-stats__item:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(52, 152, 219, 0.3);
	transform: translateY(-2px);
}

.marketplace-hub-my-stats__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.marketplace-hub-my-stats__icon--listed {
	background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.1) 100%);
	color: #3498db;
}

.marketplace-hub-my-stats__icon--sold {
	background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(46, 204, 113, 0.1) 100%);
	color: #2ecc71;
}

.marketplace-hub-my-stats__icon--earned {
	background: linear-gradient(135deg, rgba(241, 196, 15, 0.2) 0%, rgba(241, 196, 15, 0.1) 100%);
	color: #f1c40f;
}

.marketplace-hub-my-stats__icon--bought {
	background: linear-gradient(135deg, rgba(155, 89, 182, 0.2) 0%, rgba(155, 89, 182, 0.1) 100%);
	color: #9b59b6;
}

.marketplace-hub-my-stats__content {
	flex: 1;
}

.marketplace-hub-my-stats__value {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 2px;
	line-height: 1;
}

.marketplace-hub-my-stats__label {
	font-size: 11px;
	color: #95a5a6;
}

/* Индикатор NEW */
.market-hub-item__new {
	display: inline-flex;
	align-items: center;
	padding: 2px 6px;
	border-radius: 4px;
	background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-left: 6px;
	box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
	animation: pulse-new 2s infinite;
}

@keyframes pulse-new {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.8;
		transform: scale(1.05);
	}
}

.market-hub-item--new {
	position: relative;
}

.market-hub-item--new::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
	border-radius: 0 2px 2px 0;
}

/* Search Bar */
.marketplace-hub-search-bar {
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border-radius: 16px;
	padding: 20px;
	margin-bottom: 24px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: grid;
	grid-template-columns: 2fr auto auto;
	gap: 16px;
	align-items: center;
}

.marketplace-hub-search-bar__input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.marketplace-hub-search-bar__input-wrapper i {
	position: absolute;
	left: 16px;
	color: #95a5a6;
	font-size: 20px;
	z-index: 1;
}

.marketplace-hub-search-input {
	width: 100%;
	padding: 14px 16px 14px 48px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	color: #fff;
	font-size: 14px;
	transition: all 0.3s ease;
}

.marketplace-hub-search-input:focus {
	outline: none;
	border-color: #3498db;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.marketplace-hub-search-bar__actions {
	display: flex;
	gap: 8px;
}

.marketplace-hub-search-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #cbd3da;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.marketplace-hub-search-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(52, 152, 219, 0.5);
	color: #fff;
	transform: translateY(-2px);
}

.marketplace-hub-search-bar__filter {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.marketplace-hub-search-bar__filter i {
	color: #95a5a6;
	font-size: 18px;
}

.marketplace-hub-filter-select {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	outline: none;
}

.marketplace-hub-filter-select option {
	background: #2f333a;
	color: #fff;
}

/* Main Cards */
.marketplace-hub-main-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 24px;
}

.marketplace-hub-main-card {
	position: relative;
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border-radius: 16px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
	            0 1px 0 rgba(255, 255, 255, 0.05) inset;
	cursor: pointer;
	display: flex;
	flex-direction: column;
}

.marketplace-hub-main-card__bg {
	position: absolute;
	top: 0;
	right: 0;
	width: 180px;
	height: 180px;
	opacity: 0.08;
	background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
	border-radius: 50%;
	transform: translate(25%, -25%);
	transition: all 0.5s ease;
}

.marketplace-hub-main-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
	            0 2px 8px rgba(0, 0, 0, 0.15);
}

.marketplace-hub-main-card:hover .marketplace-hub-main-card__bg {
	opacity: 0.15;
	transform: translate(20%, -20%) scale(1.15);
}

.marketplace-hub-main-card--skins {
	border-left: 3px solid #3498db;
}

.marketplace-hub-main-card--skins::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.marketplace-hub-main-card--skins:hover {
	border-left-color: #2980b9;
	box-shadow: 0 12px 40px rgba(52, 152, 219, 0.25);
}

.marketplace-hub-main-card--skins:hover::before {
	opacity: 1;
}

.marketplace-hub-main-card--vip {
	border-left: 3px solid #f1c40f;
}

.marketplace-hub-main-card--vip::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #f1c40f 0%, #f39c12 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.marketplace-hub-main-card--vip:hover {
	border-left-color: #f39c12;
	box-shadow: 0 12px 40px rgba(241, 196, 15, 0.25);
}

.marketplace-hub-main-card--vip:hover::before {
	opacity: 1;
}

.marketplace-hub-main-card--shop {
	border-left: 3px solid #2ecc71;
}

.marketplace-hub-main-card--shop::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #2ecc71 0%, #27ae60 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.marketplace-hub-main-card--shop:hover {
	border-left-color: #27ae60;
	box-shadow: 0 12px 40px rgba(46, 204, 113, 0.25);
}

.marketplace-hub-main-card--shop:hover::before {
	opacity: 1;
}

.marketplace-hub-main-card__content {
	position: relative;
	z-index: 1;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.marketplace-hub-main-card__content:last-of-type {
	padding-top: 0;
	margin-top: auto;
}

.marketplace-hub-main-card__header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.marketplace-hub-main-card__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.marketplace-hub-main-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.marketplace-hub-main-card:hover .marketplace-hub-main-card__icon {
	transform: scale(1.05) rotate(5deg);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.marketplace-hub-main-card--skins .marketplace-hub-main-card__icon {
	background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.1) 100%);
	color: #3498db;
}

.marketplace-hub-main-card--vip .marketplace-hub-main-card__icon {
	background: linear-gradient(135deg, rgba(241, 196, 15, 0.2) 0%, rgba(241, 196, 15, 0.1) 100%);
	color: #f1c40f;
}

.marketplace-hub-main-card--shop .marketplace-hub-main-card__icon {
	background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(46, 204, 113, 0.1) 100%);
	color: #2ecc71;
}

.marketplace-hub-main-card__info {
	flex: 1;
	min-width: 0;
}

.marketplace-hub-main-card__title {
	font-size: 19px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1.3;
	letter-spacing: -0.3px;
}

.marketplace-hub-main-card__desc {
	font-size: 13px;
	color: #95a5a6;
	margin: 0;
	line-height: 1.5;
}

.marketplace-hub-main-card__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin: 0;
	padding: 12px 18px;
	width: 100%;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	background: rgba(0, 0, 0, 0.1);
}

.marketplace-hub-main-card__stats > div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 8px 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.2s ease;
	gap: 4px;
	min-width: 0;
}

.marketplace-hub-main-card__stats > div:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.1);
}

.marketplace-hub-main-card__stats span {
	font-size: 9px;
	color: #95a5a6;
	font-weight: 500;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	line-height: 1.2;
}

.marketplace-hub-main-card__stats b {
	font-size: 16px;
	color: #2ecc71;
	font-weight: 700;
	white-space: nowrap;
	letter-spacing: -0.3px;
	line-height: 1.2;
}

.marketplace-hub-main-card__progress {
	margin: 0;
	padding: 8px 18px 12px 18px;
	width: 100%;
	box-sizing: border-box;
	min-height: 32px;
	display: flex;
	align-items: center;
}

.marketplace-hub-progress-bar {
	width: 100%;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.05);
	overflow: hidden;
	position: relative;
}

.marketplace-hub-progress-bar__fill {
	height: 100%;
	border-radius: 2px;
	transition: width 1s ease-out;
	position: relative;
	overflow: hidden;
}

.marketplace-hub-progress-bar__fill::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
	animation: shimmer-progress 2s infinite;
}

@keyframes shimmer-progress {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(100%);
	}
}

.marketplace-hub-progress-bar__fill--vip {
	background: linear-gradient(90deg, #f1c40f 0%, #f39c12 100%);
	box-shadow: 0 0 8px rgba(241, 196, 15, 0.5);
}

.marketplace-hub-progress-bar__fill--skins {
	background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
	box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

.marketplace-hub-progress-bar__fill--shop {
	background: linear-gradient(90deg, #2ecc71 0%, #27ae60 100%);
	box-shadow: 0 0 8px rgba(46, 204, 113, 0.5);
}

.marketplace-hub-main-card__action {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	transition: all 0.3s ease;
	flex-shrink: 0;
	white-space: nowrap;
	margin-top: 0;
	position: relative;
	overflow: hidden;
}

.marketplace-hub-main-card__action::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.5s ease;
}

.marketplace-hub-main-card__action:hover::before {
	left: 100%;
}

.marketplace-hub-main-card__action-text {
	display: inline-block;
	position: relative;
	z-index: 1;
}

.marketplace-hub-main-card__action i {
	font-size: 18px;
	transition: transform 0.3s ease;
	position: relative;
	z-index: 1;
}

.marketplace-hub-main-card:hover .marketplace-hub-main-card__action {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.marketplace-hub-main-card:hover .marketplace-hub-main-card__action i {
	transform: translateX(3px);
}

/* Цветные акценты для кнопок */
.marketplace-hub-main-card--skins:hover .marketplace-hub-main-card__action {
	background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.1) 100%);
	border-color: rgba(52, 152, 219, 0.4);
	color: #3498db;
	box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.marketplace-hub-main-card--vip:hover .marketplace-hub-main-card__action {
	background: linear-gradient(135deg, rgba(241, 196, 15, 0.2) 0%, rgba(241, 196, 15, 0.1) 100%);
	border-color: rgba(241, 196, 15, 0.4);
	color: #f1c40f;
	box-shadow: 0 4px 16px rgba(241, 196, 15, 0.3);
}

.marketplace-hub-main-card--shop:hover .marketplace-hub-main-card__action {
	background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(46, 204, 113, 0.1) 100%);
	border-color: rgba(46, 204, 113, 0.4);
	color: #2ecc71;
	box-shadow: 0 4px 16px rgba(46, 204, 113, 0.3);
}

/* Quick Filters */
.marketplace-hub-quick-filters {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.marketplace-hub-quick-filter {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #cbd3da;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.marketplace-hub-quick-filter i {
	font-size: 18px;
}

.marketplace-hub-quick-filter:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(52, 152, 219, 0.5);
	color: #fff;
	transform: translateY(-2px);
}

.marketplace-hub-quick-filter.active {
	background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
	border-color: #3498db;
	color: #fff;
	box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
}

/* Sections Grid */
.marketplace-hub-sections-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.marketplace-hub-section-card {
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border-radius: 20px;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
	            0 1px 0 rgba(255, 255, 255, 0.05) inset;
	transition: all 0.3s ease;
	margin-bottom: 24px;
}

.marketplace-hub-section-card:hover {
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4),
	            0 1px 0 rgba(255, 255, 255, 0.08) inset;
	transform: translateY(-2px);
}

.marketplace-hub-section-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marketplace-hub-section-card__header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.marketplace-hub-section-card__header-left i {
	font-size: 24px;
	color: #3498db;
}

.marketplace-hub-section-card__title {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.marketplace-hub-category-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.marketplace-hub-category-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 16px;
}

.marketplace-hub-category-item__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marketplace-hub-category-item__label {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

.marketplace-hub-category-item__link {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #3498db;
	text-decoration: none;
	transition: all 0.3s ease;
}

.marketplace-hub-category-item__link:hover {
	color: #2980b9;
	gap: 8px;
}

.marketplace-hub-category-item__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.marketplace-hub-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.02);
	transition: all 0.3s ease;
}

.marketplace-hub-item:hover {
	background: rgba(255, 255, 255, 0.05);
	transform: translateX(4px);
}

.marketplace-hub-item__title {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	color: #cbd3da;
	display: flex;
	align-items: center;
	gap: 6px;
}

.marketplace-hub-item__price {
	font-size: 14px;
	font-weight: 700;
	color: #2ecc71;
	white-space: nowrap;
}

.marketplace-hub-item__price.positive {
	color: #2ecc71;
}

.marketplace-hub-item__badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 6px;
	border-radius: 6px;
	font-size: 10px;
	font-weight: 600;
}

.marketplace-hub-item__badge--credits {
	background: rgba(52, 152, 219, 0.15);
	color: #3498db;
	border: 1px solid rgba(52, 152, 219, 0.3);
}

.marketplace-hub-item__badge--gold {
	background: rgba(241, 196, 15, 0.15);
	color: #f1c40f;
	border: 1px solid rgba(241, 196, 15, 0.3);
}

.marketplace-hub-item__badge--race {
	background: rgba(155, 89, 182, 0.15);
	color: #9b59b6;
	border: 1px solid rgba(155, 89, 182, 0.3);
}

.marketplace-hub-item__badge--bank {
	background: rgba(231, 76, 60, 0.15);
	color: #e74c3c;
	border: 1px solid rgba(231, 76, 60, 0.3);
}

.marketplace-hub-list.empty {
	text-align: center;
	padding: 20px;
	color: #6f7a85;
	font-size: 13px;
	font-style: italic;
}

/* Quick Actions */
.marketplace-hub-quick-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
}

.marketplace-hub-quick-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 20px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-decoration: none;
	color: #cbd3da;
	transition: all 0.3s ease;
}

.marketplace-hub-quick-action i {
	font-size: 28px;
	color: #3498db;
	transition: all 0.3s ease;
}

.marketplace-hub-quick-action span {
	font-size: 13px;
	font-weight: 600;
}

.marketplace-hub-quick-action:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(52, 152, 219, 0.5);
	color: #fff;
	transform: translateY(-4px);
}

.marketplace-hub-quick-action:hover i {
	color: #2980b9;
	transform: scale(1.1);
}

/* Compact quick actions (used in combined block) */
.marketplace-hub-quick-actions--compact {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.marketplace-hub-quick-action--compact {
	padding: 12px;
	gap: 6px;
}

.marketplace-hub-quick-action--compact i {
	font-size: 20px;
}

.marketplace-hub-quick-action--compact span {
	font-size: 12px;
}

/* Rules */
.marketplace-hub-rules-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.marketplace-hub-rule-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.marketplace-hub-rule-item i {
	font-size: 20px;
	color: #2ecc71;
	flex-shrink: 0;
}

.marketplace-hub-rule-item span {
	font-size: 13px;
	color: #cbd3da;
	line-height: 1.5;
}

/* Top Sellers */
.marketplace-hub-top-sellers {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.marketplace-hub-top-seller-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: all 0.3s ease;
}

.marketplace-hub-top-seller-item:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(52, 152, 219, 0.3);
	transform: translateX(4px);
}

.marketplace-hub-top-seller-item__rank {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	flex-shrink: 0;
}

.marketplace-hub-top-seller-item__rank--1 {
	background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
	color: #fff;
}

.marketplace-hub-top-seller-item__rank--2 {
	background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
	color: #fff;
}

.marketplace-hub-top-seller-item__rank--3 {
	background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
	color: #fff;
}

.marketplace-hub-top-seller-item__rank--other {
	background: rgba(255, 255, 255, 0.05);
	color: #cbd3da;
}

.marketplace-hub-top-seller-item__avatar {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	border: 2px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

.marketplace-hub-top-seller-item__avatar:hover {
	border-color: rgba(52, 152, 219, 0.5);
	transform: scale(1.05);
}

.marketplace-hub-top-seller-item__avatar a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.marketplace-hub-top-seller-item__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.marketplace-hub-top-seller-item__info {
	flex: 1;
	min-width: 0;
}

.marketplace-hub-top-seller-item__name {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 4px;
}

.marketplace-hub-top-seller-item__name a {
	color: #3498db;
	text-decoration: none;
	transition: color 0.3s ease;
}

.marketplace-hub-top-seller-item__name a:hover {
	color: #2980b9;
	text-decoration: underline;
}

.marketplace-hub-top-seller-item__stats {
	display: flex;
	gap: 16px;
	font-size: 12px;
	color: #95a5a6;
}

.marketplace-hub-top-seller-item__value {
	font-size: 16px;
	font-weight: 700;
	color: #2ecc71;
	white-space: nowrap;
}

/* Best Deals */
.marketplace-hub-best-deals {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.marketplace-hub-best-deal-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(46, 204, 113, 0.05) 100%);
	border: 1px solid rgba(46, 204, 113, 0.2);
	transition: all 0.3s ease;
}

.marketplace-hub-best-deal-item:hover {
	background: linear-gradient(135deg, rgba(46, 204, 113, 0.15) 0%, rgba(46, 204, 113, 0.08) 100%);
	border-color: rgba(46, 204, 113, 0.4);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.marketplace-hub-best-deal-item__content {
	flex: 1;
	min-width: 0;
}

.marketplace-hub-best-deal-item__title {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.marketplace-hub-best-deal-item__badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 6px;
	background: rgba(46, 204, 113, 0.2);
	color: #2ecc71;
	font-size: 11px;
	font-weight: 600;
	border: 1px solid rgba(46, 204, 113, 0.3);
}

.marketplace-hub-best-deal-item__meta {
	display: flex;
	gap: 16px;
	font-size: 12px;
	color: #95a5a6;
}

.marketplace-hub-best-deal-item__savings {
	font-size: 18px;
	font-weight: 700;
	color: #2ecc71;
	white-space: nowrap;
}

/* Цветовая индикация выгоды */
.marketplace-hub-best-deal-item--savings-high {
	border-left: 4px solid #2ecc71;
	background: linear-gradient(135deg, rgba(46, 204, 113, 0.15) 0%, rgba(46, 204, 113, 0.08) 100%);
}

.marketplace-hub-best-deal-item--savings-medium {
	border-left: 4px solid #f1c40f;
	background: linear-gradient(135deg, rgba(241, 196, 15, 0.12) 0%, rgba(241, 196, 15, 0.06) 100%);
}

.marketplace-hub-best-deal-item--savings-low {
	border-left: 4px solid #3498db;
	background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
}

.marketplace-hub-best-deal-item__badge--savings-high {
	background: rgba(46, 204, 113, 0.25);
	color: #2ecc71;
	border: 1px solid rgba(46, 204, 113, 0.4);
}

.marketplace-hub-best-deal-item__badge--savings-medium {
	background: rgba(241, 196, 15, 0.25);
	color: #f1c40f;
	border: 1px solid rgba(241, 196, 15, 0.4);
}

.marketplace-hub-best-deal-item__badge--savings-low {
	background: rgba(52, 152, 219, 0.25);
	color: #3498db;
	border: 1px solid rgba(52, 152, 219, 0.4);
}

.marketplace-hub-best-deal-item__savings--savings-high {
	color: #2ecc71;
}

.marketplace-hub-best-deal-item__savings--savings-medium {
	color: #f1c40f;
}

.marketplace-hub-best-deal-item__savings--savings-low {
	color: #3498db;
}

/* Цветовая индикация для market-hub-item */
.market-hub-item--savings-high {
	border-left: 3px solid #2ecc71;
}

.market-hub-item--savings-medium {
	border-left: 3px solid #f1c40f;
}

.market-hub-item--savings-low {
	border-left: 3px solid #3498db;
}

.market-hub-item__price--savings-high {
	color: #2ecc71 !important;
}

.market-hub-item__price--savings-medium {
	color: #f1c40f !important;
}

.market-hub-item__price--savings-low {
	color: #3498db !important;
}

.market-hub-item__price i {
	font-size: 12px;
	margin-right: 2px;
}

/* Insights */
.marketplace-hub-insights {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.marketplace-hub-insight-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: all 0.3s ease;
}

.marketplace-hub-insight-item:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(52, 152, 219, 0.3);
}

.marketplace-hub-insight-item__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.1) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #3498db;
	flex-shrink: 0;
}

.marketplace-hub-insight-item__content {
	flex: 1;
}

.marketplace-hub-insight-item__label {
	font-size: 11px;
	color: #95a5a6;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.marketplace-hub-insight-item__value {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.marketplace-hub-insight-item__value .insight-value {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	animation: fadeInUp 0.5s ease-out;
}

.marketplace-hub-insight-item__value .insight-value i {
	opacity: 0.7;
}

/* Combined block (Analytics + Quick Actions) */
.marketplace-hub-combined-content {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 24px;
	align-items: start;
}

.marketplace-hub-combined-section {
	flex: 1;
}

.marketplace-hub-combined-section__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marketplace-hub-combined-section__header i {
	font-size: 20px;
	color: #3498db;
}

.marketplace-hub-combined-section__title {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.marketplace-hub-combined-divider {
	width: 1px;
	background: rgba(255, 255, 255, 0.1);
	align-self: stretch;
}

/* Compact insights */
.marketplace-hub-insights--compact {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.marketplace-hub-insight-item--compact {
	padding: 10px 12px;
	gap: 10px;
}

.marketplace-hub-insight-item__icon--compact {
	width: 32px;
	height: 32px;
	font-size: 16px;
}

.marketplace-hub-insight-item--compact .marketplace-hub-insight-item__label {
	font-size: 10px;
	margin-bottom: 2px;
}

.marketplace-hub-insight-item--compact .marketplace-hub-insight-item__value {
	font-size: 16px;
}

/* Horizontal insights */
.marketplace-hub-insights--horizontal {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.marketplace-hub-section-card--analytics {
	margin-top: 20px;
}

.marketplace-hub-insight-item--horizontal {
	padding: 16px;
	gap: 12px;
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

.marketplace-hub-insight-item--horizontal:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

.marketplace-hub-insight-item__icon--horizontal {
	width: 40px;
	height: 40px;
	font-size: 20px;
	flex-shrink: 0;
}

.marketplace-hub-insight-item--horizontal .marketplace-hub-insight-item__label {
	font-size: 11px;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.marketplace-hub-insight-item--horizontal .marketplace-hub-insight-item__value {
	font-size: 18px;
	font-weight: 700;
}

/* Compact quick actions */
.marketplace-hub-quick-actions--compact {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.marketplace-hub-quick-action--compact {
	padding: 12px;
	gap: 6px;
}

.marketplace-hub-quick-action--compact i {
	font-size: 20px;
}

.marketplace-hub-quick-action--compact span {
	font-size: 12px;
}

/* Skeleton Loading */
.marketplace-hub-skeleton {
	height: 50px;
	border-radius: 8px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
	background-size: 200% 100%;
	animation: skeleton-loading 1.5s infinite;
	margin-bottom: 8px;
}

@keyframes skeleton-loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* Fade-in animation for new content */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.marketplace-hub-top-seller-item,
.marketplace-hub-best-deal-item,
.marketplace-hub-insight-item {
	animation: fadeInUp 0.4s ease-out;
}

.marketplace-hub-top-seller-item:nth-child(1) { animation-delay: 0.05s; }
.marketplace-hub-top-seller-item:nth-child(2) { animation-delay: 0.1s; }
.marketplace-hub-top-seller-item:nth-child(3) { animation-delay: 0.15s; }
.marketplace-hub-top-seller-item:nth-child(4) { animation-delay: 0.2s; }
.marketplace-hub-top-seller-item:nth-child(5) { animation-delay: 0.25s; }

.marketplace-hub-best-deal-item:nth-child(1) { animation-delay: 0.05s; }
.marketplace-hub-best-deal-item:nth-child(2) { animation-delay: 0.1s; }
.marketplace-hub-best-deal-item:nth-child(3) { animation-delay: 0.15s; }

/* Pulse animation for live indicator */
@keyframes pulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.7;
		transform: scale(1.1);
	}
}

.marketplace-hub-live-dot {
	animation: pulse 2s infinite;
}

.marketplace-hub-top-sellers__loading,
.marketplace-hub-best-deals__loading {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Live Activities */
.marketplace-hub-live-indicator {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #2ecc71;
}

.marketplace-hub-live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2ecc71;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.5;
		transform: scale(1.2);
	}
}

.marketplace-hub-activity-feed {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 400px;
	overflow-y: auto;
}

.marketplace-hub-activity-feed::-webkit-scrollbar {
	width: 6px;
}

.marketplace-hub-activity-feed::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 3px;
}

.marketplace-hub-activity-feed::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
}

.marketplace-hub-activity-feed::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}

.marketplace-hub-activity-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: all 0.3s ease;
	animation: slideIn 0.3s ease;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(-10px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.marketplace-hub-activity-item:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(52, 152, 219, 0.3);
}

.marketplace-hub-activity-item__icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.marketplace-hub-activity-item--vip .marketplace-hub-activity-item__icon {
	background: rgba(241, 196, 15, 0.15);
	color: #f1c40f;
}

.marketplace-hub-activity-item--skins .marketplace-hub-activity-item__icon {
	background: rgba(52, 152, 219, 0.15);
	color: #3498db;
}

.marketplace-hub-activity-item--shop .marketplace-hub-activity-item__icon {
	background: rgba(46, 204, 113, 0.15);
	color: #2ecc71;
}

.marketplace-hub-activity-item__content {
	flex: 1;
	min-width: 0;
}

.marketplace-hub-activity-item__text {
	font-size: 13px;
	color: #cbd3da;
	line-height: 1.4;
}

.marketplace-hub-activity-item__text strong {
	color: #fff;
	font-weight: 600;
}

.marketplace-hub-activity-item__time {
	font-size: 11px;
	color: #6f7a85;
	margin-top: 4px;
}

/* Responsive */
@media (max-width: 1400px) {
	.marketplace-hub-sections-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1200px) {
	.marketplace-hub-main-cards {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.marketplace-hub-sections-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 992px) {
	.marketplace-hub-stats-overview {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.marketplace-hub-main-cards {
		grid-template-columns: 1fr;
	}
	
	.marketplace-hub-sections-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.marketplace-hub-container {
		padding: 12px;
	}
	
	.marketplace-hub-header {
		padding: 20px;
	}
	
	.marketplace-hub-header__content {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.marketplace-hub-header__actions {
		width: 100%;
	}
	
	.marketplace-hub-create-btn {
		width: 100%;
		justify-content: center;
	}
	
	.marketplace-hub-title {
		font-size: 24px;
	}
	
	.marketplace-hub-search-bar {
		grid-template-columns: 1fr;
	}
	
	.marketplace-hub-main-cards {
		grid-template-columns: 1fr;
	}
	
	.marketplace-hub-quick-actions {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.marketplace-hub-insights {
		grid-template-columns: 1fr;
	}
	
	.marketplace-hub-stats-overview {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.marketplace-hub-my-stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.marketplace-hub-combined-content {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.marketplace-hub-combined-divider {
		width: 100%;
		height: 1px;
	}
	
	.marketplace-hub-combined-section__header {
		margin-bottom: 12px;
		padding-bottom: 10px;
	}
}
.market-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
}
.market-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #2c3036 0%, #24272c 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}
.market-card:before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(140px 140px at top right, rgba(52,152,219,0.12), transparent);
	pointer-events: none;
}
.market-card__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 700;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.market-vip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #fff;
}
.market-vip:before {
	content: '★';
	color: #f1c40f;
	font-size: 12px;
}
.market-price {
	color: #f1c40f;
	font-size: 13px;
}
.market-status {
	color: #95a5a6;
}
.market-card__meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.market-card__meta div {
	font-size: 12px;
	color: #bfc7cf;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.market-card__meta span {
	color: #95a5a6;
	min-width: 120px;
}
.market-card__meta .market-value {
	color: #ecf0f1;
	font-weight: 600;
	text-align: right;
}
.market-key {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	padding: 4px 8px;
	border-radius: 6px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	color: #ecf0f1;
	font-weight: 700;
	font-size: 11px;
	cursor: pointer;
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.market-key:hover {
	border-color: rgba(46, 204, 113, 0.45);
}
.market-key.is-copied {
	border-color: rgba(46, 204, 113, 0.9);
	box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.12);
}
.market-key.is-copied:after {
	content: 'Скопировано';
	margin-left: 6px;
	font-size: 10px;
	color: #2ecc71;
	font-weight: 700;
}
.market-card__meta .market-value a {
	color: #a6c8ff;
	text-decoration: underline;
}
.market-price-row,
.market-diff-row {
	align-items: center;
}
.market-diff {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2px;
}
.market-diff--cheaper {
	background: rgba(46, 204, 113, 0.2);
	color: #b8f2c8;
	border: 1px solid rgba(46, 204, 113, 0.35);
}
.market-diff--expensive {
	background: rgba(231, 76, 60, 0.2);
	color: #f5b7b1;
	border: 1px solid rgba(231, 76, 60, 0.35);
}
.market-diff--equal {
	background: rgba(149, 165, 166, 0.2);
	color: #d0d7de;
	border: 1px solid rgba(149, 165, 166, 0.35);
}
.market-card__actions {
	margin-top: 4px;
	display: flex;
	gap: 8px;
	align-items: flex-start;
	justify-content: space-between;
	padding-top: 8px;
	border-top: 1px solid rgba(255,255,255,0.06);
	flex-wrap: wrap;
}
.market-card__actions .market-buy-hint {
	max-width: 240px;
}
.market-card__actions .btn {
	border-radius: 8px;
	border: none;
	box-shadow: none;
}
.market-card__actions .btn-success {
	background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
	padding: 8px 14px;
	font-size: 12px;
}
.market-card__actions .btn-secondary {
	background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}
.market-buy-block {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.market-buy-select {
	display: inline-flex;
	align-items: center;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 999px;
	padding: 2px;
	gap: 2px;
}
.market-buy-option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 11px;
	color: #95a5a6;
	cursor: pointer;
	transition: all 0.2s ease;
}
.market-buy-option i {
	font-size: 12px;
}
.market-buy-option.active {
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	color: #f1c40f;
	border: 1px solid rgba(241, 196, 15, 0.35);
	box-shadow: 0 4px 12px rgba(241, 196, 15, 0.12);
}
.market-buy-hint {
	font-size: 11px;
	color: #8f9aa5;
	line-height: 1.3;
}
.market-card code {
	background: rgba(255,255,255,0.06);
	border-radius: 6px;
	padding: 2px 6px;
	color: #fff;
}
.market-card .btn-xs {
	padding: 2px 6px;
	font-size: 11px;
}
.market-meta .market-info {
	font-size: 11px;
}
.market-card--my .market-status {
	background: rgba(255,255,255,0.08);
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 11px;
}
.market-status--listed {
	background: rgba(52, 152, 219, 0.2);
	color: #a6c8ff;
	border: 1px solid rgba(52, 152, 219, 0.35);
}
.market-status--sold {
	background: rgba(46, 204, 113, 0.2);
	color: #b8f2c8;
	border: 1px solid rgba(46, 204, 113, 0.35);
}
.market-status--cancelled {
	background: rgba(149, 165, 166, 0.2);
	color: #d0d7de;
	border: 1px solid rgba(149, 165, 166, 0.35);
}
.market-card--buy .market-price {
	color: #2ecc71;
}
.market-label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: #ecf0f1;
}
@media (max-width: 768px) {
	.market-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
}

/* Form Improvements */
#extend_vip_form_{server_id} .block {
	background: linear-gradient(135deg, #2f333a 0%, #25282d 100%);
	border-radius: 16px;
	border: none;
}
#extend_vip_form_{server_id} .alert-success {
	background: linear-gradient(135deg, rgba(46, 204, 113, 0.15) 0%, rgba(39, 174, 96, 0.15) 100%);
	border: 1px solid rgba(46, 204, 113, 0.3);
	border-radius: 12px;
	padding: 16px;
}
#extend_vip_form_{server_id} select.form-control {
	background: #25282d;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: #fff;
	padding: 12px 16px;
}
#extend_vip_form_{server_id} select.form-control:focus {
	border-color: #3498db;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Key Activation Section */
.vip-key-activation.block {
	border: 1px solid rgba(255, 255, 255, 0.05);
}
.block .block_head {
	background: linear-gradient(135deg, #3a3f47 0%, #2f333a 100%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#vip_key_input {
	background: #25282d;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: #fff;
	padding: 12px 16px;
	transition: all 0.3s ease;
}
#vip_key_input:focus {
	border-color: #3498db;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Мои активные объявления */
.marketplace-hub-my-listings {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.marketplace-hub-my-listing-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: all 0.3s ease;
	position: relative;
}

.marketplace-hub-my-listing-item:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(52, 152, 219, 0.3);
	transform: translateX(4px);
}

.marketplace-hub-my-listing-item__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
	background: rgba(52, 152, 219, 0.1);
	color: #3498db;
}

.marketplace-hub-my-listing-item__content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.marketplace-hub-my-listing-item__title {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.marketplace-hub-my-listing-item__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #95a5a6;
}

.marketplace-hub-my-listing-item__price {
	font-size: 16px;
	font-weight: 700;
	color: #2ecc71;
	white-space: nowrap;
}

.marketplace-hub-my-listing-item__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: #95a5a6;
	text-decoration: none;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.marketplace-hub-my-listing-item__link:hover {
	background: rgba(52, 152, 219, 0.2);
	color: #3498db;
	transform: translateX(2px);
}

/* Фильтры для самых выгодных предложений */
.marketplace-hub-section-card__header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.marketplace-hub-filters {
	display: flex;
	align-items: center;
	gap: 6px;
}

.marketplace-hub-filter-btn {
	padding: 6px 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #95a5a6;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.marketplace-hub-filter-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(52, 152, 219, 0.3);
	color: #fff;
}

.marketplace-hub-filter-btn.active {
	background: rgba(52, 152, 219, 0.2);
	border-color: rgba(52, 152, 219, 0.4);
	color: #3498db;
}

.marketplace-hub-section-card__link {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #3498db;
	text-decoration: none;
	transition: all 0.3s ease;
}

.marketplace-hub-section-card__link:hover {
	color: #2980b9;
	gap: 8px;
}

/* Пустые состояния */
.marketplace-hub-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	text-align: center;
}

.marketplace-hub-empty-state i {
	font-size: 48px;
	color: #6f7a85;
	margin-bottom: 16px;
}

.marketplace-hub-empty-state p {
	font-size: 14px;
	color: #95a5a6;
	margin: 0 0 20px 0;
}

.marketplace-hub-empty-state__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 10px;
	background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
	border: 1px solid rgba(46, 204, 113, 0.3);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px rgba(46, 204, 113, 0.3);
}

.marketplace-hub-empty-state__btn:hover {
	background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(46, 204, 113, 0.4);
	color: #fff;
}

/* Кликабельные элементы товаров */
.market-hub-item--clickable,
.marketplace-hub-best-deal-item--clickable {
	cursor: pointer;
	transition: all 0.3s ease;
}

.market-hub-item--clickable:hover,
.marketplace-hub-best-deal-item--clickable:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateX(4px);
	border-color: rgba(52, 152, 219, 0.3);
}

/* Модальное окно для покупки товара */
#marketplace_hub_buy_modal .modal-dialog {
	max-width: 500px !important;
}

.marketplace-hub-buy-item {
	padding: 16px;
}

.marketplace-hub-buy-item__info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
	padding: 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.marketplace-hub-buy-item__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 13px;
}

.marketplace-hub-buy-item__row:last-child {
	border-bottom: none;
}

.marketplace-hub-buy-item__row span {
	font-size: 13px;
	color: #95a5a6;
}

.marketplace-hub-buy-item__row strong {
	font-size: 13px;
	color: #fff;
	font-weight: 600;
}

.marketplace-hub-buy-item__price {
	font-size: 24px;
	font-weight: 700;
	color: #2ecc71;
	text-align: center;
	margin: 12px 0;
	padding: 12px;
	border-radius: 10px;
	background: rgba(46, 204, 113, 0.1);
	border: 1px solid rgba(46, 204, 113, 0.3);
}

.marketplace-hub-buy-item__actions {
	margin-top: 16px;
}

.marketplace-hub-buy-item__actions .market-buy-select {
	margin-bottom: 8px;
}

.marketplace-hub-buy-item__actions .market-buy-hint {
	font-size: 11px;
	color: #95a5a6;
	line-height: 1.4;
	margin-bottom: 0;
}

.marketplace-hub-buy-item__actions .btn-lg {
	padding: 10px 16px;
	font-size: 14px;
}

