/* PlayRox games store page */

.playrox-store {
	max-width: 1100px;
	margin: 0 auto;
	padding: 30px 20px 60px;
}

.playrox-store__head {
	text-align: center;
	margin-bottom: 28px;
}

.playrox-store__title {
	margin: 0 0 8px;
	font-size: clamp(26px, 5vw, 38px);
	font-weight: 800;
}

.playrox-store__title i {
	color: #2f9e44;
	margin-right: 8px;
}

.playrox-store__sub {
	margin: 0;
	color: #667;
	font-size: 15px;
}

.playrox-store__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-bottom: 28px;
}

.playrox-store__tab {
	padding: 9px 20px;
	border: 1px solid #dcdce4;
	border-radius: 999px;
	background: #fff;
	color: #445;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.16s ease;
}

.playrox-store__tab.is-active {
	background: #124a24;
	border-color: #124a24;
	color: #fff;
}

.playrox-store__section {
	margin-bottom: 36px;
}

.playrox-store__section__title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 800;
}

.playrox-store__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 18px;
}

.playrox-store__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
}

.playrox-store__thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	overflow: hidden;
	background: #eef0f4;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.playrox-store__card:hover .playrox-store__thumb {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.playrox-store__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.playrox-store__noimg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #b0b4be;
	font-size: 34px;
}

.playrox-store__badge {
	position: absolute;
	left: 8px;
	bottom: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
}

.playrox-store__badge.is-price {
	background: linear-gradient(135deg, #ffd75e, #f4b731);
	color: #3a2a06;
}

.playrox-store__badge.is-owned {
	background: #2f9e44;
	color: #fff;
}

.playrox-store__name {
	font-size: 14px;
	font-weight: 700;
	color: #223;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.playrox-store__plays {
	font-size: 12px;
	color: #889;
	font-weight: 600;
}

.playrox-store__plays i {
	color: #f4813f;
}

.playrox-store__loading {
	display: flex;
	justify-content: center;
	padding: 60px 0;
}

.playrox-store__spinner {
	width: 36px;
	height: 36px;
	border: 3px solid #e0e0e6;
	border-top-color: #2f9e44;
	border-radius: 50%;
	animation: playrox-store-spin 0.8s linear infinite;
}

@keyframes playrox-store-spin {
	to { transform: rotate(360deg); }
}

.playrox-store__empty {
	text-align: center;
	color: #889;
	padding: 40px 0;
}
