@charset "utf-8";

/* 카드(배경/테두리/그림자)를 #footer .wrapper가 아니라 #footer 자체에
   준다. .wrapper는 클래스에 rp-container가 같이 붙어 있어서(다른 CSS의
   .rp-container max-width 규칙에 걸려) 폭이 줄어들 수 있는데, 그러면
   위쪽 헤더 카드(.body-right-head, 좌우 끝까지 꽉 참)와 좌우 길이가
   달라져 버린다. #footer는 그런 max-width 규칙이 안 걸리므로 여기서
   margin으로 헤더와 똑같은 좌우 여백(--rp-sidebar-gap)을 줘서 카드
   좌우 끝을 헤더와 정확히 맞춘다. */
#footer{
	margin: 20px var(--rp-sidebar-gap, 20px) var(--rp-sidebar-gap, 20px) !important;
	padding: 22px 24px;
	background: var(--rp-surface);
	border: 1px solid var(--rp-border);
	border-radius: var(--rp-radius);
	box-shadow: var(--rp-shadow);
}

#footer *{
	font-size: 13px;
	color: var(--rp-text-muted);
}

#footer .wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
}

#footer .wrapper > div ul{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 10px;
}

#footer .left-cont{
	width: 800px;
}

#footer .right-cont{}

#footer .right-cont ul{
	justify-content: flex-end;
}

#footer .left-cont ul li a{
	font-size:inherit;
	font-weight:inherit;
	color:inherit;
	transition:0.3s;
}

#footer .left-cont ul li a:hover{
	opacity:0.8;
}

#footer .right-cont .copyright{
	/* margin-top: 5px; */
}

#footer .popup-list li{
	cursor:pointer;
}

@media screen and (max-width: 1440px){
	#footer .left-cont{
		width: 550px;
	}
}

@media screen and (max-width: 1023px){
	#footer *{
		font-size: 12px;
		word-break: keep-all;
	}

	#footer .wrapper{
		gap: 10px;
	}
	#footer .wrapper > div{
		width: 100%;
		text-align: center;
	}

	#footer .wrapper > div ul{
		justify-content: center;
		width: calc( 500px - 40px );
		margin: 0 auto;
	}
}


@media screen and (max-width: 500px){
	#footer .wrapper > div ul{
		width: 90%;
	}
}


#footer .wrapper .right-cont{
	display:flex;
	flex-direction:column;
	gap:10px;
	align-items:flex-end;
}

#footer .guide-btn {
	display: inline-block;
	/* margin-top: 15px; */
	padding: 10px 20px;
	background: linear-gradient(135deg, var(--rp-primary), var(--rp-accent));
	color: var(--rp-on-brand);
	font-weight: 600;
	border-radius: 50px;
	text-decoration: none;
	animation: glow 1.6s infinite alternate;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--rp-accent) 20%, transparent);
	transition: transform var(--rp-transition), box-shadow var(--rp-transition);
}

#footer .guide-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 26px color-mix(in srgb, var(--rp-on-brand) 28%, transparent);
}

#footer .guide-btn .badge {
	background: var(--rp-danger);
	color: var(--rp-on-brand);
	font-size: 11px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 8px;
	position: relative;
	top: -1px;
	animation: blink 1.4s infinite;
	box-shadow: 0 0 5px color-mix(in srgb, var(--rp-danger) 50%, transparent);
	margin-left:10px;
}

@keyframes blink {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(1.1); }
}

@keyframes glow {
	0% { box-shadow: 0 0 10px color-mix(in srgb, var(--rp-accent) 50%, transparent); }
	100% { box-shadow: 0 0 20px color-mix(in srgb, var(--rp-success) 80%, transparent); }
}

@media screen and (max-width:1023px){
	#footer .wrapper .right-cont{
		align-items:center;
	}
}

@media screen and (max-width: 767px) {
	#footer {
		padding: 20px 16px;
	}
}