@import url('../fonts/pretendard.css');

:root {
	--color-black: #131313;
	--color-hotred: #ff002e;
	--color-purple: #D9BFF0;
	--color-orange: #F88C08;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
	font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
	word-break: keep-all;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* box-sizing */
*,
*::before,
*::after {
	box-sizing: border-box;
}

a {
	color: #333;
}
a,
a:visited,
a:active,
a:focus,
a:hover {
	text-decoration: unset;
}

button,
input,
select,
textarea {
	background: none;
	outline: none;
	box-shadow: none;
}

input[type="radio"],
input[type="checkbox"] {
	transform: scale(1.5);
	margin-right: 0.25rem;
}

input[type="checkbox"] {
	vertical-align: middle;
}

img,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

html,
body {
	font-size: 16px;
}

/*
 * [보류: 콘텐츠 리뉴얼, 2026-11-18] 이어서 할 때 아래 주석을 풀고, 위 16px 규칙과
 * 640px 이하 미디어쿼리 안의 html, body { font-size: 10px; }를 지운다.
 *
 * 목표: 사이트 전체 루트를 1rem = 10px로 통일하고(지금은 PC 16px·모바일 10px라
 *       같은 rem이 PC에서 1.6배로 보임), 크기는 모두 rem으로만 쓴다(px 직접 지정 금지).
 * 루트 값: 62.5%(브라우저 기본 16px의 62.5% = 10px, 사용자의 브라우저 기본 글꼴 설정을 따름).
 * 적용 시: PC 화면이 모바일과 같은 크기로 작아지므로 주요 화면을 PC로 확인하고,
 *          AGENTS.md 저장소 전용 규칙에 "루트 글자 크기와 기기별 분기는 이 파일 한 곳" 한 줄을 넣는다.
 *
 * 이후 순서:
 *   1. 새 콘텐츠 공통 토큰 CSS(전부 rem)
 *      글자 1.2/1.4/1.6/1.8/2.2/3/6.4rem, 줄간격 1.35/1.7, 굵기 400/700/900,
 *      여백 .4/.8/1.2/1.6/2.4/3.2/4.8rem, 모서리 .4/.6/.8rem, 선 .1/.2rem, 버튼 높이 4.4/5.4rem,
 *      색 ink #0F1B2D·mute #55657A·blue #1F6BFF·tint #E4EDFF·kakao #FEE500·line #D5DBE3·glass rgba(255,255,255,.62)·sky #D7ECFF
 *   2. aws-admin scripts/agent-check.php에 새 콘텐츠 CSS·Blade px 금지 검사
 *   3. 블록 9종 Blade 컴포넌트: 헤드라인, 영상+버튼(영상 더보기·카카오 공유), 아이콘 목록, 숫자 강조,
 *      표, 단계, 상품 가격, 신청·교환 카드(2분할 포함), 인사말
 *   4. 시범 전환 everyday·coin_world → 5. 묶음별 전환(해외사업 국가별 13개 등)
 * 디자인: 에디토리얼 구조 + 하늘색 글래스 배경, 제목·영업 강조·숫자는 Noto Serif KR 900,
 *         버튼은 각진 6px + 오른쪽 사각 아이콘(모든 버튼에 표식), 라운드는 .4/.6/.8rem만.
 *         시안: https://claude.ai/artifact/KJ2sSQmgaDmhsWAKHJB1Tk
 *         크기 단계: https://claude.ai/artifact/V56C82krSudCmgVdPQ8KFq
 *
html {
	font-size: 62.5%;
}

body {
	font-size: 1rem;
}

@media screen and (min-width: 40.0625em) {
	html {
		font-size: 62.5%;
	}
}

@media screen and (max-width: 40em) {
	html {
		font-size: 62.5%;
	}
}
*/

.container {
	max-width: 640px;
	margin: 0 auto;
}

.common-share-btn {}

.common-share-btn a {}

.common-share-btn a button {}

.common-share-btn-black.yellow {
	background-color: #F9E000;
	color: #371C1D;
	font-weight: 500;
	display: flex;
	align-items: center;
}
.common-share-btn-black.yellow:before {
	content: "";
	width: 1.5rem;
	height: 1.5rem;
	background-image: url('../img/main/icon-iq-1-2025092501.png');
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: 100%;
	margin-right: 0.35rem;
}
.common-share-btn-black.blue {
	background-color: #1780F9;
	color: #FFF;
	font-weight: 500;	
	display: flex;
	align-items: center;
}
.common-share-btn-black.blue:before {
	content: "";
	width: 1.5rem;
	height: 1.5rem;
	background-image: url('../img/main/icon-iq-2-2025092502.png');
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: 100%;
	margin-right: 0.35rem;
}


.common-share-btn-black {
	padding: 0.5rem 1rem;
	border: 1px solid #DDD;
	background-color: #000;
	color: #fff;
	border-radius: 8px;
}
.common-share-btn-black:active,
.common-share-btn-black:visited,
.common-share-btn-black:hover {
	color: #fff;
}
.common-share-btn-black.yellow:active,
.common-share-btn-black.yellow:visited,
.common-share-btn-black.yellow:hover {
	color: #371C1D;
}

.fixed-all-menu-container {
	background-color: #fff;
	position: fixed;
	z-index: 100;
	max-width: 640px;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	height: 100vh;
	width: 100%;
	display: none;
	box-sizing: border-box;
	padding-bottom: 7.15rem;
}

.fixed-all-menu-container .fixed-all-close-btn-wrap {
	width: 100%;
	height: 5.5rem;
	background: rgba(255, 255, 255, 0.22);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	position: absolute;
	z-index: 2;
}

.fixed-all-menu-container .fixed-all-close-btn {
	position: absolute;
	right: 1.25rem;
	top: 1.25rem;
	display: block;
	width: 3rem;
	height: 3rem;
	z-index: 2;
}

.fixed-all-menu-container .fixed-all-close-btn img {
	width: 100%;
}

.fixed-all-menu-container .fixed-all-menu-wrap {
	position: relative;
	z-index: 1;
	height: 100%;
	box-sizing: border-box;
	background-color: #fff;
}

.fixed-all-menu-container .fixed-all-menu-inner {
	padding: 8rem 0.5rem 2.5rem 0.5rem;
	display: flex;
	flex-direction: column;
	overflow: auto;
	height: 100%;
}

.fixed-all-menu-container .fixed-all-item-head-text-top {
	font-size: 2.875rem;
	font-weight: 800;
	color: var(--platform-primary);
	text-align: center;
	text-transform: uppercase;
	word-break: keep-all;
}

.fixed-all-menu-container .widi-platform-subtitle {
	margin-top: 2.5rem;
	text-align: center;
}

.fixed-all-menu-container .widi-platform-subtitle-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	padding: .75rem 1.6rem;
	border-radius: 999rem;
	background:
		linear-gradient(
			135deg,
			rgba(49, 197, 240, .12) 0%,
			rgba(23, 105, 180, .16) 100%
		);
	border: 1px solid rgba(23, 105, 180, .14);
	box-shadow:
		0 .4rem 1.4rem rgba(23, 105, 180, .08),
		inset 0 1px 0 rgba(255,255,255,.85);
	backdrop-filter: blur(.8rem);
	-webkit-backdrop-filter: blur(.8rem);
	color: var(--platform-primary);
	font-size: 1.875rem;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.04em;
}

.fixed-all-menu-container .widi-platform-subtitle-badge-dot {
	width: .7rem;
	height: .7rem;
	border-radius: 50%;
	background: linear-gradient(180deg, #31C5F0 0%, var(--platform-primary) 100%);
	box-shadow: 0 0 .9rem rgba(49, 197, 240, .55);
	flex: 0 0 auto;
}

.fixed-all-menu-container .widi-platform-subtitle-text {
	margin-top: 1.875rem;
	color: #5f6977;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.05em;
	word-break: keep-all;
}

.fixed-all-menu-container .widi-platform-subtitle-text strong {
	color: var(--platform-primary);
	font-weight: 800;
}

@media screen and (max-width: 640px) {
	.fixed-all-menu-container .widi-platform-subtitle-badge {
	}

	.fixed-all-menu-container .widi-platform-subtitle-text {
	}
}

.fixed-all-item-head-text-top::before {
	content: '';
	display: block;
	width: 54px;
	height: 6px;
	margin: 0 auto 18px;
	border-radius: 999px;
	background: linear-gradient(90deg, #31C5F0 0%, var(--platform-primary) 100%);
	box-shadow: 0 4px 14px rgba(23, 105, 180, 0.18);
}

/* fixed-all-menu-item 리뉴얼 전용 */
.fixed-all-menu-container .widi-all-renew-wrap {
	padding: 0 1rem 2.4rem;
	background: #fff;
	font-family: inherit;
}

.fixed-all-menu-container .widi-all-section {
	margin-top: 5rem;
}

.fixed-all-menu-container .widi-all-section:first-child {
	margin-top: 5rem;
}

.fixed-all-menu-container .widi-all-section-title {
	position: relative;
	display: flex;
	align-items: center;
	gap: .45rem;
	margin-bottom: 2.5rem;
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.04em;
	color: #222832;
}

.fixed-all-menu-container .widi-all-section-title:before {
	content: "";
	display: block;
	width: .46rem;
	height: 1.15rem;
	border-radius: 999px;
	background: var(--widi-menu-color, #4FD1B5);
}

.fixed-all-menu-container .widi-all-grid {
	display: grid;
	gap: 1.25rem 1.25rem;
}

.fixed-all-menu-container .widi-all-grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fixed-all-menu-container .widi-all-grid-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	text-decoration: none;
	color: #5b626d;
	-webkit-tap-highlight-color: transparent;
}

.fixed-all-menu-container .widi-section-life {
	--widi-menu-color: #4FD1B5;
	--widi-menu-bg-start: #ecfffa;
	--widi-menu-bg-end: #d7fff3;
}

.fixed-all-menu-container .widi-section-main {
	--widi-menu-color: #F6C453;
	--widi-menu-bg-start: #fff8e7;
	--widi-menu-bg-end: #ffefc2;
}

.fixed-all-menu-container .widi-section-shop {
	--widi-menu-color: #FF8A65;
	--widi-menu-bg-start: #fff1eb;
	--widi-menu-bg-end: #ffd9cb;
}

.fixed-all-menu-container .widi-section-startup {
	--widi-menu-color: #5B8DEF;
	--widi-menu-bg-start: #eef4ff;
	--widi-menu-bg-end: #dce8ff;
}

.fixed-all-menu-container .widi-section-coin {
	--widi-menu-color: #8B7CFF;
	--widi-menu-bg-start: #f3f0ff;
	--widi-menu-bg-end: #e2dcff;
}

.fixed-all-menu-container .widi-section-about {
	--widi-menu-color: #7C8BA1;
	--widi-menu-bg-start: #f2f5f8;
	--widi-menu-bg-end: #e3e8ef;
}

.fixed-all-menu-container .widi-section-welfare {
	--widi-menu-color: #34C38F;
	--widi-menu-bg-start: #eafff5;
	--widi-menu-bg-end: #d4fbe9;
}

.fixed-all-menu-container .widi-all-icon-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 6.5rem;
	height: 6.5rem;
	margin-bottom: 0.875rem;
	border-radius: 1.28rem;
	background:
		linear-gradient(
			145deg,
			var(--widi-menu-bg-start, #ffffff) 0%,
			var(--widi-menu-bg-end, #f6f8fb) 100%
		);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.75),
		0 4px 12px rgba(15,23,42,0.05);
	border: 1px solid rgba(255,255,255,0.7);
	overflow: hidden;
}

.fixed-all-menu-container .widi-all-icon-box img {
	display: block;
	width: 70%;
	height: 70%;
	object-fit: contain;
}

.fixed-all-menu-container .widi-all-grid-link > span:last-child {
	display: block;
	width: 100%;
	min-height: 2.15rem;
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.05em;
	text-align: center;
	word-break: keep-all;
	color: #626a76;
}

.fixed-all-menu-container .widi-all-row-list {
	border-top: 1px solid #f0f2f5;
}

.fixed-all-menu-container .widi-all-row-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	min-height: 4.4rem;
	padding: .72rem 0;
	border-bottom: 1px solid #f0f2f5;
	text-decoration: none;
	color: #343a44;
	-webkit-tap-highlight-color: transparent;
}

.fixed-all-menu-container .widi-all-row-left {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	min-width: 0;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.05em;
	color: #373e49;
}

.fixed-all-menu-container .widi-all-row-left > span:last-child {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fixed-all-menu-container .widi-all-row-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 1rem;
	background:
		linear-gradient(
			145deg,
			var(--widi-menu-bg-start, #ffffff) 0%,
			var(--widi-menu-bg-end, #f6f8fb) 100%
		);

	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.75),
		0 3px 8px rgba(15,23,42,0.04);

	border: 1px solid rgba(255,255,255,0.7);
	overflow: hidden;
}

.fixed-all-menu-container .widi-all-row-icon img {
	display: block;
	width: 70%;
	height: 70%;
	object-fit: contain;
}

.fixed-all-menu-container .widi-all-row-comment {
	flex: 0 0 auto;
	max-width: 8em;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.04em;
	color: #8a929e;
	white-space: nowrap;
}

.fixed-all-menu-container .widi-all-grid-link:active,
.fixed-all-menu-container .widi-all-row-link:active {
	transform: translateY(1px);
	opacity: .82;
}

@media screen and (max-width: 640px) {

	html,
	body {
		font-size: 10px;
	}

	input[type="radio"],
	input[type="checkbox"] {
		transform: scale(1);
	}

	.fixed-all-menu-container {
		padding-bottom: 7.2rem;
	}
	
	.fixed-all-menu-container .fixed-all-menu-inner {
		padding-left: 1rem;
		padding-right: 1rem;
		padding-bottom: 8rem;
	}
}

@media print {
	@page {
		size: A4;
		margin: 0;
	}

	html,
	body {
		margin: 0;
		padding: 0;
	}

	html,
	body {
		font-size: 9px;
	}

	#btn_submit,
#bo_vc_w {
		display: none !important;
	}
}

@media all and (max-width: 360px) {
	.fixed-all-menu-container .widi-all-renew-wrap {
		padding-left: .85rem;
		padding-right: .85rem;
	}

	.fixed-all-menu-container .widi-all-icon-box {

	}

	.fixed-all-menu-container .widi-all-grid-link > span:last-child {
	}

	.fixed-all-menu-container .widi-all-row-left {
	}

	.fixed-all-menu-container .widi-all-row-comment {
	}
}

@keyframes tickerMoveCommon {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-600%);
  }
}
