/*
 * A Gamer's View - CSS Design System: Shared Components & Global Blocks
 */

/* 4. Sticky Grid Nav Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--bg-primary);
	border-bottom: 1px solid rgba(212, 175, 55, 0.12);
	padding: 0;
}

.header-nav {
	display: grid;
	grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
	width: 100%;
}

.nav-col {
	padding: 1.5rem 2rem;
	border-right: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	font-size: 0.9rem;
}

.nav-col:last-child {
	border-right: none;
}

.col-logo h1 {
	margin: 0;
}

.col-logo a {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--text-primary);
	letter-spacing: -0.01em;
}

.col-links {
	display: flex;
	gap: 2.5rem;
}

.col-socials {
	display: flex;
	gap: 1.5rem;
}



/* Zajno Link Animations */
.nav-item {
	position: relative;
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-transform: uppercase;
	color: var(--text-primary);
	letter-spacing: 0.05em;
	padding: 0.2rem 0;
	transition: color 0.3s ease;
}

.nav-item:hover {
	color: var(--accent-gold) !important;
}

.nav-item.active {
	color: var(--accent-red);
}

.nav-item .li-line {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--accent-gold);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item.active .li-line {
	background: var(--accent-red);
}

.nav-item:hover .li-line,
.nav-item.active .li-line {
	transform: scaleX(1);
	transform-origin: left;
}

/* 5. Main Wrapper */
.main-content {
	flex-grow: 1;
	width: 100%;
	position: relative;
	z-index: 1;
}

/* 11. Footer Design */
.site-footer {
	background: transparent;
	border-top: 1px solid rgba(212, 175, 55, 0.12);
	padding: 4rem 0 2rem 0;
	color: var(--text-muted);
	margin-top: 7rem;
	position: relative;
	z-index: 1;
}

.footer-container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	width: 100%;
}

.footer-logo {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--text-primary);
	letter-spacing: -0.01em;
	display: block;
	margin-bottom: 0.5rem;
}

.footer-tagline {
	font-size: 0.85rem;
	line-height: 1.5;
	max-width: 300px;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem 0;
	display: flex;
	gap: 1.5rem;
}

.footer-copy-text {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--text-muted);
}

.footer-contact {
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.footer-contact a {
	color: var(--text-primary);
	font-weight: bold;
}

.footer-contact a:hover {
	color: var(--accent-red);
}

.footer-powered {
	font-size: 0.8rem;
}

.footer-bottom {
	max-width: 1300px;
	margin: 3.5rem auto 0 auto;
	padding: 1.5rem 2rem 0 2rem;
	border-top: 1px solid var(--border-color);
	font-size: 0.75rem;
	text-align: left;
	font-family: var(--font-mono);
}

/* Floating return to homepage button */
.floating-home-btn {
	position: fixed;
	bottom: 2.5rem;
	right: 2.5rem;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	background: #0B0F1A;
	border: 1px solid rgba(212, 175, 55, 0.25);
	border-radius: 50px;
	padding: 0.8rem 1.4rem;
	color: var(--text-primary);
	text-decoration: none;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.12);
	transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		border-color 0.3s ease,
		box-shadow 0.3s ease,
		color 0.3s ease;
}

.floating-home-btn:hover {
	border-color: var(--accent-red);
	color: var(--accent-red);
	box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25), 0 0 25px rgba(212, 175, 55, 0.15);
}

.floating-home-btn .btn-icon {
	font-size: 0.95rem;
	line-height: 1;
	transition: transform 0.3s ease;
}

.floating-home-btn:hover .btn-icon {
	transform: translateX(-4px);
}

/* 12. Responsive Grid Overrides */
@media (max-width: 1024px) {
	.header-nav {
		grid-template-columns: 1.5fr 1.5fr 1fr;
	}

	.col-socials,
}

@media (max-width: 968px) {
	.footer-container {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

@media (max-width: 600px) {
	.header-nav {
		grid-template-columns: 1fr 1fr;
	}

	.col-links {
		justify-content: flex-end;
		gap: 1.5rem;
	}
}
