/**
 * CoinGape-style site footer.
 * Layout/spacing handled by Bootstrap utilities; this file holds visuals only.
 */

.sn-footer {
	background: var(--snf-bg);
	color: var(--snf-text);
	line-height: 1.5;
	width: 100%;
}

.sn-footer input,
.sn-footer button,
.sn-footer a {
	font-family: inherit;
}

/* Bootstrap container width tuned to the design */
.sn-footer .container-xxl {
	max-width: var(--snf-max);
	padding-left: 24px;
	padding-right: 24px;
}

/* Brand column */
.sn-footer__brand-col {
	display: flex;
	flex-direction: column;
	gap: 28px;
	justify-content: space-between;
}

.sn-footer__brand-main {
	display: flex;
	flex-direction: column;
}

.sn-footer__brand-follow {
	display: flex;
	flex-direction: column;
}

.sn-footer__logo {
	gap: 12px;
	text-decoration: none;
}

.sn-footer__logo-text {
	font-size: 30px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
}

.sn-footer__lang-links {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.sn-footer__lang-links a {
	color: var(--snf-text);
	text-decoration: none;
	font-size: 14px;
}

.sn-footer__lang-links a:hover {
	color: var(--snf-blue);
}

.sn-footer__newsletter-title {
	color: var(--snf-blue);
	font-size: 22px;
	font-weight: 700;
}

.sn-footer__newsletter-text {
	font-size: 14px;
	color: var(--snf-text);
}

.sn-footer__newsletter {
	max-width: 100%;
	border: 1px solid var(--snf-border);
	border-radius: 36px;
	overflow: hidden;
}

.sn-footer__newsletter-input {
	min-width: 0;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 14px;
	padding: 12px 14px;
	outline: none;
}

.sn-footer__newsletter-input::placeholder {
	color: var(--snf-muted);
}

.sn-footer__newsletter-btn {
	gap: 6px;
	background: var(--snf-blue);
	color: #fff;
	border: none;
	font-size: 13px;
	font-weight: 700;
	padding: 0 18px;
	cursor: pointer;
	letter-spacing: 0.03em;
	transition: background 0.2s;
	border-radius: 36px;
}

.sn-footer__newsletter-btn:hover {
	background: #1576bd;
}

.sn-footer__follow {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	position: relative;
}

.sn-footer__follow::before,
.sn-footer__follow::after {
	content: "";
	position: absolute;
	top: 50%;
	width: calc(50% - 50px);
	height: 1px;
	background: var(--snf-border);
}

.sn-footer__follow::before {
	left: 0;
}

.sn-footer__follow::after {
	right: 0;
}

.sn-footer__social a {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #1c1c1c;
	border: 1px solid var(--snf-border);
	color: #cfcfcf;
	transition: 0.2s;
}

.sn-footer__social a:hover {
	background: var(--snf-blue);
	color: #fff;
	border-color: var(--snf-blue);
}

.sn-footer__advertise {
	background: linear-gradient(90deg, #a855f7, #3b82f6, #38bdf8);
	color: #0a0a0a;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	padding: 14px;
	border-radius: 8px;
	letter-spacing: 0.03em;
	transition: opacity 0.2s;
}

.sn-footer__advertise:hover {
	opacity: 0.9;
	color: #0a0a0a;
}

/* Link columns */
.sn-footer__heading {
	color: var(--snf-heading);
	font-size: 17px;
	font-weight: 700;
}

.sn-footer__col li {
	margin-bottom: 2px;
}

.sn-footer__col a {
	color: var(--snf-text);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s;
	font-weight: 500;
}

.sn-footer__col a:hover {
	color: var(--snf-blue);
}

/* Our brands */
.sn-footer__brands {
	gap: 32px;
	background: linear-gradient(270deg, #181A1B 0%, #2D2F31 100%);
	border: 1px solid #565656;
	border-radius: 14px;
}

.sn-footer__brands-label {
	font-size: 26px;
	font-weight: 700;
	color: #fff;
	flex-shrink: 0;
}

.sn-footer__brands-list {
	gap: 12px;
}

.sn-footer__brand {
	color: #e8e8e8;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.sn-footer__brand small {
	font-size: 11px;
	color: var(--snf-muted);
}

.sn-footer__brand--serif {
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0.08em;
}

.sn-footer__brand--bold {
	font-weight: 800;
	font-size: 22px;
}

.sn-footer__brand i {
	color: #7fd8ff;
}

/* Bottom */
.sn-footer__bottom {
	
}

.sn-footer__disclosure {
	font-size: 12px;
	color: var(--snf-muted);
	line-height: 1.7;
	font-weight: 500;
}

.sn-footer__disclosure strong {
	color: #b0b0b0;
}

.sn-footer__disclosure a {
	color: var(--snf-blue);
	text-decoration: none;
}

.sn-footer__disclosure a:hover {
	text-decoration: underline;
}

.sn-footer__stats {
	gap: 16px 32px;
}

.sn-footer__stat {
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #d6d6d6;
}

.sn-footer__copyright {
	font-size: 13px;
	color: var(--snf-muted);
}

/* Light theme */
html.sn-theme-light .sn-footer {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

html.sn-theme-light .sn-footer__logo-text,
html.sn-theme-light .sn-footer__follow,
html.sn-theme-light .sn-footer__brands-label,
html.sn-theme-light .sn-footer__brand,
html.sn-theme-light .sn-footer__stat {
	color: #111;
}

html.sn-theme-light .sn-footer__social a {
	background: #f0f0f0;
	color: #333;
}

html.sn-theme-light .sn-footer__disclosure strong {
	color: #444;
}

/* Responsive */
@media (max-width: 991px) {
	.sn-footer__brands {
		gap: 24px;
	}

	.sn-footer__brands-list {
		gap: 24px;
		justify-content: flex-start !important;
	}
}

@media (max-width: 600px) {
	.sn-footer__brand {
		font-size: 16px;
	}

	.sn-footer__brands-label {
		font-size: 22px;
	}
}

/* Reset block-theme wrapper spacing around custom footer */
.wp-site-blocks > .wp-block-template-part:has(.sn-footer),
.wp-block-template-part[data-area="footer"],
.wp-block-template-part:has(.sn-footer),
.wp-block-template-part:has(.sn-footer) > *,
.wp-block-html:has(.sn-footer),
.wp-block-satoshinama-site-footer,
.wp-block-satoshinama-site-footer > * {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.wp-site-blocks > .wp-block-template-part:has(.sn-footer) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.wp-block-satoshinama-site-footer .sn-footer {
	display: block;
	width: 100%;
	background: var(--snf-bg);
}

/* Consistent top divider before footer on all pages */
.sn-footer__top hr {
	border: 0;
	border-top: 1px solid var(--snf-border);
	opacity: 1;
	margin: 0;
}

.sn-footer__brands-wrap hr {
	border: 0;
	border-top: 1px solid var(--snf-border);
	opacity: 1;
	margin: 0;
}

