/**
 * Social Gaming Canada — header, hero and trust strip fidelity pass.
 * Loaded after sgc-elementor-home.css; all rules remain scoped to Home.
 */

.sgc-page .sgc-header {
	position: relative !important;
	top: auto;
	left: auto;
	width: 100%;
	min-height: 75px;
	padding: 0;
	background: #0f0400;
}

.sgc-page .sgc-header.sgc-scrolled {
	position: fixed !important;
	top: 0;
	left: 0;
	min-height: 64px;
	padding: 0;
	background: rgba(15, 4, 0, .97);
	box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
}

.sgc-page .sgc-header-inner {
	width: min(1170px, calc(100% - 40px));
	min-height: 75px;
	margin-inline: auto;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.sgc-page .sgc-header.sgc-scrolled .sgc-header-inner {
	min-height: 64px;
}

.sgc-page .sgc-logo img {
	display: block;
	width: 200px;
}

.sgc-page .sgc-header-button .elementor-button {
	display: inline-flex;
	min-width: 146px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(0deg, #1dcb00 43%, #bbff2a 100%);
	box-shadow: inset 0 2px 2px rgba(255, 255, 255, .6), inset 0 -2px 2px rgba(0, 0, 0, .3), 0 0 14px 3px rgba(219, 52, 52, .5);
	color: #000;
	font-size: 15px;
	font-weight: 900;
	line-height: 19px;
	text-transform: uppercase;
}

.sgc-page .sgc-header-button .elementor-button:hover,
.sgc-page .sgc-header-button .elementor-button:focus-visible {
	transform: translateY(-1px);
	box-shadow: inset 0 2px 2px rgba(255, 255, 255, .7), inset 0 -2px 2px rgba(0, 0, 0, .3), 0 0 20px 5px rgba(62, 217, 29, .48);
}

.sgc-page .sgc-hero {
	min-height: 0;
	padding: 0;
	background-color: #020202;
	background-image: url('../images/hero_bg.webp');
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.sgc-page .sgc-hero-inner {
	width: min(1170px, calc(100% - 40px));
	min-height: 780px;
	margin-inline: auto;
	padding: 80px 0 90px;
	position: relative;
	align-items: flex-start;
}

.sgc-page .sgc-hero-copy {
	width: 60%;
	max-width: 667px;
	align-items: flex-start;
	text-align: left;
}

.sgc-page .sgc-hero-strip {
	display: inline-flex !important;
	width: auto !important;
	padding: 5px 15px;
	border: 1px solid #c94b22;
	border-radius: 40px;
	background: rgba(0, 0, 0, .3);
	box-shadow: none;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: .3px;
	text-transform: none;
}

.sgc-page .sgc-hero-title .elementor-heading-title {
	margin: 15px 0 0;
	color: #fff;
	font-size: clamp(56px, 4.86vw, 70px);
	font-weight: 900;
	line-height: 1.03;
	letter-spacing: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 0 10px rgba(255, 0, 0, .35), 0 0 11px rgba(255, 0, 0, .2);
}

.sgc-page .sgc-hero-title span {
	padding: 0;
	background: url('../images/hero_heading_bg.webp') 0 -5px / 100% auto no-repeat;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: rgba(255, 248, 248, .88);
	color: #fff;
}

.sgc-page .sgc-hero-sub {
	max-width: 600px;
	margin-top: 15px;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	line-height: 26px;
}

.sgc-page .sgc-hero-features {
	display: flex;
	width: 85%;
	margin-top: 20px;
	padding: 15px 0;
	flex-direction: row;
	justify-content: flex-start;
	gap: 30px;
	border-top: 1px solid #543c40;
	border-bottom: 1px solid #543c40;
}

.sgc-page .sgc-hero-feature {
	width: auto !important;
	flex: 0 1 auto;
}

.sgc-page .sgc-hero-feature .elementor-image-box-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
	text-align: left;
}

.sgc-page .sgc-hero-feature figure {
	width: 41px !important;
	margin: 0 !important;
}

.sgc-page .sgc-hero-feature img {
	width: 41px;
	height: 30px;
	object-fit: contain;
}

.sgc-page .sgc-hero-feature .elementor-image-box-title {
	margin: 0 !important;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
}

.sgc-page .sgc-cta {
	margin-top: 45px;
	align-items: flex-start;
}

.sgc-page .sgc-cta-button-row {
	width: min(400px, 100%) !important;
	align-items: center;
	justify-content: flex-start;
}

.sgc-page .sgc-button {
	width: 100%;
}

.sgc-page .sgc-button .elementor-button {
	display: inline-flex;
	width: 100%;
	min-height: 70px;
	align-items: center;
	justify-content: center;
	padding: 18px 32px 18px 26px;
	border: 0;
	border-radius: 18px;
	background: linear-gradient(0deg, #1dcb00 30%, #bbff2a 100%);
	box-shadow: inset 0 2px 2px rgba(255, 255, 255, .6), inset 0 -2px 2px rgba(0, 0, 0, .3), 0 0 18px 5px rgba(219, 52, 52, .5);
	color: #000;
	font-size: 26px;
	font-weight: 900;
	line-height: 26px;
	letter-spacing: -.5px;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
}

.sgc-page .sgc-button .elementor-button:hover,
.sgc-page .sgc-button .elementor-button:focus-visible {
	transform: translateY(0);
	box-shadow: inset 0 2px 2px rgba(255, 255, 255, .7), inset 0 -2px 2px rgba(0, 0, 0, .3), 0 0 25px 8px rgba(59, 175, 29, .55);
}

/* Default Elementor buttons: green surface and green glow. */
.sgc-page .elementor-widget-button:not(.sgc-header-button):not(.sgc-hero) .elementor-button,
.sgc-page .sgc-form-button {
	background: #1dcb00;
	background: linear-gradient(0deg, rgba(29, 203, 0, 1) 30%, rgba(187, 255, 42, 1) 100%);
	box-shadow: inset 0 2px 2px rgba(255, 255, 255, .6), inset 0 -2px 2px rgba(0, 0, 0, .3), 0 0 18px 5px rgba(59, 175, 29, .5);
}

/* A Button widget carrying sgc-hero keeps the green surface with a red glow. */
.sgc-page .elementor-widget-button.sgc-hero .elementor-button,
.sgc-page .elementor-widget-button.sgc-hero .elementor-button:hover,
.sgc-page .elementor-widget-button.sgc-hero .elementor-button:focus-visible {
	background: #1dcb00;
	background: linear-gradient(0deg, rgba(29, 203, 0, 1) 30%, rgba(187, 255, 42, 1) 100%);
	box-shadow: inset 0 2px 2px rgba(255, 255, 255, .6), inset 0 -2px 2px rgba(0, 0, 0, .3), 0 0 18px 5px rgba(219, 52, 52, .5);
	transform: translateY(0);
}

.sgc-page .sgc-button-arrow {
	width: 24px !important;
	margin-left: -48px;
}

.sgc-page .sgc-button-arrow img {
	width: 24px;
}

.sgc-page .sgc-cta-note {
	width: min(400px, 100%);
	margin-top: 15px;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
}

.sgc-page .sgc-cta-note ul {
	width: 100%;
	justify-content: center;
	gap: 0;
}

.sgc-page .sgc-cta-note li {
	padding: 0 15px;
	position: relative;
}

.sgc-page .sgc-cta-note li::before {
	display: none;
}

.sgc-page .sgc-cta-note li:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -3px;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-radius: 50%;
	background: #fff;
}

.sgc-page .sgc-float img {
	width: 100%;
}

.sgc-page .sgc-float-1 { left: 51%; top: 200px; width: 242px !important; }
.sgc-page .sgc-float-2 { right: 8%; top: 140px; width: 215px !important; }
.sgc-page .sgc-float-3 { right: 1%; bottom: auto; top: 500px; width: 202px !important; }
.sgc-page .sgc-float-4 { right: 22%; left: auto; bottom: auto; top: 600px; width: 159px !important; }
.sgc-page .sgc-float-5 { right: -280px; top: 400px; width: 200px !important; }
.sgc-page .sgc-float-6 { right: -360px; left: auto; bottom: auto; top: 490px; width: 55px !important; }

/* Original outer-button pulse mapped to Elementor widget wrappers. */
.sgc-page .elementor-widget-button:not(.sgc-header-button) {
	position: relative;
	z-index: 0;
	overflow: visible;
	/* Keep the pulse visible as a halo, but stop it spreading beyond 12px. */
	/*clip-path: inset(-12px round 27px);*/
}

.sgc-page .elementor-widget-button:not(.sgc-header-button) > .elementor-widget-container {
	position: relative;
	z-index: 1;
}

.sgc-page .elementor-widget-button:not(.sgc-header-button)::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	border-radius: 15px;
	background: linear-gradient(0deg, rgba(59, 175, 29, 1) 0%, rgba(59, 175, 29, 1) 100%);
	pointer-events: none;
	animation: sgcButtonPulse 1.3s ease infinite;
	transform-origin: center;
}

/* Only a Button widget explicitly carrying sgc-hero uses the red pulse. */
.sgc-page .elementor-widget-button.sgc-hero::after {
	background: linear-gradient(0deg, rgba(219, 52, 52, 1) 0%, rgba(219, 52, 52, 1) 100%);
}

/* The newsletter button is HTML rather than an Elementor Button widget. */
.sgc-page .sgc-form-button {
	position: relative;
	z-index: 1;
	isolation: isolate;
	overflow: visible;
	clip-path: inset(-12px round 27px);
}

.sgc-page .sgc-form-button::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	border-radius: 15px;
	background: linear-gradient(0deg, rgba(59, 175, 29, 1) 0%, rgba(59, 175, 29, 1) 100%);
	pointer-events: none;
	animation: sgcButtonPulse 1.3s ease infinite;
	transform-origin: center;
}

@keyframes sgcButtonPulse {
	0% { transform: scale(1, 1); }
	50% { opacity: .3; }
	100% { transform: scale(1.10, 1.5); opacity: 0; }
}


.sgc-page .sgc-trust {
	padding: 20px 0;
	border: 0;
	background: #000;
}

.sgc-page .sgc-trust-track {
	width: min(1170px, calc(100% - 40px));
	margin-inline: auto;
	justify-content: center;
	gap: 45px;
}

.sgc-page .sgc-trust-item .elementor-image-box-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
	text-align: left;
}

.sgc-page .sgc-trust-item figure {
	width: 21px !important;
	margin: 0 !important;
}

.sgc-page .sgc-trust-item img {
	width: 21px;
}

.sgc-page .sgc-trust-item .elementor-image-box-title {
	margin: 0 !important;
	color: #eaeaea;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
}

@media (max-width: 1024px) {
	.sgc-page .sgc-hero-inner { min-height: 700px; padding: 50px 0 70px; }
	.sgc-page .sgc-hero-copy { width: 64%; max-width: none; }
	.sgc-page .sgc-hero-title .elementor-heading-title { font-size: 50px; line-height: 56px; }
	.sgc-page .sgc-hero-features { width: 100%; }
	.sgc-page .sgc-hero-feature .elementor-image-box-title { font-size: 16px; line-height: 22px; }
	.sgc-page .sgc-float-1 { left: 58%; top: 190px; }
	.sgc-page .sgc-float-2 { right: 1%; top: 80px; }
	.sgc-page .sgc-float-3 { right: -6%; top: 500px; width: 142px !important; }
	.sgc-page .sgc-float-4 { right: 20%; top: 550px; width: 125px !important; }
	.sgc-page .sgc-trust-track { gap: 24px; }
	.sgc-page .sgc-trust-item .elementor-image-box-title { font-size: 14px; line-height: 20px; }
}

@media (max-width: 767px) {
	.sgc-page .sgc-header { min-height: 60px; }
	.sgc-page .sgc-header-inner { min-height: 60px; width: calc(100% - 28px); }
	.sgc-page .sgc-logo img { width: 145px; }
	.sgc-page .sgc-header-button .elementor-button { min-width: 125px; min-height: 38px; padding: 8px 13px; border-radius: 8px; font-size: 13px; }
	.sgc-page .sgc-hero { background-image: url('../images/hero_bg_mob.webp'); background-position: center top -25px; }
	.sgc-page .sgc-hero-inner { width: calc(100% - 28px); min-height: 0; padding: 20px 0 185px; }
	.sgc-page .sgc-hero-copy { width: 100%; align-items: center; text-align: center; }
	.sgc-page .sgc-hero-strip { padding: 4px 15px 6px; font-size: 12px; line-height: 16px; }
	.sgc-page .sgc-hero-title .elementor-heading-title { margin-top: 10px; font-size: 35px; line-height: 38px; letter-spacing: .5px; }
	.sgc-page .sgc-hero-sub { font-size: 17px; line-height: 24px; }
	.sgc-page .sgc-hero-features { width: 100%; gap: 0; justify-content: space-between; }
	.sgc-page .sgc-hero-feature { width: 32.33% !important; }
	.sgc-page .sgc-hero-feature .elementor-image-box-wrapper { display: flex; align-items: center; justify-content: flex-start; gap: 5px; text-align: left; }
	.sgc-page .sgc-hero-feature figure { width: 30px !important; margin: 0 !important; }
	.sgc-page .sgc-hero-feature img { width: 30px; height: 30px; }
	.sgc-page .sgc-hero-feature .elementor-image-box-title { font-size: 12px; line-height: 15px; letter-spacing: .3px; }
	.sgc-page .sgc-cta { width: min(330px, 100%); margin-top: 25px; align-items: center; }
	.sgc-page .sgc-cta-button-row { width: 100% !important; }
	.sgc-page .sgc-button .elementor-button { min-height: 58px; padding: 14px 45px 14px 20px; border-radius: 14px; font-size: 18px; line-height: 20px; position: relative; z-index: 1;}
	.sgc-page .sgc-button-arrow { width: 18px !important; margin-left: -38px; }
	.sgc-page .sgc-button-arrow img { width: 18px; }
	.sgc-page .sgc-cta-note { width: 100%; font-size: 9px; line-height: 13px; }
	.sgc-page .sgc-cta-note li { padding: 0 8px; }
	.sgc-page .sgc-float { display: none !important; }
	.sgc-page .sgc-trust { padding: 14px 0; }
	.sgc-page .sgc-trust-mobile { display: flex; }
	.sgc-page .sgc-trust-mobile-track { gap: 30px; }
	.sgc-page .sgc-trust-item .elementor-image-box-title { font-size: 12px; line-height: 17px; }
}
