.portal-home__title {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 0 0 20px;
	color: #fff;
	font-size: clamp(24px, 2.25vw, 34px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.12;
	text-align: center;
	text-shadow: 0 4px 22px rgba(255, 133, 0, .18);
}

.portal-home__title::before,
.portal-home__title::after {
	width: clamp(30px, 8vw, 112px);
	height: 2px;
	border-radius: 99px;
	background: linear-gradient(90deg, transparent, #ff9700);
	box-shadow: 0 0 14px rgba(255, 151, 0, .55);
	content: "";
}

.portal-home__title::after {
	transform: rotate(180deg);
}

.portal-home .portal-day {
	border: 1px solid rgba(255, 176, 0, .42);
	background: linear-gradient(105deg, #ff6425 0%, #ff8a00 52%, #ffad00 100%);
	box-shadow: 0 14px 32px rgba(255, 117, 0, .22);
}

.portal-home .portal-day p {
	color: rgba(255, 255, 255, .9);
}

.portal-home .portal-day h3,
.portal-home .portal-day h3 a,
.portal-home .portal-day__label,
.portal-home .portal-day p a {
	color: #fff;
}

.portal-home .portal-day h3 {
	margin: 4px 0;
	font-size: 19px;
	line-height: 1.1;
}

.portal-home .portal-day__play {
	background: #fff;
	color: #e76500;
	box-shadow: 0 8px 20px rgba(112, 48, 0, .18);
}

.portal-home .portal-day__play:hover,
.portal-home .portal-day__play:focus-visible {
	background: #17131b;
	color: #ffad00;
	outline: 2px solid rgba(255, 255, 255, .85);
	outline-offset: 2px;
}

.portal-frog-follow {
	position: relative;
	height: auto;
	margin: 0 0 32px;
	overflow: hidden;
	isolation: isolate;
}

.portal-play-showcase {
	--showcase-accent: #ff9800;
	--showcase-accent-strong: #ff6a20;
	padding: clamp(18px, 2vw, 30px);
	border: 1px solid rgba(255, 152, 0, .2);
	border-radius: 22px;
	background:
		radial-gradient(circle at 90% 48%, rgba(255, 138, 0, .15), transparent 28%),
		linear-gradient(135deg, rgba(30, 25, 34, .98), rgba(9, 10, 15, .99) 58%, rgba(20, 12, 7, .98));
	box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.portal-play-showcase::before {
	position: absolute;
	top: -80px;
	right: -90px;
	width: 360px;
	height: 360px;
	border: 1px solid rgba(255, 152, 0, .17);
	border-radius: 50%;
	box-shadow: 0 0 0 34px rgba(255, 152, 0, .04), 0 0 0 72px rgba(255, 152, 0, .025);
	content: "";
	pointer-events: none;
}

.portal-play-showcase__header {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px 24px;
	align-items: end;
	margin: 0 0 22px;
}

.portal-play-showcase__header h2 {
	grid-column: 1;
	margin: 0;
	color: #fff;
	font-size: 23px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
}

.portal-play-showcase__header h2 span {
	color: var(--showcase-accent);
}

.portal-play-showcase__header p {
	grid-column: 1;
	max-width: 850px;
	margin: 0;
	color: rgba(255, 255, 255, .62);
	font-size: 13px;
	line-height: 1.55;
}

.portal-play-showcase__links {
	position: absolute;
	top: clamp(18px, 2vw, 30px);
	/* Large actions aligned to the showcase title row. */
	right: clamp(54px, 4vw, 72px);
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	margin: 0;
}

.portal-play-showcase__links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 130px;
	min-height: 58px;
	padding: 0 22px;
	border: 1px solid rgba(255, 152, 0, .55);
	border-radius: 12px;
	background: rgba(255, 138, 0, .09);
	color: #ffc044;
	font-size: 14px;
	font-weight: 850;
}

.portal-play-showcase__links a:first-child {
	min-width: 176px;
}

.portal-play-showcase__links a:first-child {
	border-color: transparent;
	background: linear-gradient(135deg, #ff6a20, #ffad00);
	color: #231308;
}

.portal-play-showcase__layout {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(230px, 22%);
	gap: clamp(16px, 2vw, 30px);
	align-items: stretch;
}

.portal-play-showcase__games {
	display: grid;
	grid-template-columns: minmax(210px, 1.55fr) repeat(3, minmax(135px, 1fr));
	grid-template-rows: repeat(2, minmax(150px, 1fr));
	gap: 14px;
	min-height: 380px;
}

.portal-play-showcase__card {
	position: relative;
	display: block;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 17px;
	background: #14131a;
	box-shadow: 0 12px 26px rgba(0, 0, 0, .2);
	color: #fff;
	text-decoration: none;
	transform: translateZ(0);
}

.portal-play-showcase__card--lead {
	grid-row: 1 / -1;
}

.portal-play-showcase__image,
.portal-play-showcase__image img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.portal-play-showcase__image img {
	object-fit: cover;
	transition: transform .45s cubic-bezier(.2, .75, .25, 1), filter .45s ease;
}

.portal-play-showcase__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 32%, rgba(4, 5, 8, .18) 56%, rgba(4, 5, 8, .96) 100%);
	pointer-events: none;
}

.portal-play-showcase__card::after {
	position: absolute;
	inset: -65% auto -65% -45%;
	width: 35%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
	content: "";
	transform: rotate(14deg) translateX(-180%);
	transition: transform .65s ease;
	pointer-events: none;
}

.portal-play-showcase__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 29px;
	padding: 0 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ffbc13, #ff8a00);
	box-shadow: 0 7px 18px rgba(255, 139, 0, .28);
	color: #201205;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.portal-play-showcase__meta {
	position: absolute;
	right: 14px;
	bottom: 14px;
	left: 14px;
	z-index: 2;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 10px;
}

.portal-play-showcase__meta strong {
	min-width: 0;
	color: #fff;
	font-size: clamp(13px, 1vw, 17px);
	font-weight: 800;
	line-height: 1.18;
	text-shadow: 0 2px 8px #000;
}

.portal-play-showcase__actions {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
}

.portal-play-showcase__card--lead .portal-play-showcase__meta strong {
	font-size: clamp(20px, 1.6vw, 29px);
}

.portal-play-showcase__play {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 5px;
	min-height: 26px;
	padding: 0 9px;
	border: 1px solid rgba(255, 174, 0, .55);
	border-radius: 999px;
	background: rgba(7, 7, 10, .76);
	color: #ffc21a;
	font-size: 11px;
	font-weight: 800;
	backdrop-filter: blur(7px);
}

.portal-play-showcase__play {
	color: #fff;
}

.portal-play-showcase__card:hover,
.portal-play-showcase__card:focus-visible {
	border-color: rgba(255, 152, 0, .68);
	box-shadow: 0 16px 34px rgba(0, 0, 0, .34), 0 0 0 2px rgba(255, 152, 0, .12);
	color: #fff;
	outline: none;
	transform: translateY(-3px);
}

.portal-play-showcase__card:hover .portal-play-showcase__image img,
.portal-play-showcase__card:focus-visible .portal-play-showcase__image img {
	filter: brightness(.82) saturate(1.08);
	transform: scale(1.055);
}

.portal-play-showcase__card:hover::after,
.portal-play-showcase__card:focus-visible::after {
	transform: rotate(14deg) translateX(620%);
}

.portal-play-showcase__mascot {
	position: relative;
	display: flex;
	align-items: end;
	justify-content: center;
	min-width: 0;
	min-height: 380px;
}

.portal-frog-follow__stage {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: clamp(350px, 25vw, 430px);
	max-width: none;
	height: auto;
	margin: auto 0 0;
	pointer-events: none;
	aspect-ratio: 1;
}

.portal-frog-follow__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	user-select: none;
	object-fit: contain;
	object-position: center;
}

.portal-frog-follow__body {
	z-index: 1;
	filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .32));
}

.portal-frog-follow__eye {
	position: absolute;
	top: 6.45%;
	z-index: 2;
	width: 13%;
	height: 15.5%;
	overflow: hidden;
	border-radius: 50%;
	pointer-events: none;
}

.portal-frog-follow__eye--left {
	left: 33.75%;
}

.portal-frog-follow__eye--right {
	left: 53.25%;
}

.portal-frog-follow__pupil {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 74%;
	aspect-ratio: 1;
	border: 1px solid rgba(0, 20, 34, .7);
	border-radius: 50%;
	background:
		radial-gradient(circle at 34% 27%, rgba(255, 255, 255, .98) 0 8%, transparent 9%),
		radial-gradient(circle at 50% 50%, #02070d 0 33%, #075b91 35% 55%, #10aee6 57% 69%, #03253b 71% 84%, #01070c 86% 100%);
	box-shadow:
		inset -2px -3px 4px rgba(0, 0, 0, .5),
		inset 2px 2px 3px rgba(255, 255, 255, .16),
		0 1px 2px rgba(0, 0, 0, .35);
	transform: translate3d(calc(-50% + var(--frog-eye-x, 0px)), calc(-50% + var(--frog-eye-y, 0px)), 0);
	will-change: transform;
}

@media (max-width: 767px) {
	.portal-play-showcase {
		padding: 16px;
		border-radius: 18px;
	}

	.portal-play-showcase__header {
		display: block;
		margin-bottom: 16px;
	}

	.portal-play-showcase__header h2 span {
		display: block;
		margin-top: 4px;
	}

	.portal-play-showcase__header p {
		margin-top: 9px;
	}

	.portal-play-showcase__links {
		position: static;
		width: 100% !important;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 13px;
	}

	.portal-play-showcase__links a,
	.portal-play-showcase__links a:first-child {
		min-width: 0;
		min-height: 44px;
		padding: 0 10px;
		font-size: 12px;
	}

	.portal-home .portal-day h3 {
		font-size: 16px;
	}

	.portal-home .portal-day__play {
		font-size: 0;
	}

	.portal-home .portal-day__play .fa {
		font-size: 12px;
	}

	.portal-play-showcase__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.portal-play-showcase__games {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: 220px repeat(3, 132px);
		gap: 10px;
		min-height: 0;
	}

	.portal-play-showcase__card--lead {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.portal-play-showcase__mascot {
		min-height: 210px;
	}

	.portal-frog-follow__stage {
		width: 210px;
	}
}

@media (min-width: 768px) and (max-width: 1120px) {
	.portal-frog-follow__stage {
		width: clamp(240px, 29vw, 320px);
	}
}

@media (min-width: 768px) and (max-width: 1120px) {
	.portal-play-showcase__header {
		align-items: start;
	}

	.portal-play-showcase__header p {
		display: none;
	}

	.portal-play-showcase__layout {
		grid-template-columns: minmax(0, 1fr) 180px;
	}

	.portal-play-showcase__games {
		grid-template-columns: minmax(190px, 1.4fr) repeat(2, minmax(120px, 1fr));
		grid-template-rows: repeat(3, 125px);
		min-height: 403px;
	}

	.portal-play-showcase__card--lead {
		grid-row: 1 / -1;
	}

	.portal-play-showcase__mascot {
		min-height: 403px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.portal-frog-follow__pupil {
		transform: translate(-50%, -50%);
	}
}

@media (max-width: 767px) {
	.portal-home__title {
		gap: 10px;
		margin-bottom: 14px;
		font-size: 24px;
	}

	.portal-home__title::before,
	.portal-home__title::after {
		width: 24px;
	}
}

/* Keep the dynamic Game of the Day title readable in light mode. */
.portal-light .portal-day h3 a {
	color: #231d25;
}

/* Top Picks: neon arcade presentation. */
.portal-home .portal-play-showcase {
	position: relative;
	padding: clamp(22px, 2.1vw, 34px);
	border-color: rgba(255, 133, 0, .7);
	border-radius: 34px;
	background: radial-gradient(circle at 88% 42%, rgba(255, 122, 0, .13), transparent 23%), radial-gradient(circle at 54% 4%, rgba(12, 85, 137, .12), transparent 30%), linear-gradient(135deg, #101018 0%, #07090e 56%, #120c06 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 26px 60px rgba(0, 0, 0, .42), 0 0 30px rgba(255, 115, 0, .08);
}

.portal-home .portal-play-showcase::after {
	position: absolute;
	inset: 20px;
	border: 1px solid rgba(255, 159, 29, .13);
	border-radius: 25px;
	content: "";
	pointer-events: none;
}

.portal-home .portal-play-showcase__header {
	min-height: 66px;
	margin: 0 0 20px;
	padding: 0 0 15px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	align-items: center;
}

.portal-home .portal-play-showcase__header h2 {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: clamp(25px, 2.1vw, 38px);
	font-weight: 900;
	letter-spacing: -.045em;
	text-shadow: 0 3px 16px rgba(0, 0, 0, .72);
}

.portal-home .portal-play-showcase__title-icon {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	border: 1px solid rgba(255, 151, 0, .7);
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(255, 147, 0, .22), rgba(255, 82, 0, .04));
	box-shadow: 0 0 22px rgba(255, 133, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .15);
	color: #ff9d00;
	font-size: 25px;
}

.portal-home .portal-play-showcase__links {
	top: clamp(23px, 2.1vw, 34px);
	right: clamp(24px, 2.1vw, 34px);
	gap: 14px;
}

.portal-home .portal-play-showcase__links a,
.portal-home .portal-play-showcase__links a:first-child {
	min-width: 168px;
	min-height: 60px;
	gap: 10px;
	border: 1px solid rgba(255, 160, 0, .82);
	border-radius: 16px;
	background: rgba(11, 11, 15, .78);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 8px 24px rgba(0, 0, 0, .3);
	color: #ffbd29;
	font-size: 15px;
	font-weight: 900;
}

.portal-home .portal-play-showcase__links a:first-child {
	border-color: #ffbd23;
	background: linear-gradient(135deg, #ff6b18, #ffac00);
	box-shadow: 0 0 0 1px rgba(255, 229, 148, .35) inset, 0 0 25px rgba(255, 129, 0, .4);
	color: #201000;
}

.portal-home .portal-play-showcase__links a:hover,
.portal-home .portal-play-showcase__links a:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .38), 0 0 20px rgba(255, 146, 0, .28);
	outline: 0;
}

.portal-home .portal-play-showcase__layout {
	gap: clamp(18px, 2.4vw, 38px);
	grid-template-columns: minmax(0, 1fr) minmax(255px, 23%);
}

.portal-home .portal-play-showcase__games {
	grid-template-columns: minmax(250px, 1.62fr) repeat(3, minmax(145px, 1fr));
	grid-template-rows: repeat(2, minmax(168px, 1fr));
	gap: 16px;
	min-height: 450px;
}

.portal-home .portal-play-showcase__card {
	border-color: rgba(255, 255, 255, .16);
	border-radius: 20px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .34), 0 12px 28px rgba(0, 0, 0, .34);
}

.portal-home .portal-play-showcase__card--lead {
	border-color: #ffa200;
	box-shadow: 0 0 0 2px rgba(255, 147, 0, .55), 0 0 25px rgba(255, 137, 0, .65), 0 18px 35px rgba(0, 0, 0, .42);
}

.portal-home .portal-play-showcase__card--lead .portal-play-showcase__icon-play {
	width: 76px;
	height: 76px;
}

.portal-home .portal-play-showcase__badge {
	background: linear-gradient(135deg, #ffbc13, #f76700);
	box-shadow: 0 7px 20px rgba(255, 96, 0, .6);
}

.portal-home .portal-play-showcase__mascot {
	min-height: 450px;
	align-items: end;
	filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .58));
}

.portal-home .portal-play-showcase__mascot::before {
	position: absolute;
	bottom: 4px;
	width: min(100%, 255px);
	aspect-ratio: 1;
	border: 2px solid rgba(255, 139, 0, .45);
	border-radius: 50%;
	box-shadow: 0 0 0 16px rgba(255, 119, 0, .06), 0 0 38px rgba(255, 116, 0, .25), inset 0 0 30px rgba(255, 116, 0, .12);
	content: "";
}

.portal-home .portal-play-showcase__mascot::after {
	position: absolute;
	bottom: 0;
	width: min(100%, 272px);
	height: 26px;
	border: 2px solid #ff9d00;
	border-radius: 50%;
	box-shadow: 0 0 17px rgba(255, 134, 0, .75), inset 0 0 12px rgba(255, 140, 0, .5);
	content: "";
}

.portal-home .portal-play-showcase__mascot .portal-frog-follow__stage {
	position: relative;
	z-index: 1;
	width: clamp(360px, 25vw, 460px);
}

@media (max-width: 1120px) {
	.portal-home .portal-play-showcase__games { min-height: 403px; }
	.portal-home .portal-play-showcase__mascot { min-height: 403px; }
}

@media (max-width: 767px) {
	.portal-home .portal-play-showcase { border-radius: 22px; }
	.portal-home .portal-play-showcase__header { min-height: 0; padding-bottom: 12px; }
	.portal-home .portal-play-showcase__header h2 { font-size: 25px; gap: 9px; }
	.portal-home .portal-play-showcase__title-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 19px; }
	.portal-home .portal-play-showcase__links { gap: 8px; }
	.portal-home .portal-play-showcase__links a,
	.portal-home .portal-play-showcase__links a:first-child { min-height: 46px; min-width: 0; font-size: 12px; }
	.portal-home .portal-play-showcase__games { grid-template-rows: 250px repeat(3, 132px); min-height: 0; }
	.portal-home .portal-play-showcase__mascot { min-height: 215px; }
	.portal-home .portal-play-showcase__mascot .portal-frog-follow__stage { width: 230px; }
}

/* Phone layout: keep the game gallery prominent and hide the desktop mascot. */
@media (max-width: 767px) {
	.portal-home .portal-play-showcase {
		padding: 16px;
	}

	.portal-home .portal-play-showcase::after {
		inset: 10px;
		border-radius: 15px;
	}

	.portal-home .portal-play-showcase__header {
		display: block;
		margin: 0 0 12px;
		padding: 0 0 12px;
	}

	.portal-home .portal-play-showcase__header h2 {
		font-size: clamp(22px, 7vw, 29px);
		line-height: 1.08;
	}

	.portal-home .portal-play-showcase__links {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100% !important;
		margin: 0 0 14px;
		gap: 8px;
	}

	.portal-home .portal-play-showcase__links a,
	.portal-home .portal-play-showcase__links a:first-child {
		min-width: 0;
		min-height: 46px;
		padding: 8px;
		border-radius: 12px;
		font-size: 11px;
		line-height: 1.1;
		white-space: nowrap;
	}

	.portal-home .portal-play-showcase__layout {
		display: block;
	}

	.portal-home .portal-play-showcase__games {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: minmax(245px, 70vw) repeat(3, minmax(116px, 34vw));
		gap: 10px;
		min-height: 0;
	}

	.portal-home .portal-play-showcase__card {
		border-radius: 15px;
	}

	.portal-home .portal-play-showcase__card--lead {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.portal-home .portal-play-showcase__icon-play {
		width: 42px;
		height: 42px;
	}

	.portal-home .portal-play-showcase__card--lead .portal-play-showcase__icon-play {
		width: 60px;
		height: 60px;
	}

	.portal-home .portal-play-showcase__mascot,
	.portal-home .portal-play-showcase__mascot::before,
	.portal-home .portal-play-showcase__mascot::after {
		display: none;
	}
}

@media (max-width: 390px) {
	.portal-home .portal-play-showcase__links a,
	.portal-home .portal-play-showcase__links a:first-child {
		font-size: 10px;
	}
}
