/* ±âº» ½ºÅ¸ÀÏ ÃÊ±âÈ­ */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Pretendard', -apple-system, sans-serif;
}

body {
	/* 
	   [¹è°æ ÀÌ¹ÌÁö ±³Ã¼ °¡ÀÌµå]
	   - ³· Ä·ÆÛ½º ¹è°æ: '20250529-DSC04211-6.jpg' (°¡À» Á¤Ãë ±Ø´ëÈ­)
	   - ¹ã Ä·ÆÛ½º ¹è°æ: '20250528-DSC04187-10.jpg' (ÁöÀûÀÎ ¹ãÇÏ´Ã ºÐÀ§±â)
	*/
	background: linear-gradient(rgba(0, 15, 35, 0.2), rgba(0, 15, 35, 0.45)), 
				url('20250529-DSC04211-6.jpg') no-repeat center center/cover;
	background-attachment: fixed;
	color: #fff;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow-x: hidden;
	position: relative;
}

/* °¡À» ³«¿± & º°ºû ¾Ö´Ï¸ÞÀÌ¼Ç Äµ¹ö½º ¿µ¿ª */
#animation-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

/* ÀÎÆ®·Î ÀüÃ¼ ÄÁÅ×ÀÌ³Ê */
.intro-container {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 1440px; 
	width: 100%;
	margin: 0 auto;
	padding: 20px 20px 40px 20px;
}

/* ========================================================
   [¿äÃ»¹Ý¿µ] »ó´Ü °¡·ÎÇü ÅëÇÕ Çì´õ ¿µ¿ª (·Î°í¿Í Å¸ÀÌÆ² µ¿ÀÏ¼±»ó ¹èÄ¡)
   ======================================================== */
.portal-header-row {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between; /* ¾ç ³¡ Á¤·Ä */
	align-items: center; /* ¼¼·ÎÃà Á¤Áß¾Ó Á¤·Ä */
	padding: 0 20px;
	margin-bottom: 35px;
	/*border-bottom: 1px solid rgba(255, 255, 255, 0.15);*/
	animation: fadeInDown 1s ease-out;
}

.logo-link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-decoration: none;
}

.logo-image {
	height: 100px; /* ¿äÃ» »ç¾ç 100px ¿Ïº® ¸ÅÄª */
	width: auto;
	display: block;
	filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.5)) brightness(1.05);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-image:hover {
	transform: translateY(-2px) scale(1.02);
}

.logo-subtext {
	font-size: 0.95rem;
	font-weight: 700;
	color: #ffd700; 
	margin-top: 6px;
	letter-spacing: 3px;
	padding-left: 2px;
}

.headline-group {
	text-align: left; /* ¿ìÃø Á¤·Ä */
}

.main-headline {
	font-size: 2.3rem; /* µ¿ÀÏ¼±»ó ¹èÄ¡¸¦ À§ÇÑ È­¸é ±ÕÇü ÆùÆ® Å©±â ÃÖÀûÈ­ */
	font-weight: 800;
	letter-spacing: 1px;
	color: #ffffff;
}

.sub-headline {
	font-size: 1.15rem;
	font-weight: 500;
	font-style: italic;
	color: #0b2448;
	letter-spacing: 2px;
	margin-top: 8px;
}

/* ========================================================
   Áß´Ü 1: »ó´Ü ´ëÄª ¿µ¿ª (ÁÂÃø ¿ø¼­Á¢¼ö ÇÙ½É Çàµ¿¿­ + ¿ìÃø ¿µ»ó Ä«µå) 
   ======================================================== */
.portal-upper-row {
	display: grid;
	grid-template-columns: 1fr 1.15fr; 
	gap: 28px;
	padding: 0 20px;
	margin-bottom: 35px;
	align-items: stretch; /* ÁÂ¿ì ³ôÀÌ Ä®°°ÀÌ ÀÏÄ¡ */
	animation: fadeInUp 1s ease-out 0.4s both;
}

/* ÁÂÃø ¼öÁ÷ Çàµ¿ ÁöÇâÇü ·¹ÀÌ¾Æ¿ô */
.left-action-column {
	display: flex;
	flex-direction: column;
	gap: 16px; 
}

/* [¿äÃ»¹Ý¿µ] ¼ö½Ã¸ðÁý Ä«µå (¼ö½Ã 2Â÷ Á¦°Å ¹× ³ôÀÌ ¾ÐÃàÀ» ÅëÇÑ ÄÞÆÑÆ®È­) */
.card-admissions {
	background: rgba(0, 30, 65, 0.95); 
	border: 2px solid rgba(212, 175, 55, 0.5); 
	/*border-radius: 28px;*/
	padding: 30px; 
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	/*box-shadow: 0 25px 50px rgba(0, 15, 35, 0.5);*/
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	flex: 1; /* ¿ìÃø ºñµð¿À Ä«µå ³ôÀÌ¿¡ ¸ÂÃß¾î ÀÚ¿¬½º·´°Ô ´Ã¾î³² */
}

.card-admissions:hover {
	transform: translateY(-4px);
	border-color: #ffd700;
	/*box-shadow: 0 30px 60px rgba(212, 175, 55, 0.25);*/
}

/* [¿äÃ»¹Ý¿µ] ¼ö½Ã¸ðÁý º»¹® ³» ÆùÆ® Å©±â ¾÷»çÀÌÂ¡ */
.admission-tag {
	background: linear-gradient(135deg, #ffd700 0%, #e6a100 100%); 
	color: #001735;
	font-weight: 800;
	padding: 10px 24px;
	/*border-radius: 12px;*/
	font-size: 1.0rem;
	display: inline-block;
	margin-bottom: 12px;
	width: fit-content;
}

.admission-period-title {
	font-size: 1.3rem; /* ½Ã¿øÇØÁø ¼­Ã¼ Å©±â */
	font-weight: 800;
	color: #ffd700;
	margin-top: 5px;
	margin-bottom: 30px;
	letter-spacing: -0.5px;
}

.admission-guide-desc {
	font-size: 1.0rem; /* 1.0rem -> 1.15rem È®´ë */
	line-height: 1.8;
	color: #e2e8f0;
	font-weight: 500;
	margin-bottom: 25px;
	word-break: keep-all;
}

.admission-guide-desc strong {
	color: #ffffff;
	font-weight: 700;
}

/* [¿äÃ»¹Ý¿µ] À¯¿þÀÌ/ÁøÇÐ»ç ¹öÆ° °¡·Î(Row) ¹èÄ¡ */
.apply-btn-wrapper {
	display: flex;
	flex-direction: row; /* °¡·Î ³ª¶õÈ÷ ¹èÄ¡ */
	gap: 12px; 
	width: 100%;
}

.inner-apply-btn {
	flex: 1; /* ±Õµî ³Êºñ */
	padding: 13px 15px;
	font-size: 1rem;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	/*border-radius: 12px;*/
	transition: all 0.3s ease;
	letter-spacing: -0.5px;
	display: inline-block;
}

.inner-uway {
	background-color: #ff5e00;
	color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(255, 94, 0, 0.25);
}
.inner-uway:hover {
	background-color: #e05300;
	transform: translateY(-2px);
}

.inner-jinhak {
	background-color: #0072f0;
	color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 114, 240, 0.25);
}
.inner-jinhak:hover {
	background-color: #005ec4;
	transform: translateY(-2px);
}

/* [¿äÃ»¹Ý¿µ] ¼ö½Ã Ä«µå ¾Æ·¡¿¡ ¹èÄ¡µÇ´Â ´ëÇÐ/ÀÔ½Ã È¨ÆäÀÌÁö ¹Ù·Î°¡±â ¹öÆ°±×·ì */
.homepage-btn-group {
	display: flex;
	flex-direction: row; /* °¡·Î ³ª¶õÈ÷ ¹èÄ¡ */
	gap: 12px;
	width: 100%;
}

.home-btn {
	flex: 1;
	padding: 15px 15px;
	font-size: 1rem;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	/*border-radius: 14px;*/
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 10px 25px rgba(0, 15, 35, 0.3);
}

.btn-univ {
	background: rgba(255, 255, 255, 0.98);
	color: #002d5a;
	border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-univ:hover {
	background: rgba(255, 255, 255, 1.18);
	border-color: #ffffff;
	transform: translateY(-3px);
}

.btn-ipsi {
	background: linear-gradient(135deg, #ffd700 0%, #e6a100 100%);
	color: #001735;
	border: 2px solid #ffd700;
}

.btn-ipsi:hover {
	transform: translateY(-3px);
	filter: brightness(1.08);
}

/* ¿ìÃø µ¿¿µ»ó Ä«µå ¿µ¿ª */
.card-video {
	background: rgba(0, 0, 0, 0.7);
	border: 2px solid rgba(0, 0, 0, 0.5);
	/*border-radius: 28px;*/
	padding: 20px;
	box-shadow: 0 25px 50px rgba(0, 15, 35, 0.5);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-video:hover {
	border-color: #000;
	transform: translateY(-3px);
	/*box-shadow: 0 35px 60px rgba(0, 15, 35, 0.6);*/
}

.video-title {
	font-size: 1.35rem;
	font-weight: 800;
	color: #ffd700;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.video-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9; 
	/*border-radius: 14px;*/
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
	background-color: #000;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ¿À·ù ´ëºñ À¯Æ©ºê ¿ìÈ¸ Fallback ¹Ù */
.video-fallback-bar {
	margin-top: 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	padding: 8px 15px;
	/*border-radius: 10px;*/
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.fallback-text {
	font-size: 0.82rem;
	color: #cbd5e1;
	font-weight: 500;
}

.btn-fallback-go {
	padding: 6px 12px;
	background: #ff0000; 
	color: #fff;
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 800;
	/*border-radius: 6px;*/
	transition: background 0.2s ease;
}

.btn-fallback-go:hover {
	background: #cc0000;
}

/* ========================================================
   Áß´Ü 2: ÇÏ´Ü ´ëÄª ¿µ¿ª (ÄÞÆÑÆ®Çü ½Å¼³ÇÐ°ú 3Á¾ Ä«µå)
   ======================================================== */
.portal-lower-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr); 
	gap: 24px;
	padding: 0 20px;
	margin-bottom: 40px;
	animation: fadeInUp 1s ease-out 0.6s both;
}

/* [¿äÃ»¹Ý¿µ] ½Å¼³ÇÐ°ú Ä«µåÀÇ SVG ¾ÆÀÌÄÜÀ» °È¾î³»°í, ±âÇ° ÀÖ´Â Çö´ëÀû ¹øÈ£ Ç¥½Ã(Typography index) ¹× µ¥ÄÚ·¹ÀÌ¼Ç Å¾Àç */
.card-dept-small {
	background: rgba(255, 255, 255, 0.97); 
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-top: 6px solid #ff6285; 
	/*border-radius: 22px; */
	padding: 30px 37px; 
	text-decoration: none;
	color: #1e293b;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 290px; 
	box-shadow: 0 15px 35px rgba(0, 15, 35, 0.4); 
	position: relative;
	overflow: hidden; 
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-dept-small:hover {
	transform: translateY(-8px);
	/*border-top-color: #ffd700; */
	/*box-shadow: 0 25px 45px rgba(0, 15, 35, 0.6);*/
}

/* [¿äÃ»¹Ý¿µ] SVG ´ëÃ¼ °í±Þ µðÀÚÀÎ ¿ä¼Ò: ¿ìÃø »ó´Ü¿¡ ¼ö³õ¾ÆÁø ¹ÝÅõ¸í °Å´ë ¼¼¸®ÇÁ Ä«µå ³Ñ¹ö¸µ */
.card-index-design {
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 4rem;
	font-weight: 900;
	font-family: 'Montserrat', 'Arial Black', sans-serif;
	color: rgba(0, 45, 90, 0.045); /* °¡µ¶¼º¿¡ ÁöÀå ¾ø´Â ¿ì¾ÆÇÑ ±Ø¹Ì¼¼ ±×·¹ÀÌ ¼¨µµ¿ì */
	user-select: none;
	pointer-events: none;
	z-index: 1;
	transition: color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-dept-small:hover .card-index-design {
	color: rgba(255, 0, 0, 0.12); /* È£¹ö ½Ã ´ÜÇ³ ±Ýºû °ñµå ÅæÀ¸·Î ¿ì¾ÆÇÏ°Ô º¯È­ */
	transform: scale(1.15) translateY(-3px);
}

/* Ä«µå ³»ºÎ ÄÜÅÙÃ÷ ¹èÄ¡ */
.card-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.card-english {
	font-size: 1rem; 
	font-weight: 800;
	letter-spacing: -0.5px;
	text-transform: uppercase;
	margin-bottom: 8px;
	color: #494949;
}

.card-title {
	font-size: 1.45rem; 
	font-weight: 800;
	letter-spacing: -0.5px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
	color: #ff6285;
}

.card-divider {
	width: 25px; 
	height: 3px;
	margin-bottom: 20px;
	background-color: #002d5a;
	transition: width 0.3s ease;
}

.card-dept-small:hover .card-divider {
	width: 255px;
}

.card-desc {
	font-size: 0.95rem; 
	line-height: 1.6;
	word-break: keep-all;
	font-weight: 500;
	color: #334155;
	/*min-height: 125px;*/
}

.card-info {
	font-size: 0.85rem; 
	font-weight: 700;
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #e2e8f0; 
	color: #64748b; 
}

.card-link-label {
	font-size: 1rem; /* ±ÛÀÚ Å©±â¸¦ »ìÂ¦ Å°¿ö °¡½Ã¼º °­È­ */
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center; /* ÅØ½ºÆ®¿Í È­»ìÇ¥¸¦ Á¤Áß¾Ó ¹èÄ¡ */
	gap: 6px;
	margin-top: 20px; /* º»¹® Á¤º¸ ¿µ¿ª°ú ½Ã¿øÇÏ°Ô °Å¸® È®º¸ */
	padding: 13px 20px; /* ¸ð¹ÙÀÏ ÅÍÄ¡ ¿µ¿ª±îÁö °í·ÁÇÑ »óÇÏ/ÁÂ¿ì ÆÐµù */
	width: 100%; /* Ä«µåÀÇ °¡·ÎÆøÀ» ½Ã¿øÇÏ°Ô Ã¤¿ì´Â Ç® ¿ÍÀÌµå ¹öÆ°È­ */
	/*background: linear-gradient(135deg, #ffd700 0%, #e6a100 100%);*/
	background: linear-gradient(135deg, #ff3ecb 0%, #e6a100 100%);
	border: 1px solid #ff0000;
	border-radius: 12px; /* Æ®·»µðÇÑ ¶ó¿îµù ÄÚ³Ê */
	color: #000;
	text-align: center;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	/*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);*/
}

.card-dept-small:hover .card-link-label {
	/*color: #e6a100;*/
	/*transform: translateX(4px);*/
	background: linear-gradient(135deg, #ffd700 0%, #ffc53f 100%);
	border-color: #ffd700;
	color: #001735; /* °í´ëºñ ÃÊ°í¸íµµ ºí·çºí·¢ ÅØ½ºÆ® */
	transform: translateY(-2px); /* °¡º±°Ô 2px À§·Î ¶°¿À¸£´Â ÀÔÃ¼ ¸ð¼Ç */
	/*box-shadow: 0 10px 22px rgba(230, 161, 0, 0.3); */
}

/* ========================================================
   3. ÇÏ´Ü GNB ´ÜÃà ¸µÅ© ¹Ù ¹× ÇªÅÍ 
   ======================================================== */
.quick-nav-bar {
	width: 100%;
	background: rgba(0, 0, 0, 0.9);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 30px 0;
	animation: fadeInUp 1s ease-out 0.8s both;
}

.quick-nav-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.quick-links {
	display: flex;
	gap: 45px;
}

.quick-link-item {
	color: #cbd5e1;
	text-decoration: none;
	font-size: 1.05rem;
	font-weight: 700;
	transition: color 0.3s ease;
}

.quick-link-item:hover {
	color: #ffd700;
}

.copyright-text {
	font-size: 0.85rem;
	color: #e7e7e7;
	font-weight: 500;
}

/* ¾Ö´Ï¸ÞÀÌ¼Ç ¼±¾ð */
@keyframes fadeInDown {
	from { opacity: 0; transform: translateY(-20px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   ¹ÝÀÀÇü ¸ð¹ÙÀÏ ÃÖÀûÈ­ ·¹ÀÌ¾Æ¿ô
   ======================================================== */
@media (max-width: 1100px) {
	.portal-header-row {
		flex-direction: column; /* ÆÐºí¸´ ±Ô°Ý °¡·Î Á¤·Ä ÇØÁ¦ */
		gap: 20px;
		text-align: center;
	}
	.logo-link {
		align-items: center;
	}
	.headline-group {
		/*text-align: center;*/
		display: none;
	}
	.portal-upper-row {
		grid-template-columns: 1fr; 
		gap: 24px;
	}
	.portal-lower-row {
		grid-template-columns: repeat(2, 1fr); 
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.logo-image {
		height: 85px;
	}
	.headline-group {
		/*text-align: center;*/
		display: none;
	}
	.main-headline {
		font-size: 1.9rem;
	}
	.sub-headline {
		font-size: 1rem;
		letter-spacing: 3px;
	}
	.portal-upper-row, .portal-lower-row {
		grid-template-columns: 1fr; 
		padding: 0 15px;
	}
	.card-admissions {
		padding: 24px 20px;
	}
	.apply-btn-wrapper {
		flex-direction: row; /* ¸ð¹ÙÀÏ ÅÍÄ¡ È®º¸¸¦ À§ÇØ ¹öÆ° ¼öÁ÷ ÀûÃþ */
		gap: 10px;
	}
	.homepage-btn-group {
		flex-direction: column;
		gap: 10px;
	}
	.card-video {
		padding: 20px 15px;
	}
	.card-dept-small {
		min-height: 270px;
		padding: 24px 20px;
	}
	.quick-nav-container {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}
	.quick-links {
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
	}
	.inner-uway {
		font-size: 0.8rem;
		font-weight: 400;
	}
	.inner-jinhak {
		font-size: 0.8rem;
		font-weight: 400;
	}
}