/* GRZ Gaming home v1.7.5 — premium storefront composition.
 *
 * This layer keeps every existing homepage source, setting and interaction,
 * then unifies the header, carousel and merchandising sections into one
 * continuous storefront surface. The active slide supplies only an ambient
 * accent; header copy stays light on a controlled navy veil for dependable
 * contrast with every uploaded banner. */

:root {
	--grz-home-header-ambient: #f19a2d;
	--grz-home-navy: #0b1c33;
	--grz-home-navy-deep: #071426;
	--grz-home-canvas: #eef3f9;
	--grz-home-panel: rgba(255, 255, 255, 0.965);
	--grz-home-panel-soft: rgba(248, 251, 255, 0.94);
	--grz-home-border: rgba(20, 45, 78, 0.13);
	--grz-home-border-strong: rgba(20, 45, 78, 0.2);
	--grz-home-shadow: 0 16px 42px rgba(14, 36, 66, 0.085), 0 1px 0 rgba(255, 255, 255, 0.82) inset;
	--grz-home-shadow-hover: 0 21px 50px rgba(14, 36, 66, 0.125), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

body.home .grz-header {
	position: relative;
	box-shadow: none;
}

body.home .grz-header__shell {
	background: var(--grz-home-navy-deep);
}

body.home .grz-main-header {
	position: relative;
	background:
		radial-gradient(ellipse 44% 140% at 20% 10%, color-mix(in srgb, var(--grz-home-header-ambient) 18%, transparent), transparent 72%),
		linear-gradient(100deg, #0a1a30 0%, #0c213a 55%, #08172a 100%);
	color: #fff;
	transition: background 480ms ease;
}

body.home .grz-main-header::after {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 2%, rgba(255, 255, 255, 0.2) 18%, rgba(255, 255, 255, 0.11) 82%, transparent 98%);
	content: "";
	pointer-events: none;
}

body.home .grz-main-header__inner {
	min-height: 72px;
}

body.home .grz-brand,
body.home .grz-brand__sub,
body.home .grz-primary-menu > li > a,
body.home .grz-mobile-menu-button,
body.home .grz-mobile-search-button,
body.home .grz-header-actions .grz-icon-button,
body.home .grz-header-actions .grz-account-icon.is-authenticated {
	color: #fff;
}

body.home .grz-brand__main {
	background: none;
	-webkit-text-fill-color: currentColor;
}

body.home .grz-primary-menu > li > a {
	font-family: Inter, Arial, sans-serif;
	font-size: 0.79rem;
	font-weight: 720;
	letter-spacing: 0;
	text-shadow: 0 1px 16px rgba(0, 0, 0, 0.24);
}

body.home .grz-primary-menu > li > a:hover,
body.home .grz-primary-menu > li.current-menu-item > a,
body.home .grz-primary-menu > li.current-menu-ancestor > a {
	box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.92);
	color: #fff;
}

body.home .grz-product-search input {
	border-color: rgba(255, 255, 255, 0.26);
	background: rgba(5, 17, 33, 0.35);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset;
	color: #fff;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

body.home .grz-product-search input::placeholder {
	color: rgba(255, 255, 255, 0.68);
}

body.home .grz-product-search:focus-within input {
	border-color: rgba(255, 255, 255, 0.52);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

body.home .grz-product-search button {
	color: #fff;
}

body.home .grz-product-search button:hover,
body.home .grz-mobile-menu-button:hover,
body.home .grz-mobile-menu-button:focus-visible,
body.home .grz-mobile-search-button:hover,
body.home .grz-mobile-search-button:focus-visible,
body.home .grz-header-actions .grz-icon-button:hover,
body.home .grz-header-actions .grz-icon-button:focus-visible,
body.home .grz-header-actions .grz-account-icon.is-authenticated:hover,
body.home .grz-header-actions .grz-account-icon.is-authenticated:focus-visible {
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

body.home .grz-cart-count {
	border-color: #0a1b30;
}

.grz-home {
	--grz-home-line: var(--grz-home-border);
	--grz-home-line-strong: var(--grz-home-border-strong);
	position: relative;
	isolation: isolate;
	overflow: clip;
	background: var(--grz-home-canvas);
	color: #172238;
	font-family: Inter, Arial, sans-serif;
}

.grz-home.has-ambient {
	background:
		radial-gradient(ellipse 72% 36% at 14% 26%, color-mix(in srgb, var(--grz-hero-ambient) 7%, transparent), transparent 74%),
		linear-gradient(180deg, #edf3f9 0%, #f4f7fb 54%, #eef3f9 100%);
	transition: --grz-hero-ambient 520ms ease;
}

.grz-home.has-ambient::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: clamp(500px, 45vw, 680px);
	border: 0;
	border-radius: 0;
	background:
		radial-gradient(ellipse 46% 68% at 18% 4%, color-mix(in srgb, var(--grz-home-header-ambient) 22%, transparent), transparent 72%),
		radial-gradient(ellipse 40% 62% at 82% 12%, color-mix(in srgb, var(--grz-home-header-ambient) 9%, #224b78), transparent 75%),
		linear-gradient(180deg, #0a1a30 0%, #0d233e 58%, rgba(13, 35, 62, 0.74) 76%, rgba(13, 35, 62, 0) 100%);
	content: "";
	opacity: 1;
	pointer-events: none;
	mask-image: none;
	-webkit-mask-image: none;
	transform: none;
	transition: background 520ms ease;
}

.grz-home.has-ambient::after {
	content: none;
	display: none;
}

.grz-home > * {
	position: relative;
	z-index: 1;
}

.grz-hero-slider {
	--grz-slide-transition: 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
	padding-block: 30px 38px;
}

.grz-hero-slider__viewport {
	--grz-hero-card-width: min(1160px, calc(100% - 230px));
	--grz-hero-side-width: clamp(170px, 15vw, 220px);
	--grz-hero-half-side-width: clamp(85px, 7.5vw, 110px);
}

.grz-hero-slider__viewport::before {
	aspect-ratio: 1000 / 350;
}

.grz-hero-slide,
.grz-hero-slide.is-active,
.grz-hero-slide.is-prev,
.grz-hero-slide.is-next {
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 14px;
	background: #132b47;
}

.grz-hero-slide.is-active {
	box-shadow: 0 24px 64px rgba(1, 11, 24, 0.32), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.grz-hero-slide.is-prev,
.grz-hero-slide.is-next {
	border-color: rgba(255, 255, 255, 0.12);
	opacity: 0.25;
	filter: saturate(0.8) brightness(0.72);
}

.grz-hero-slide__scrim {
	background:
		linear-gradient(90deg, rgba(4, 13, 27, 0.66) 0%, rgba(4, 13, 27, 0.22) 42%, rgba(4, 13, 27, 0.08) 70%),
		linear-gradient(180deg, rgba(2, 9, 20, 0.04) 30%, rgba(2, 9, 20, 0.52) 100%);
}

.grz-hero-slide__caption {
	left: 0;
	bottom: clamp(24px, 3vw, 38px);
	gap: 10px;
	max-width: min(72%, 610px);
	padding-inline: clamp(24px, 3.6vw, 48px);
}

.grz-hero-slide__eyebrow {
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 6px;
	background: rgba(4, 15, 30, 0.52);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
	font-size: 0.68rem;
	letter-spacing: 0.09em;
	padding: 7px 10px;
}

.grz-hero-slide__title {
	font-family: Manrope, Inter, Arial, sans-serif;
	font-size: clamp(1.32rem, 2.45vw, 2.1rem);
	font-weight: 780;
	letter-spacing: -0.025em;
	line-height: 1.08;
	text-shadow: 0 3px 24px rgba(0, 0, 0, 0.52);
	text-transform: none;
}

.grz-hero-slider__arrow {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.36);
	background: rgba(6, 21, 39, 0.72);
	box-shadow: 0 12px 26px rgba(1, 10, 23, 0.25);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.grz-hero-slider__arrow:hover {
	background: #0762e6;
	box-shadow: 0 14px 30px rgba(7, 98, 230, 0.3);
}

.grz-hero-slider__dots {
	bottom: 48px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(3, 13, 27, 0.48);
}

.grz-home :is(.grz-home-section--featured-offers, .grz-major-storefront, .grz-cat-section, .grz-news-section) {
	padding-block: 22px;
}

.grz-home .grz-home-section--featured-offers {
	margin-top: -6px;
	padding-block-start: 0;
}

.grz-home-section--featured-offers > .grz-container {
	border: 1px solid var(--grz-home-border);
	border-radius: 12px;
	background: var(--grz-home-panel);
	box-shadow: var(--grz-home-shadow);
	padding: 22px;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

@media (min-width: 761px) {
	.grz-home-section--featured-offers > .grz-container {
		width: min(calc(100% - 56px), var(--grz-container));
		margin-inline: auto;
	}
}

section[data-grz-featured-variant="accent-frame"] .grz-home-section__head--compact {
	margin-bottom: 16px;
}

section[data-grz-featured-variant="accent-frame"] .grz-home-section__title,
.grz-v5-title,
.grz-major-panel__title-wrap h3 {
	font-family: Manrope, Inter, Arial, sans-serif;
}

section[data-grz-featured-variant="accent-frame"] .grz-home-section__title {
	padding-inline-start: 0;
	color: #172238;
	font-size: clamp(1.12rem, 1.7vw, 1.42rem);
	font-weight: 760;
	letter-spacing: -0.024em;
}

section[data-grz-featured-variant="accent-frame"] .grz-home-section__title::before {
	content: none;
}

section[data-grz-featured-variant="accent-frame"] .grz-home-section__desc {
	margin-top: 4px;
	color: #68758a;
	font-size: 0.76rem;
}

.grz-home :is(.grz-home-section__more--button, .grz-major-panel__more, .grz-v5-btn--ghost) {
	min-height: 36px;
	border: 1px solid #cbd7e6;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(17, 43, 77, 0.045);
	color: #34445d;
	font-family: Inter, Arial, sans-serif;
	font-weight: 720;
}

.grz-home :is(.grz-home-section__more--button, .grz-major-panel__more, .grz-v5-btn--ghost):is(:hover, :focus-visible) {
	border-color: rgba(7, 98, 230, 0.42);
	background: #f4f8ff;
	box-shadow: 0 7px 16px rgba(7, 98, 230, 0.09);
	color: #064ec4;
	transform: translateY(-1px);
}

.grz-fx-grid {
	gap: 10px;
}

.grz-fx-card {
	border: 1px solid var(--grz-home-border);
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 5px 15px rgba(18, 44, 77, 0.045);
	transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.grz-fx-card::before {
	content: none;
}

.grz-fx-card:hover,
.grz-fx-card:focus-visible {
	border-color: rgba(var(--grz-fx-accent-rgb), 0.45);
	box-shadow: 0 12px 26px rgba(18, 44, 77, 0.09);
	transform: translateY(-2px);
}

.grz-fx-main {
	gap: 10px;
	padding: 11px;
}

.grz-fx-art {
	width: 58px;
	border-radius: 7px;
}

.grz-fx-eyebrow {
	font-size: 0.62rem;
	letter-spacing: 0.055em;
}

.grz-fx-title {
	color: #202d42;
	font-size: 0.76rem;
	font-weight: 720;
}

.grz-fx-footer {
	min-height: 38px;
	border-top-color: #e5ebf3;
	background: #f8fbff;
	padding: 7px 10px;
}

.grz-fx-instant {
	border-radius: 5px;
	background: #edf5ff;
	font-size: 0.62rem;
}

.grz-fx-price__now {
	font-family: Manrope, Inter, Arial, sans-serif;
	font-size: 0.88rem;
	font-weight: 790;
}

.grz-major-storefront {
	--grz-major-bg: transparent;
	background: transparent;
}

.grz-major-storefront__grid {
	gap: 18px;
}

.grz-home .grz-major-panel {
	overflow: hidden;
	border: 1px solid var(--grz-home-border);
	border-radius: 12px;
	background: var(--grz-home-panel);
	box-shadow: var(--grz-home-shadow);
}

.grz-home .grz-major-panel:hover {
	border-color: var(--grz-home-border-strong);
	box-shadow: var(--grz-home-shadow-hover);
}

.grz-home .grz-major-panel__head {
	min-height: 76px;
	border-bottom: 1px solid var(--grz-home-border);
	background: linear-gradient(180deg, #fbfdff, #f5f8fc);
	padding: 14px 16px;
}

.grz-major-panel__icon {
	width: 38px;
	height: 38px;
	border-radius: 9px;
	box-shadow: 0 5px 13px rgba(7, 98, 230, 0.1);
}

.grz-major-panel__title-wrap h3 {
	font-size: 0.96rem;
	font-weight: 760;
	letter-spacing: -0.018em;
	text-transform: none;
}

.grz-major-panel__title-wrap p {
	margin-top: 3px;
	font-size: 0.66rem;
}

.grz-major-panel__items {
	gap: 8px;
	padding: 12px;
}

.grz-home .grz-major-product {
	min-height: 72px;
	gap: 10px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: #fff;
	padding: 8px;
	transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.grz-home .grz-major-product:hover,
.grz-home .grz-major-product:focus-visible {
	border-color: rgba(7, 98, 230, 0.22);
	background: #f7faff;
	box-shadow: 0 8px 18px rgba(17, 44, 78, 0.065);
	transform: translateY(-1px);
}

.grz-home .grz-major-product__media {
	width: 50px;
	height: 50px;
	border-radius: 7px;
}

.grz-major-product__copy strong {
	font-size: 0.72rem;
	font-weight: 730;
}

.grz-major-product__copy small {
	margin-top: 3px;
	font-size: 0.59rem;
}

.grz-major-product__arrow {
	opacity: 0.68;
}

.grz-cat-section .grz-v5-head,
.grz-news-section .grz-v5-head {
	display: flex;
	align-items: flex-end;
	margin-bottom: 16px;
}

.grz-cat-section .grz-v5-title,
.grz-news-section .grz-v5-title {
	color: #172238;
	font-size: clamp(1.18rem, 2vw, 1.6rem);
	font-weight: 770;
	letter-spacing: -0.028em;
}

.grz-cat-section .grz-v5-desc,
.grz-news-section .grz-v5-desc {
	margin-top: 4px;
	color: #68758a;
	font-size: 0.75rem;
}

.grz-cat-grid {
	gap: 12px;
}

.grz-home .grz-cat-tile {
	grid-template-columns: 66px minmax(0, 1fr) 32px;
	min-height: 86px;
	border: 1px solid var(--grz-home-border);
	border-radius: 10px;
	background: var(--grz-home-panel);
	box-shadow: 0 8px 24px rgba(18, 44, 77, 0.055);
	padding: 9px;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.grz-home .grz-cat-tile:hover,
.grz-home .grz-cat-tile:focus-visible {
	border-color: rgba(7, 98, 230, 0.26);
	box-shadow: 0 13px 30px rgba(18, 44, 77, 0.09);
	transform: translateY(-2px);
}

.grz-home .grz-cat-tile__media {
	width: 66px;
	height: 66px;
	border-radius: 8px;
	background: #eaf0f7;
}

.grz-cat-tile__scrim {
	background: linear-gradient(90deg, transparent, rgba(var(--grz-cat-dark-rgb, 5, 56, 142), 0.025));
}

.grz-cat-tile__name {
	color: #202d42;
	font-size: 0.76rem;
	font-weight: 740;
}

.grz-cat-tile__count {
	margin-top: 3px;
	color: #728096;
}

.grz-home .grz-cat-tile__go {
	width: 30px;
	height: 30px;
	border: 1px solid #d6e0ec;
	border-radius: 7px;
	background: #f8fbff;
}

.grz-news-grid {
	gap: 12px;
}

.grz-home .grz-news-card {
	grid-template-columns: 112px minmax(0, 1fr);
	min-height: 130px;
	overflow: hidden;
	border: 1px solid var(--grz-home-border);
	border-radius: 10px;
	background: var(--grz-home-panel);
	box-shadow: 0 8px 24px rgba(18, 44, 77, 0.055);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.grz-home .grz-news-card:hover {
	border-color: rgba(7, 98, 230, 0.25);
	box-shadow: 0 14px 32px rgba(18, 44, 77, 0.09);
	transform: translateY(-2px);
}

.grz-news-card__body {
	gap: 6px;
	padding: 12px;
}

.grz-news-card__meta {
	font-size: 0.58rem;
}

.grz-news-card__tag {
	border: 1px solid rgba(7, 98, 230, 0.13);
	border-radius: 5px;
	background: #edf5ff;
}

.grz-news-card__title {
	font-family: Manrope, Inter, Arial, sans-serif;
	font-size: 0.77rem;
	font-weight: 740;
	line-height: 1.36;
}

.grz-news-card__more {
	margin-top: auto;
	font-size: 0.62rem;
	font-weight: 720;
}

@media (max-width: 1120px) {
	body.home .grz-main-header__inner {
		min-height: 60px;
	}

	body.home .grz-header-actions .grz-icon-button,
	body.home .grz-header-actions .grz-account-icon.is-authenticated {
		color: #fff;
	}

	.grz-hero-slider__viewport {
		--grz-hero-card-width: min(880px, calc(100% - 150px));
		--grz-hero-half-side-width: 72px;
	}

	.grz-fx-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 641px) and (max-width: 980px) {
	.grz-fx-grid {
		grid-template-columns: none !important;
		grid-auto-flow: column;
		grid-auto-columns: clamp(176px, 25vw, 205px);
		overflow-x: auto;
		overflow-y: hidden;
		padding: 4px 2px 8px;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
		scrollbar-color: rgba(7, 98, 230, 0.28) transparent;
	}

	.grz-fx-card {
		scroll-snap-align: start;
	}
}

@media (max-width: 760px) {
	body.home .grz-header__shell,
	body.home .grz-main-header {
		background: #0a1a30;
	}

	body.home .grz-main-header__inner {
		min-height: 58px;
	}

	.grz-home.has-ambient {
		background: linear-gradient(180deg, #edf3f9, #f5f7fb 52%, #edf3f9);
	}

	.grz-home.has-ambient::before {
		display: block;
		height: 300px;
		background:
			radial-gradient(ellipse 80% 80% at 18% 0%, color-mix(in srgb, var(--grz-home-header-ambient) 18%, transparent), transparent 74%),
			linear-gradient(180deg, #0a1a30 0%, #0d243f 62%, rgba(13, 36, 63, 0) 100%);
	}

	.grz-hero-slider {
		padding: 14px 14px 30px;
	}

	.grz-hero-slider__viewport {
		--grz-hero-card-width: 100%;
	}

	.grz-hero-slider__viewport::before {
		aspect-ratio: 16 / 8.4;
	}

	.grz-hero-slide,
	.grz-hero-slide.is-active {
		border-radius: 11px;
	}

	.grz-hero-slide__caption {
		bottom: 18px;
		gap: 7px;
		max-width: 90%;
		padding-inline: 18px;
	}

	.grz-hero-slide__eyebrow {
		font-size: 0.58rem;
		padding: 5px 8px;
	}

	.grz-hero-slide__title {
		font-size: clamp(1rem, 5vw, 1.28rem);
	}

	.grz-home .grz-home-section--featured-offers {
		margin-top: -4px;
		padding-inline: 14px;
	}

	.grz-home-section--featured-offers > .grz-container {
		width: 100%;
		border-radius: 10px;
		padding: 16px 14px;
	}

	section[data-grz-featured-variant="accent-frame"] .grz-home-section__head--compact {
		margin-bottom: 12px;
	}

	section[data-grz-featured-variant="accent-frame"] .grz-home-section__desc {
		display: none;
	}

	.grz-fx-grid {
		grid-auto-columns: clamp(218px, 61vw, 248px) !important;
		gap: 9px;
	}

	.grz-major-storefront,
	.grz-cat-section,
	.grz-news-section {
		padding-inline: 14px;
	}

	.grz-major-storefront > .grz-container,
	.grz-cat-section > .grz-container,
	.grz-news-section > .grz-container {
		width: 100%;
	}

	.grz-home .grz-major-panel {
		border-radius: 10px;
	}

	.grz-home .grz-major-panel__head {
		min-height: 64px;
	}

	.grz-major-panel__items {
		gap: 2px;
		padding: 8px;
	}

	.grz-home .grz-major-product {
		min-height: 64px;
		border-bottom: 1px solid #e7edf4;
		border-radius: 6px;
	}

	.grz-home .grz-major-product:last-child {
		border-bottom-color: transparent;
	}

	.grz-home .grz-major-product__media {
		width: 46px;
		height: 46px;
	}

	.grz-cat-section .grz-v5-head,
	.grz-news-section .grz-v5-head {
		align-items: center;
	}

	.grz-cat-grid {
		gap: 8px;
	}

	.grz-home .grz-cat-tile {
		grid-template-columns: 56px minmax(0, 1fr) 30px;
		min-height: 74px;
		border-radius: 9px;
		padding: 8px;
	}

	.grz-home .grz-cat-tile__media {
		width: 56px;
		height: 56px;
	}

	.grz-home .grz-news-card {
		grid-template-columns: 96px minmax(0, 1fr);
		min-height: 116px;
	}
}

@media (max-width: 520px) {
	.grz-home :is(.grz-home-section--featured-offers, .grz-major-storefront, .grz-cat-section, .grz-news-section) {
		padding-block: 16px;
	}

	.grz-home .grz-home-section--featured-offers {
		padding-block-start: 0;
	}

	.grz-major-panel__icon {
		display: grid;
	}

	.grz-major-panel__more {
		width: 34px;
	}

	.grz-major-panel__items {
		grid-template-columns: minmax(0, 1fr);
	}

	.grz-home .grz-cat-tile {
		grid-template-columns: 56px minmax(0, 1fr) 30px;
	}

	.grz-news-card__excerpt {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .grz-main-header,
	.grz-home.has-ambient,
	.grz-home.has-ambient::before,
	.grz-fx-card,
	.grz-home .grz-major-product,
	.grz-home .grz-cat-tile,
	.grz-home .grz-news-card {
		transition: none;
	}
}

@media (forced-colors: active) {
	body.home .grz-main-header,
	.grz-home.has-ambient::before {
		background: Canvas;
	}

	body.home :is(.grz-brand, .grz-primary-menu > li > a, .grz-header-actions .grz-icon-button) {
		color: CanvasText;
	}
}
