/**
 * Football Frenzie — main stylesheet
 * Luxury trading card launch aesthetic
 */

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
	--ff-color-bg: #070708;
	--ff-color-bg-elevated: #0f1014;
	--ff-color-panel: #14161c;
	--ff-color-panel-border: #252830;
	--ff-color-text: #f2f0eb;
	--ff-color-text-muted: #9a968d;
	--ff-color-gold: #c9a227;
	--ff-color-gold-light: #e8c547;
	--ff-color-gold-dark: #8a6f18;
	--ff-color-accent: #d4af37;
	--ff-color-redemption: #6b5a2e;

	--ff-rarity-common: #9ca3af;
	--ff-rarity-rare: #c94a4a;
	--ff-rarity-epic: #d4af37;
	--ff-rarity-legendary: #c9a0a8;
	--ff-rarity-mythic: #ff5ec8;

	--ff-font-display: "Cinzel", "Times New Roman", serif;
	--ff-font-body: "Kanit", system-ui, -apple-system, sans-serif;

	--ff-space-xs: 0.5rem;
	--ff-space-sm: 1rem;
	--ff-space-md: 1.5rem;
	--ff-space-lg: 2.5rem;
	--ff-space-xl: 4rem;
	--ff-space-2xl: 6rem;
	--ff-space-3xl: 8rem;

	--ff-radius-sm: 8px;
	--ff-radius-md: 12px;
	--ff-radius-lg: 20px;
	--ff-radius-card: 16px;

	--ff-shadow-card: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 162, 39, 0.15);
	--ff-shadow-glow: 0 0 66px rgba(201, 162, 39, 0.22);
	--ff-shadow-stadium: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);

	--ff-header-height: 96px;
	--ff-logo-header-max-height: 38.5px;
	--ff-logo-footer-max-height: 48px;
	--ff-container-max: 1200px;
	--ff-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	--ff-tilt-perspective: 1000px;
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body.ff-body {
	margin: 0;
	font-family: var(--ff-font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--ff-color-text);
	background: var(--ff-color-bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--ff-color-gold-light);
	text-decoration: none;
	transition: color var(--ff-transition);
}

a:hover {
	color: var(--ff-color-gold);
}

h1, h2, h3, h4 {
	font-family: var(--ff-font-display);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 var(--ff-space-sm);
}

/* Typography system — Cinzel display, Kanit UI/body */
.ff-hero__title,
.ff-section__title,
.ff-manual-hero__title,
.ff-manual-section__title,
.ff-community-callout__title,
.ff-manual-walkthrough__step-title,
.ff-modal__title,
.ff-manual-archetypes__title,
.ff-manual-rating-ranges__tier,
.ff-manual-scoring__heading,
.ff-prize-distribution__title,
.ff-prize-distribution__rule-title,
.ff-manual-specs__value,
.ff-legal__title,
.ff-legal__content h2,
.ff-cta-final__title,
.ff-step__title,
.ff-card__title,
.ff-timeline__content h3,
.ff-stat__value,
.ff-pricing-card__title,
.ff-pricing-card__price,
.ff-price-line__value,
.ff-panel__title,
.ff-timeline__marker,
.ff-step__num {
	font-family: var(--ff-font-display);
}

.ff-eyebrow,
.ff-hero__subtitle,
.ff-section__lead,
.ff-section__text,
.ff-section__footnote,
.ff-legal__back,
.ff-legal__meta,
.ff-legal__content p,
.ff-legal__content li,
.ff-nav__list a,
.ff-btn,
.ff-credibility-strip,
.ff-credibility-strip__item,
.ff-credibility-strip__value,
.ff-credibility-strip__label,
.ff-feature-list,
.ff-accordion__trigger,
.ff-accordion__panel p,
.ff-timeline__phase,
.ff-timeline__content p,
.ff-step p,
.ff-prize__percent,
.ff-prize__label,
.ff-prize__support,
.ff-stat__label,
.ff-pricing-card__desc,
.ff-pricing-card__meta-item,
.ff-footer__cta-pricing,
.ff-price-line,
.ff-card__type,
.ff-card__rarity,
.ff-player-art__rarity,
.ff-player-art__details,
.ff-squad-demo__badge,
.ff-footer,
.ff-footer__desc,
.ff-footer__heading,
.ff-footer__nav a,
.ff-footer__cta p,
.ff-footer__bottom p {
	font-family: var(--ff-font-body);
}

p {
	margin: 0 0 var(--ff-space-sm);
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Global stadium atmosphere */
.ff-page-glow {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		var(--ff-shadow-stadium),
		radial-gradient(ellipse 60% 40% at 10% 20%, rgba(201, 162, 39, 0.04) 0%, transparent 50%),
		radial-gradient(ellipse 50% 30% at 90% 80%, rgba(201, 162, 39, 0.03) 0%, transparent 50%);
}

.ff-main {
	position: relative;
	z-index: 1;
	overflow-x: hidden;
}

.ff-container {
	width: min(100% - 2rem, var(--ff-container-max));
	margin-inline: auto;
}

.ff-container--narrow {
	width: min(100% - 2rem, 720px);
}

.ff-container--faq {
	width: min(100% - 2rem, 840px);
}

.ff-text-gold {
	color: var(--ff-color-gold-light);
}

.ff-eyebrow {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ff-color-gold);
	margin-bottom: var(--ff-space-sm);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.ff-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 1.75rem;
	font-family: var(--ff-font-body);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: var(--ff-radius-sm);
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform var(--ff-transition), box-shadow var(--ff-transition), background var(--ff-transition), border-color var(--ff-transition);
}

.ff-btn--gold {
	background: linear-gradient(135deg, var(--ff-color-gold-light) 0%, var(--ff-color-gold) 50%, var(--ff-color-gold-dark) 100%);
	color: #0a0a0c;
	border-color: var(--ff-color-gold-light);
	box-shadow: 0 4px 24px rgba(201, 162, 39, 0.35);
}

.ff-btn--gold:hover {
	color: #0a0a0c;
	transform: translateY(-3px);
	box-shadow: 0 9px 35px rgba(201, 162, 39, 0.5);
}

.ff-btn--ghost {
	background: transparent;
	color: var(--ff-color-text);
	border-color: var(--ff-color-panel-border);
}

.ff-btn--ghost:hover {
	border-color: var(--ff-color-gold);
	color: var(--ff-color-gold-light);
}

.ff-btn--outline {
	background: transparent;
	color: var(--ff-color-gold-light);
	border-color: rgba(201, 162, 39, 0.45);
}

.ff-btn--outline:hover {
	color: var(--ff-color-gold-light);
	border-color: var(--ff-color-gold-light);
	background: rgba(201, 162, 39, 0.08);
	transform: translateY(-2px);
}

.ff-btn--sm {
	padding: 0.625rem 1.25rem;
	font-size: 0.8rem;
}

.ff-btn--lg {
	padding: 1.125rem 2.5rem;
	font-size: 1rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.ff-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: var(--ff-header-height);
	background: rgba(7, 7, 8, 0.85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(201, 162, 39, 0.08);
	transition: background var(--ff-transition), box-shadow var(--ff-transition);
}

.ff-header.is-scrolled {
	background: rgba(7, 7, 8, 0.95);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.ff-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ff-space-md);
	flex-wrap: nowrap;
	height: 100%;
	min-width: 0;
}

.ff-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
	max-height: var(--ff-logo-header-max-height);
}

.ff-logo:hover {
	opacity: 0.88;
}

.ff-logo__img {
	display: block;
	width: auto;
	height: auto;
	max-height: var(--ff-logo-header-max-height);
	max-width: min(160px, 45vw);
	object-fit: contain;
	object-position: left center;
}

/* Header: fixed logo slot prevents nav reflow on hover */
.ff-header .ff-logo {
	flex-shrink: 0;
	width: 154px;
	min-width: 154px;
	height: var(--ff-logo-header-max-height);
	max-height: var(--ff-logo-header-max-height);
}

.ff-header .ff-logo__img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: left center;
}

.ff-logo--footer {
	max-height: var(--ff-logo-footer-max-height);
}

.ff-logo--footer .ff-logo__img {
	max-height: var(--ff-logo-footer-max-height);
	max-width: min(260px, 70vw);
}

.ff-nav {
	display: flex;
	align-items: center;
	gap: var(--ff-space-md);
	flex-shrink: 0;
}

.ff-nav__list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: clamp(0.75rem, 1.15vw, 1.25rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-nav__list a {
	font-size: 0.85rem;
	font-weight: 500;
	font-family: var(--ff-font-body);
	color: var(--ff-color-text-muted);
	white-space: nowrap;
}

.ff-nav__actions {
	display: flex;
	align-items: center;
	gap: var(--ff-space-sm);
	flex-shrink: 0;
}

.ff-nav__discord {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--ff-color-text-muted);
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-sm);
	transition: color var(--ff-transition), border-color var(--ff-transition), background var(--ff-transition);
	flex-shrink: 0;
}

.ff-nav__discord:hover {
	color: var(--ff-color-gold-light);
	border-color: rgba(201, 162, 39, 0.4);
	background: rgba(201, 162, 39, 0.06);
}

.ff-nav__actions .ff-btn {
	flex-shrink: 0;
	white-space: nowrap;
}

.ff-nav__list a:hover {
	color: var(--ff-color-gold-light);
}

.ff-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	flex-shrink: 0;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-sm);
	cursor: pointer;
}

.ff-nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: var(--ff-color-text);
	transition: transform var(--ff-transition), opacity var(--ff-transition);
}

.ff-nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ff-nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.ff-nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.ff-section {
	padding: var(--ff-space-3xl) 0;
	position: relative;
}

.ff-section__header {
	margin-bottom: var(--ff-space-xl);
}

.ff-section__header--center {
	text-align: center;
	max-width: 640px;
	margin-inline: auto;
}

.ff-section__header--left {
	max-width: 480px;
}

.ff-section__title {
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: 0.02em;
}

.ff-section__lead {
	font-size: 1.125rem;
	color: var(--ff-color-text-muted);
	max-width: 52ch;
}

.ff-section__text {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	max-width: 52ch;
	margin-bottom: var(--ff-space-md);
}

.ff-section__text--center {
	margin-inline: auto;
	text-align: center;
}

.ff-section__header--center .ff-section__lead {
	margin-inline: auto;
}

.ff-section__footnote {
	text-align: center;
	font-size: 0.875rem;
	color: var(--ff-color-text-muted);
	margin-top: var(--ff-space-lg);
}

.ff-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--ff-space-xl);
	align-items: center;
}

.ff-split--reverse > *:first-child {
	order: 2;
}

.ff-feature-list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: var(--ff-space-xs);
	color: var(--ff-color-text-muted);
}

.ff-feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	background: var(--ff-color-gold);
	border-radius: 50%;
	box-shadow: 0 0 8px var(--ff-color-gold);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.ff-hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: var(--ff-header-height);
	padding-bottom: var(--ff-space-xl);
	overflow: hidden;
}

.ff-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 40%;
	opacity: 0.65;
}

.ff-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(7, 7, 8, 0.55) 0%, rgba(7, 7, 8, 0.15) 35%, rgba(7, 7, 8, 0.5) 70%, var(--ff-color-bg) 100%),
		linear-gradient(90deg, rgba(7, 7, 8, 0.7) 0%, transparent 28%, transparent 72%, rgba(7, 7, 8, 0.5) 100%);
}

.ff-hero__lights {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 100% 60% at 50% -10%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
		radial-gradient(ellipse 40% 80% at 0% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
		radial-gradient(ellipse 40% 80% at 100% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 50%);
	pointer-events: none;
}

.ff-hero__particles {
	position: absolute;
	inset: 0;
	opacity: 0.4;
	background-image: radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.15) 1px, transparent 1px);
	background-size: 48px 48px;
	pointer-events: none;
}

.ff-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--ff-space-xl);
	align-items: center;
}

.ff-hero__title {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	margin-bottom: var(--ff-space-md);
}

.ff-hero__subtitle {
	font-size: 1.125rem;
	color: var(--ff-color-text-muted);
	max-width: 42ch;
	margin-bottom: var(--ff-space-lg);
}

.ff-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ff-space-sm);
	margin-bottom: var(--ff-space-md);
}

/* Hero credibility strip — edit copy in template-parts/sections/hero.php */
.ff-credibility-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-credibility-strip__item {
	display: inline-flex;
	align-items: baseline;
	gap: 0.35em;
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
	white-space: nowrap;
}

.ff-credibility-strip__item:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: 0.75rem;
	margin: 0 0.85rem;
	background: linear-gradient(
		180deg,
		transparent,
		var(--ff-color-gold) 25%,
		var(--ff-color-gold-light) 50%,
		var(--ff-color-gold) 75%,
		transparent
	);
	opacity: 0.7;
	vertical-align: middle;
}

.ff-credibility-strip__value {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--ff-color-gold-light);
}

.ff-credibility-strip--center {
	justify-content: center;
	margin-top: var(--ff-space-md);
}

.ff-hero__card-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	perspective: var(--ff-tilt-perspective);
}

/* Hero featured lockup — transparent PNG; baked shadow in asset */
.ff-hero-lockup {
	margin: 0;
	max-width: min(572px, 100%);
	width: 100%;
	background: transparent;
}

.ff-hero-lockup__inner {
	line-height: 0;
}

.ff-hero-lockup__img {
	width: 100%;
	height: auto;
	display: block;
}

.ff-hero__scroll {
	position: absolute;
	bottom: var(--ff-space-lg);
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
	padding-bottom: 1.5rem;
}

.ff-hero__scroll::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 1px;
	height: 24px;
	background: linear-gradient(180deg, var(--ff-color-gold), transparent);
	animation: ff-scroll-pulse 2s ease-in-out infinite;
}

@keyframes ff-scroll-pulse {
	0%, 100% { opacity: 0.4; transform: translateX(-50%) scaleY(0.8); }
	50% { opacity: 1; transform: translateX(-50%) scaleY(1); }
}

/* ==========================================================================
   Cards — reusable collectible mockups
   ========================================================================== */

.ff-card {
	position: relative;
	max-width: 100%;
}

.ff-card__inner {
	transform-style: preserve-3d;
	transition: transform 0.1s ease-out;
}

.ff-card__frame {
	position: relative;
	border-radius: var(--ff-radius-card);
	overflow: hidden;
	background: var(--ff-color-panel);
	box-shadow: var(--ff-shadow-card);
	/* Gold foil border */
	border: 2px solid transparent;
	background-clip: padding-box;
}

.ff-card__frame::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px;
	background: linear-gradient(135deg, var(--ff-color-gold-light), var(--ff-color-gold-dark), var(--ff-color-gold-light), var(--ff-color-gold));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: 2;
}

.ff-card__image {
	aspect-ratio: 5 / 7;
	overflow: hidden;
}

.ff-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ff-card__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		transparent 35%,
		rgba(255, 255, 255, 0.08) 45%,
		rgba(255, 255, 255, 0.28) 50%,
		rgba(255, 255, 255, 0.08) 55%,
		transparent 65%
	);
	background-size: 200% 100%;
	background-position: -100% 0;
	opacity: 0;
	transition: opacity var(--ff-transition), background-position 0.6s ease;
	pointer-events: none;
	z-index: 3;
}

.ff-card:hover .ff-card__shine,
.ff-tilt-card.is-active .ff-card__shine {
	opacity: 1;
	background-position: 100% 0;
}

.ff-card__meta {
	padding: var(--ff-space-sm) 0;
	text-align: left;
}

.ff-card__meta--center {
	text-align: center;
}

.ff-card__rarity {
	display: inline-block;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	margin-bottom: 0.35rem;
}

.ff-card__rarity--legendary {
	background: linear-gradient(135deg, rgba(201, 162, 39, 0.3), rgba(138, 111, 24, 0.2));
	color: var(--ff-color-gold-light);
	border: 1px solid rgba(201, 162, 39, 0.4);
}

.ff-card__rarity--epic {
	background: rgba(120, 80, 180, 0.2);
	color: #c4a8e8;
	border: 1px solid rgba(120, 80, 180, 0.35);
}

.ff-card__rarity--rare {
	background: rgba(60, 120, 200, 0.2);
	color: #8ec4f0;
	border: 1px solid rgba(60, 120, 200, 0.35);
}

.ff-card__rarity--pack {
	background: rgba(201, 162, 39, 0.15);
	color: var(--ff-color-gold);
	border: 1px solid rgba(201, 162, 39, 0.25);
}

.ff-card__title {
	font-size: 1rem;
	margin-bottom: 0.15rem;
}

.ff-card__type {
	font-size: 0.8rem;
	color: var(--ff-color-text-muted);
	margin: 0;
}

.ff-card__rating {
	position: absolute;
	top: 12px;
	right: 12px;
	font-family: var(--ff-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--ff-color-gold-light);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
	z-index: 4;
}

.ff-card__position {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 0.2rem 0.5rem;
	background: rgba(0, 0, 0, 0.6);
	border: 1px solid var(--ff-color-gold);
	border-radius: 4px;
	color: var(--ff-color-gold);
	z-index: 4;
}

.ff-card-grid {
	display: grid;
	gap: var(--ff-space-lg);
}

.ff-card-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.ff-card-grid--country-art {
	align-items: end;
	gap: var(--ff-space-md);
}

.ff-card-grid--country-art .ff-card--country-art {
	perspective: var(--ff-tilt-perspective);
}

.ff-card--country-art .ff-card__inner {
	line-height: 0;
	transform-style: preserve-3d;
	transition: transform 0.1s ease-out;
}

.ff-card--country-art__img {
	width: 100%;
	height: auto;
	display: block;
}

/* Country showcase: centre card emphasised on desktop */
@media (min-width: 769px) {
	.ff-card-grid--country-art .ff-card--country-art:nth-child(2) {
		transform: scale(1.1);
		transform-origin: bottom center;
		z-index: 1;
	}
}

.ff-card-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

/* Player showcase — 5 rarity tiers, Common → Mythic */
.ff-card-grid--player-showcase {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--ff-space-lg);
	align-items: end;
	margin-top: var(--ff-space-xl);
}

.ff-card-grid--player-showcase .ff-card--player-art {
	perspective: var(--ff-tilt-perspective);
}

.ff-card--player-art .ff-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ff-player-art__figure {
	position: relative;
	line-height: 0;
}

.ff-player-art__glow {
	position: absolute;
	inset: 8% 5% 0;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(
		ellipse 90% 70% at 50% 85%,
		rgba(255, 94, 200, 0.45) 0%,
		rgba(180, 80, 255, 0.2) 35%,
		transparent 70%
	);
	filter: blur(12px);
}

.ff-card--player-art__img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.ff-player-art__meta {
	padding-top: var(--ff-space-sm);
	text-align: center;
}

.ff-player-art__rarity {
	display: inline-block;
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	padding: 0.2rem 0.55rem;
	border-radius: 4px;
	margin-bottom: 0.35rem;
}

.ff-player-art__rarity--common {
	color: var(--ff-rarity-common);
	background: rgba(156, 163, 175, 0.12);
	border: 1px solid rgba(156, 163, 175, 0.35);
}

.ff-player-art__rarity--rare {
	color: #e86a6a;
	background: rgba(201, 74, 74, 0.14);
	border: 1px solid rgba(201, 74, 74, 0.5);
	box-shadow: 0 0 12px rgba(201, 74, 74, 0.15);
}

.ff-player-art__rarity--epic {
	color: var(--ff-color-gold-light);
	background: rgba(212, 175, 55, 0.14);
	border: 1px solid rgba(212, 175, 55, 0.5);
	box-shadow: 0 0 12px rgba(212, 175, 55, 0.12);
}

.ff-player-art__rarity--legendary {
	color: #d4b4bc;
	background: rgba(201, 160, 168, 0.14);
	border: 1px solid rgba(201, 160, 168, 0.45);
	box-shadow: 0 0 12px rgba(201, 160, 168, 0.12);
}

.ff-player-art__rarity--mythic {
	color: var(--ff-rarity-mythic);
	background: linear-gradient(135deg, rgba(255, 94, 200, 0.15), rgba(180, 80, 255, 0.12));
	border: 1px solid rgba(255, 94, 200, 0.45);
	box-shadow: 0 0 14px rgba(255, 94, 200, 0.2);
}

.ff-player-art__details {
	font-size: 0.75rem;
	color: var(--ff-color-text-muted);
	margin: 0;
	letter-spacing: 0.04em;
}

.ff-player-art__archetype {
	color: var(--ff-color-text);
	font-weight: 500;
}

.ff-player-art__rating {
	color: var(--ff-color-gold-light);
	font-weight: 600;
}

.ff-player-art__sep {
	margin: 0 0.35em;
	opacity: 0.5;
}

.ff-card--player-art .ff-card__inner {
	transform-style: preserve-3d;
	transition: transform 0.1s ease-out;
}

@media (min-width: 769px) {
	.ff-card-grid--player-showcase .ff-card--player-featured {
		transform: scale(1.1);
		transform-origin: bottom center;
		z-index: 1;
	}
}

@media (max-width: 1024px) {
	.ff-card-grid--player-showcase {
		gap: var(--ff-space-md);
	}
}

@media (max-width: 768px) {
	.ff-card-grid--player-showcase {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: var(--ff-space-md);
		padding-bottom: var(--ff-space-sm);
		margin-inline: -1rem;
		padding-inline: 1rem;
	}

	.ff-card-grid--player-showcase .ff-card--player-art {
		flex: 0 0 46%;
		max-width: 46%;
		scroll-snap-align: center;
	}

	.ff-card-grid--player-showcase .ff-card--player-featured {
		transform: none;
		z-index: auto;
	}

}

/* ==========================================================================
   Country NFT marquee
   ========================================================================== */

.ff-country-marquee {
	padding-top: var(--ff-space-2xl);
	padding-bottom: var(--ff-space-2xl);
	background:
		linear-gradient(180deg, var(--ff-color-bg) 0%, rgba(15, 16, 20, 0.85) 50%, var(--ff-color-bg-elevated) 100%);
	border-top: 1px solid rgba(201, 162, 39, 0.15);
	overflow: hidden;
}

.ff-country-marquee .ff-section__header {
	margin-bottom: var(--ff-space-lg);
}

.ff-country-marquee__ribbons {
	display: flex;
	flex-direction: column;
	gap: var(--ff-space-md);
	margin-top: var(--ff-space-lg);
}

.ff-country-marquee__row {
	position: relative;
	overflow: hidden;
	padding-block: var(--ff-space-md);
	mask-image: linear-gradient(
		90deg,
		transparent 0%,
		#000 10%,
		#000 90%,
		transparent 100%
	);
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent 0%,
		#000 10%,
		#000 90%,
		transparent 100%
	);
}

.ff-country-marquee__row::before,
.ff-country-marquee__row::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: min(120px, 12vw);
	z-index: 2;
	pointer-events: none;
}

.ff-country-marquee__row::before {
	left: 0;
	background: linear-gradient(90deg, var(--ff-color-bg) 0%, transparent 100%);
}

.ff-country-marquee__row::after {
	right: 0;
	background: linear-gradient(270deg, var(--ff-color-bg-elevated) 0%, transparent 100%);
}

.ff-country-marquee__track {
	display: flex;
	width: max-content;
	will-change: transform;
}

.ff-country-marquee__track--ltr {
	animation: ff-marquee-ltr 173s linear infinite;
}

.ff-country-marquee__track--rtl {
	animation: ff-marquee-rtl 201s linear infinite;
}

.ff-country-marquee__row:hover .ff-country-marquee__track {
	animation-play-state: paused;
}

@keyframes ff-marquee-ltr {
	from {
		transform: translateX(-50%);
	}

	to {
		transform: translateX(0);
	}
}

@keyframes ff-marquee-rtl {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.ff-country-marquee__list,
.ff-country-marquee__grid {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--ff-space-sm);
	list-style: none;
	margin: 0;
	padding: 0 var(--ff-space-sm);
}

.ff-country-marquee__card {
	flex: 0 0 auto;
	padding: 12px;
	background: none;
	border: none;
}

.ff-country-marquee__card img {
	width: 72px;
	height: auto;
	transition:
		transform var(--ff-transition),
		filter var(--ff-transition);
}

.ff-country-marquee__card:hover img {
	transform: translateY(-7px);
	filter: drop-shadow(0 0 22px rgba(201, 162, 39, 0.44));
}

.ff-country-marquee__static {
	display: none;
}

.ff-country-marquee__grid {
	flex-wrap: wrap;
	justify-content: center;
	padding: 0;
}

@media (min-width: 769px) {
	.ff-country-marquee__card {
		padding: 14px;
	}

	.ff-country-marquee__card img {
		width: 88px;
	}
}

@media (min-width: 1025px) {
	.ff-country-marquee__card {
		padding: 16px;
	}

	.ff-country-marquee__card img {
		width: 108px;
	}

	.ff-country-marquee__list {
		gap: var(--ff-space-md);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ff-country-marquee__ribbons {
		display: none;
	}

	.ff-country-marquee__static {
		display: block;
	}

	.ff-country-marquee__grid {
		gap: var(--ff-space-sm);
	}
}

/* ==========================================================================
   Season 1 pricing
   ========================================================================== */

.ff-pricing {
	padding-top: var(--ff-space-xl);
	padding-bottom: var(--ff-space-xl);
	background: var(--ff-color-bg-elevated);
	border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.ff-pricing .ff-section__header {
	margin-bottom: var(--ff-space-lg);
}

.ff-pricing__cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--ff-space-md);
	max-width: 720px;
	margin-inline: auto;
}

.ff-pricing-card {
	padding: var(--ff-space-lg) var(--ff-space-md);
	background: var(--ff-color-panel);
	border: 1px solid rgba(201, 162, 39, 0.18);
	border-radius: var(--ff-radius-md);
	text-align: center;
	transition: border-color var(--ff-transition), box-shadow var(--ff-transition);
}

.ff-pricing-card:hover {
	border-color: rgba(201, 162, 39, 0.38);
	box-shadow: 0 0 35px rgba(201, 162, 39, 0.13);
}

.ff-pricing-card__title {
	font-size: 1.05rem;
	margin: 0 0 var(--ff-space-xs);
	letter-spacing: 0.04em;
}

.ff-pricing-card__price {
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	font-weight: 600;
	line-height: 1.1;
	margin: 0 0 var(--ff-space-sm);
	color: var(--ff-color-gold-light);
}

.ff-pricing-card__desc {
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--ff-color-text-muted);
	margin: 0 0 var(--ff-space-sm);
}

.ff-pricing-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-pricing-card__meta-item {
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
	opacity: 0.85;
}

.ff-pricing-card__meta-item--highlight {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--ff-color-gold-light);
	opacity: 1;
	margin-bottom: 0.15rem;
}

.ff-price-line {
	font-size: 0.95rem;
	font-weight: 500;
	margin: 0 0 var(--ff-space-md);
	color: var(--ff-color-text-muted);
}

.ff-price-line--center {
	text-align: center;
	margin-bottom: var(--ff-space-lg);
}

.ff-price-line__value {
	color: var(--ff-color-gold-light);
	font-weight: 600;
	letter-spacing: 0.04em;
}

/* ==========================================================================
   How It Works
   ========================================================================== */

.ff-how {
	background: var(--ff-color-bg-elevated);
}

.ff-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--ff-space-lg);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-step {
	background: var(--ff-color-panel);
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-md);
	padding: var(--ff-space-xl) var(--ff-space-lg);
	transition: border-color var(--ff-transition), box-shadow var(--ff-transition);
}

.ff-step:hover {
	border-color: rgba(201, 162, 39, 0.33);
	box-shadow: var(--ff-shadow-glow);
}

.ff-step__num {
	display: block;
	font-size: 2rem;
	font-weight: 600;
	color: var(--ff-color-gold);
	opacity: 0.55;
	margin-bottom: var(--ff-space-md);
	line-height: 1;
}

.ff-step__title {
	font-size: 1.15rem;
	margin-bottom: var(--ff-space-sm);
}

.ff-step p {
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	margin: 0;
}

/* ==========================================================================
   Collectibles sections
   ========================================================================== */

.ff-collectibles--alt {
	background: linear-gradient(180deg, transparent, rgba(15, 16, 20, 0.8) 50%, transparent);
}

.ff-collectibles--explosive {
	overflow: visible;
}

.ff-explosive-stage {
	position: relative;
	overflow: visible;
}

.ff-explosive-stage__content {
	position: relative;
	z-index: 1;
}

.ff-explosive-stage--cards {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	overflow: visible;
}

.ff-explosive-bkgd {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 210%;
	height: auto;
	max-width: none;
	transform: translate(-50%, -50%);
	object-fit: contain;
	object-position: center;
	z-index: 0;
	pointer-events: none;
}

/* ==========================================================================
   Pack opening
   ========================================================================== */

.ff-pack__visual {
	display: flex;
	justify-content: center;
	perspective: var(--ff-tilt-perspective);
	background: transparent;
	overflow: visible;
}

.ff-pack-video {
	margin: 0;
	max-width: min(480px, 100%);
	width: 100%;
	background: transparent;
	border: none;
	box-shadow: none;
	overflow: visible;
}

.ff-pack-video__stage {
	position: relative;
	width: 100%;
	line-height: 0;
	overflow: visible;
	background: transparent;
	border: none;
	box-shadow: none;
}

.ff-pack-video__inner {
	position: relative;
	z-index: 1;
	transform-style: preserve-3d;
	transition: transform 0.1s ease-out;
	line-height: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	overflow: visible;
}

.ff-pack-video__media,
.player-pack-video {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	background: transparent;
	border: none;
	box-shadow: none;
}

.player-pack-fallback {
	display: none;
	width: 100%;
	height: auto;
	object-fit: contain;
	background: transparent;
	border: none;
	box-shadow: none;
}

@media (max-width: 768px) {
	.player-pack-video {
		display: none;
	}

	.player-pack-fallback {
		display: block;
	}
}

/* ==========================================================================
   Squad / pitch
   ========================================================================== */

/* App UI previews — squad builder, leaderboard, etc. */
.ff-app-preview {
	width: 100%;
}

.ff-app-preview__frame {
	margin: 0;
	line-height: 0;
	border-radius: var(--ff-radius-lg);
	overflow: hidden;
	border: 1px solid var(--ff-color-panel-border);
	box-shadow: var(--ff-shadow-glow), 0 24px 48px rgba(0, 0, 0, 0.45);
}

.ff-app-preview__frame img,
.ff-app-preview__frame video,
.ff-squad-demo__media {
	width: 100%;
	height: auto;
	display: block;
	background: var(--ff-color-bg-elevated);
}

.ff-squad-demo-wrap {
	margin: var(--ff-space-xl) auto 0;
	max-width: 1024px;
}

.ff-squad-demo__badge {
	display: table;
	margin: 0 auto var(--ff-space-sm);
	line-height: 1;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ff-color-gold-light);
	background: var(--ff-color-panel);
	border: 1px solid rgba(201, 162, 39, 0.45);
	border-radius: 100px;
	padding: 0.45rem 0.9rem;
	box-shadow: 0 0 20px rgba(201, 162, 39, 0.12);
}


/* ==========================================================================
   Leagues & panels
   ========================================================================== */

.ff-panel {
	background: var(--ff-color-panel);
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-lg);
	padding: var(--ff-space-lg);
}

.ff-panel--glow {
	box-shadow: var(--ff-shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ff-panel--redemption {
	border-color: rgba(107, 90, 46, 0.5);
	background: linear-gradient(145deg, var(--ff-color-panel), rgba(107, 90, 46, 0.08));
}

.ff-panel__title {
	font-size: 1.25rem;
	color: var(--ff-color-gold-light);
}

.ff-leaderboard__row {
	display: grid;
	grid-template-columns: 48px 1fr 64px 72px;
	gap: var(--ff-space-sm);
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--ff-color-panel-border);
	font-size: 0.9rem;
}

.ff-leaderboard__row--head {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
}

.ff-leaderboard__row span:last-child {
	text-align: right;
	color: var(--ff-color-gold-light);
	font-weight: 600;
}

.ff-leaderboard__note {
	font-size: 0.75rem;
	color: var(--ff-color-text-muted);
	margin-top: var(--ff-space-sm);
	margin-bottom: 0;
}

.ff-league--redemption {
	background: var(--ff-color-bg-elevated);
}

/* ==========================================================================
   Prize pool
   ========================================================================== */

.ff-prize {
	background:
		radial-gradient(ellipse 80% 50% at 50% 100%, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
		var(--ff-color-bg-elevated);
}

.ff-prize__inner {
	text-align: center;
}

.ff-prize__highlight {
	margin: var(--ff-space-xl) 0;
}

.ff-prize__percent {
	display: block;
	font-size: clamp(4rem, 12vw, 7rem);
	font-weight: 600;
	line-height: 1;
	background: linear-gradient(180deg, var(--ff-color-gold-light), var(--ff-color-gold-dark));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: none;
	filter: drop-shadow(0 0 40px rgba(201, 162, 39, 0.4));
}

.ff-prize__label {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
	max-width: 42ch;
	margin-inline: auto;
	line-height: 1.5;
}

.ff-prize__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--ff-space-md);
	margin: 0 auto var(--ff-space-xl);
}

.ff-prize__support {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	max-width: 52ch;
	margin: 0 auto;
}

.ff-prize-distribution {
	margin-top: var(--ff-space-xl);
	text-align: center;
}

.ff-prize-distribution__header {
	max-width: 62ch;
	margin: 0 auto var(--ff-space-lg);
}

.ff-prize-distribution__title {
	font-size: clamp(1.15rem, 2.5vw, 1.4rem);
	margin: 0 0 var(--ff-space-sm);
	letter-spacing: 0.04em;
	color: var(--ff-color-text);
}

.ff-prize-distribution__intro {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	margin: 0;
}

.ff-prize-distribution__table {
	max-width: 520px;
	margin: 0 auto var(--ff-space-lg);
	background: var(--ff-color-panel);
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-md);
	overflow: hidden;
	text-align: left;
}

.ff-prize-distribution__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--ff-space-sm);
	align-items: center;
	padding: var(--ff-space-sm) var(--ff-space-md);
	border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.ff-prize-distribution__row:last-child {
	border-bottom: none;
}

.ff-prize-distribution__row--head {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
	border-bottom: 1px solid rgba(201, 162, 39, 0.2);
	background: rgba(201, 162, 39, 0.04);
}

.ff-prize-distribution__place {
	font-size: 0.9rem;
	color: var(--ff-color-text);
}

.ff-prize-distribution__row--head .ff-prize-distribution__place,
.ff-prize-distribution__row--head .ff-prize-distribution__percent {
	color: var(--ff-color-text-muted);
	font-weight: 600;
}

.ff-prize-distribution__percent {
	text-align: right;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ff-color-gold-light);
}

.ff-prize-distribution__rule {
	max-width: 62ch;
	margin: 0 auto;
	padding: var(--ff-space-lg);
	text-align: left;
	background: var(--ff-color-panel);
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-md);
}

.ff-prize-distribution__rule-title {
	font-size: 1rem;
	margin: 0 0 var(--ff-space-md);
	color: var(--ff-color-gold-light);
	letter-spacing: 0.04em;
}

.ff-prize-distribution__rule-copy {
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	margin: 0 0 var(--ff-space-sm);
}

.ff-prize-distribution__rule-copy:last-of-type {
	margin-bottom: var(--ff-space-md);
}

.ff-prize-distribution__example {
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	margin: 0;
	padding-top: var(--ff-space-sm);
	border-top: 1px solid rgba(201, 162, 39, 0.12);
}

.ff-prize-distribution__example strong {
	color: var(--ff-color-gold-light);
	font-weight: 600;
}

.ff-stat {
	padding: var(--ff-space-lg);
	background: var(--ff-color-panel);
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-md);
}

.ff-stat__value {
	display: block;
	font-size: 1rem;
	color: var(--ff-color-gold-light);
	margin: 0 0 0.35rem;
}

.ff-stat__label {
	font-size: 0.85rem;
	line-height: 1.55;
	color: var(--ff-color-text-muted);
	margin: 0;
}

/* ==========================================================================
   Timeline
   ========================================================================== */

.ff-timeline__track {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--ff-space-md);
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-timeline__track::before {
	content: "";
	position: absolute;
	top: 28px;
	left: 10%;
	right: 10%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--ff-color-gold-dark), transparent);
	opacity: 0.5;
}

.ff-timeline__item {
	position: relative;
	text-align: center;
}

.ff-timeline__marker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--ff-color-bg);
	background: linear-gradient(135deg, var(--ff-color-gold-light), var(--ff-color-gold-dark));
	border-radius: 50%;
	margin-bottom: var(--ff-space-md);
	box-shadow: var(--ff-shadow-glow);
	position: relative;
	z-index: 1;
}

.ff-timeline__phase {
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ff-color-gold);
	margin-bottom: 0.25rem;
}

.ff-timeline__content h3 {
	font-size: 1rem;
}

.ff-timeline__content p {
	font-size: 0.85rem;
	color: var(--ff-color-text-muted);
}

.ff-timeline__item--climax .ff-timeline__marker {
	width: 64px;
	height: 64px;
	font-size: 1rem;
	box-shadow: var(--ff-shadow-glow), 0 0 48px rgba(201, 162, 39, 0.35);
}

.ff-timeline__item--climax .ff-timeline__content h3 {
	color: var(--ff-color-gold-light);
	font-size: 1.1rem;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.ff-accordion__item {
	border-bottom: 1px solid var(--ff-color-panel-border);
}

.ff-accordion__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ff-space-sm);
	padding: var(--ff-space-md) 0;
	background: none;
	border: none;
	font-size: 1rem;
	font-weight: 600;
	color: var(--ff-color-text);
	text-align: left;
	cursor: pointer;
	transition: color var(--ff-transition);
}

.ff-accordion__trigger:hover {
	color: var(--ff-color-gold-light);
}

.ff-accordion__icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	position: relative;
}

.ff-accordion__icon::before,
.ff-accordion__icon::after {
	content: "";
	position: absolute;
	background: var(--ff-color-gold);
	transition: transform var(--ff-transition);
}

.ff-accordion__icon::before {
	width: 14px;
	height: 2px;
	top: 9px;
	left: 3px;
}

.ff-accordion__icon::after {
	width: 2px;
	height: 14px;
	top: 3px;
	left: 9px;
}

.ff-accordion__trigger[aria-expanded="true"] .ff-accordion__icon::after {
	transform: rotate(90deg);
	opacity: 0;
}

.ff-accordion__panel {
	display: grid;
	grid-template-rows: 0fr;
	overflow: hidden;
	transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.ff-accordion__panel.is-open {
	grid-template-rows: 1fr;
}

.ff-accordion__panel-inner {
	min-height: 0;
}

.ff-accordion__panel p {
	padding-bottom: var(--ff-space-md);
	color: var(--ff-color-text-muted);
	margin: 0;
	line-height: 1.7;
	max-width: 72ch;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.ff-cta-final__inner {
	text-align: center;
	padding: var(--ff-space-3xl) var(--ff-space-lg);
	background: var(--ff-color-panel);
	border: 1px solid rgba(201, 162, 39, 0.25);
	border-radius: var(--ff-radius-lg);
	box-shadow: var(--ff-shadow-glow);
}

.ff-cta-final__title {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	margin-bottom: var(--ff-space-lg);
	line-height: 1.15;
}

.ff-cta-final__stats {
	margin-bottom: var(--ff-space-xl);
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.ff-legal {
	padding-top: calc(var(--ff-header-height) + var(--ff-space-xl));
	padding-bottom: var(--ff-space-3xl);
}

.ff-container--legal {
	max-width: 760px;
}

.ff-legal__header {
	margin-bottom: var(--ff-space-xl);
}

.ff-legal__back {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--ff-color-text-muted);
	margin-bottom: var(--ff-space-md);
	transition: color var(--ff-transition);
}

.ff-legal__back:hover {
	color: var(--ff-color-gold-light);
}

.ff-legal__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	margin: 0;
	letter-spacing: 0.02em;
}

.ff-legal__meta {
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
	margin: 0 0 var(--ff-space-lg);
}

.ff-legal__content h2 {
	font-size: 1.15rem;
	margin: var(--ff-space-lg) 0 var(--ff-space-sm);
	color: var(--ff-color-gold-light);
	letter-spacing: 0.03em;
}

.ff-legal__content h3 {
	font-family: var(--ff-font-body);
	font-size: 0.95rem;
	font-weight: 600;
	margin: var(--ff-space-md) 0 var(--ff-space-xs);
	color: var(--ff-color-text);
}

.ff-legal__content p,
.ff-legal__content li {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--ff-color-text-muted);
}

.ff-legal__content p {
	margin: 0 0 var(--ff-space-sm);
}

.ff-legal__content ul {
	margin: 0 0 var(--ff-space-md);
	padding-left: 1.25rem;
}

.ff-legal__content li {
	margin-bottom: 0.35rem;
}

.ff-legal__header--hero {
	text-align: center;
}

.ff-legal__eyebrow {
	margin-bottom: var(--ff-space-sm);
}

.ff-legal__intro {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	max-width: 62ch;
	margin: var(--ff-space-sm) auto var(--ff-space-md);
}

.ff-legal__header--hero .ff-legal__back {
	text-align: left;
}

.ff-legal__header--hero .ff-legal__meta {
	margin-bottom: 0;
}

.ff-legal__table {
	margin: var(--ff-space-md) 0 var(--ff-space-lg);
	background: var(--ff-color-panel);
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-md);
	overflow: hidden;
}

.ff-legal__table-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--ff-space-sm);
	align-items: center;
	padding: var(--ff-space-sm) var(--ff-space-md);
	border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.ff-legal__table-row:last-child {
	border-bottom: none;
}

.ff-legal__table-row--head {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
	border-bottom: 1px solid rgba(201, 162, 39, 0.2);
	background: rgba(201, 162, 39, 0.04);
}

.ff-legal__table-value {
	text-align: right;
	font-weight: 600;
	color: var(--ff-color-gold-light);
}

.ff-legal__safety-list {
	list-style: none;
	padding-left: 0;
}

.ff-legal__safety-list li {
	position: relative;
	padding-left: 1.25rem;
}

.ff-legal__safety-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 6px;
	height: 6px;
	background: var(--ff-color-gold);
	border-radius: 50%;
	box-shadow: 0 0 8px var(--ff-color-gold);
}

.ff-legal__content a {
	color: var(--ff-color-gold-light);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ff-legal__content a:hover {
	color: var(--ff-color-text);
}

.ff-safety-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--ff-space-sm);
	margin: var(--ff-space-md) 0 var(--ff-space-lg);
}

.ff-safety-cards__item {
	padding: var(--ff-space-md);
	background: var(--ff-color-panel);
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-md);
}

.ff-safety-cards__title {
	font-family: var(--ff-font-body);
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0 0 var(--ff-space-xs);
	color: var(--ff-color-gold-light);
}

.ff-safety-cards__copy {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
}

.ff-legal__warning {
	margin: var(--ff-space-md) 0 var(--ff-space-lg);
	padding: var(--ff-space-lg);
	background: rgba(201, 74, 74, 0.08);
	border: 1px solid rgba(201, 74, 74, 0.35);
	border-radius: var(--ff-radius-md);
}

.ff-legal__warning-title {
	font-weight: 600;
	color: var(--ff-color-text);
	margin: 0 0 var(--ff-space-sm);
}

.ff-legal__warning ul {
	margin: 0;
	padding-left: 1.25rem;
}

.ff-legal__warning li {
	color: var(--ff-color-text);
}

.ff-legal__notice {
	margin-top: var(--ff-space-xl);
	padding: var(--ff-space-lg);
	background: var(--ff-color-panel);
	border: 1px solid rgba(201, 162, 39, 0.2);
	border-radius: var(--ff-radius-md);
}

.ff-legal__notice h2 {
	margin-top: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ff-footer {
	background: var(--ff-color-bg-elevated);
	border-top: 1px solid var(--ff-color-panel-border);
	padding: var(--ff-space-3xl) 0 var(--ff-space-lg);
}

.ff-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: var(--ff-space-xl);
	margin-bottom: var(--ff-space-xl);
}

.ff-footer__desc {
	font-size: 0.9rem;
	color: var(--ff-color-text-muted);
	max-width: 36ch;
	margin-top: var(--ff-space-md);
}

.ff-footer__heading {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ff-color-gold);
	margin-bottom: var(--ff-space-sm);
}

.ff-footer__nav ul li {
	margin-bottom: 0.35rem;
}

.ff-footer__nav a {
	color: var(--ff-color-text-muted);
	font-size: 0.9rem;
}

.ff-footer__cta p {
	font-size: 0.9rem;
	color: var(--ff-color-text-muted);
	margin-bottom: var(--ff-space-md);
}

.ff-footer__cta-pricing {
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.04em;
	color: var(--ff-color-text-muted);
	margin: var(--ff-space-sm) 0 0;
}

.ff-footer__cta-pricing-value {
	color: var(--ff-color-gold-light);
	font-weight: 600;
}

.ff-footer__bottom {
	padding-top: var(--ff-space-lg);
	border-top: 1px solid var(--ff-color-panel-border);
	text-align: center;
}

.ff-footer__bottom p {
	font-size: 0.8rem;
	color: var(--ff-color-text-muted);
	margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.ff-hero__grid,
	.ff-split {
		grid-template-columns: 1fr;
		gap: var(--ff-space-xl);
	}

	.ff-split--reverse > *:first-child {
		order: unset;
	}

	.ff-hero__card-wrap {
		order: -1;
	}

	.ff-card-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.ff-steps {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--ff-space-md);
	}

	.ff-prize__stats,
	.ff-timeline__track {
		grid-template-columns: repeat(2, 1fr);
	}

	.ff-timeline__track::before {
		display: none;
	}

	.ff-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 1024px) {
	.ff-nav-toggle {
		display: flex;
	}

	.ff-nav {
		position: fixed;
		top: var(--ff-header-height);
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		padding: var(--ff-space-lg);
		background: rgba(7, 7, 8, 0.98);
		border-bottom: 1px solid var(--ff-color-panel-border);
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: transform var(--ff-transition), opacity var(--ff-transition), visibility var(--ff-transition);
	}

	.ff-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.ff-nav__list {
		flex-direction: column;
		align-items: flex-start;
		flex-wrap: nowrap;
	}

	.ff-nav__list a {
		white-space: normal;
	}

	.ff-nav__actions {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		margin-top: var(--ff-space-sm);
	}

	.ff-nav__actions .ff-btn {
		align-self: stretch;
		text-align: center;
	}
}

@media (max-width: 768px) {
	:root {
		--ff-space-3xl: 5rem;
		--ff-space-2xl: 4rem;
	}

	.ff-card-grid--3:not(.ff-card-grid--country-art),
	.ff-card-grid--4 {
		grid-template-columns: 1fr;
		max-width: 280px;
		margin-inline: auto;
	}

	.ff-card-grid--country-art {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: 100%;
		width: 100%;
		margin-inline: auto;
		gap: var(--ff-space-sm);
		align-items: end;
	}

	.ff-card-grid--country-art .ff-card--country-art {
		width: 100%;
		min-width: 0;
	}

	.ff-card-grid--country-art .ff-card--country-art:nth-child(2),
	.ff-card-grid--country-art .ff-card--country-art:nth-child(3) {
		transform: none;
		z-index: auto;
		grid-column: auto;
		width: 100%;
		justify-self: stretch;
	}

	.ff-collectibles .ff-explosive-stage--cards {
		width: 100%;
	}

	.ff-steps,
	.ff-prize__stats,
	.ff-pricing__cards,
	.ff-timeline__track {
		grid-template-columns: 1fr;
	}

	.ff-footer__grid {
		grid-template-columns: 1fr;
	}

	/* Reduce tilt intensity on mobile — handled in JS too */
	.ff-tilt-card .ff-card__inner,
	.ff-tilt-card .ff-hero-lockup__inner,
	.ff-tilt-card .ff-pack-video__inner {
		transform: none !important;
	}

	.ff-hero__scroll {
		display: none;
	}

	.ff-manual-split,
	.ff-manual-split--reverse {
		grid-template-columns: 1fr;
	}

	.ff-manual-split--reverse .ff-manual-split__content {
		order: 0;
	}

	.ff-manual-walkthrough {
		gap: var(--ff-space-2xl);
	}

	.ff-manual-walkthrough__step,
	.ff-manual-walkthrough__step.ff-manual-split--reverse {
		grid-template-columns: 1fr;
	}

	.ff-manual-archetypes {
		width: 100%;
	}

	.ff-prize-distribution__row:not(.ff-prize-distribution__row--head) {
		grid-template-columns: 1fr;
		text-align: center;
		padding: var(--ff-space-md);
	}

	.ff-prize-distribution__row:not(.ff-prize-distribution__row--head) .ff-prize-distribution__percent {
		text-align: center;
		margin-top: 0.15rem;
	}

	.ff-manual-scoring {
		grid-template-columns: 1fr;
	}

	.ff-manual-specs {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Game Manual
   ========================================================================== */

.ff-manual {
	background: var(--ff-color-bg);
}

.ff-container--manual {
	max-width: 960px;
}

.ff-container--manual-wide {
	max-width: 1120px;
}

.ff-manual-hero {
	position: relative;
	padding-top: calc(var(--ff-header-height) + var(--ff-space-3xl));
	padding-bottom: var(--ff-space-3xl);
	text-align: center;
	overflow: hidden;
}

.ff-manual-hero__glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201, 162, 39, 0.14) 0%, transparent 65%),
		radial-gradient(ellipse 50% 40% at 20% 60%, rgba(201, 162, 39, 0.06) 0%, transparent 55%),
		radial-gradient(ellipse 50% 40% at 80% 60%, rgba(201, 162, 39, 0.06) 0%, transparent 55%);
	pointer-events: none;
}

.ff-manual-hero__inner {
	position: relative;
	max-width: 720px;
	margin-inline: auto;
}

.ff-manual-hero__title {
	font-size: clamp(2rem, 5vw, 3.25rem);
	margin: 0 0 var(--ff-space-md);
	letter-spacing: 0.02em;
}

.ff-manual-hero__lead {
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	max-width: 52ch;
	margin: 0 auto var(--ff-space-xl);
}

.ff-manual-section {
	padding-top: var(--ff-space-2xl);
	padding-bottom: var(--ff-space-2xl);
}

.ff-manual-section--alt {
	background:
		linear-gradient(180deg, transparent, rgba(15, 16, 20, 0.75) 50%, transparent);
}

.ff-manual-section__header {
	margin-bottom: var(--ff-space-lg);
}

.ff-manual-section__header--center {
	text-align: center;
}

.ff-manual-section__title {
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	margin: 0;
	letter-spacing: 0.02em;
}

.ff-manual-section__intro {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	margin: var(--ff-space-sm) 0 0;
}

.ff-manual-section__intro--center {
	text-align: center;
	max-width: 52ch;
	margin-inline: auto;
}

.ff-manual-section__body p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ff-color-text-muted);
	margin: 0 0 var(--ff-space-sm);
}

.ff-manual-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--ff-space-xl);
	align-items: center;
}

.ff-manual-split:has(.ff-manual-placeholder--fill) {
	align-items: stretch;
}

.ff-manual-split--reverse .ff-manual-split__content {
	order: 2;
}

.ff-manual-split--anatomy {
	grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
}

.ff-manual-split--anatomy.ff-manual-split--reverse {
	grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
}

.ff-manual-split--anatomy .ff-manual-placeholder--fill {
	min-width: 0;
}

.ff-manual-split--anatomy .ff-manual-placeholder--fill .ff-manual-placeholder__img {
	width: 100%;
	height: auto;
	max-width: none;
	object-fit: contain;
}

.ff-manual-specs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--ff-space-sm);
	list-style: none;
	margin: var(--ff-space-lg) 0 0;
	padding: 0;
}

.ff-manual-specs__item {
	padding: var(--ff-space-md);
	background: var(--ff-color-panel);
	border: 1px solid rgba(201, 162, 39, 0.18);
	border-radius: var(--ff-radius-md);
}

.ff-manual-specs__label {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
	margin-bottom: 0.35rem;
}

.ff-manual-specs__value {
	display: block;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--ff-color-gold-light);
}

.ff-manual-placeholder {
	margin: var(--ff-space-lg) 0 0;
	padding: var(--ff-space-xl);
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ff-color-panel);
	border: 1px dashed rgba(201, 162, 39, 0.28);
	border-radius: var(--ff-radius-lg);
	box-shadow: inset 0 0 40px rgba(201, 162, 39, 0.04);
}

.ff-manual-split .ff-manual-placeholder {
	margin-top: 0;
	min-height: 280px;
}

.ff-manual-placeholder__label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
	text-align: center;
}

.ff-manual-placeholder__img {
	width: 100%;
	height: auto;
	border-radius: var(--ff-radius-md);
}

.ff-manual-placeholder--fill {
	margin: 0;
	padding: 0;
	min-height: 0;
	background: none;
	border: none;
	box-shadow: none;
	border-radius: 0;
	align-self: stretch;
}

.ff-manual-split .ff-manual-placeholder--fill {
	min-height: 0;
}

.ff-manual-placeholder--fill .ff-manual-placeholder__img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
	border-radius: 0;
}

.ff-manual-walkthrough {
	display: flex;
	flex-direction: column;
	gap: var(--ff-space-3xl);
	margin-top: var(--ff-space-xl);
}

.ff-manual-walkthrough__step {
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	align-items: center;
}

.ff-manual-walkthrough__step.ff-manual-split--reverse {
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.ff-manual-walkthrough__step-num {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--ff-color-gold-light);
	margin: 0 0 var(--ff-space-xs);
}

.ff-manual-walkthrough__step-title {
	font-size: clamp(1.15rem, 2.5vw, 1.5rem);
	margin: 0 0 var(--ff-space-sm);
	letter-spacing: 0.04em;
	color: var(--ff-color-text);
}

.ff-manual-walkthrough__step-desc {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	margin: 0 0 var(--ff-space-md);
}

.ff-manual-walkthrough__bullets {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-manual-walkthrough__figure {
	margin: 0;
	min-width: 0;
}

.ff-manual-walkthrough__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--ff-radius-md);
	border: 1px solid rgba(201, 162, 39, 0.22);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.03) inset,
		0 12px 40px rgba(0, 0, 0, 0.45),
		0 0 48px rgba(201, 162, 39, 0.12);
}

.ff-manual-archetypes {
	width: 50%;
	max-width: 100%;
	margin: var(--ff-space-xl) auto 0;
	text-align: center;
}

.ff-manual-archetypes__title {
	font-size: clamp(1.15rem, 2.5vw, 1.5rem);
	margin: 0 0 var(--ff-space-sm);
	letter-spacing: 0.06em;
	color: var(--ff-color-text);
}

.ff-manual-archetypes__intro {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	margin: 0 auto var(--ff-space-md);
	max-width: 42ch;
}

.ff-manual-archetypes__img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: none;
}

.ff-manual-rarity-showcase .ff-card-grid--player-showcase {
	margin-top: 0;
}

.ff-manual-rating-ranges {
	margin-top: var(--ff-space-xl);
	background: var(--ff-color-panel);
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-md);
	overflow: hidden;
}

.ff-manual-rating-ranges__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--ff-space-sm);
	align-items: center;
	padding: var(--ff-space-sm) var(--ff-space-md);
	border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.ff-manual-rating-ranges__row:last-child {
	border-bottom: none;
}

.ff-manual-rating-ranges__row--head {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
	border-bottom: 1px solid rgba(201, 162, 39, 0.2);
	background: rgba(201, 162, 39, 0.04);
}

.ff-manual-rating-ranges__tier {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.ff-manual-rating-ranges__row--head .ff-manual-rating-ranges__tier,
.ff-manual-rating-ranges__row--head .ff-manual-rating-ranges__range {
	color: var(--ff-color-text-muted);
	font-weight: 600;
}

.ff-manual-rating-ranges__range {
	text-align: right;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ff-color-gold-light);
}

.ff-manual-rating-ranges__row--common .ff-manual-rating-ranges__tier { color: var(--ff-rarity-common); }
.ff-manual-rating-ranges__row--rare .ff-manual-rating-ranges__tier { color: #e86a6a; }
.ff-manual-rating-ranges__row--epic .ff-manual-rating-ranges__tier { color: var(--ff-color-gold-light); }
.ff-manual-rating-ranges__row--legendary .ff-manual-rating-ranges__tier { color: #d4b4bc; }
.ff-manual-rating-ranges__row--mythic .ff-manual-rating-ranges__tier { color: var(--ff-rarity-mythic); }

.ff-manual-scoring {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--ff-space-md);
	margin-bottom: var(--ff-space-lg);
}

.ff-manual-scoring__block {
	padding: var(--ff-space-lg);
	background: var(--ff-color-panel);
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-md);
}

.ff-manual-scoring__heading {
	font-size: 1rem;
	margin: 0 0 var(--ff-space-md);
	color: var(--ff-color-gold-light);
	letter-spacing: 0.04em;
}

.ff-manual-rules {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-manual-rules__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ff-space-sm);
	padding: var(--ff-space-sm) 0;
	border-bottom: 1px solid rgba(201, 162, 39, 0.1);
	font-size: 0.9rem;
}

.ff-manual-rules__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.ff-manual-rules__label {
	color: var(--ff-color-text-muted);
}

.ff-manual-rules__value {
	font-weight: 600;
	color: var(--ff-color-text);
}

.ff-manual-rules__value--bonus {
	color: var(--ff-color-gold-light);
}

.ff-manual-prize__highlight {
	text-align: center;
	margin: var(--ff-space-lg) 0 var(--ff-space-md);
}

.ff-manual-prize__percent {
	display: block;
	font-size: clamp(3rem, 10vw, 5rem);
	font-weight: 600;
	line-height: 1;
	background: linear-gradient(180deg, var(--ff-color-gold-light), var(--ff-color-gold-dark));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 32px rgba(201, 162, 39, 0.35));
}

.ff-manual-prize__label {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ff-color-text-muted);
	margin: var(--ff-space-sm) 0 0;
}

.ff-manual-section--prize .ff-manual-section__intro {
	margin-bottom: var(--ff-space-xl);
}

/* ==========================================================================
   Coming soon modal
   ========================================================================== */

body.ff-modal-open {
	overflow: hidden;
}

.ff-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--ff-space-md);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--ff-transition), visibility var(--ff-transition);
}

.ff-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.ff-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(4px);
}

.ff-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 480px);
	padding: var(--ff-space-xl);
	text-align: center;
	background: var(--ff-color-panel);
	border: 1px solid var(--ff-color-panel-border);
	border-radius: var(--ff-radius-md);
	box-shadow: var(--ff-shadow-glow), 0 24px 64px rgba(0, 0, 0, 0.5);
}

.ff-modal__title {
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	margin: 0 0 var(--ff-space-md);
	letter-spacing: 0.04em;
	color: var(--ff-color-text);
}

.ff-modal__body {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	margin: 0 0 var(--ff-space-md);
}

.ff-modal__actions {
	display: flex;
	flex-direction: column;
	gap: var(--ff-space-sm);
	margin-bottom: var(--ff-space-md);
}

.ff-community-callout {
	padding: var(--ff-space-2xl) 0;
	background: var(--ff-color-bg);
	border-top: 1px solid rgba(201, 162, 39, 0.08);
	border-bottom: 1px solid rgba(201, 162, 39, 0.08);
}

.ff-community-callout__inner {
	text-align: center;
	max-width: 52ch;
	margin: 0 auto;
}

.ff-community-callout__title {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	margin: 0 0 var(--ff-space-sm);
	letter-spacing: 0.04em;
	color: var(--ff-color-text);
}

.ff-community-callout__copy {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ff-color-text-muted);
	margin: 0 0 var(--ff-space-md);
}

.ff-cta-final__community {
	margin: var(--ff-space-md) 0 0;
}

.ff-cta-final__community a {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--ff-color-text-muted);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	transition: color var(--ff-transition);
}

.ff-cta-final__community a:hover {
	color: var(--ff-color-gold-light);
}

.ff-modal__note {
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--ff-color-text-muted);
	margin: var(--ff-space-md) 0 0;
	opacity: 0.85;
}

.ff-manual-section--faq {
	padding-bottom: var(--ff-space-3xl);
}

.ff-manual-cta {
	padding-bottom: var(--ff-space-3xl);
}

@media (max-width: 768px) {
	.ff-manual-hero {
		padding-top: calc(var(--ff-header-height) + var(--ff-space-2xl));
	}

	.ff-manual-rating-ranges__row:not(.ff-manual-rating-ranges__row--head) {
		grid-template-columns: 1fr;
		text-align: center;
		padding: var(--ff-space-md);
	}

	.ff-manual-rating-ranges__row:not(.ff-manual-rating-ranges__row--head) .ff-manual-rating-ranges__range {
		text-align: center;
		margin-top: 0.15rem;
	}

	.ff-legal__table-row:not(.ff-legal__table-row--head) {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.ff-legal__table-value {
		text-align: center;
	}

	.ff-safety-cards {
		grid-template-columns: 1fr;
	}

	/* Stack Game Manual two-column layouts (defined after earlier mobile block) */
	.ff-manual-split,
	.ff-manual-split--reverse,
	.ff-manual-split--anatomy,
	.ff-manual-split--anatomy.ff-manual-split--reverse,
	.ff-manual-walkthrough__step,
	.ff-manual-walkthrough__step.ff-manual-split--reverse,
	.ff-manual-scoring,
	.ff-manual-specs {
		grid-template-columns: 1fr;
	}

	.ff-manual-split--reverse .ff-manual-split__content {
		order: 0;
	}
}
