/**
 * 땅튜브 푸터 스타일
 *
 * @package DdangTube
 * @version 4.0.0
 */


/* ===================
   1. Footer Container
   =================== */

.ddangtube-footer {
	margin-top: auto;
	background-color: #1c1c1c;
	border-top: 1px solid #303030;
	padding: 1rem 3rem;
}

.footer-container {
	margin: 0 auto;
}


/* ===================
   2. Footer Content & Info
   =================== */

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
}

.footer-info {
	flex: 1;
	min-width: 200px;
}

.footer-site-name {
	font-family: 'Galmuri11', sans-serif;
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #fff;
}

.footer-description {
	font-size: 0.875rem;
	color: #6c757d;
	line-height: 1.6;
}


/* ===================
   3. Footer Logo
   =================== */

.footer-logo {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 0.25rem;
}

.footer-site-name {
	margin-bottom: 0;
}

.footer-logo__image {
	width: auto;
	height: 32px;
	max-width: 100px;
	object-fit: contain;
	border-radius: 50%;
}


/* ===================
   4. Footer Menu
   =================== */

.footer-menu {
	flex-shrink: 0;
}

.footer-menu-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
}

.footer-menu-list li {
	margin: 0;
}

.footer-menu-list a {
	font-size: 0.875rem;
	color: #495057;
	transition: color 0.2s ease;
}

.footer-menu-list a:hover {
	color: #212529;
}


/* ===================
   5. Footer Company Info (숨김)
   =================== */

.footer-company-info {
	display: none;
}


/* ===================
   6. Footer Social
   =================== */

.footer-social {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.footer-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.06);
	color: #6c757d;
	transition: all 0.25s ease;
}

.footer-social__link:hover {
	transform: scale(1.1);
}

.footer-social__link--youtube:hover {
	background-color: rgba(255, 0, 0, 0.15);
	color: #ff0000;
}

.footer-social__link--discord:hover {
	background-color: rgba(88, 101, 242, 0.15);
	color: #5865f2;
}


/* ===================
   7. Footer Badges
   =================== */

.footer-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.4rem 0.75rem;
	background: linear-gradient(160deg, #3a3a42 0%, #2c2c34 40%, #333340 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	position: relative;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* 상단 광택 */
.footer-badge::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
	border-radius: 20px 20px 0 0;
	pointer-events: none;
}

.footer-badge:hover {
	border-color: rgba(255, 255, 255, 0.18);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transform: translateY(-1px);
}

/* 뱃지 아이콘 */
.footer-badge__icon {
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

/* 뱃지 라벨 */
.footer-badge__label {
	font-size: 0.75rem;
	font-weight: 600;
	position: relative;
	z-index: 1;
	white-space: nowrap;
}

/* 뱃지 화살표 */
.footer-badge__arrow {
	flex-shrink: 0;
	position: relative;
	z-index: 1;
	opacity: 0.5;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-badge:hover .footer-badge__arrow {
	opacity: 1;
	transform: translateX(2px);
}

/* --- 멤버십 뱃지 --- */
.footer-badge--membership {
	color: #ff6b6b;
}

.footer-badge--membership .footer-badge__icon {
	color: #ff4444;
}

.footer-badge--membership .footer-badge__label {
	background: linear-gradient(135deg, #e0e0e0, #ffffff, #c0c0c0);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.footer-badge--membership:hover {
	border-color: rgba(255, 68, 68, 0.25);
}

/* --- 패스트웹 뱃지 --- */
.footer-badge--fastweb .footer-badge__label {
	font-size: 0.65rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.5);
}

.footer-badge__fw-logo {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
	position: relative;
	z-index: 1;
}

.footer-badge__fw-fast {
	color: #ffffff;
}

.footer-badge__fw-web {
	color: #00e5ff;
}

.footer-badge--fastweb:hover {
	border-color: rgba(0, 229, 255, 0.2);
}

.footer-badge--fastweb:hover .footer-badge__fw-web {
	text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}


/* ===================
   8. Footer Bottom
   =================== */

.footer-bottom {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #2e2e2e;
}

.footer-copyright {
	text-align: center;
}

.footer-copyright p {
	font-size: 0.8125rem;
	color: #6c757d;
	margin: 0;
}


/* ===================
   9. Responsive
   =================== */

@media (max-width: 768px) {
	.ddangtube-footer {
		padding: 2.5rem 1.5rem 1rem;
	}

	.footer-content {
		flex-direction: column;
		gap: 1rem;
	}

	.footer-info {
		text-align: center;
	}

	.footer-logo {
		justify-content: center;
	}

	.footer-menu-list {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 1rem;
	}

	.footer-social {
		flex-wrap: wrap;
		justify-content: center;
	}

	.footer-social__link {
		width: 32px;
		height: 32px;
	}
}

@media (max-width: 480px) {
	.footer-badge {
		padding: 0.35rem 0.625rem;
	}

	.footer-badge__label {
		font-size: 0.7rem;
	}

	.footer-badge__fw-logo {
		font-size: 0.7rem;
	}
}
