/* ==========================================================================
   1. 기본 초기화 및 배경 디자인
   ========================================================================== */
* { box-sizing: border-box;}
body, html {
	overflow-x: hidden;
	color: #fff;
	background-color: #000;
}
body, html, h1, h2, h3, h4, h5, h6, span, strong, p, div { word-break: keep-all !important;}

/* 성운/우주 느낌의 인트로 배경 설정 */
.intro-wrapper {
	justify-content: center;
	align-items: center;
	position: relative;
	display: flex;
	width: 100%;
	min-height: 100vh;
	padding: 20px;
	overflow: hidden;
	background: url(/assets/images/intro/intro-bg.jpg) no-repeat center center;
	background-size: cover;
}
.intro-wrapper:before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background-image: url(/assets/images/intro/innershadow-bg.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
}
/* 전체 스케일 컨테이너 */
.intro-container {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	z-index: 10;
}
/* 하단 레이어에 배치되는 대형 백그라운드 타이틀 */
.bg-huge-text {
	position: absolute;
	bottom: 0;
	left: 50%;
	max-width: 1600px;
	transform: translateX(-50%);
	font-size: clamp(30px, 20vw, 330px);
	font-weight: 900;
	line-height: 0.75;
	font-family: 'Archivo Narrow', Arial, sans-serif;
	color: rgba(0, 102, 255, 0.25);
	white-space: nowrap;
	pointer-events: none;
	z-index: 1;
	letter-spacing: -6px;
}
/* 상단 헤더 타이틀 */
.intro-header {	text-align: center;}
.intro-header h1 {
	font-size: 86px;
	font-weight: 700;
	letter-spacing: -1px;
	font-family: 'Archivo Narrow', Arial, sans-serif;
}
.intro-header .event-date {
	margin-top: 5px;
	font-size: 30px;
	font-weight: 600;
	color: #e5e7eb;
}
/* ==========================================================================
   2. 메인 3단 레이아웃 (PC 환경)
   ========================================================================== */
.main-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	width: 100%;
	max-width: 1500px;
	margin: 40px 0;
}
.card-zone {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 50%;
	max-width: 320px;
}
/* 카드 기본 스타일 */
.card-box {
	position: relative;
	width: 100%;
	padding: 20px;
	transition: all 0.3s ease-in-out;
	box-sizing: border-box;
	border-radius: 15px;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}
.card-box:before, .card-box:after {
	content: "";
    position: absolute;
}
.card-box:before {
    inset: 0;
    padding: 2px;
    pointer-events: none;
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: 10px;
}
.card-box:after {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    z-index: -2;
	opacity: 0.5;
	transition: all 0.3s ease-in-out;
}
.card-box:hover:after { opacity: 1;}
.card-business:after { 
	background: linear-gradient(135deg, rgba(200, 40, 60, 0.25), rgba(80, 10, 20, 0.4));
	box-shadow:	0 0 24px rgba(255, 50, 50, 0.22), inset 0 0 22px rgba(255, 50, 50, 0.12), 0 10px 30px rgba(0, 0, 0, 0.5);
}
.card-business:before {
	background: 
	radial-gradient(ellipse at top, rgba(255, 70, 70, 0.95) 0%, transparent 70%), 
	radial-gradient(ellipse at bottom, rgba(255, 70, 70, 0.95) 0%, transparent 70%), 
	radial-gradient(ellipse at left, rgba(255, 70, 70, 0.95) 0%, transparent 70%), 
	radial-gradient(ellipse at right, rgba(255, 70, 70, 0.95) 0%, transparent 70%);
}
.card-public:after { 
	background: linear-gradient(135deg, rgba(30, 100, 255, 0.25), rgba(10, 30, 80, 0.4));
	box-shadow: 0 0 24px rgba(50, 130, 255, 0.22), inset 0 0 22px rgba(50, 130, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.5);
}
.card-public:before {
	background:
	radial-gradient(ellipse at top, rgba(70, 150, 255, 0.95) 0%, transparent 70%),
	radial-gradient(ellipse at bottom, rgba(70, 150, 255, 0.95) 0%, transparent 70%),
	radial-gradient(ellipse at left, rgba(70, 150, 255, 0.95) 0%, transparent 70%),
	radial-gradient(ellipse at right, rgba(70, 150, 255, 0.95) 0%, transparent 70%);
}
.card-box:hover { 
	/*background: rgba(0, 0, 0, 0.6);
	border-color: rgba(255, 255, 255, .8);*/
	transform: translateY(-5px);
}
.card-header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 80px;
	margin-bottom: 2px;
	padding: 0 5px 15px;
	text-align: center;
	transition: background 0.3s ease;
	color: #fff;
	border-radius: 10px 10px 0 0;
	/*box-shadow: inset 0 2px 4px rgba(255,255,255,.5);*/
}

/* 기본 컬러 그라데이션 */
.btn-business { 
	background: #DF1808;
	background: linear-gradient(0deg, rgba(223, 24, 8, 1) 0%, rgba(223, 24, 8, 1) 40%, rgba(255, 97, 60, 1) 100%);
}
.btn-public { 
	background: #0066ff;
	background: linear-gradient(0deg, rgba(0, 102, 255, 1) 0%, rgba(0, 102, 255, 1) 40%, rgba(71, 176, 255, 1) 100%);
}

/* 두 번째 시안: 마우스오버 시 밝아지는 하이라이트 효과 */
.card-box:hover .btn-business {
}
.card-box:hover .btn-public {}
.card-header h2 { 
	margin-bottom: 3px;
	font-size: 34px;
	font-weight: 800;
}
.card-header p {  
	font-size: 16px;
	font-weight: 400;
	opacity: 0.9;
}

/* 언어 선택 바 */
.lang-selector {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2px;
	overflow: hidden;
	border-radius: 10px;
}
.card-business .lang-selector { border: 1px solid rgba(255,170,170,.5);}
.card-public .lang-selector { border: 1px solid rgba(100,150,255,.5);}
.lang-btn {
	position: relative;	
	width: calc(50% - 1px);
	min-height: 40px;
}
.lang-btn > span, .lang-btn > strong {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	transition: all 0.2s ease-in-out;
}
.lang-btn > strong {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 6px 10px;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
	z-index: 1;
	color: rgba(255,255,255,0.8);
}
.lang-btn > strong:hover { color: rgba(255,255,255,1);}
.lang-btn > span {
	z-index: 0;
	opacity: 0.4;
	background: #d6d6d6;
	background: linear-gradient(0deg,rgba(214, 214, 214, 1) 0%, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 1) 100%);
}
.lang-btn .lang-btn:hover strong { color: #c90f00;}
.card-business .lang-btn > span { 
	background: #DF1808;
	background: linear-gradient(0deg, rgba(223, 24, 8, 1) 0%, rgba(223, 24, 8, 1) 40%, rgba(255, 97, 60, 1) 100%);
}
.card-public .lang-btn > span { 
	background: #0066ff;
	background: linear-gradient(0deg, rgba(0, 102, 255, 1) 0%, rgba(0, 102, 255, 1) 40%, rgba(71, 176, 255, 1) 100%);
}
/* 두 번째 시안: 마우스오버 및 선택 시 흰색 반전 효과 */
.lang-btn:hover span { opacity: 1;}
.zone-date {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	min-height: 40px;
	font-size: 20px;
	font-weight: 500;
	color: #ffffff;
}

/* ==========================================================================
   3. 중앙 태극 지구성 3D 회전 + 상하 무빙 효과
   ========================================================================== */
.globe-zone {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 75%;
	max-width: 450px;
}
/* 상하 부유 무빙 애니메이션 */
.globe-animation-container { 
	width: 100%;
	animation: floatingGlobe 4s ease-in-out infinite;
}
/* 입체 구체 레이아웃 */
.sphere-globe {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	position: relative;
	overflow: hidden;
}
@keyframes floatingGlobe {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-15px); }
	100% { transform: translateY(0px); }
}

/* ==========================================================================
   4. 카운트다운 영역
   ========================================================================== */
.countdown-section {
	display: flex;
	justify-content: center;
}
.countdown-timer {
	display: flex;
	align-items: center;
	gap: 15px;
}
.time-block {
	text-align: center;
	min-width: 70px;
}
.time-block span {
	font-size: 60px;
	font-weight: 700;
	font-family: 'Archivo Narrow', Arial, sans-serif;
}
.time-block p {
	font-size: 15px;
	font-weight: 500;
	margin-top: 2px;
	color: rgba(255,255,255,.7);
}
.time-divider {
	font-size: 40px;
	font-weight: 900;
	padding-bottom: 20px;
}

/* SNS 백그라운드 아이콘 스프라이트용 더미 정의 */
.ico-ig { background: rgba(255,255,255,0.15) url('ico_ig.png') no-repeat center; }
.ico-fb { background: rgba(255,255,255,0.15) url('ico_fb.png') no-repeat center; }
.ico-ln { background: rgba(255,255,255,0.15) url('ico_ln.png') no-repeat center; }
.ico-yt { background: rgba(255,255,255,0.15) url('ico_yt.png') no-repeat center; }
.ico-bg { background: rgba(255,255,255,0.15) url('ico_bg.png') no-repeat center; }
.ico-more { background: rgba(255,255,255,0.15) url('ico_more.png') no-repeat center; }

/* 위로 뜨는 타겟 링크 레이어 팝업 */
.sns-toggle-container {	position: relative;}
.sns-layer-popup:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 30px;
	display: block;
	width: 12px;
	height: 12px;
	z-index: ;
}
.sns-layer-popup {
	display: none; /* jQuery 서서히 슬라이딩 토글 제어 */
	position: absolute;
	bottom: 45px;
	right: -20px;
	width: 90px;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}
.layer-link {
	display: block;
	text-align: center;
	padding: 8px;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
	transition: all 0.2s ease-in-out;
	border-radius: 4px;
}
.layer-link.text-biz { color: #e11d48; border-bottom: 1px solid #aaa;}
.layer-link.text-pub { color: #2563eb; }
.layer-link:hover { background-color: #f3f4f6;}

/* ==========================================================================
   6. 세 번째 시안 미디어쿼리 (모바일 환경 분기점)
   ========================================================================== */
@media (max-width: 1600px) {
	.intro-header h1 { font-size: 70px;}
	.intro-header .event-date { font-size: 24px;}
	.main-content { margin: 30px 0;}
	.globe-zone { max-width: 380px;}
}   
@media (max-width: 1280px) {
	.intro-header h1 { font-size: 60px;}
	.intro-header .event-date { font-size: 20px;}
	
	.main-content { max-width: 1024px;}
	.globe-zone { max-width: 350px;}
	.card-box { padding: 10px 10px 15px;}
	.card-zone { max-width: 240px;}
	.card-header { min-height: 60px; padding-bottom: 7px;}
	.card-header h2 { font-size: 24px;}
	.card-header p { font-size: 12px; letter-spacing: -0.3px;}
	.lang-selector { border-radius: 8px;}
	.lang-btn { min-height: 30px;}
	.lang-btn > strong, .zone-date { font-size: 16px;}
	.zone-date { min-height: 30px;}
	
	.countdown-timer { gap: 10px;}
	.time-block span { font-size: 40px;}
	.time-block { min-width: 60px;}
	.time-divider { font-size: 30px;}
	.time-block p { font-size: 12px;}
	
}

@media (max-width: 960px) {
	.main-content { 
		gap: 20px 14px;
		max-width: 512px;
		margin: 30px 0 20px;
		justify-content: center;
	}
	.intro-wrapper { background-size: cover;}
	.globe-zone { order: -1; /* 지구 3D 모션이 최상단 카드로 위치 교체 */}
	.card-zone { width: calc(50% - 7px);}

}

@media (max-width: 768px) {
	.intro-header h1 { font-size: 42px; letter-spacing: -0.5px;}
	.intro-header .event-date { font-size: 16px;}
	.globe-zone { width: 70%; max-width: 360px;}
	.card-box { max-width: 280px;}
	.bg-huge-text { letter-spacing: -2px;}
	.intro-footer-wrap {
		flex-direction: column-reverse;
		gap: 15px;
		padding-top: 20px;
		text-align: center;
	}
	.sns-layer-popup {
		right: 50%;
		transform: translateX(50%);
	}
	.lang-btn > strong, .zone-date {}
	.card-header h2 { font-size: 22px;}
	.zone-date { font-size: 14px;}
	.time-block { min-width: auto;}
	.time-block span { font-size: 32px;}
	.time-divider { font-size: 22px;}
	.time-block p, .copyright { font-size: 11px;}
}