/* ============================================================
   SIDEBAR SOCIAL - MODERN DESIGN
   Created: 2025-01-04
   Matches: sidebar_search_modern.css pattern
   ============================================================ */

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.8;
		transform: scale(1.05);
	}
}

@keyframes shimmer {
	0% {
		background-position: -1000px 0;
	}
	100% {
		background-position: 1000px 0;
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-5px);
	}
}

@keyframes socialGlow {
	0%, 100% {
		box-shadow: 0 4px 16px rgba(138, 68, 255, 0.3);
	}
	50% {
		box-shadow: 0 8px 24px rgba(138, 68, 255, 0.6);
	}
}

/* ============================================================
   MAIN CONTAINER
   ============================================================ */

.sidebar-module.sidebar-social {
	background: linear-gradient(135deg, #1a2332 0%, #0f141a 100%) !important;
	border: 2px solid #2a3440 !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
	margin-bottom: 16px !important;
	animation: fadeIn 0.5s ease-out !important;
	position: relative !important;
}

.sidebar-module.sidebar-social::before {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	left: -100% !important;
	width: 100% !important;
	height: 100% !important;
	background: linear-gradient(90deg, transparent, rgba(138, 68, 255, 0.1), transparent) !important;
	animation: shimmer 3s linear infinite !important;
	pointer-events: none !important;
	z-index: 0 !important;
}

/* ============================================================
   HEADER - REMOVED THEMED COLORS FOR UNIFORM LOOK
   ============================================================ */
	display: block !important;
	animation: pulse 3s ease-in-out infinite !important;
}

.sidebar-module.sidebar-social .menu-title {
	font-size: 15px !important;
	font-weight: bold !important;
	color: #0f141a !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3) !important;
	flex: 1 !important;
}

/* ============================================================
   CONTENT
   ============================================================ */

.sidebar-module.sidebar-social .menu-content {
	padding: 16px 14px !important;
	position: relative !important;
	z-index: 1 !important;
}

/* ============================================================
   SOCIAL GRID
   ============================================================ */

.social-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px !important;
	justify-items: center !important;
}

/* ============================================================
   SOCIAL LINK
   ============================================================ */

.social-link {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 52px !important;
	height: 52px !important;
	background: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(15, 20, 26, 0.8) 100%) !important;
	border: 2px solid #2a3440 !important;
	border-radius: 14px !important;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
	position: relative !important;
	overflow: hidden !important;
	cursor: pointer !important;
}

.social-link::before {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%) !important;
	opacity: 0 !important;
	transition: opacity 0.3s ease !important;
}

.social-link:hover::before {
	opacity: 1 !important;
}

.social-link img {
	width: 40px !important;
	height: 40px !important;
	border-radius: 10px !important;
	transition: all 0.3s ease !important;
	position: relative !important;
	z-index: 1 !important;
}

/* ============================================================
   INDIVIDUAL SOCIAL PLATFORMS - REMOVED THEMED COLORS FOR UNIFORM LOOK
   ============================================================ */

.social-link:hover img {
	transform: scale(1.1) rotate(5deg) !important;
	filter: brightness(1.2) !important;
}

/* ============================================================
   SOCIAL LABEL - REMOVED THEMED COLORS FOR UNIFORM LOOK
   ============================================================ */

/* ============================================================
   TOOLTIP (Optional Enhancement)
   ============================================================ */

.social-link[data-tooltip] {
	position: relative !important;
}

.social-link[data-tooltip]::after {
	content: attr(data-tooltip) !important;
	position: absolute !important;
	bottom: -35px !important;
	left: 50% !important;
	transform: translateX(-50%) scale(0) !important;
	background: rgba(15, 20, 26, 0.95) !important;
	color: #ffffff !important;
	padding: 6px 12px !important;
	border-radius: 6px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	white-space: nowrap !important;
	opacity: 0 !important;
	transition: all 0.3s ease !important;
	pointer-events: none !important;
	z-index: 10 !important;
	border: 1px solid #2a3440 !important;
}

.social-link[data-tooltip]:hover::after {
	transform: translateX(-50%) scale(1) !important;
	opacity: 1 !important;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
	.sidebar-module.sidebar-social .menu-header {
		padding: 12px 14px !important;
	}

	.sidebar-module.sidebar-social .menu-title {
		font-size: 14px !important;
	}

	.sidebar-module.sidebar-social .menu-content {
		padding: 16px 12px !important;
	}

	.social-grid {
		gap: 10px !important;
	}

	.social-link {
		width: 52px !important;
		height: 52px !important;
	}

	.social-link img {
		width: 36px !important;
		height: 36px !important;
	}

	.social-label {
		font-size: 12px !important;
		padding: 10px !important;
	}
}

@media (max-width: 480px) {
	.social-grid {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 8px !important;
	}

	.social-link {
		width: 48px !important;
		height: 48px !important;
	}

	.social-link img {
		width: 32px !important;
		height: 32px !important;
	}
}
