/* GamiGadgets Custom Footer — lightweight, responsive, no dependencies */

.ggf-footer,
.ggf-footer * {
	box-sizing: border-box;
}

.ggf-footer {
	background: var(--ggf-bg, #101114);
	color: var(--ggf-text, #fff);
	border-top: 1px solid rgba(255,255,255,.08);
	font-family: inherit;
}

.ggf-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.ggf-main {
	display: grid;
	grid-template-columns: 1.55fr 1fr 1fr 1fr;
	gap: 46px;
	padding: 64px 0 48px;
}

.ggf-brand {
	max-width: 390px;
}

.ggf-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 23px;
	font-weight: 900;
	letter-spacing: -.4px;
}

.ggf-logo img {
	display: block;
	width: auto;
	max-width: 210px;
	height: 48px;
	object-fit: contain;
}

.ggf-tagline {
	margin: 15px 0 9px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

.ggf-description {
	margin: 0;
	color: var(--ggf-muted, #a9adb7);
	font-size: 13px;
	line-height: 1.75;
}

.ggf-column h2 {
	margin: 3px 0 17px;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .2px;
}

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

.ggf-column li {
	margin: 0 0 10px;
	padding: 0;
}

.ggf-column a {
	color: var(--ggf-muted, #a9adb7) !important;
	text-decoration: none !important;
	font-size: 13px;
	line-height: 1.5;
	transition: color .18s ease, padding-left .18s ease;
}

.ggf-column a:hover,
.ggf-column a:focus {
	color: var(--ggf-accent, #ff5a1f) !important;
	padding-left: 3px;
}

.ggf-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 21px;
}

.ggf-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 9px;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 800;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.ggf-social a:hover,
.ggf-social a:focus {
	background: var(--ggf-accent, #ff5a1f);
	border-color: var(--ggf-accent, #ff5a1f);
	color: #fff !important;
	transform: translateY(-2px);
}

.ggf-newsletter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 22px;
	background: var(--ggf-card, #17191e);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 13px;
}

.ggf-newsletter strong,
.ggf-newsletter span {
	display: block;
}

.ggf-newsletter strong {
	color: #fff;
	font-size: 14px;
	margin-bottom: 4px;
}

.ggf-newsletter span {
	color: var(--ggf-muted, #a9adb7);
	font-size: 12px;
	line-height: 1.5;
}

.ggf-newsletter a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	padding: 11px 15px;
	background: var(--ggf-accent, #ff5a1f);
	border-radius: 8px;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.ggf-newsletter a:hover,
.ggf-newsletter a:focus {
	filter: brightness(.94);
	color: #fff !important;
}

.ggf-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	margin-top: 38px;
	border-top: 1px solid rgba(255,255,255,.08);
}

.ggf-bottom p {
	margin: 0;
	color: #818691;
	font-size: 11px;
	line-height: 1.5;
}

@media (max-width: 980px) {
	.ggf-main {
		grid-template-columns: 1.4fr 1fr 1fr;
		gap: 34px 28px;
	}

	.ggf-brand {
		grid-column: 1 / -1;
		max-width: 650px;
	}
}

@media (max-width: 700px) {
	.ggf-container {
		width: min(100% - 28px, 600px);
	}

	.ggf-main {
		grid-template-columns: 1fr 1fr;
		gap: 30px 22px;
		padding: 46px 0 34px;
	}

	.ggf-brand {
		grid-column: 1 / -1;
	}

	.ggf-newsletter {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
	}

	.ggf-newsletter a {
		width: 100%;
	}

	.ggf-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
		margin-top: 28px;
	}
}

@media (max-width: 430px) {
	.ggf-main {
		grid-template-columns: 1fr;
		gap: 27px;
	}

	.ggf-brand {
		grid-column: auto;
	}

	.ggf-logo {
		font-size: 21px;
	}

	.ggf-description {
		font-size: 12.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ggf-column a,
	.ggf-social a {
		transition: none;
	}
}
