/* ==========================================================================
   Footer — ported from betjordan-casino.com
   ========================================================================== */

.footer {
	background: #0a0a0e;
	padding: 56px 5% 32px;
	color: #e2e2e3;
	font-family: var(--bj-font);
}

/* --- Top row: logo + language ---------------------------------------- */
.footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.footer-logo {
	font-size: 24px;
	font-weight: 900;
	color: #ffffff;
	letter-spacing: -0.01em;
}

.footer-logo img {
	height: 50px;
	width: auto;
}

.footer-lang {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #ffffff;
	cursor: pointer;
	user-select: none;
}

.footer-lang .flag-icon {
	width: 20px;
	height: auto;
	display: block;
	border-radius: 2px;
}

.footer-lang .chevron {
	width: 10px;
	height: 6px;
}

/* --- Divider --------------------------------------------------------- */
.footer-divider {
	margin: 28px 0;
	height: 1px;
	background: rgba(226, 226, 227, 0.12);
	border: none;
}

/* --- Link columns ---------------------------------------------------- */
.footer-links {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.footer-col-heading {
	font-size: 14px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.footer-col a {
	font-size: 14px;
	color: #a2a2a4;
	text-decoration: none;
	transition: color var(--bj-transition);
}

.footer-col a:hover {
	color: #cef134;
}

/* --- Widget areas ---------------------------------------------------- */
.footer-widget {
	margin: 0;
}

.footer-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.footer-widget li {
	margin: 0;
}

.footer-widget a {
	font-size: 14px;
	color: #a2a2a4;
	text-decoration: none;
	transition: color var(--bj-transition);
}

.footer-widget a:hover {
	color: #cef134;
}

.footer-col--support .footer-widget {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	height: 100%;
}

/* --- Support column -------------------------------------------------- */
.footer-col--support {
	justify-content: space-between;
}

.footer-support {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #e2e2e3;
}

.footer-support .tg-link {
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.footer-support .tg-link:hover {
	text-decoration: underline;
}

.footer-age {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #a2a2a4;
	margin-top: 14px;
}

.age-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1.5px solid #ffffff;
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
}

/* --- Payments row ---------------------------------------------------- */
.footer-payments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 32px;
}

.payment-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #e2e2e3;
	font-size: 14px;
	font-weight: 600;
	opacity: 0.85;
	transition: opacity var(--bj-transition);
}

.payment-item:hover {
	opacity: 1;
}

.payment-svg {
	height: 22px;
	width: auto;
}

.payment-svg--mc {
	height: 26px;
}

.payment-item--text {
	text-transform: lowercase;
}

.payment-item--text .bitcoin-icon {
	color: #f7931a;
	font-size: 16px;
	font-weight: 700;
}

/* --- Legal block ----------------------------------------------------- */
.footer-legal {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

/* When widgets are active, the widget wrapper takes over the flex layout */
.footer-legal .footer-widget {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
}

.footer-legal .footer-widget img {
	flex-shrink: 0;
	width: 15px;
	height: auto;
}

.footer-legal .footer-widget .textwidget,
.footer-legal .footer-widget .legal-text {
	flex: 1;
	font-size: 11.5px;
	line-height: 1.6;
	color: #a2a2a4;
}

.footer-legal .footer-widget p {
	margin: 0 0 12px;
	font-size: 11.5px;
	line-height: 1.6;
	color: #a2a2a4;
}

.footer-legal .footer-widget p:last-child {
	margin-bottom: 0;
}

.gcb-badge {
	flex-shrink: 0;
	width: 15px;
	height: auto;
}

.legal-text {
	flex: 1;
	font-size: 11.5px;
	line-height: 1.6;
	color: #a2a2a4;
}

.legal-text p {
	margin: 0 0 12px;
}

.legal-text p:last-child {
	margin-bottom: 0;
}

/* --- Copyright ------------------------------------------------------- */
.footer-copy {
	max-width: 1200px;
	margin: 0 auto;
	font-size: 12.5px;
	color: #a2a2a4;
	text-align: center;
}

.footer-copy .footer-widget {
	font-size: 12.5px;
	color: #a2a2a4;
	text-align: center;
}

.footer-copy .footer-widget p {
	margin: 0;
}

/* --- Responsive ------------------------------------------------------ */
@media (max-width: 900px) {
	.footer {
		padding: 40px 20px 24px;
	}

	.footer-divider {
		margin: 20px auto;
	}

	.footer-links {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}

	.footer-col--support {
		grid-column: 1 / -1;
	}

	.footer-payments {
		gap: 18px 24px;
	}

	.footer-legal,
	.footer-legal .footer-widget {
		flex-direction: column;
		gap: 16px;
	}

	.gcb-badge,
	.footer-legal .footer-widget img {
		width: 72px;
	}
}

@media (max-width: 520px) {
	.footer-links {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}
