:root {
	--fg-night: #04140c;
	--fg-pitch: #146338;
	--fg-pitch-deep: #0a3a22;
	--fg-chalk: #e7f3dc;
	--fg-flood: #f6e7a8;
	--fg-clay: #d85a1f;
	--fg-ink: #f4f7ef;
	--fg-muted: rgba(231, 243, 220, 0.72);
	--fg-line: rgba(231, 243, 220, 0.22);
	--fg-font-display: "Teko", Impact, sans-serif;
	--fg-font-body: "Source Serif 4", Georgia, serif;
	--fg-header-h: 4.1rem;
	--fg-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	background: var(--fg-night);
}

html,
body {
	background-color: var(--fg-night) !important;
	color: var(--fg-ink) !important;
}

body {
	margin: 0;
	min-height: 100vh;
	background-image:
		radial-gradient(900px 420px at 80% 0%, rgba(246, 231, 168, 0.12), transparent 55%),
		linear-gradient(180deg, #062015 0%, var(--fg-night) 38%, #03100a 100%);
	background-attachment: scroll;
	font-family: var(--fg-font-body);
	font-size: 1.05rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: var(--fg-flood);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--fg-chalk);
}

.fg-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 0.7rem 1rem;
	background: var(--fg-clay);
	color: #fff;
}

.fg-skip:focus {
	left: 1rem;
	top: 1rem;
}

.fg-wrap,
.fg-section-head {
	background: transparent !important;
}

.fg-wrap {
	width: min(1120px, calc(100% - 2.4rem));
	margin-inline: auto;
}

.fg-main {
	background: transparent;
	color: var(--fg-ink);
}

.fg-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--fg-header-h);
	border-bottom: 1px solid var(--fg-line);
	background: rgba(4, 20, 12, 0.82);
	backdrop-filter: blur(12px);
}

.fg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(1120px, calc(100% - 2rem));
	height: 100%;
	margin-inline: auto;
}

.fg-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--fg-chalk);
	text-decoration: none;
}

.fg-brand__mark {
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #fff, #d9d9d9 42%, #222 46%, #fff 52%, #cfcfcf);
	box-shadow: 0 0 0 2px rgba(231, 243, 220, 0.35);
}

.fg-brand__text {
	font-family: var(--fg-font-display);
	font-size: 1.45rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fg-nav__list {
	display: flex;
	gap: 1.3rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fg-nav__list a {
	color: var(--fg-muted);
	font-family: var(--fg-font-display);
	font-size: 1.05rem;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.fg-nav__list a:hover {
	color: var(--fg-flood);
}

.fg-header__cta {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--fg-flood);
	background: var(--fg-clay);
	color: #fff;
	font-family: var(--fg-font-display);
	font-size: 1.05rem;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.fg-header__cta:hover {
	color: #fff;
	filter: brightness(1.08);
}

@media (max-width: 720px) {
	.fg-nav {
		display: none;
	}
}

.fg-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: end;
	min-height: calc(100svh - var(--fg-header-h));
	overflow: hidden;
	padding: 3.5rem 0 4.5rem;
}

.fg-hero__pitch {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.fg-hero__night {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, #071a12 0%, #0c3a24 42%, #146338 72%, #082418 100%);
}

.fg-hero__flood {
	position: absolute;
	top: -8%;
	width: 42%;
	height: 70%;
	background: linear-gradient(180deg, rgba(246, 231, 168, 0.28), transparent 70%);
	filter: blur(18px);
	animation: fg-flood 9s ease-in-out infinite;
}

.fg-hero__flood--l {
	left: -6%;
	transform: rotate(18deg);
}

.fg-hero__flood--r {
	right: -6%;
	transform: rotate(-18deg);
	animation-delay: -3.4s;
}

.fg-hero__turf {
	position: absolute;
	inset: 18% 4% 0;
	background:
		repeating-linear-gradient(
			90deg,
			rgba(20, 99, 56, 0.95) 0 7%,
			rgba(10, 58, 34, 0.95) 7% 14%
		);
	box-shadow: 0 -40px 80px rgba(0, 0, 0, 0.35) inset;
}

.fg-hero__lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	color: rgba(231, 243, 220, 0.55);
}

.fg-hero__ball {
	position: absolute;
	left: 58%;
	bottom: 28%;
	width: 3.2rem;
	height: 3.2rem;
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 28%, #fff 0 18%, #d8d8d8 19% 34%, #111 35% 42%, #fff 43% 58%, #333 59% 70%, #eee 71%);
	box-shadow: 0 18px 24px rgba(0, 0, 0, 0.45);
	animation: fg-roll 7s var(--fg-ease) infinite;
}

.fg-hero__haze {
	position: absolute;
	inset: auto 0 0;
	height: 42%;
	background: linear-gradient(180deg, transparent, rgba(4, 20, 12, 0.88));
}

.fg-hero__content {
	width: min(920px, calc(100% - 2.4rem));
	margin-inline: auto;
	text-align: center;
}

.fg-hero__brand {
	display: grid;
	margin: 0;
	font-family: var(--fg-font-display);
	font-size: clamp(4.2rem, 14vw, 9rem);
	font-weight: 700;
	line-height: 0.82;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.fg-hero__tagline {
	margin: 1.35rem 0 0.55rem;
	font-family: var(--fg-font-display);
	font-size: clamp(1.5rem, 3.4vw, 2.2rem);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fg-hero__support {
	max-width: 32rem;
	margin: 0 auto 1.8rem;
	color: var(--fg-muted);
}

.fg-hero__actions {
	display: flex;
	justify-content: center;
}

.fg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.1rem;
	padding: 0.7rem 1.5rem;
	border: 0;
	background: var(--fg-clay);
	color: #fff;
	font-family: var(--fg-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.25s var(--fg-ease), filter 0.25s ease;
}

.fg-btn:hover {
	color: #fff;
	transform: translateY(-2px);
	filter: brightness(1.08);
}

.fg-btn--ghost {
	margin-left: 0.6rem;
	background: transparent;
	color: var(--fg-chalk);
	box-shadow: inset 0 0 0 2px rgba(231, 243, 220, 0.35);
}

.fg-btn--ghost:hover {
	color: var(--fg-chalk);
	filter: none;
	background: rgba(231, 243, 220, 0.08);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fg-browse {
	display: grid;
	gap: 1.1rem;
}

.fg-browse__search input {
	width: 100%;
	max-width: 28rem;
	min-height: 2.8rem;
	padding: 0.55rem 0.9rem;
	border: 1px solid rgba(231, 243, 220, 0.28);
	background: #06180f;
	color: var(--fg-chalk);
	font: inherit;
}

.fg-browse__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.fg-browse__chip {
	min-height: 2.3rem;
	padding: 0.35rem 0.85rem;
	border: 1px solid rgba(231, 243, 220, 0.28);
	background: transparent;
	color: var(--fg-muted);
	font-family: var(--fg-font-display);
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.fg-browse__chip.is-active,
.fg-browse__chip:hover {
	color: var(--fg-chalk);
	border-color: var(--fg-flood);
}

.fg-browse__group h3 {
	margin: 0.4rem 0 0.75rem;
	color: var(--fg-chalk);
	font-family: var(--fg-font-display);
	font-size: 1.35rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fg-related__grid--compact {
	margin-bottom: 1.4rem;
}

.fg-browse__empty {
	color: var(--fg-muted);
}

.fg-review {
	margin-top: 1.5rem;
}

.fg-review__note {
	margin: 0 0 1rem;
	color: var(--fg-muted);
	font-size: 0.95rem;
}

.fg-inline-player {
	margin: 0 0 1.5rem;
	background: #06180f;
	border: 1px solid rgba(231, 243, 220, 0.18);
}

.fg-inline-player__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #04140c;
}

.fg-inline-player__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.fg-inline-player__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.65rem 0.9rem;
	background: #0a2016;
}

.fg-inline-player__label {
	color: var(--fg-chalk);
	font-family: var(--fg-font-display);
	font-size: 1.1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.fg-inline-player__fs {
	min-height: 2.2rem;
	padding: 0.3rem 0.85rem;
	border: 1px solid rgba(231, 243, 220, 0.28);
	background: transparent;
	color: var(--fg-chalk);
	font-family: var(--fg-font-display);
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.skg-grid,
h2 + .skg-grid {
	display: none !important;
}

.fg-section-head {
	margin-bottom: 1.6rem;
}

.fg-section-head h2,
.fg-types h2,
.fg-seo h2,
.fg-article__title {
	margin: 0 0 0.45rem;
	color: var(--fg-chalk) !important;
	font-family: var(--fg-font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.fg-section-head p,
.fg-types p,
.fg-seo__inner p,
.fg-step p,
.fg-faq__item p {
	margin: 0;
	color: var(--fg-muted) !important;
}

.fg-play,
.fg-related,
.fg-guide,
.fg-types,
.fg-seo,
.fg-faq {
	padding: 4.2rem 0;
	background: var(--fg-night);
	color: var(--fg-ink);
}

.fg-play {
	border-top: 1px solid var(--fg-line);
}

.fg-player {
	border: 1px solid var(--fg-line);
	background: #06180f;
}

.fg-player__stage {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #03110b;
}

.fg-player__frame,
.fg-player__launch {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.fg-player.is-playing .fg-player__launch {
	opacity: 0;
	pointer-events: none;
}

.fg-player__poster {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.fg-player__poster::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 20, 12, 0.08), rgba(4, 20, 12, 0.58));
}

.fg-player__ready {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	align-content: center;
	height: 100%;
	padding: 1.5rem;
	text-align: center;
}

.fg-player__ready-title {
	margin: 0;
	font-family: var(--fg-font-display);
	font-size: clamp(2rem, 5vw, 3.2rem);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.fg-player__ready-copy {
	max-width: 28rem;
	margin: 0.4rem 0 1.2rem;
	color: var(--fg-muted);
}

.fg-player__fallback {
	margin: 0.8rem 0 0;
	font-size: 0.92rem;
}

.fg-player__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 0.7rem 1rem;
	border-top: 1px solid var(--fg-line);
	font-family: var(--fg-font-display);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fg-player__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem 1rem;
}

.fg-player__hint {
	color: var(--fg-muted);
}

.fg-player__fs {
	min-height: 2.2rem;
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--fg-flood);
	background: var(--fg-clay);
	color: #fff;
	font-family: var(--fg-font-display);
	font-size: 1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

.fg-player__fs:hover {
	filter: brightness(1.08);
}

.fg-player__stage:fullscreen,
.fg-player__stage:-webkit-full-screen {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	background: #000;
}

.fg-player__stage:fullscreen .fg-player__frame,
.fg-player__stage:-webkit-full-screen .fg-player__frame {
	width: 100%;
	height: 100%;
}

.fg-related--single {
	margin-top: 2rem;
	padding: 1.5rem 0 2.5rem;
}

.fg-main--simple .fg-related--single .fg-wrap {
	max-width: 72rem;
}

.fg-related .fg-section-head {
	text-align: left;
}

.fg-related .fg-section-head p {
	max-width: 40rem;
}

.fg-related__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 18px;
	list-style: none;
	opacity: 1;
	background: #16271e;
	border-radius: 12px;
}

.fg-match {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #0a1210;
	border-radius: 12px;
	color: inherit;
	text-decoration: none;
}

.fg-match__cover {
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #08150f;
}

.fg-match__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fg-match__title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 10px 8px;
	color: #fff !important;
	font-family: var(--fg-font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
}

.fg-guide__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.fg-step__num {
	display: block;
	color: var(--fg-flood);
	font-family: var(--fg-font-display);
	font-size: 2rem;
	letter-spacing: 0.12em;
}

.fg-step h3 {
	margin: 0.2rem 0 0.4rem;
	font-family: var(--fg-font-display);
	font-size: 1.6rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.fg-step p {
	margin: 0;
	color: var(--fg-muted);
}

.fg-types {
	padding-top: 0;
}

.fg-guide-links {
	display: grid;
	gap: 0.55rem;
	margin: 0.8rem 0 0;
	padding: 0;
	list-style: none;
}

.fg-guide-links a {
	color: var(--fg-flood);
	font-family: var(--fg-font-display);
	font-size: 1.25rem;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.fg-guide-links a:hover {
	color: var(--fg-chalk);
}

.fg-seo__inner p {
	max-width: 46rem;
}

.fg-faq__list {
	display: grid;
	gap: 0;
}

.fg-faq__item {
	border-top: 1px solid var(--fg-line);
}

.fg-faq__item summary {
	cursor: pointer;
	padding: 1rem 0;
	color: var(--fg-chalk) !important;
	font-family: var(--fg-font-display);
	font-size: 1.35rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	list-style: none;
}

.fg-faq__item summary::-webkit-details-marker {
	display: none;
}

.fg-faq__item p {
	margin: 0 0 1.1rem;
	color: var(--fg-muted);
}

.fg-footer {
	border-top: 1px solid var(--fg-line);
	padding: 2.8rem 0 2.2rem;
}

.fg-footer__inner {
	width: min(1120px, calc(100% - 2.4rem));
	margin-inline: auto;
	display: grid;
	gap: 1.2rem;
}

.fg-footer__title {
	margin: 0 0 0.25rem;
	font-family: var(--fg-font-display);
	font-size: 1.6rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fg-footer__note,
.fg-footer__copy {
	margin: 0;
	color: var(--fg-muted);
	font-size: 0.95rem;
}

.fg-footer__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fg-footer__list a {
	color: var(--fg-muted);
	text-decoration: none;
}

.fg-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--fg-line);
}

.fg-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fg-footer__legal-list a {
	color: var(--fg-muted);
	font-size: 0.85rem;
	text-decoration: none;
}

.fg-footer__legal-list a:hover {
	color: var(--fg-chalk);
}

.fg-main--simple {
	padding: 4.5rem 0 5rem;
	background: var(--fg-night);
}

.fg-article__title {
	color: var(--fg-chalk) !important;
}

.fg-article__content {
	max-width: none;
	color: var(--fg-ink);
}

.fg-article__content h2 {
	margin: 2rem 0 0.7rem;
	color: var(--fg-chalk) !important;
	font-family: var(--fg-font-display);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.fg-article__content p,
.fg-article__content li {
	color: var(--fg-muted) !important;
}

.fg-article__content .custom-game-container,
.fg-article__content #play.custom-game-container {
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	aspect-ratio: 16 / 9;
	margin: 1rem 0 0 !important;
	background: #06180f !important;
}

.fg-article__content .bottomTdkFullscreen {
	max-width: none !important;
	background: #0a2016 !important;
}

.fg-article__content .skg-grid {
	max-width: none !important;
	background: #0b2a1a !important;
}

.fg-article__content .skg-card,
.fg-article__content .skg-title {
	background: #082016 !important;
	color: var(--fg-chalk) !important;
	border-color: var(--fg-line) !important;
}

.fg-article__content .skg-card a {
	color: var(--fg-chalk) !important;
}

.fg-top {
	position: fixed;
	right: 1.1rem;
	bottom: 1.1rem;
	z-index: 40;
	width: 2.7rem;
	height: 2.7rem;
	border: 1px solid var(--fg-line);
	background: rgba(4, 20, 12, 0.9);
	color: var(--fg-chalk);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
}

.fg-top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

[data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s var(--fg-ease), transform 0.7s var(--fg-ease);
}

[data-reveal].is-in {
	opacity: 1;
	transform: none;
}

.fg-hero__brand[data-reveal] {
	transition-delay: 0.05s;
}

.fg-hero__tagline[data-reveal] {
	transition-delay: 0.16s;
}

.fg-hero__support[data-reveal] {
	transition-delay: 0.26s;
}

.fg-hero__actions[data-reveal] {
	transition-delay: 0.36s;
}

@keyframes fg-flood {
	0%, 100% { opacity: 0.55; }
	50% { opacity: 1; }
}

@keyframes fg-roll {
	0%, 100% { transform: translate(-8px, 0); }
	50% { transform: translate(18px, -6px); }
}

@media (max-width: 1024px) {
	.fg-related__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.fg-related__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.fg-guide__row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.fg-related__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		padding: 10px;
	}

	.fg-match__title {
		min-height: 46px;
		font-size: 11px;
		padding: 8px 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fg-hero__flood,
	.fg-hero__ball,
	[data-reveal] {
		animation: none;
		transition: none;
		opacity: 1;
		transform: none;
	}
}
