@charset "utf-8";

/* ============================================================
   mmain10 — 아기자기 귀염뽀짝형
   파스텔 blob 히어로 + bounce 카드 그리드 + pill CTA
   ============================================================ */

/* ============================================================
   공통
   ============================================================ */
.cu-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 60px;
}

.cu-star {
	color: var(--color-primary);
}

.cu-btn {
	display: inline-block;
	padding: 14px 32px;
	background: var(--color-text-main);
	color: var(--color-bg-main);
	border-radius: 100px;
	font-size: clamp(14px, calc(9.5px + 0.85vw), 18px);
	font-weight: 700;
	text-decoration: none;
	transition:
		transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
		box-shadow 0.3s ease;
}

.cu-btn:hover {
	transform: scale(1.06);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	color: var(--color-bg-main);
}

/* 버튼 숨쉬기 pulse */
.cu-hero .cu-btn {
	animation: cuBtnPulse 2.8s ease-in-out infinite;
}

@keyframes cuBtnPulse {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.04);
	}
}

.cu-hero .cu-btn:hover {
	animation: none;
	transform: scale(1.06);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cu-btn-light {
	background: #fff;
	color: #111;
}

.cu-btn-light:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	color: #111;
}

/* ============================================================
   히어로
   ============================================================ */
.cu-hero {
	position: relative;
	min-height: 100vh;
	background: #fffbf5;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.cu-hero-inner {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 120px 40px;
}

.cu-hero-label {
	font-size: clamp(14px, calc(9.5px + 0.85vw), 18px);
	font-weight: 700;
	color: var(--color-text-muted);
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.cu-hero-tit {
	font-size: clamp(32px, calc(16px + 2.8vw), 52px);
	font-weight: 900;
	font-family: var(--font-sub-title);
	color: var(--color-text-main);
	margin-bottom: 20px;
}

.cu-hero-sub {
	font-size: clamp(16px, calc(8px + 1.1vw), 20px);
	color: var(--color-text-muted);
	margin-bottom: 40px;
}

/* 히어로 하단 bounce 화살표 */
.cu-hero-arrow {
	position: absolute;
	bottom: 36px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	animation: cuArrowBounce 1.4s ease-in-out infinite;
}

.cu-hero-arrow span {
	display: block;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--color-text-muted);
	border-bottom: 2px solid var(--color-text-muted);
	transform: rotate(45deg);
	opacity: 0.5;
}

.cu-hero-arrow span:nth-child(2) {
	opacity: 0.3;
	margin-top: -6px;
}

@keyframes cuArrowBounce {
	0%,
	100% {
		transform: translateX(-50%) translateY(0);
	}
	50% {
		transform: translateX(-50%) translateY(8px);
	}
}

/* ✦ 별 hover spin */
.cu-star {
	display: inline-block;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cu-section-label:hover .cu-star,
.cu-hero-label:hover .cu-star,
.cu-cta-label:hover .cu-star {
	transform: rotate(180deg) scale(1.3);
}

/* ============================================================
   blob — 둥실둥실 파스텔 도형
   ============================================================ */
.cu-blob {
	position: absolute;
	border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	pointer-events: none;
	z-index: 1;
}

.cu-blob-1 {
	width: 320px;
	height: 320px;
	background: #ffd6e3;
	top: 8%;
	left: -60px;
	animation: cuBlob1 7s ease-in-out infinite;
}

.cu-blob-2 {
	width: 240px;
	height: 240px;
	background: #d6f0e8;
	top: 15%;
	right: -40px;
	animation: cuBlob2 9s ease-in-out infinite;
}

.cu-blob-3 {
	width: 180px;
	height: 180px;
	background: #fff0c4;
	bottom: 12%;
	left: 8%;
	animation: cuBlob3 8s ease-in-out infinite;
}

.cu-blob-4 {
	width: 140px;
	height: 140px;
	background: #e8d6ff;
	top: 45%;
	left: 20%;
	animation: cuBlob2 10s ease-in-out infinite 2s;
}

.cu-blob-5 {
	width: 110px;
	height: 110px;
	background: #cceeff;
	bottom: 22%;
	right: 12%;
	animation: cuBlob1 6.5s ease-in-out infinite 1s;
}

@keyframes cuBlob1 {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
		border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	}
	50% {
		transform: translateY(-28px) rotate(8deg);
		border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
	}
}

@keyframes cuBlob2 {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
		border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
	}
	50% {
		transform: translateY(-18px) rotate(-6deg);
		border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
	}
}

@keyframes cuBlob3 {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
		border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
	}
	50% {
		transform: translateY(-22px) rotate(10deg);
		border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
	}
}

/* ============================================================
   dot — 작은 장식 점
   ============================================================ */
.cu-dot {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 1;
}

.cu-dot-1 {
	width: 14px;
	height: 14px;
	background: #ffaac5;
	top: 22%;
	left: 18%;
	animation: cuFloat 5s ease-in-out infinite;
}

.cu-dot-2 {
	width: 10px;
	height: 10px;
	background: #a8e6d4;
	top: 40%;
	right: 14%;
	animation: cuFloat 6s ease-in-out infinite 1s;
}

.cu-dot-3 {
	width: 18px;
	height: 18px;
	background: #ffd580;
	bottom: 30%;
	right: 22%;
	animation: cuFloat 7s ease-in-out infinite 0.5s;
}

.cu-dot-4 {
	width: 8px;
	height: 8px;
	background: #c4b5fd;
	bottom: 20%;
	left: 30%;
	animation: cuFloat 5.5s ease-in-out infinite 1.5s;
}

@keyframes cuFloat {
	0%,
	100% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-12px) scale(1.15);
	}
}

/* ============================================================
   기사 섹션
   ============================================================ */
.cu-section {
	padding: 52px 0 72px;
	background: var(--color-bg-main);
}

.cu-section-label {
	font-size: clamp(14px, calc(9.5px + 0.85vw), 18px);
	font-weight: 700;
	color: var(--color-text-muted);
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.cu-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

/* ============================================================
   카드
   ============================================================ */
.cu-card {
	display: block;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	color: var(--color-text-main);
	padding: 8px 8px 0;
	transition:
		transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
		box-shadow 0.3s ease;
}

.cu-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

/* 카드별 파스텔 배경 */
.cu-card:nth-child(6n + 1) {
	background: #ffe8ef;
}
.cu-card:nth-child(6n + 2) {
	background: #fff3cc;
}
.cu-card:nth-child(6n + 3) {
	background: #dff5ef;
}
.cu-card:nth-child(6n + 4) {
	background: #ede8ff;
}
.cu-card:nth-child(6n + 5) {
	background: #ffe5d8;
}
.cu-card:nth-child(6n + 6) {
	background: #ddeeff;
}

/* 이미지 — 카드 안에 쏙 들어간 느낌 */
.cu-card-img {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 12px;
}

.cu-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.cu-card:hover .cu-card-img img {
	transform: scale(1.05);
}

/* 번호 배지 */
.cu-card-num {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 100px;
	padding: 2px 10px;
	font-size: clamp(14px, calc(9.5px + 0.85vw), 18px);
	font-weight: 800;
	color: #333;
}

.cu-card-body {
	padding: 8px 6px 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* pill 태그 */
.cu-tag {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 100px;
	background: rgba(0, 0, 0, 0.08);
	font-size: clamp(14px, calc(9.5px + 0.85vw), 18px);
	font-weight: 700;
	align-self: flex-start;
}

.cu-card-tit {
	font-size: clamp(18px, calc(10px + 1.1vw), 22px);
	font-weight: 800;
	font-family: var(--font-sub-title);
}

.cu-card-meta {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 100px;
	background: rgba(0, 0, 0, 0.06);
	font-size: clamp(14px, calc(9.5px + 0.85vw), 18px);
	color: var(--color-text-muted);
	font-weight: 500;
	align-self: flex-start;
}

/* ============================================================
   구독 CTA
   ============================================================ */
.cu-cta-section {
	padding: 60px 0 100px;
	background: var(--color-bg-main);
}

.cu-cta-box {
	position: relative;
	background: #222;
	border-radius: 32px;
	padding: 80px 60px;
	text-align: center;
	overflow: hidden;
}

.cu-blob-cta {
	position: absolute;
	width: 280px;
	height: 280px;
	background: rgba(255, 200, 220, 0.12);
	border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	top: -80px;
	right: -60px;
	animation: cuBlob1 8s ease-in-out infinite;
}

.cu-dot-cta-1 {
	position: absolute;
	width: 12px;
	height: 12px;
	background: rgba(255, 200, 150, 0.4);
	border-radius: 50%;
	top: 30%;
	left: 8%;
	animation: cuFloat 5s ease-in-out infinite;
}

.cu-dot-cta-2 {
	position: absolute;
	width: 8px;
	height: 8px;
	background: rgba(180, 220, 255, 0.4);
	border-radius: 50%;
	bottom: 25%;
	right: 10%;
	animation: cuFloat 6s ease-in-out infinite 1s;
}

.cu-cta-label {
	font-size: clamp(14px, calc(9.5px + 0.85vw), 18px);
	font-weight: 700;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	z-index: 2;
}

.cu-cta-tit {
	font-size: clamp(26px, calc(14px + 2vw), 40px);
	font-weight: 900;
	font-family: var(--font-sub-title);
	color: #fff;
	margin-bottom: 16px;
	position: relative;
	z-index: 2;
}

.cu-cta-sub {
	font-size: clamp(16px, calc(8px + 1vw), 20px);
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 36px;
	position: relative;
	z-index: 2;
}

.cu-cta-box .cu-btn {
	position: relative;
	z-index: 2;
}

/* ============================================================
   다크모드
   ============================================================ */
body.dark .cu-hero {
	background: #1a1814;
}

body.dark .cu-blob-1 {
	background: rgba(255, 150, 180, 0.15);
}
body.dark .cu-blob-2 {
	background: rgba(100, 200, 160, 0.15);
}
body.dark .cu-blob-3 {
	background: rgba(255, 210, 100, 0.12);
}
body.dark .cu-blob-4 {
	background: rgba(180, 140, 255, 0.12);
}
body.dark .cu-blob-5 {
	background: rgba(100, 180, 255, 0.12);
}

body.dark .cu-dot-1 {
	background: rgba(255, 120, 160, 0.4);
}
body.dark .cu-dot-2 {
	background: rgba(80, 200, 160, 0.4);
}
body.dark .cu-dot-3 {
	background: rgba(255, 200, 80, 0.4);
}
body.dark .cu-dot-4 {
	background: rgba(160, 140, 240, 0.4);
}

body.dark .cu-card:nth-child(6n + 1) {
	background: #3a1f28;
}
body.dark .cu-card:nth-child(6n + 2) {
	background: #38300f;
}
body.dark .cu-card:nth-child(6n + 3) {
	background: #143028;
}
body.dark .cu-card:nth-child(6n + 4) {
	background: #241e3a;
}
body.dark .cu-card:nth-child(6n + 5) {
	background: #38201a;
}
body.dark .cu-card:nth-child(6n + 6) {
	background: #152435;
}

body.dark .cu-tag,
body.dark .cu-card-meta {
	background: rgba(255, 255, 255, 0.1);
}

body.dark .cu-card-num {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

body.dark .cu-cta-box {
	background: #111;
}

body.dark .cu-btn-light {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

body.dark .cu-btn-light:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   반응형 — 999px (태블릿)
   ============================================================ */
@media (max-width: 999px) {
	.cu-wrap {
		padding: 0 40px;
	}

	.cu-hero-inner {
		padding: 110px 40px;
	}

	.cu-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cu-cta-box {
		padding: 60px 40px;
	}
}

/* ============================================================
   반응형 — 768px (모바일)
   ============================================================ */
@media (max-width: 768px) {
	.cu-wrap {
		padding: 0 24px;
	}

	.cu-hero-inner {
		padding: 100px 24px 80px;
	}

	.cu-section {
		padding: 60px 0 80px;
	}

	.cu-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.cu-cta-section {
		padding: 40px 0 80px;
	}

	.cu-cta-box {
		padding: 48px 28px;
		border-radius: 24px;
	}

	.cu-section {
		padding: 40px 0 60px;
	}

	.cu-blob-1 { width: 200px; height: 200px; }
	.cu-blob-2 { width: 160px; height: 160px; }
	.cu-blob-3 { width: 120px; height: 120px; }
	.cu-blob-4 { width: 90px;  height: 90px;  }
	.cu-blob-5 { width: 70px;  height: 70px;  }
}

/* ============================================================
   반응형 — 499px (소형 폰)
   ============================================================ */
@media (max-width: 499px) {
	.cu-wrap {
		padding: 0 20px;
	}

	.cu-card-body {
		padding: 8px 6px 10px;
	}

	.cu-cta-box {
		padding: 40px 20px;
		border-radius: 20px;
	}
}
