/* FaceFirst Common Styles */

/* 네비게이션 스타일 (모든 페이지 공통) */
.navbar {
	background: #ffffff;
	border-bottom: 1px solid #dbdbdb;
	position: sticky;
	top: 0;
	z-index: 1000;
	height: 54px;
}

.navbar-content {
	max-width: 975px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	padding: 0 20px;
}

.logo {
	font-size: 24px;
	font-weight: 600;
	background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-decoration: none;
	font-family: 'Dancing Script', cursive;
}

.nav-menu {
	display: flex;
	gap: 22px;
	align-items: center;
}

.nav-link {
	color: #262626;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	position: relative;
	padding: 5px 0;
	transition: all 0.2s ease;
}

.nav-link:hover {
	color: #8134af;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(45deg, #f58529, #dd2a7b);
	transition: width 0.3s ease;
}

.nav-link:hover::after {
	width: 100%;
}

.nav-link.active {
	color: #8134af;
	font-weight: 600;
}

.nav-link.active::after {
	width: 100%;
}

/* 티어 배지 */
.tier-badge {
	background: #ffffff;
	border: 1px solid #dbdbdb;
	color: #262626;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.tier-badge:hover {
	border-color: #8134af;
	color: #8134af;
}

.tier-free {
	border-color: #dbdbdb;
	color: #8e8e8e;
}

.tier-premium {
	background: linear-gradient(45deg, #f58529, #dd2a7b);
	color: white;
	border: none;
}

.tier-premium:hover {
	opacity: 0.9;
}

.tier-business {
	background: linear-gradient(45deg, #515bd4, #8134af);
	color: white;
	border: none;
}

.tier-business:hover {
	opacity: 0.9;
}

/* 푸터 스타일 (모든 페이지 공통) */
.footer {
	margin-top: 60px;
	padding: 40px 20px;
	background: #ffffff;
	border-top: 1px solid #dbdbdb;
}

.footer-content {
	max-width: 975px;
	margin: 0 auto;
	text-align: center;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.footer-link {
	color: #8e8e8e;
	text-decoration: none;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.2s ease;
}

.footer-link:hover {
	color: #262626;
}

.footer-copyright {
	color: #8e8e8e;
	font-size: 12px;
	margin-top: 20px;
}

/* 토스트 메시지 (모든 페이지 공통) */
.toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: #262626;
	color: white;
	padding: 12px 20px;
	border-radius: 4px;
	font-size: 14px;
	z-index: 10001;
	display: none;
	animation: slideUp 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes slideUp {
	from {
		bottom: -100px;
		opacity: 0;
	}
	to {
		bottom: 30px;
		opacity: 1;
	}
}

/* 그라디언트 텍스트 유틸리티 */
.gradient-text {
	background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* 모바일 메뉴 토글 버튼 */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	color: #262626;
	cursor: pointer;
	padding: 4px;
	transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
	color: #8134af;
}

/* 모바일 메뉴 */
.mobile-menu {
	position: fixed;
	top: 54px;
	left: 0;
	right: 0;
	background: white;
	border-bottom: 1px solid #dbdbdb;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	z-index: 999;
	display: none;
}

.mobile-menu-items {
	padding: 16px;
}

.mobile-menu-item {
	display: block;
	padding: 12px 16px;
	color: #262626;
	text-decoration: none;
	font-size: 14px;
	border-radius: 8px;
	transition: all 0.2s ease;
	margin-bottom: 4px;
}

.mobile-menu-item:hover {
	background: #f0f0f0;
	color: #8134af;
}

.mobile-menu-item.active {
	background: linear-gradient(45deg, rgba(245, 133, 41, 0.1), rgba(221, 42, 123, 0.1));
	color: #8134af;
	font-weight: 600;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
	.navbar {
		height: 44px;
	}

	.navbar-content {
		padding: 0 16px;
	}

	.logo {
		font-size: 20px;
	}

	.nav-menu {
		gap: 16px;
	}

	.nav-link {
		font-size: 13px;
	}

	.tier-badge {
		padding: 4px 8px;
		font-size: 11px;
	}

	.footer {
		margin-top: 40px;
		padding: 30px 16px;
	}

	.footer-links {
		flex-direction: column;
		gap: 12px;
	}
}

@media (max-width: 480px) {
	.nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: white;
		border-top: 1px solid #dbdbdb;
		border-bottom: 1px solid #dbdbdb;
		flex-direction: column;
		padding: 16px;
		gap: 16px;
	}

	.nav-menu.active {
		display: flex;
	}

	.mobile-menu-toggle {
		display: block;
	}
}

/* ==========================================
   공유 버튼 스타일 (심플 버전)
   ========================================== */
.share-buttons-container {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 20px;
	padding: 0 20px;
}

.simple-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	background: white;
	border: 2px solid #dbdbdb;
	border-radius: 24px;
	font-size: 14px;
	font-weight: 600;
	color: #262626;
	cursor: pointer;
	transition: all 0.3s ease;
	flex: 1;
	max-width: 180px;
}

.simple-share-btn:hover {
	background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
	color: white;
	border-color: transparent;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(221, 42, 123, 0.3);
}

.simple-share-btn .share-icon {
	font-size: 16px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
	.share-buttons-container {
		padding: 0 16px;
	}
	
	.simple-share-btn {
		padding: 10px 16px;
		font-size: 13px;
	}
}
