/* WinnerScript - Ana sayfa magaza (2026 showcase) */

.ws-store-section {
	padding: 70px 0 60px;
}

.ws-store-head {
	margin-bottom: 40px;
	text-align: center;
}

.ws-store-head h2 {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	margin: 0 0 10px;
}

.ws-store-head p {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0 auto;
	max-width: 520px;
}

.ws-store-grid {
	row-gap: 28px;
}

/* Kart */

.ws-store-card {
	background: var(--ws-surface, #191c30);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	border-radius: var(--ws-radius-lg, 16px);
	box-shadow: var(--ws-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.18));
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	position: relative;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ws-store-card:hover {
	border-color: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.28);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(var(--secondary-color-rgb, 131, 100, 226), 0.08);
	transform: translateY(-4px);
}

/* Gorsel alani */

.ws-store-card__visual {
	align-items: center;
	aspect-ratio: 4 / 3;
	background:
		radial-gradient(ellipse 80% 70% at 50% 46%, rgba(var(--secondary-color-rgb, 131, 100, 226), 0.18), transparent 70%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding: 6px 12px 8px;
	position: relative;
}

.ws-store-card__glow {
	background: radial-gradient(circle, rgba(var(--secondary-color-rgb, 131, 100, 226), 0.35) 0%, transparent 68%);
	filter: blur(28px);
	height: 160px;
	left: 50%;
	opacity: 0.55;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: opacity 0.3s ease, transform 0.3s ease;
	width: 160px;
}

.ws-store-card:hover .ws-store-card__glow {
	opacity: 0.85;
	transform: translate(-50%, -50%) scale(1.15);
}

.ws-store-card__visual img {
	display: block;
	height: auto;
	max-height: min(280px, 94%);
	max-width: 98%;
	object-fit: contain;
	position: relative;
	transition: transform 0.35s ease;
	z-index: 1;
}

.ws-store-card:hover .ws-store-card__visual img {
	transform: scale(1.06) translateY(-4px);
}

.ws-store-card__visual-shade {
	background: linear-gradient(180deg, transparent 62%, rgba(25, 28, 48, 0.55) 100%);
	bottom: 0;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
}

.ws-store-card__discount {
	background: linear-gradient(135deg, rgba(28, 92, 68, 0.96) 0%, rgba(22, 72, 54, 0.96) 100%);
	border: 1px solid rgba(62, 207, 142, 0.22);
	border-radius: var(--ws-radius-pill, 999px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
	color: #9fdcb8;
	font-size: 0.6875rem;
	font-weight: 800;
	left: 14px;
	letter-spacing: 0.04em;
	padding: 6px 12px;
	position: absolute;
	text-transform: uppercase;
	top: 14px;
	z-index: 3;
}

/* Icerik */

.ws-store-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	margin-top: -36px;
	padding: 0 18px 18px;
	position: relative;
	z-index: 4;
}

.ws-store-card__info {
	background: linear-gradient(180deg, transparent 0%, var(--ws-surface, #191c30) 28%);
	margin-top: 0;
	padding-top: 2px;
	text-align: center;
}

.ws-store-card__game {
	color: var(--ws-text-muted, #9199b0);
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.3;
	margin-top: 6px;
	text-transform: none;
}

.ws-store-card__title {
	color: var(--ws-text-heading, #f4f6fc);
	display: -webkit-box;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-align: center;
}

.ws-store-card__footer {
	align-items: center;
	border-top: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	text-align: center;
}

.ws-store-card__price {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	justify-content: center;
}

.ws-store-card__actions {
	align-items: center;
	display: flex;
	justify-content: center;
	width: 100%;
}

.ws-store-card__buy {
	align-items: center;
	display: inline-flex;
	font-size: 0.8125rem;
	gap: 6px;
	justify-content: center;
	min-height: 44px;
	padding-left: 18px;
	padding-right: 18px;
	white-space: nowrap;
	width: 100%;
}

.ws-store-card__price-now {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

.ws-store-card__price-now small {
	color: var(--ws-accent, #8364e2);
	font-size: 1.125rem;
	font-weight: 700;
	margin-left: 1px;
}

.ws-store-card__price-old {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.9375rem;
	text-decoration: line-through;
}

.ws-store-card__buy[disabled] {
	opacity: 0.55;
}

.ws-store-note {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.8125rem;
	line-height: 1.65;
	margin: 36px auto 0;
	max-width: 640px;
	text-align: center;
}

@media (max-width: 991px) {
	.ws-store-card__visual {
		aspect-ratio: 4 / 3;
	}

	.ws-store-card__visual img {
		max-height: min(240px, 92%);
	}
}

@media (max-width: 575px) {
	.ws-store-section {
		padding: 50px 0 40px;
	}

	.ws-store-card__visual {
		aspect-ratio: 3 / 2;
		padding: 6px 10px 6px;
	}

	.ws-store-card__content {
		margin-top: -28px;
		padding: 0 14px 14px;
	}

	.ws-store-card__visual img {
		max-height: min(240px, 86%);
	}
}
