/* ==================== 푸터 ==================== */
.footer {
	background: linear-gradient(180deg, #0F0F0F 0%, #1A1A1A 100%);
	color: #FFFFFF;
	padding: 40px 0 20px;
	position: relative;
	z-index: 4300;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.5) 50%, transparent 100%);
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* 메인 레이아웃 */
.footer-content {
	display: flex;
	justify-content: space-between;
	gap: 60px;
	margin-bottom: 20px;
}

/* 법적 정보 */
.footer-legal {
	flex: 1;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.6;
}

.footer-legal span {
	color: rgba(255, 255, 255, 0.3);
	margin: 0 8px;
}

.footer-legal a {
	color: #FBBF24;
	text-decoration: none;
	font-size: 11px;
	transition: opacity 0.3s ease;
}

.footer-legal a:hover {
	opacity: 0.8;
}

.legal-inline-link {
	color: rgba(255, 255, 255, 0.7) !important;
	font-size: 13px !important;
	font-weight: 600;
}

.legal-inline-link:first-of-type {
	color: #FBBF24 !important;
}

.legal-inline-link:hover {
	text-decoration: underline;
}

/* 유틸리티 영역 */
.footer-utils {
	display: flex;
	align-items: center;
	gap: 30px;
}

/* SNS 링크 */
.social-links {
	display: flex;
	gap: 12px;
}

.social-link {
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-link:hover {
	background: rgba(102, 126, 234, 0.2);
	transform: translateY(-2px);
}

.social-link svg {
	width: 22px;
	height: 22px;
	fill: rgba(255, 255, 255, 0.7);
}

.social-link:hover svg {
	fill: #FFFFFF;
}

/* Family Site */
.family-site-wrapper {
	position: relative;
}

.family-site-select {
	padding: 14px 45px 14px 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	white-space: nowrap;
}

.family-site-select::after {
	content: '▼';
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	transition: transform 0.3s ease;
}

.family-site-select:hover {
	background: rgba(255, 255, 255, 0.1);
}

.family-site-select.active::after {
	transform: translateY(-50%) rotate(180deg);
}

.family-site-dropdown {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 0;
	min-width: 200px;
	background: rgba(26, 26, 26, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 1000;
	overflow: hidden;
}

.family-site-dropdown.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.family-site-option {
	padding: 6px 16px;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	display: block;
	transition: all 0.3s ease;
	font-size: 14px;
	line-height: 1.2;
}

.family-site-option:not(:last-child) {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.family-site-option:hover {
	background: rgba(102, 126, 234, 0.15);
	color: #FFFFFF;
	padding-left: 20px;
}

/* 저작권 */
.footer-copyright {
	text-align: center;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 플로팅 버튼 */
.footer-float {
	position: fixed;
	bottom: 26px;
	right: 34px;
	z-index: 4500;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.float-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

.float-btn:hover {
	transform: scale(1.1);
}

.float-btn.scroll-top {
	background: rgba(26, 26, 26, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}

/* 반응형 */
@media (max-width: 768px) {
	.footer {
		padding: 30px 0 15px;
	}

	.footer-content {
		flex-direction: column;
		gap: 30px;
	}

	.footer-utils {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.family-site-wrapper {
		width: 100%;
	}

	.family-site-select {
		width: 100%;
		justify-content: space-between;
	}

	.family-site-dropdown {
		width: 100%;
		left: 0;
		right: auto;
	}

	.footer-float {
		display: none;
	}
}