@charset "UTF-8";


/* 페이지 공통 */
.page-wrap {
	position: relative;
	width: 100%;
	height: 100vh;
	min-width: 1440px;
	min-height: 850px;
	margin-block: auto;
	font-family: 'Pretendard', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	box-sizing: border-box;
	word-break: keep-all;
}

.page-wrap button {
	width: 100%;
	height: 100%;
}

.page-wrap a {
	display: block;
} 
.page-wrap img {
	width: 100%;
	object-fit: cover;
}



/* 버튼 공통 */
.btn {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	overflow: hidden;
	box-sizing: border-box;
	color: transparent;
	font-size: 0;
	border-radius: 9.375rem;
	
}
.btn .text {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 10;
}

/* 해당 class로 버튼 style 지정 */
/* white */
.btn-bg-white {
	background-color: #fff;
	border: 1px solid #E7E7E7;
	transition: all 0.3s ease;
}
.btn-bg-white .text {
	transition: all 0.3s ease;
}
.btn-bg-white:hover {
	border: 1px solid #000;
}

/* pink */
.btn-bg-pink {
	background-color: #C40452;
}

/* gradient */
.btn-bg-gradient .btn-bg {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #C40452;
	transition: all 0.3s;
	z-index: 1;
}
.btn-bg-gradient .btn-bg::before,
.btn-bg-gradient .btn-bg::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 150%;
	height: 150%;
	transition: all 0.8s ease;
	opacity: 0;
	filter: blur(20px);
}
.btn-bg-gradient .btn-bg::before {
	background: linear-gradient(120deg, rgba(255, 115, 21, 0.9) 0%, transparent 70%, rgba(68, 0, 151, 0.5) 100%);
	z-index: 2;
	opacity: 1;
}
.btn-bg-gradient .btn-bg::after {
	background: linear-gradient(60deg, rgba(68, 0, 151, 0.1) 0%, transparent 30%,rgba(255, 115, 21, 0.9) 100%);
	z-index: 3;
	opacity: 0;
}
.btn-bg-gradient:hover .btn-bg::before {
	opacity: 0;
}
.btn-bg-gradient:hover .btn-bg::after {
	opacity: 1;
}

/* dynamic (활성화 : active) */
.btn-bg-dynamic {
	background-color: #E7E7E7;
	pointer-events: none;
}
.btn-bg-dynamic .btn-bg {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: transparent;
	transition: all 0.3s;
	z-index: 1;
}
.btn-bg-dynamic .btn-bg::before,
.btn-bg-dynamic .btn-bg::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 150%;
	height: 150%;
	transition: all 0.3s;
	opacity: 0;
	filter: blur(20px);
}
.btn-bg-dynamic .btn-bg::before {
	background: linear-gradient(120deg, rgba(255, 115, 21, 0.9) 0%, transparent 70%, rgba(68, 0, 151, 0.5) 100%);
	z-index: 2;
}
.btn-bg-dynamic .btn-bg::after {
	background: linear-gradient(60deg, rgba(68, 0, 151, 0.1) 0%, transparent 30%,rgba(255, 115, 21, 0.9) 100%);
	z-index: 3;
}
.btn-bg-dynamic.active {
	pointer-events: auto;
}
.btn-bg-dynamic.active .btn-bg {
	background-color: #C40452;
}
.btn-bg-dynamic.active .btn-bg::before {
	transition: all 0.8s ease;
	opacity: 1;
}
.btn-bg-dynamic.active .btn-bg::after {
	transition: all 0.8s ease;
	opacity: 0;
}
.btn-bg-dynamic.active:hover .btn-bg::before {
	opacity: 0;
}
.btn-bg-dynamic.active:hover .btn-bg::after {
	opacity: 1;
	
}

/* transparent */
.btn-bg-transparent {
	position: relative;
	background-color: transparent;
	z-index: 10;
}
.btn-bg-transparent::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0);
	border-radius: 9.375rem;
	overflow: hidden;
	transition: all 0.3s ease;
	z-index: 5;
}
.btn-bg-transparent:hover::before {
	background-color: rgba(0,0,0,0.1);
}

/* black */
.btn-black {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-around;
	background-color: rgba(0,0,0,0.8);
}
.btn-black .icon {
	display: block;
	flex-shrink: 0;
}
.btn-black .text {
	display: block;
	flex: 1;
	white-space: nowrap;
	text-align: center;
	color: #fff;
	font-size: 1rem;
	opacity: 0;
	transition: all 0.6s ease;
}
.btn-black:hover .text {
	opacity: 1;
}


/* 사용자 캡쳐 사진 
camera, 
loading, 
result 
페이지에 사용
*/
.face-capture-box {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.face-capture-box img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}


/* modal */
.modal-wrap {
	position: fixed;
	inset: 0;
	justify-content: center;
	align-items: center;
	background-color: rgba(255,255,255,0.6);
	backdrop-filter: blur(50px);
	-webkit-backdrop-filter: blur(50px);
	overflow: hidden;
	display: none;
	z-index: 99;
}
.modal-wrap.open {
	display: flex;
}
.modal-wrap .modal-container {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	min-width: 20rem;
	min-height: 20rem;
	border-radius: 1.5rem;
	background-color: #fff;
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);
	box-sizing: border-box;
	z-index: 2;
}
.modal-wrap .modal-container .modal-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.modal-wrap .modal-container .modal-close-btn {
	display: flex;
	justify-content: center;
}
.modal-wrap .modal-container .modal-close-btn button {
	width: 9.375rem;
	height: 3rem;
	border-radius: 9.375rem;
	font-family: 'UniNeue';
	font-weight: 600;
	background-color: #000;
	color: #fff;
}

/* Architecture diagram button & modal */
.architecture-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  width: auto;
  height: auto;
  border-radius: 2rem;
  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-family: 'UniNeue', 'Pretendard', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  z-index: 90;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease;
}
.architecture-btn:hover {
  background-color: rgba(0, 0, 0, 0.85);
}
.architecture-btn svg {
  flex-shrink: 0;
}

.architecture-modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  padding: 1.5rem;
}

.architecture-modal-body {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 1rem;
  overflow: auto;
  background-color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.architecture-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.25rem !important;
  height: 2.25rem !important;
  border-radius: 50%;
  border: none;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background-color 0.2s ease;
}
.architecture-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.85);
}

.architecture-modal-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
