/* ============================================
   PREMIUM FOOTER
   Infinity2 Glass Style
   ============================================ */

.premium-footer {
	position: relative;
	width: 100%;
	background: var(--bg-secondary);
	border-top: 1px solid var(--border-color);
	margin-top: 60px;
	z-index: 10;
}

/* Top Glow Line */
.premium-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
	opacity: 0.5;
	z-index: 1;
}

/* Footer Container */
.footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
	position: relative;
}

/* Footer Content - 3 Column Grid */
.footer-content {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 40px;
	padding: 50px 30px 30px;
	position: relative;
}

/* Footer Column */
.footer-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Branding Column */
.footer-branding {
	align-items: flex-start;
}

.footer-logo {
	margin-bottom: 8px;
}

.footer-logo-image {
	max-width: 180px;
	height: auto;
	opacity: 0.9;
	transition: opacity 0.3s ease;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.footer-logo:hover .footer-logo-image {
	opacity: 1;
}

.footer-tagline {
	margin: 0;
	font-size: 14px;
	color: var(--text-muted);
	font-weight: 400;
	letter-spacing: 0.5px;
}

/* Social Links */
.footer-social {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: 50%;
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 18px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.social-link:hover {
	background: rgba(138, 43, 226, 0.2);
	border-color: var(--border-accent);
	color: var(--text-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

.social-link.social-discord:hover {
	background: rgba(88, 101, 242, 0.2);
	border-color: rgba(88, 101, 242, 0.5);
	color: #5865f2;
	box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.social-link.social-facebook:hover {
	background: rgba(24, 119, 242, 0.2);
	border-color: rgba(24, 119, 242, 0.5);
	color: #1877f2;
	box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-link.social-youtube:hover {
	background: rgba(255, 0, 0, 0.2);
	border-color: rgba(255, 0, 0, 0.5);
	color: #ff0000;
	box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

/* Column Title */
.footer-column-title {
	margin: 0 0 16px 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--text-primary);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	position: relative;
	padding-bottom: 12px;
}

.footer-column-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background: linear-gradient(90deg, var(--accent-primary), transparent);
	border-radius: 2px;
}

/* Link List */
.footer-link-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-link {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s ease;
	position: relative;
	display: inline-block;
	padding: 4px 0;
}

.footer-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
	border-radius: 2px;
	transition: width 0.3s ease;
	box-shadow: 0 0 8px rgba(138, 43, 226, 0.6);
}

.footer-link:hover {
	color: var(--text-primary);
	transform: translateX(4px);
}

.footer-link:hover::after {
	width: 100%;
}

/* Server Status Badge */
.footer-status {
	margin-top: 16px;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: rgba(76, 175, 80, 0.15);
	border: 1px solid rgba(76, 175, 80, 0.4);
	border-radius: var(--radius-sm);
	font-size: 12px;
	font-weight: 600;
	color: #4caf50;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.status-badge i {
	font-size: 8px;
	animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

/* Footer Bottom - Copyright Bar */
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	background: rgba(10, 14, 26, 0.3);
	padding: 16px 30px;
}

.footer-bottom-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-copyright,
.footer-powered,
.footer-design {
	font-size: 12px;
	color: var(--text-muted);
	font-weight: 400;
	display: flex;
	align-items: center;
	gap: 4px;
}

.footer-powered strong {
	color: var(--text-secondary);
	font-weight: 600;
	transition: color 0.2s ease;
}

.footer-powered:hover strong {
	color: var(--accent-primary);
}

.footer-design {
	position: relative;
	cursor: help;
}

.footer-design-tooltip {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 0;
	background: var(--bg-panel);
	backdrop-filter: var(--blur-md);
	-webkit-backdrop-filter: var(--blur-md);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	padding: 6px 12px;
	font-size: 11px;
	color: var(--text-primary);
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
	pointer-events: none;
	z-index: 100;
	box-shadow: var(--shadow-md);
}

.footer-design-tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	right: 12px;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid var(--border-color);
}

.footer-design:hover .footer-design-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 1023px) {
	.footer-content {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
		padding: 40px 24px 24px;
	}
	
	.footer-branding {
		grid-column: 1 / -1;
		align-items: center;
		text-align: center;
	}
	
	.footer-links,
	.footer-info {
		text-align: center;
	}
	
	.footer-link-list {
		align-items: center;
	}
	
	.footer-link:hover {
		transform: none;
	}
}

@media (max-width: 768px) {
	.premium-footer {
		margin-top: 40px;
	}
	
	.footer-content {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 30px 20px 20px;
		text-align: center;
	}
	
	.footer-branding {
		align-items: center;
	}
	
	.footer-links,
	.footer-info {
		text-align: center;
	}
	
	.footer-link-list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		text-align: left;
	}
	
	.footer-bottom {
		padding: 14px 20px;
	}
	
	.footer-bottom-content {
		flex-direction: column;
		text-align: center;
		gap: 12px;
	}
	
	.footer-copyright,
	.footer-powered,
	.footer-design {
		justify-content: center;
	}
	
	.footer-design-tooltip {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
	}
	
	.footer-design-tooltip::after {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
	}
	
	.footer-design:hover .footer-design-tooltip {
		transform: translateX(-50%) translateY(-4px);
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.footer-link,
	.social-link,
	.footer-design-tooltip,
	.status-badge i {
		transition: none;
		animation: none;
	}
	
	.footer-link:hover {
		transform: none;
	}
	
	.social-link:hover {
		transform: none;
	}
}

