/*
 * WorldCup LP — page styles
 * Scoped to body.worldcup.
 * Loaded only on page-worldcup.php.
 * Mobile-first: base = mobile, overrides via @media (min-width).
 */

html:has(body.worldcup) {
	scroll-behavior: smooth;
}

/* Variables */
:root {
	/* Brand palette */
	--wcup-orange: #f3981f;
	--wcup-orange-light: #ffaf45;
	--wcup-cta-gradient: linear-gradient(105.97deg, #f3981f 0%, #e57625 100%);

	/* Surfaces */
	--wcup-black: #141313;
	--wcup-bg: #131211;

	/* Text */
	--wcup-white: #ffffff;
	--wcup-cream: #f5f0e6;
	--wcup-off-white: #e3e0e0;
	--wcup-title-accent: #ffa454;

	/* Typography — Figtree, line-height 100% */
	--wcup-font: "Figtree", sans-serif;
	--wcup-fs-m: 16px;
	--wcup-fw-regular: 400;
	--wcup-fw-medium: 500;
	--wcup-fw-semibold: 600;
	--wcup-fw-bold: 700;

	/* Layout */
	--wcup-wrapper-max: 1200px;
}

/* Base */
body.worldcup {
	margin: 0;
	background: var(--wcup-bg);
	font-family: var(--wcup-font);
	font-size: var(--wcup-fs-m);
	font-weight: var(--wcup-fw-regular);
	line-height: 1.4;
	color: var(--wcup-white);
}

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

body.worldcup ::selection {
	background: var(--wcup-orange);
	color: var(--wcup-black);
}

body.worldcup img {
	max-width: 100%;
	height: auto;
}

body.worldcup a {
	color: var(--wcup-orange);
	text-decoration: none;
}

body.worldcup a:hover {
	color: var(--wcup-orange-light);
}

body.worldcup .wrapper {
	max-width: calc(var(--wcup-wrapper-max) + 28px);
	padding-inline: 14px;
	margin-inline: auto;
}

@media (min-width: 768px) {
	body.worldcup .wrapper {
		max-width: calc(var(--wcup-wrapper-max) + 24px);
		padding-inline: 12px;
	}
}

/* Header */
body.worldcup .wcup-header {
	--wcup-wrapper-max: 920px;
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(20, 19, 19, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(245, 240, 230, 0.08);
}

body.worldcup .wcup-header .wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 10px;
}

body.worldcup .wcup-header__logo {
	flex-shrink: 0;
	display: inline-flex;
}

body.worldcup .wcup-header__logo img {
	display: block;
	width: 56px;
	height: auto;
}

body.worldcup .wcup-header__actions {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

body.worldcup .wcup-header__cta,
body.worldcup .wcup-header__login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: var(--wcup-fw-semibold);
	line-height: 1;
	white-space: nowrap;
	transition:
		box-shadow 0.25s ease,
		background 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}

body.worldcup .wcup-header__cta {
	background-image: var(--wcup-cta-gradient);
	color: var(--wcup-black);
}

body.worldcup .wcup-header__cta:hover,
body.worldcup .wcup-header__cta:focus-visible {
	background-image: linear-gradient(92.95deg, #ffab3c 0%, #ee8436 100%);
	box-shadow: 0 2px 24px rgba(243, 152, 31, 0.4);
	color: var(--wcup-black);
	transform: translateY(-1px);
}

body.worldcup .wcup-header__login {
	background: #282320;
	border: 1px solid #393532;
	color: var(--wcup-off-white);
}

body.worldcup .wcup-header__login:hover,
body.worldcup .wcup-header__login:focus-visible {
	background:
		linear-gradient(
			92.95deg,
			rgba(255, 171, 60, 0.16) 0%,
			rgba(238, 132, 54, 0.16) 100%
		),
		#282320;
	border-color: rgba(243, 152, 31, 0.45);
	color: var(--wcup-off-white);
	transform: translateY(-1px);
}

@media (min-width: 992px) {
	body.worldcup .wcup-header {
		background: rgba(20, 19, 19, 0.6);
	}

	body.worldcup .wcup-header__logo img {
		width: 73px;
	}

	body.worldcup .wcup-header__actions {
		gap: 10px;
	}

	body.worldcup .wcup-header__cta,
	body.worldcup .wcup-header__login {
		font-size: 14px;
	}
}

/* LP shell + decorative hero background layer */
body.worldcup .worldcup-lp {
	position: relative;
	isolation: isolate;
}

body.worldcup .wcup-lp__bg {
	position: absolute;
	inset: calc(-1 * var(--wcup-header-h)) 0 0 0;
	z-index: -1;
	pointer-events: none;
	background-image: url("../img/bg-hero-mobile.jpg");
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 100%;
	-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}

@media (min-width: 768px) {
	body.worldcup .wcup-lp__bg {
		background-image: url("../img/bg-hero.jpg");
	}
}

/* Hero */
body.worldcup .wcup-hero {
	--wcup-header-h: 60px;
	position: relative;
	isolation: isolate;
	padding-block: 12px 36px;
}

body.worldcup .wcup-hero .wrapper {
	padding-inline: 12px;
}

body.worldcup .wcup-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

body.worldcup .wcup-hero__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}

body.worldcup .wcup-hero__ball {
	display: block;
	width: 50px;
	height: 50px;
}

body.worldcup .wcup-hero__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

body.worldcup .wcup-hero__title {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

body.worldcup .wcup-hero__title-accent {
	color: var(--wcup-title-accent);
	font-size: 48px;
	font-weight: var(--wcup-fw-bold);
	line-height: 1;
	white-space: nowrap;
}

body.worldcup .wcup-hero__title-main {
	color: var(--wcup-cream);
	font-size: 48px;
	font-weight: var(--wcup-fw-regular);
	line-height: 1;
}

body.worldcup .wcup-hero__subtitle {
	margin: 0;
	max-width: 540px;
	color: var(--wcup-cream);
	font-size: 20px;
	font-weight: var(--wcup-fw-regular);
	line-height: 1.2;
	text-align: center;
}

/* CTA pill (shared) */
body.worldcup .wcup-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 38px;
	border-radius: 12px;
	background-image: var(--wcup-cta-gradient);
	box-shadow: 0 2px 10.6px rgba(243, 152, 31, 0.39);
	color: var(--wcup-black);
	font-size: 18px;
	font-weight: var(--wcup-fw-bold);
	line-height: 1.2;
	white-space: nowrap;
	transition:
		box-shadow 0.25s ease,
		background 0.25s ease,
		transform 0.25s ease;
}

body.worldcup .wcup-cta:hover,
body.worldcup .wcup-cta:focus-visible {
	background-image: linear-gradient(92.95deg, #ffab3c 0%, #ee8436 100%);
	box-shadow: 0 2px 24px rgba(243, 152, 31, 0.5);
	color: var(--wcup-black);
	transform: translateY(-1px);
}

body.worldcup .wcup-cta--watch {
	padding-block: 16px;
	font-size: 20px;
	text-transform: uppercase;
}

body.worldcup .wcup-hero__trust {
	width: 100%;
	display: flex;
	justify-content: center;
}

/* VSL placeholder */
body.worldcup .wcup-hero__vsl-group {
	width: 100%;
	max-width: 640px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

body.worldcup .wcup-hero__vsl {
	position: relative;
	width: 100%;
	scroll-margin-top: calc(var(--wcup-header-h) + 20px);
	aspect-ratio: 16 / 9;
	border: 1px solid #784c0f;
	border-radius: 6px;
	background: var(--wcup-black);
	box-shadow: 0 2px 16.7px rgba(243, 152, 31, 0.3);
	overflow: hidden;
}

body.worldcup .wcup-hero__vsl-inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

body.worldcup .wcup-hero__vsl-title {
	background: linear-gradient(180deg, #fcc379 0%, #f3981e 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: 30px;
	font-weight: var(--wcup-fw-semibold);
	line-height: 1;
}

body.worldcup .wcup-hero__vsl-sub {
	color: var(--wcup-cream);
	font-size: 20px;
	font-weight: var(--wcup-fw-medium);
	line-height: 1.2;
}

body.worldcup .wcup-hero__vsl-embed {
	position: absolute;
	inset: 0;
}

body.worldcup .wcup-hero__vsl-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

@media (min-width: 992px) {
	body.worldcup .wcup-hero {
		--wcup-header-h: 70px;
		padding-block: 12px 60px;
	}

	body.worldcup .wcup-hero__intro {
		gap: 40px;
	}

	body.worldcup .wcup-hero__title-accent {
		font-size: 78px;
	}

	body.worldcup .wcup-hero__title-main {
		font-size: 68px;
		white-space: nowrap;
	}

	body.worldcup .wcup-hero__subtitle {
		font-size: 22px;
	}

	body.worldcup .wcup-cta--watch {
		padding-block: 12px;
		font-size: 18px;
	}

	body.worldcup .wcup-hero__vsl-group {
		gap: 40px;
	}

	body.worldcup .wcup-hero__vsl {
		border-radius: 10px;
		box-shadow: 0 4px 30px rgba(243, 152, 31, 0.3);
	}

	body.worldcup .wcup-hero__vsl-title {
		font-size: 54px;
	}

	body.worldcup .wcup-hero__vsl-sub {
		font-size: 36px;
	}
}

/* Payouts marquee */
body.worldcup .wcup-payouts {
	padding-block: 24px 30px;
}

@media (min-width: 992px) {
	body.worldcup .wcup-payouts {
		padding-block: 40px 50px;
	}
}

/* How it works / Follow the teams */
body.worldcup .wcup-how {
	--wcup-wrapper-max: 764px;
	padding-block: 30px;
}

@media (min-width: 992px) {
	body.worldcup .wcup-how {
		position: relative;
		isolation: isolate;
		padding-block: 50px;
	}

	body.worldcup .wcup-how::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		pointer-events: none;
		background-image: url("../img/how-it-works-bg.jpg");
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		--wcup-how-mask:
			linear-gradient(
				to right,
				transparent 0%,
				#000 12%,
				#000 88%,
				transparent 100%
			),
			linear-gradient(
				to bottom,
				transparent 0%,
				#000 12%,
				#000 88%,
				transparent 100%
			);
		-webkit-mask-image: var(--wcup-how-mask);
		-webkit-mask-composite: source-in;
		mask-image: var(--wcup-how-mask);
		mask-composite: intersect;
	}
}

body.worldcup .wcup-how__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 32px;
	text-align: center;
}

body.worldcup .wcup-how__eyebrow {
	margin: 0;
	color: var(--wcup-title-accent);
	font-size: 16px;
	font-weight: var(--wcup-fw-medium);
	line-height: 1.2;
}

body.worldcup .wcup-how__title {
	margin: 0;
	color: var(--wcup-cream);
	font-size: 48px;
	font-weight: var(--wcup-fw-medium);
	line-height: 1;
	text-shadow: 0 14px 24px rgba(0, 0, 0, 0.6);
}

body.worldcup .wcup-how__title span {
	color: var(--wcup-title-accent);
}

body.worldcup .wcup-how__subtitle {
	margin: 0;
	max-width: 357px;
	color: #a8a8a8;
	font-size: 20px;
	font-weight: var(--wcup-fw-medium);
	line-height: 1.2;
}

/* Panel */
body.worldcup .wcup-how__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 12px 13px 32px;
	border-radius: 16px;
	background: linear-gradient(
		to top,
		rgba(20, 19, 19, 0.18) 0%,
		rgba(20, 19, 19, 0.36) 11%,
		rgba(43, 31, 22, 0.9) 100%
	);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

/* Gradient border */
body.worldcup .wcup-how__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 0.5px;
	border-radius: inherit;
	background: linear-gradient(
		180deg,
		#65400e 0%,
		rgba(116, 116, 116, 0.2) 50%,
		rgba(255, 255, 255, 0.2) 100%
	);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask-composite: exclude;
	pointer-events: none;
}

/* Steps */
body.worldcup .wcup-how__steps {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

body.worldcup .wcup-step {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px 20px;
	border: 1px solid #63350d;
	border-radius: 12px;
	background: linear-gradient(90deg, #261e16 0%, #362313 100%);
}

body.worldcup .wcup-step__num {
	color: var(--wcup-title-accent);
	font-size: 13px;
	font-weight: var(--wcup-fw-semibold);
	letter-spacing: 2.16px;
	line-height: 1;
}

body.worldcup .wcup-step__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

body.worldcup .wcup-step__title {
	margin: 0;
	color: var(--wcup-cream);
	font-size: 26px;
	font-weight: var(--wcup-fw-semibold);
	line-height: 1;
}

body.worldcup .wcup-step--accent .wcup-step__title {
	color: var(--wcup-title-accent);
	font-weight: var(--wcup-fw-bold);
}

body.worldcup .wcup-step__text {
	margin: 0;
	color: #a8a8a8;
	font-size: 16px;
	font-weight: var(--wcup-fw-regular);
	line-height: 1.2;
}

/* Rewards card */
body.worldcup .wcup-rewards {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 26px 16px 16px;
	border: 1px solid #272727;
	border-radius: 16px;
	background: #171515;
}

body.worldcup .wcup-rewards__item {
	width: 180px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-align: center;
}

body.worldcup .wcup-rewards__item--max {
	gap: 14px;
	justify-content: center;
}

body.worldcup .wcup-rewards__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

body.worldcup .wcup-rewards__label,
body.worldcup .wcup-rewards__sub {
	color: #a8a8a8;
	font-size: 14px;
	font-weight: var(--wcup-fw-regular);
	line-height: 1;
}

body.worldcup .wcup-rewards__value {
	color: var(--wcup-title-accent);
	font-size: 40px;
	font-weight: var(--wcup-fw-semibold);
	line-height: 1;
}

body.worldcup .wcup-rewards__divider {
	flex-shrink: 0;
	width: 101px;
	height: 1px;
	background: #272727;
}

body.worldcup .wcup-rewards__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 20px;
	border: 0.5px solid #5fd693;
	border-radius: 14px;
	background: rgba(95, 214, 147, 0.2);
	backdrop-filter: blur(4.5px);
	-webkit-backdrop-filter: blur(4.5px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
	color: var(--wcup-white);
	font-size: 8px;
	font-weight: var(--wcup-fw-semibold);
	line-height: 1;
	white-space: nowrap;
}

/* Note bar */
body.worldcup .wcup-how__note {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px 20px;
	border: 1px solid #272727;
	border-radius: 12px;
	background: #1a1614;
}

body.worldcup .wcup-how__note-icon {
	flex-shrink: 0;
	display: block;
	width: 36px;
	height: 35px;
}

body.worldcup .wcup-how__note-text {
	margin: 0;
	max-width: 245px;
	color: #a8a8a8;
	font-size: 16px;
	font-weight: var(--wcup-fw-regular);
	line-height: 1.2;
}

body.worldcup .wcup-how__note-text strong {
	color: var(--wcup-white);
	font-weight: var(--wcup-fw-regular);
}

/* CTA */
body.worldcup .wcup-how__cta {
	width: 100%;
	padding: 16px;
	white-space: normal;
	text-align: center;
}

@media (min-width: 768px) {
	body.worldcup .wcup-how__head {
		margin-bottom: 39px;
	}

	body.worldcup .wcup-how__title {
		font-size: 68px;
		white-space: nowrap;
	}

	body.worldcup .wcup-how__subtitle {
		max-width: 467px;
		font-size: 22px;
	}

	body.worldcup .wcup-how__panel {
		gap: 26px;
		padding: 30px;
	}

	body.worldcup .wcup-how__steps {
		flex-direction: row;
	}

	body.worldcup .wcup-rewards {
		width: 100%;
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 0;
	}

	body.worldcup .wcup-rewards__divider {
		width: 1px;
		height: 101px;
	}

	body.worldcup .wcup-how__note {
		width: 100%;
	}

	body.worldcup .wcup-how__note-text {
		max-width: none;
	}

	body.worldcup .wcup-how__cta {
		width: auto;
		padding: 12px 38px;
		white-space: nowrap;
	}
}

/* Real interviews */
body.worldcup .wcup-interviews {
	padding-block: 30px;
}

body.worldcup .wcup-interviews__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-bottom: 32px;
	text-align: center;
}

body.worldcup .wcup-interviews__eyebrow {
	margin: 0;
	color: var(--wcup-title-accent);
	font-size: 16px;
	font-weight: var(--wcup-fw-medium);
	line-height: 1.2;
}

body.worldcup .wcup-interviews__title {
	margin: 0;
	color: var(--wcup-cream);
	font-size: clamp(46px, 12vw, 48px);
	font-weight: var(--wcup-fw-medium);
	line-height: 1;
}

body.worldcup .wcup-interviews__title span {
	color: var(--wcup-title-accent);
}

@media (min-width: 992px) {
	body.worldcup .wcup-interviews {
		padding-block: 50px;
	}

	body.worldcup .wcup-interviews__head {
		margin-bottom: 52px;
	}

	body.worldcup .wcup-interviews__title {
		font-size: 58px;
	}

	body.worldcup .wcup-interviews__title span {
		display: block;
	}
}

/* FAQ */
body.worldcup .wcup-faq {
	padding-block: 30px 100px;
}

body.worldcup .wcup-faq__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-bottom: 32px;
	text-align: center;
}

body.worldcup .wcup-faq__eyebrow {
	margin: 0;
	color: var(--wcup-title-accent);
	font-size: 16px;
	font-weight: var(--wcup-fw-medium);
	line-height: 1.2;
}

body.worldcup .wcup-faq__title {
	margin: 0;
	max-width: 558px;
	color: var(--wcup-cream);
	font-size: 48px;
	font-weight: var(--wcup-fw-medium);
	line-height: 1;
}

body.worldcup .wcup-faq__title span {
	color: var(--wcup-title-accent);
}

body.worldcup .wcup-faq__subtitle {
	margin: 0;
	max-width: 344px;
	color: #a8a8a8;
	font-size: 20px;
	font-weight: var(--wcup-fw-regular);
	line-height: 1.2;
}

body.worldcup .wcup-faq__support {
	padding: 0;
	border: 0;
	background: none;
	color: var(--wcup-title-accent);
	font: inherit;
	line-height: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: color 0.2s ease;
}

body.worldcup .wcup-faq__support:hover,
body.worldcup .wcup-faq__support:focus-visible {
	color: var(--wcup-orange-light);
}

/* FAQ accordion theme */
body.worldcup .wcup-faq .ts-faq {
	--ts-faq-item-bg: rgba(20, 19, 19, 0.9);
	--ts-faq-item-border: 1px solid #272727;
	--ts-faq-question-color: var(--wcup-cream);
	--ts-faq-question-color-active: var(--wcup-title-accent);
	--ts-faq-question-weight: 600;
	--ts-faq-question-padding: 12px 20px;
	--ts-faq-item-gap: 12px;
	--ts-faq-item-gap-md: 12px;
	--ts-faq-answer-color: #a8a8a8;
	--ts-faq-divider: 1px solid #272727;
}

body.worldcup .wcup-faq .ts-faq__answer strong {
	color: var(--wcup-cream);
	font-weight: var(--wcup-fw-semibold);
}

@media (min-width: 992px) {
	body.worldcup .wcup-faq {
		padding-block: 50px 100px;
	}

	body.worldcup .wcup-faq__head {
		margin-bottom: 52px;
	}

	body.worldcup .wcup-faq__title {
		font-size: 64px;
	}

	body.worldcup .wcup-faq__subtitle {
		max-width: none;
		font-size: 22px;
		white-space: nowrap;
	}
}

/* Scroll-reveal utility */
body.worldcup .wcup-reveal-on-scroll {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.worldcup .wcup-reveal-on-scroll.is-in {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	body.worldcup .wcup-reveal-on-scroll {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
