@charset "euc-kr";

/* 푸터 스타일 */
#footer {
	background: linear-gradient(135deg, #2c3e50, #34495e);
	color: #ffffff;
	padding: 2em 0;
	position: relative;
	overflow: hidden;
	width: 100%;
}

/* PC 전체화면 설정 */
@media screen and (min-width: 769px) {
	#footer {
		width: 100vw !important;
		left: 50% !important;
		right: 50% !important;
		margin-left: -50vw !important;
		margin-right: -50vw !important;
		position: relative !important;
		box-sizing: border-box !important;
	}
	
	/* #b_copy 섹션 전체화면 설정 */
	#b_copy {
		width: 100vw !important;
		left: 50% !important;
		right: 50% !important;
		margin-left: -50vw !important;
		margin-right: -50vw !important;
		position: relative !important;
		box-sizing: border-box !important;
	}
	
	#b_copy #copy {
		max-width: 1200px !important;
		margin: 0 auto !important;
		padding: 0 2em !important;
		box-sizing: border-box !important;
	}
}

/* 기본 풋터 스타일 강화 */
#footer {
	background: linear-gradient(135deg, #2c3e50, #34495e) !important;
	color: #ffffff !important;
	padding: 2em 0 !important;
	position: relative !important;
	overflow: hidden !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* #b_copy 섹션 기본 스타일 */
#b_copy {
	background: #000000 !important;
	color: #ffffff !important;
	padding: 2em 0 !important;
	position: relative !important;
	overflow: hidden !important;
	width: 100vw !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	box-sizing: border-box !important;
}

#b_copy #copy {
	max-width: 1200px !important;
	margin: 0 auto !important;
	padding: 0 2em !important;
	text-align: center !important;
	line-height: 1.6 !important;
	box-sizing: border-box !important;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 2em;
}

.footer-left {
	display: flex;
	gap: 1.5em;
	align-items: center;
}

.footer-left a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	padding: 12px 20px;
	border-radius: 25px;
	background: linear-gradient(135deg, #ff4200, #ff6b3d);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.footer-left a:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(255, 66, 0, 0.4);
}

.footer-left a::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.footer-left a:hover::before {
	left: 100%;
}

.footer-right {
	text-align: right;
}

.footer-info {
	font-size: 0.9em;
	color: #bdc3c7;
	line-height: 1.6;
}

.footer-info p {
	margin: 0.3em 0;
}

/* 푸터 애니메이션 */
@keyframes ktMenuPulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(255, 66, 0, 0.7);
	}
	50% {
		transform: scale(1.05);
		box-shadow: 0 0 0 10px rgba(255, 66, 0, 0);
	}
}

@keyframes ktMenuGlow {
	0%, 100% {
		background: linear-gradient(135deg, #ff4200, #ff6b3d);
	}
	50% {
		background: linear-gradient(135deg, #ff6b3d, #ff4200);
	}
}

.footer-left a {
	animation: ktMenuPulse 2s ease-in-out infinite, ktMenuGlow 3s ease-in-out infinite;
}

/* 반응형 디자인 */
@media screen and (max-width: 768px) {
	.footer-content {
		flex-direction: column;
		text-align: center;
		padding: 0 1em;
	}
	
	.footer-left {
		justify-content: center;
		margin-bottom: 1em;
	}
	
	.footer-right {
		text-align: center;
	}
	
	.footer-left a {
		font-size: 0.9em;
		padding: 8px 12px;
	}
}

@media screen and (max-width: 480px) {
	#footer {
		padding: 1.5em 0;
	}
	
	.footer-left a {
		font-size: 0.85em;
		padding: 6px 10px;
	}
}

@media screen and (max-width: 360px) {
	.footer-left a {
		font-size: 0.8em;
		padding: 5px 8px;
	}
}

/* 고정 하단 메뉴바 - 참조 페이지와 동일 */
.fixed-bottom-menu {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #ff4200;
	color: #ffffff;
	padding: 0.375em 0;
	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 2em;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

.fixed-bottom-menu .footer-left 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 {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(255, 66, 0, 0.6);
}

/* 모바일에서 고정 하단 메뉴바 */
@media screen and (max-width: 768px) {
	.fixed-bottom-menu .footer-content {
		text-align: center;
		padding: 0 1em;
		justify-content: center;
		align-items: center;
	}
	
	.fixed-bottom-menu .footer-left a {
		font-size: 1rem;
		padding: 12px 25px;
		white-space: nowrap;
		text-align: center;
		/* 모바일: 펄스 제거하고 글로우만 느리게 적용 */
		animation: ktMenuGlow 4s ease-in-out infinite !important;
	}
}

@media screen and (max-width: 480px) {
	.fixed-bottom-menu {
		padding: 0.5em 0;
	}
	
	.fixed-bottom-menu .footer-content {
		padding: 0 1em;
	}
	
	.fixed-bottom-menu .footer-left a {
		font-size: 0.9rem;
		padding: 10px 20px;
		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;
}
