/* PUB:SECTION-EARN Styles - 새로운 디자인 */

.pub-section-earn {
	position: relative;
	padding: 100px 20px !important;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
	overflow: hidden;
}

.pub-section-earn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: 
		radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

.pub-earn__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
	color: #ffffff;
}

/* Title */
.pub-earn__title {
	margin: 0 0 60px !important;
	padding: 0 !important;
	font-size: 48px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.02em !important;
	color: #ffffff !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
	text-align: center !important;
}

/* Points List */
.pub-earn__points {
	list-style: none !important;
	margin: 0 0 60px !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 30px !important;
	max-width: 900px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.pub-earn__point {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	gap: 25px !important;
	padding: 35px 30px !important;
	background: rgba(255, 255, 255, 0.05) !important;
	backdrop-filter: blur(20px) !important;
	border-radius: 0 !important;
	border: 2px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
	text-align: left !important;
	clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px)) !important;
}

.pub-earn__point:hover {
	transform: translateX(10px) !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(251, 191, 36, 0.4) !important;
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5),
				0 0 40px rgba(251, 191, 36, 0.2) !important;
}

/* Step Badge */
.pub-earn__point-badge {
	position: absolute !important;
	top: -12px !important;
	left: 20px !important;
	padding: 6px 16px !important;
	background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
	color: #0f172a !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	letter-spacing: 0.05em !important;
	border-radius: 0 !important;
	clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)) !important;
	box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4) !important;
	z-index: 3 !important;
}

/* Point Icon */
.pub-earn__point-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 80px !important;
	height: 80px !important;
	background: rgba(255, 255, 255, 0.1) !important;
	border-radius: 0 !important;
	clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px) !important;
	border: 2px solid rgba(255, 255, 255, 0.2) !important;
	flex-shrink: 0 !important;
	position: relative !important;
	z-index: 2 !important;
	transition: all 0.3s ease !important;
}

.pub-earn__point-icon::after {
	content: '' !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 36px !important;
	height: 36px !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;
}

/* Trial Icon */
.pub-earn__point-icon--trial::after {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 1v22M5 8l7-7 7 7'/></svg>") !important;
}

/* Care Icon */
.pub-earn__point-icon--care::after {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-6-3.3-9-7.5C1.5 11 2 8 4 7c2-1 4 0 5 2 1-2 3-3 5-2 2 .9 2.5 4 1 6.5C18 17.7 12 21 12 21Z'/></svg>") !important;
}

/* QR Icon */
.pub-earn__point-icon--qr::after {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3z'/><path d='M17 13h4v4M17 21v-4h-4'/></svg>") !important;
}

.pub-earn__point:hover .pub-earn__point-icon {
	background: rgba(255, 255, 255, 0.15) !important;
	border-color: rgba(251, 191, 36, 0.5) !important;
	transform: scale(1.05) !important;
}

/* Point Content Container */
.pub-earn__point-content {
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	flex: 1 !important;
}

/* Point Title */
.pub-earn__point-title {
	display: block !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	color: #ffffff !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Point Description */
.pub-earn__point-desc {
	display: block !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.7 !important;
	color: rgba(255, 255, 255, 0.85) !important;
	margin: 0 !important;
	padding: 0 !important;
}

.pub-earn__em {
	color: #fbbf24 !important;
	font-weight: 700 !important;
	text-shadow: 0 0 10px rgba(251, 191, 36, 0.5) !important;
}

/* Details Section */
.pub-earn__details {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 24px !important;
	max-width: 1000px !important;
	margin: 0 auto !important;
}

.pub-earn__detail-card {
	padding: 30px 25px !important;
	background: rgba(255, 255, 255, 0.04) !important;
	backdrop-filter: blur(20px) !important;
	border-radius: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
	clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px)) !important;
	transition: all 0.4s ease !important;
	text-align: left !important;
}

.pub-earn__detail-card:hover {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(251, 191, 36, 0.3) !important;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
	transform: translateY(-5px) !important;
}

.pub-earn__detail-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #fbbf24 !important;
	margin: 0 0 20px 0 !important;
	padding: 0 0 15px 0 !important;
	border-bottom: 2px solid rgba(251, 191, 36, 0.3) !important;
}

.pub-earn__detail-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
}

.pub-earn__detail-list li {
	font-size: 14px !important;
	line-height: 1.7 !important;
	color: rgba(255, 255, 255, 0.8) !important;
	padding-left: 20px !important;
	position: relative !important;
}

.pub-earn__detail-list li::before {
	content: '▸' !important;
	position: absolute !important;
	left: 0 !important;
	color: #fbbf24 !important;
	font-weight: 700 !important;
}

/* Scroll Animation States */
.pub-earn__title,
.pub-earn__point,
.pub-earn__detail-card {
	opacity: 0 !important;
	transform: translateY(40px) !important;
	transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.pub-earn__title.pub-earn--visible {
	opacity: 1 !important;
	transform: translateY(0) !important;
}

.pub-earn__point--1.pub-earn--visible {
	opacity: 1 !important;
	transform: translateY(0) !important;
	transition-delay: 0.1s !important;
}

.pub-earn__point--2.pub-earn--visible {
	opacity: 1 !important;
	transform: translateY(0) !important;
	transition-delay: 0.2s !important;
}

.pub-earn__point--3.pub-earn--visible {
	opacity: 1 !important;
	transform: translateY(0) !important;
	transition-delay: 0.3s !important;
}

.pub-earn__detail-card--1.pub-earn--visible {
	opacity: 1 !important;
	transform: translateY(0) !important;
	transition-delay: 0.4s !important;
}

.pub-earn__detail-card--2.pub-earn--visible {
	opacity: 1 !important;
	transform: translateY(0) !important;
	transition-delay: 0.5s !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.pub-section-earn {
		padding: 60px 16px !important;
	}

	.pub-earn__title {
		font-size: 32px !important;
		margin-bottom: 40px !important;
	}

	.pub-earn__points {
		gap: 24px !important;
		margin-bottom: 40px !important;
	}

	.pub-earn__point {
		padding: 28px 24px !important;
		gap: 20px !important;
	}

	.pub-earn__point-badge {
		top: -10px !important;
		left: 15px !important;
		padding: 5px 12px !important;
		font-size: 11px !important;
	}

	.pub-earn__point-icon {
		width: 65px !important;
		height: 65px !important;
	}

	.pub-earn__point-icon::after {
		width: 30px !important;
		height: 30px !important;
	}

	.pub-earn__point-title {
		font-size: 19px !important;
	}

	.pub-earn__point-desc {
		font-size: 15px !important;
	}

	.pub-earn__details {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}

	.pub-earn__detail-card {
		padding: 24px 20px !important;
	}
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
	.pub-earn__title {
		font-size: 42px !important;
	}

	.pub-earn__details {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 20px !important;
	}
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	.pub-earn__title,
	.pub-earn__point,
	.pub-earn__detail-card {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}


