@charset "euc-kr";

/* #b_copy 섹션 스타일 - 사업자 정보 영역 */
#b_copy {
	background: rgba(0, 0, 0, 0.7);
	color: rgba(255, 255, 255, 0.8);
	padding: 2em 0;
	position: relative;
	overflow: hidden;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	box-sizing: border-box;
}

#b_copy #copy {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2em;
	text-align: center;
	line-height: 1.6;
	box-sizing: border-box;
	color: rgba(255, 255, 255, 0.7);
}

/* 고정 하단 메뉴바 - 참조 페이지와 동일 */
.fixed-bottom-menu {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #ff4200;
	color: #ffffff;
	padding: 0.25em 0; /* PC에서도 높이 감소 */
	z-index: 1000;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
	width: 100vw;
}

.fixed-bottom-menu .footer-content {
	width: 100%;
	max-width: none;
	padding: 0 1.5em; /* PC에서 패딩 감소 */
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	gap: 2em; /* 간격 추가 */
}

.fixed-bottom-menu .footer-left a,
.fixed-bottom-menu .footer-right a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	padding: 7.5px 15px;
	border-radius: 30px;
	background: #ff4200;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	font-size: 1.1rem;
	box-shadow: 0 5px 15px rgba(255, 66, 0, 0.4);
	display: inline-block;
	white-space: nowrap;
	text-align: center;
}

.fixed-bottom-menu .footer-left a:hover,
.fixed-bottom-menu .footer-right a:hover {
	/* transform 효과 완전 제거로 배경 떨림 방지 */
	box-shadow: 0 10px 25px rgba(255, 66, 0, 0.6);
}

/* 모바일에서 고정 하단 메뉴바 - 한 줄 표시, 높이 감소 */
@media screen and (max-width: 768px) {
	.fixed-bottom-menu {
		padding: 0.25em 0; /* 높이 감소 */
	}
	
	.fixed-bottom-menu .footer-content {
		text-align: center;
		padding: 0 0.67em; /* 패딩 감소 */
		justify-content: center;
		align-items: center;
		gap: 1.33em; /* 간격 감소 */
		flex-direction: row; /* 가로 배치 강제 */
	}
	
	.fixed-bottom-menu .footer-left a,
	.fixed-bottom-menu .footer-right a {
		font-size: 0.8rem; /* 폰트 크기 증가 - 두 메뉴 동일하게 */
		padding: 8px 16.67px; /* 패딩 감소 */
		white-space: nowrap;
		text-align: center;
		/* 모바일: 펄스 제거하고 글로우만 느리게 적용 */
		animation: ktMenuGlow 4s ease-in-out infinite;
	}
}

@media screen and (max-width: 480px) {
	.fixed-bottom-menu {
		padding: 0.2em 0; /* 더 작은 높이 */
	}
	
	.fixed-bottom-menu .footer-content {
		padding: 0 0.5em; /* 패딩 감소 */
		gap: 1em; /* 간격 감소 */
	}
	
	.fixed-bottom-menu .footer-left a,
	.fixed-bottom-menu .footer-right a {
		font-size: 0.7rem; /* 폰트 크기 증가 - 두 메뉴 동일하게 */
		padding: 6px 12px; /* 패딩 감소 */
		white-space: nowrap;
		text-align: center;
	}
}

/* 팝업 열렸을 때 스크롤 제어 */
body.popup-open {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
}

/* 팝업 닫혔을 때 스크롤 복원 */
body:not(.popup-open) {
	position: static;
	width: auto;
	top: auto;
	left: auto;
}
