/* ==========================================================================
   SPG Competitions & Giveaways UK
   Design tokens follow preview10/generated/style_guide.json
   ========================================================================== */

:root {
	--spg-primary: #1A6FD4;
	--spg-primary-light: #3A8FFF;
	--spg-primary-dark: #0D4FA0;
	--spg-accent: #00AEEF;
	--spg-accent-glow: #00C8FF;
	--spg-bg: #0A0E1A;
	--spg-surface: #111827;
	--spg-card: rgba(20, 30, 50, 0.90);
	--spg-nav-bg: rgba(12, 18, 32, 0.92);
	--spg-text: #FFFFFF;
	--spg-text-2: #B0BED4;
	--spg-text-muted: #6B7A99;
	--spg-border: rgba(26, 111, 212, 0.30);
	--spg-border-strong: rgba(0, 174, 239, 0.60);

	--spg-font-heading: 'Barlow Condensed', 'Anton', 'Impact', sans-serif;
	--spg-font-body: 'Barlow', 'Roboto Condensed', sans-serif;
	--spg-font-ui: 'Barlow Semi Condensed', 'Roboto', sans-serif;

	--spg-gradient: linear-gradient(135deg, #1A6FD4 0%, #00AEEF 100%);
	--spg-gradient-hover: linear-gradient(135deg, #3A8FFF 0%, #00C8FF 100%);
	--spg-gradient-deep: linear-gradient(135deg, #1A6FD4 0%, #0D4FA0 100%);

	--spg-glow: 0 0 20px rgba(26, 111, 212, 0.70), 0 0 40px rgba(0, 174, 239, 0.30);
	--spg-shadow-btn: 0 4px 20px rgba(26, 111, 212, 0.60), 0 2px 8px rgba(0, 0, 0, 0.40);
	--spg-shadow-card: 0 8px 32px rgba(0, 0, 0, 0.60), 0 2px 8px rgba(0, 0, 0, 0.40);
	--spg-shadow-card-hover: 0 12px 40px rgba(26, 111, 212, 0.35), 0 4px 16px rgba(0, 0, 0, 0.50);

	--spg-max: 1320px;
	--spg-pad-x: 64px;
	--spg-section-y: 96px;
	--spg-radius-card: 10px;
	--spg-radius-btn: 6px;
	--spg-header-h: 76px;

	/* Feather-style line icons (MIT) used as CSS masks */
	--spg-i-award: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='7'/%3E%3Cpolyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/%3E%3C/svg%3E");
	--spg-i-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
	--spg-i-file: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
	--spg-i-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E");
	--spg-i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
	--spg-i-shuffle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 3 21 3 21 8'/%3E%3Cline x1='4' y1='20' x2='21' y2='3'/%3E%3Cpolyline points='21 16 21 21 16 21'/%3E%3Cline x1='15' y1='15' x2='21' y2='21'/%3E%3Cline x1='4' y1='4' x2='9' y2='9'/%3E%3C/svg%3E");
	--spg-i-user-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpolyline points='17 11 19 13 23 9'/%3E%3C/svg%3E");
	--spg-i-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
	--spg-i-archive: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='21 8 21 21 3 21 3 8'/%3E%3Crect x='1' y='3' width='22' height='5'/%3E%3Cline x1='10' y1='12' x2='14' y2='12'/%3E%3C/svg%3E");
	--spg-i-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E");
	--spg-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
	--spg-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
	--spg-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--spg-header-h) + 32px);
}

body {
	background: var(--spg-bg);
	color: var(--spg-text);
	font-family: var(--spg-font-body);
	-webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
	padding: 0;
}

/* Inner pages (cart, checkout, account) use the parent templates, where the header sits in normal flow. */
.wp-site-blocks > header.wp-block-template-part:not(.spg-site-header) {
	padding: 16px 24px 24px;
}

.wp-site-blocks > *,
.spg-main > *,
.spg-main {
	margin-block: 0;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.spg-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--spg-max);
	margin-inline: auto;
	padding-inline: var(--spg-pad-x);
}

.spg-section {
	position: relative;
	padding-block: var(--spg-section-y);
	overflow: hidden;
}

/* Reset WordPress flow-layout spacing inside our sections; spacing is handled explicitly. */
.spg-main :where(.spg-section, .spg-hero, .spg-cta) :where(.is-layout-flow) > * {
	margin-block-start: 0;
}

/* ---------- Typography helpers ---------- */

.spg-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	margin: 0 0 18px !important;
	padding: 6px 14px;
	border-radius: 4px;
	background: var(--spg-primary);
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	box-shadow: 0 0 18px rgba(26, 111, 212, 0.55);
}

.spg-badge--ghost {
	background: rgba(0, 174, 239, 0.10);
	border: 1px solid var(--spg-border-strong);
	color: var(--spg-accent-glow);
	box-shadow: none;
}

.spg-h2 {
	margin: 0 0 16px !important;
	font-family: var(--spg-font-heading);
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	color: #fff;
}

.spg-h2 em,
.spg-hero__title em {
	font-style: normal;
	background: var(--spg-gradient-hover);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: none;
	filter: drop-shadow(0 0 18px rgba(0, 174, 239, 0.35));
}

.spg-intro {
	max-width: 680px;
	margin: 0 !important;
	color: var(--spg-text-2);
	font-size: 17px;
	line-height: 1.7;
}

.spg-section-head {
	margin-bottom: 56px;
}

.spg-section-head--center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.spg-section-head--center .spg-intro {
	margin-inline: auto !important;
}

/* ---------- Buttons ---------- */

.spg-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 32px !important;
}

.spg-actions .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 32px;
	border-radius: var(--spg-radius-btn);
	font-family: var(--spg-font-ui);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.spg-btn-primary .wp-block-button__link {
	background: var(--spg-gradient);
	color: #fff;
	border: 0;
	box-shadow: var(--spg-shadow-btn);
	animation: spg-pulse 3.2s ease-in-out infinite;
}

.spg-btn-primary .wp-block-button__link:hover,
.spg-btn-primary .wp-block-button__link:focus-visible {
	background: var(--spg-gradient-hover);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: var(--spg-glow);
}

.spg-btn-outline .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.70);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.40);
}

.spg-btn-outline .wp-block-button__link:hover,
.spg-btn-outline .wp-block-button__link:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	border-color: #fff;
	color: #fff;
	transform: translateY(-2px);
}

@keyframes spg-pulse {
	0%, 100% { box-shadow: var(--spg-shadow-btn); }
	50% { box-shadow: 0 4px 28px rgba(0, 174, 239, 0.75), 0 2px 8px rgba(0, 0, 0, 0.40); }
}

/* ---------- Tick list ---------- */

.spg-ticks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 28px 0 0 !important;
	padding: 0;
	list-style: none;
}

.spg-ticks li {
	position: relative;
	padding-left: 26px;
	color: var(--spg-text-2);
	font-family: var(--spg-font-ui);
	font-size: 15px;
	font-weight: 600;
}

.spg-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(0.825em - 8px);
	width: 16px;
	height: 16px;
	background: var(--spg-primary-light);
	-webkit-mask: var(--spg-i-check) center / contain no-repeat;
	mask: var(--spg-i-check) center / contain no-repeat;
}

.spg-ticks--stack {
	flex-direction: column;
}

/* ---------- Header ---------- */

.spg-site-header {
	position: fixed;
	top: 16px;
	left: 0;
	right: 0;
	z-index: 100;
	margin: 0 !important;
	padding-inline: 24px;
	pointer-events: none;
}

.admin-bar .spg-site-header {
	top: calc(32px + 16px);
}

@media (max-width: 782px) {
	.admin-bar .spg-site-header {
		top: calc(46px + 12px);
	}
}

.spg-header {
	max-width: var(--spg-max);
	margin: 0 auto;
	pointer-events: auto;
}

.spg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--spg-header-h);
	padding: 10px 14px 10px 22px;
	border: 1px solid var(--spg-border);
	border-radius: 12px;
	background: var(--spg-nav-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.60);
	box-sizing: border-box;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

.spg-header.is-scrolled .spg-header__inner {
	background: rgba(8, 12, 22, 0.97);
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 174, 239, 0.15);
}

.spg-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	text-decoration: none;
}

.spg-brand__logo {
	display: block;
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	filter: drop-shadow(0 0 12px rgba(0, 174, 239, 0.55));
	transition: transform 0.3s ease, filter 0.3s ease;
}

.spg-brand:hover .spg-brand__logo {
	transform: rotate(-6deg) scale(1.05);
	filter: drop-shadow(0 0 18px rgba(0, 200, 255, 0.8));
}

.spg-brand__logo--lg {
	width: 76px;
	height: 76px;
}

.spg-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.spg-brand__line1 {
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.spg-brand__line2 {
	margin-top: 4px;
	font-family: var(--spg-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--spg-accent);
}

.spg-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.spg-nav__list {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.spg-nav__list a {
	position: relative;
	padding: 8px 0;
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.2s ease;
}

.spg-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--spg-gradient);
	box-shadow: 0 0 10px var(--spg-accent);
	transform: scaleX(0);
	transition: transform 0.25s ease;
}

.spg-nav__list a:hover,
.spg-nav__list a.is-active {
	color: var(--spg-primary-light);
}

.spg-nav__list a:hover::after,
.spg-nav__list a.is-active::after {
	transform: scaleX(1);
}

.spg-nav__cta {
	display: inline-flex;
	align-items: center;
	padding: 11px 22px;
	border: 1.5px solid var(--spg-primary-light);
	border-radius: var(--spg-radius-btn);
	background: var(--spg-gradient-deep);
	box-shadow: 0 0 18px rgba(26, 111, 212, 0.55);
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.spg-nav__cta:hover,
.spg-nav__cta:focus-visible {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--spg-glow);
}

.spg-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 0 11px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 8px;
	background: rgba(26, 111, 212, 0.15);
	cursor: pointer;
}

.spg-nav-toggle__bar {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.spg-nav-toggle[aria-expanded="true"] .spg-nav-toggle__bar:nth-of-type(2) {
	transform: translateY(7px) rotate(45deg);
}

.spg-nav-toggle[aria-expanded="true"] .spg-nav-toggle__bar:nth-of-type(3) {
	opacity: 0;
}

.spg-nav-toggle[aria-expanded="true"] .spg-nav-toggle__bar:nth-of-type(4) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.spg-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(var(--spg-header-h) + 72px) 0 88px;
	overflow: hidden;
	background:
		radial-gradient(ellipse 60% 55% at 78% 45%, rgba(0, 174, 239, 0.22), transparent 70%),
		radial-gradient(ellipse 50% 60% at 10% 90%, rgba(26, 111, 212, 0.20), transparent 70%),
		radial-gradient(ellipse 40% 30% at 30% 20%, rgba(58, 143, 255, 0.10), transparent 70%),
		linear-gradient(180deg, #0B1222 0%, var(--spg-bg) 100%);
}

.spg-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(58, 143, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(58, 143, 255, 0.07) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
	pointer-events: none;
}

.spg-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--spg-accent), transparent);
	box-shadow: 0 0 18px var(--spg-accent);
	opacity: 0.7;
}

.spg-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 55fr 45fr;
	align-items: center;
	gap: 48px;
}

.spg-hero__title {
	margin: 0 !important;
	font-family: var(--spg-font-heading);
	font-size: clamp(46px, 6.2vw, 84px);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.80);
}

.spg-hero__lead {
	max-width: 600px;
	margin: 24px 0 0 !important;
	color: #D4DEEC;
	font-size: 18px;
	line-height: 1.65;
}

.spg-hero__visual {
	position: relative;
	display: grid;
	place-items: center;
}

.spg-hero__visual::before {
	content: "";
	position: absolute;
	width: min(110%, 560px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 174, 239, 0.35) 0%, rgba(26, 111, 212, 0.15) 45%, transparent 70%);
	filter: blur(10px);
	animation: spg-breathe 6s ease-in-out infinite;
}

.spg-emblem {
	position: relative;
	z-index: 1;
	width: min(100%, 500px);
	margin: 0 !important;
	filter: drop-shadow(0 0 34px rgba(0, 174, 239, 0.50)) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.65));
	animation: spg-float 7s ease-in-out infinite;
}

.spg-emblem img {
	display: block;
	width: 100%;
	height: auto;
}

.spg-hero__chip {
	position: relative;
	z-index: 2;
	margin-top: -34px;
	text-align: center;
	padding: 14px 20px;
	border: 1px solid var(--spg-border-strong);
	border-radius: var(--spg-radius-card);
	background: rgba(12, 18, 32, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: var(--spg-shadow-card), 0 0 20px rgba(0, 174, 239, 0.25);
	animation: spg-float 5s ease-in-out infinite;
}

.spg-hero__chip p {
	margin: 0 !important;
}

.spg-hero__chip-label {
	color: var(--spg-accent);
	font-family: var(--spg-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.spg-hero__chip-value {
	font-family: var(--spg-font-heading);
	font-size: 24px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.1;
}

@keyframes spg-breathe {
	0%, 100% { transform: scale(1); opacity: 0.9; }
	50% { transform: scale(1.06); opacity: 1; }
}

@keyframes spg-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* ---------- Cards (shared) ---------- */

.spg-grid {
	display: grid;
	gap: 24px;
}

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

.spg-card {
	position: relative;
	padding: 30px 26px 28px;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: var(--spg-card);
	box-shadow: var(--spg-shadow-card);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spg-card:hover {
	transform: translateY(-4px);
	border-color: var(--spg-border-strong);
	box-shadow: var(--spg-shadow-card-hover);
}

.spg-card[class*="spg-i-"]::before {
	content: "";
	display: block;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border-radius: 10px;
	background-color: rgba(26, 111, 212, 0.16);
	border: 1px solid var(--spg-border-strong);
	box-shadow: 0 0 16px rgba(0, 174, 239, 0.25);
}

.spg-card[class*="spg-i-"]::after {
	content: "";
	position: absolute;
	top: 44px;
	left: 40px;
	width: 26px;
	height: 26px;
	background: var(--spg-accent-glow);
	-webkit-mask: var(--spg-icon) center / contain no-repeat;
	mask: var(--spg-icon) center / contain no-repeat;
}

.spg-i-award { --spg-icon: var(--spg-i-award); }
.spg-i-calendar { --spg-icon: var(--spg-i-calendar); }
.spg-i-file { --spg-icon: var(--spg-i-file); }
.spg-i-tag { --spg-icon: var(--spg-i-tag); }
.spg-i-lock { --spg-icon: var(--spg-i-lock); }
.spg-i-shuffle { --spg-icon: var(--spg-i-shuffle); }
.spg-i-user-check { --spg-icon: var(--spg-i-user-check); }
.spg-i-eye { --spg-icon: var(--spg-i-eye); }
.spg-i-archive { --spg-icon: var(--spg-i-archive); }
.spg-i-card { --spg-icon: var(--spg-i-card); }
.spg-i-shield { --spg-icon: var(--spg-i-shield); }
.spg-i-mail { --spg-icon: var(--spg-i-mail); }

.spg-card h3 {
	margin: 0 0 10px !important;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	color: #fff;
}

.spg-card p {
	margin: 0 !important;
	color: var(--spg-text-2);
	font-size: 15px;
	line-height: 1.6;
}

/* ---------- Competitions ---------- */

.spg-competitions {
	background:
		linear-gradient(135deg, rgba(26, 111, 212, 0.06) 0%, transparent 60%),
		var(--spg-bg);
}

.spg-launch {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	align-items: center;
	gap: 48px;
	margin-bottom: 32px;
	padding: 48px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 16px;
	background:
		radial-gradient(ellipse 60% 120% at 100% 0%, rgba(0, 174, 239, 0.18), transparent 60%),
		linear-gradient(135deg, rgba(26, 111, 212, 0.22) 0%, rgba(13, 79, 160, 0.10) 100%),
		var(--spg-surface);
	box-shadow: 0 0 40px rgba(26, 111, 212, 0.20), var(--spg-shadow-card);
	overflow: hidden;
}

.spg-launch h3 {
	margin: 0 0 12px !important;
	font-family: var(--spg-font-heading);
	font-size: clamp(30px, 3.4vw, 40px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
}

.spg-launch p:not(.spg-badge) {
	margin: 0 !important;
	color: var(--spg-text-2);
	font-size: 16px;
}

.spg-launch .spg-ticks {
	margin-top: 0 !important;
}

.spg-launch .spg-ticks li {
	color: #fff;
	font-size: 16px;
}

/* ---------- How it works ---------- */

.spg-how {
	background:
		radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0, 174, 239, 0.08), transparent 70%),
		var(--spg-surface);
}

.spg-steps {
	counter-reset: spg-step;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 56px 24px;
}

.spg-step {
	counter-increment: spg-step;
	position: relative;
	padding: 64px 24px 26px;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: var(--spg-card);
	box-shadow: var(--spg-shadow-card);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spg-step:hover {
	transform: translateY(-4px);
	border-color: var(--spg-border-strong);
	box-shadow: var(--spg-shadow-card-hover);
}

.spg-step::before {
	content: counter(spg-step, decimal-leading-zero);
	position: absolute;
	top: -26px;
	left: 24px;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--spg-gradient);
	border: 3px solid var(--spg-surface);
	box-shadow: var(--spg-glow);
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 900;
	color: #fff;
}

/* Glowing connector to the next step in the same row */
.spg-step:not(:nth-child(4n))::after {
	content: "";
	position: absolute;
	top: 0;
	left: calc(24px + 56px + 10px);
	width: calc(100% - 24px - 56px - 10px + 24px + 24px - 8px);
	height: 2px;
	background: linear-gradient(90deg, var(--spg-accent), rgba(26, 111, 212, 0.15));
	box-shadow: 0 0 10px rgba(0, 174, 239, 0.6);
}

.spg-step:last-child::after {
	display: none;
}

.spg-step h3 {
	margin: 0 0 8px !important;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.12;
	text-transform: uppercase;
}

.spg-step p {
	margin: 0 !important;
	color: var(--spg-text-2);
	font-size: 15px;
	line-height: 1.6;
}

/* ---------- Free entry ---------- */

.spg-free {
	background:
		radial-gradient(ellipse 50% 70% at 0% 50%, rgba(26, 111, 212, 0.14), transparent 70%),
		var(--spg-bg);
}

.spg-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
}

.spg-split .spg-intro + .spg-intro {
	margin-top: 16px !important;
}

.spg-compare {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding: 28px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 16px;
	background: linear-gradient(160deg, rgba(26, 111, 212, 0.18), rgba(17, 24, 39, 0.95) 60%);
	box-shadow: 0 0 40px rgba(26, 111, 212, 0.18), var(--spg-shadow-card);
}

.spg-compare__col {
	padding: 22px;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: rgba(10, 14, 26, 0.70);
}

.spg-compare__col h3 {
	margin: 0 0 14px !important;
	font-family: var(--spg-font-heading);
	font-size: 24px;
	font-weight: 800;
	text-transform: uppercase;
}

.spg-compare__col--free h3 {
	color: var(--spg-accent-glow);
	text-shadow: 0 0 14px rgba(0, 200, 255, 0.5);
}

.spg-compare__col .spg-ticks {
	margin-top: 0 !important;
}

.spg-compare__col .spg-ticks li {
	font-size: 14px;
}

.spg-compare__equal {
	grid-column: 1 / -1;
	margin: 4px 0 0 !important;
	padding: 14px 18px;
	border-radius: 8px;
	background: var(--spg-gradient);
	box-shadow: var(--spg-shadow-btn);
	color: #fff;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

/* ---------- Fair play ---------- */

.spg-fair {
	background:
		linear-gradient(180deg, var(--spg-surface) 0%, var(--spg-bg) 100%);
}

/* ---------- Legal ---------- */

.spg-legal {
	background: var(--spg-bg);
}

.spg-legal__panel {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	padding: 56px;
	border: 1px solid var(--spg-border);
	border-left: 4px solid var(--spg-accent);
	border-radius: 16px;
	background:
		radial-gradient(ellipse 60% 80% at 0% 0%, rgba(26, 111, 212, 0.14), transparent 70%),
		var(--spg-surface);
	box-shadow: var(--spg-shadow-card);
}

.spg-legal__body p {
	margin: 0 0 16px !important;
	color: var(--spg-text-2);
	font-size: 16px;
	line-height: 1.75;
}

.spg-legal__body strong {
	color: #fff;
}

.spg-refs-title {
	margin: 28px 0 12px !important;
	font-family: var(--spg-font-ui);
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--spg-accent) !important;
}

.spg-refs {
	display: grid;
	gap: 10px;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.spg-refs li {
	margin: 0;
}

.spg-refs a {
	position: relative;
	display: block;
	padding: 14px 44px 14px 18px;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	background: rgba(10, 14, 26, 0.6);
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.spg-refs a::after {
	content: "\2197";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--spg-accent);
	font-size: 16px;
}

.spg-refs a:hover,
.spg-refs a:focus-visible {
	border-color: var(--spg-border-strong);
	box-shadow: 0 0 18px rgba(0, 174, 239, 0.25);
	color: var(--spg-accent-glow);
}

/* ---------- CTA band (preview10 cta_v3) ---------- */

.spg-cta {
	position: relative;
	padding-block: 88px;
	background: linear-gradient(135deg, #1A6FD4 0%, #0D4FA0 100%);
	overflow: hidden;
}

.spg-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at center, rgba(0, 0, 0, 0.40) 0%, transparent 70%),
		rgba(0, 0, 0, 0.35);
}

.spg-cta .spg-container {
	position: relative;
	z-index: 1;
}

.spg-cta__banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	padding: 48px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.spg-cta .spg-badge {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.30);
	box-shadow: none;
}

.spg-cta .spg-h2 {
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.80);
}

.spg-cta .spg-intro {
	color: rgba(255, 255, 255, 0.9);
}

.spg-cta .spg-actions {
	flex-shrink: 0;
	margin-top: 0 !important;
}

.spg-cta .spg-btn-primary .wp-block-button__link {
	background: #fff;
	color: var(--spg-primary-dark);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
	animation: none;
}

.spg-cta .spg-btn-primary .wp-block-button__link:hover {
	background: #EAF4FF;
	color: var(--spg-primary-dark);
}

/* ---------- Footer ---------- */

.spg-site-footer {
	margin: 0 !important;
}

.spg-footer {
	padding: 72px 0 32px;
	background: linear-gradient(180deg, #000000 0%, #0A0E1A 100%);
	border-top: 2px solid var(--spg-primary);
}

.spg-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 56px;
	margin-bottom: 48px;
}

.spg-footer__about {
	max-width: 460px;
	margin: 20px 0 0;
	color: var(--spg-text-2);
	font-size: 15px;
	line-height: 1.7;
}

.spg-footer__heading {
	margin: 0 0 18px;
	font-family: var(--spg-font-heading);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}

.spg-footer__links {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--spg-text-2);
	font-size: 15px;
}

.spg-footer__links a {
	color: var(--spg-text-2);
	text-decoration: none;
	transition: color 0.2s ease;
}

.spg-footer__links a:hover {
	color: var(--spg-primary-light);
}

.spg-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(26, 111, 212, 0.20);
}

.spg-footer__bottom p {
	margin: 0;
	color: var(--spg-text-muted);
	font-size: 13px;
}

/* ---------- Reveal on scroll ---------- */

.spg-js .spg-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.spg-js .spg-reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.spg-js .spg-reveal { opacity: 1; transform: none; transition: none; }
	.spg-btn-primary .wp-block-button__link,
	.spg-hero__visual::before,
	.spg-emblem,
	.spg-hero__chip { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
	.spg-nav,
	.spg-nav__list { gap: 20px; }
}

@media (max-width: 1024px) {
	:root {
		--spg-pad-x: 32px;
		--spg-section-y: 80px;
	}

	.spg-nav-toggle { display: inline-flex; }

	.spg-nav {
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 20px;
		border: 1px solid var(--spg-border);
		border-radius: 12px;
		background: rgba(8, 12, 22, 0.98);
		box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	}

	.spg-header { position: relative; }

	.spg-header.is-open .spg-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.spg-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.spg-nav__list a {
		display: block;
		padding: 14px 4px;
		border-bottom: 1px solid rgba(26, 111, 212, 0.18);
		font-size: 15px;
	}

	.spg-nav__list a::after { display: none; }

	.spg-nav__cta { justify-content: center; padding: 14px; }

	.spg-hero__grid { grid-template-columns: 1fr; gap: 56px; }
	.spg-hero__visual { order: -1; max-width: 360px; margin-inline: auto; }
	.spg-grid--4,
	.spg-steps { grid-template-columns: repeat(2, 1fr); }
	.spg-step:not(:nth-child(4n))::after { display: none; }
	.spg-step:nth-child(odd):not(:last-child)::after {
		display: block;
		width: calc(100% - 24px - 56px - 10px + 24px + 24px - 8px);
	}

	.spg-launch,
	.spg-split,
	.spg-legal__panel { grid-template-columns: 1fr; gap: 36px; }

	.spg-launch,
	.spg-legal__panel { padding: 36px; }

	.spg-cta__banner { flex-direction: column; align-items: flex-start; padding: 36px; gap: 28px; }

	.spg-footer__grid { grid-template-columns: 1fr 1fr; }
	.spg-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	:root {
		--spg-pad-x: 20px;
		--spg-section-y: 64px;
		--spg-header-h: 64px;
	}

	.spg-site-header { top: 10px; padding-inline: 10px; }
	.spg-header__inner { padding: 8px 8px 8px 12px; }
	.spg-brand__logo { width: 48px; height: 48px; }
	.spg-brand__logo--lg { width: 64px; height: 64px; }
	.spg-brand__line1 { font-size: 18px; }
	.spg-brand__line2 { font-size: 10px; letter-spacing: 0.12em; }

	.spg-hero { padding-top: calc(var(--spg-header-h) + 48px); padding-bottom: 64px; }
	.spg-hero__visual { max-width: 280px; }
	.spg-hero__chip { padding: 8px 14px; margin-top: -26px; }
	.spg-hero__chip-value { font-size: 19px; }
	.spg-hero__lead { font-size: 16px; }

	.spg-actions .wp-block-button { width: 100%; }
	.spg-actions .wp-block-button__link { width: 100%; box-sizing: border-box; }

	.spg-grid--3,
	.spg-grid--4,
	.spg-steps,
	.spg-compare { grid-template-columns: 1fr; }

	.spg-steps { gap: 44px; }
	.spg-step::after,
	.spg-step:nth-child(odd):not(:last-child)::after { display: none !important; }

	.spg-section-head { margin-bottom: 40px; }

	.spg-launch,
	.spg-legal__panel,
	.spg-cta__banner { padding: 24px; }
	.spg-compare { padding: 16px; }

	.spg-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.spg-footer__bottom { flex-direction: column; }
}
