@import url('icons.css?v=1');

.join-section .join-inner {
	max-width: 36rem;
	margin: 0 auto;
	padding: 0 1rem;
}
.join-header {
	text-align: center;
	margin-bottom: 2rem;
}
.join-eyebrow {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: rgba(74, 222, 128, 0.95);
	margin-bottom: 0.5rem;
}
.join-title {
	font-family: 'Cinzel', serif;
	font-size: clamp(1.75rem, 4.2vw, 2.35rem);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	margin-bottom: 0.75rem;
	text-wrap: balance;
}
.join-lead {
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--text-soft);
}
.join-lead strong {
	color: var(--text);
	font-weight: 600;
}
.join-card {
	padding: 1.5rem 1.75rem;
	border-color: rgba(22, 101, 52, 0.45);
	background: linear-gradient(
		145deg,
		rgba(15, 22, 15, 0.98) 0%,
		rgba(15, 26, 19, 0.96) 50%,
		rgba(12, 18, 15, 0.98) 100%
	);
	box-shadow: 0 12px 40px -18px rgba(34, 197, 94, 0.14);
}
@media (min-width: 640px) {
	.join-card {
		padding: 2rem;
	}
}
.join-card > p {
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--text-soft);
}
.join-list {
	margin-top: 1rem;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	font-size: 0.88rem;
	line-height: 1.55;
	color: #d4e8d4;
}
.join-list li {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
}
.join-list li::before {
	content: '●';
	color: rgba(74, 222, 128, 0.9);
	flex-shrink: 0;
	margin-top: 0.15rem;
}
.join-vk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.1rem;
	width: 100%;
	margin-top: 1.75rem;
	padding: 0 1.5rem;
	border-radius: var(--radius-md);
	background: linear-gradient(
		90deg,
		#10b981,
		#16a34a 45%,
		#14532d
	);
	color: #0a0f0a;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 10px 38px -6px rgba(34, 197, 94, 0.45);
	transition:
		filter 0.2s,
		transform 0.2s,
		box-shadow 0.2s;
}
.join-vk-btn:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
	box-shadow: 0 14px 42px -6px rgba(74, 222, 128, 0.48);
}
.join-vk-btn--secondary {
	margin-top: 0.75rem;
	background: transparent;
	color: var(--green);
	border: 1px solid rgba(74, 222, 128, 0.45);
	box-shadow: none;
}
.join-vk-btn--secondary:hover {
	background: rgba(74, 222, 128, 0.08);
	box-shadow: 0 8px 24px -8px rgba(74, 222, 128, 0.25);
}
.join-footnote {
	margin-top: 1.25rem;
	text-align: center;
	font-size: 0.72rem;
	line-height: 1.5;
	color: var(--muted);
}
@media (min-width: 640px) {
	.join-footnote {
		text-align: left;
	}
}
.join-footnote code {
	font-family: ui-monospace, monospace;
	color: rgba(74, 222, 128, 0.9);
}

/* Модалка «Жирный ник» */
.bold-modal {
	position: fixed;
	inset: 0;
	z-index: 10100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease-out;
}
.bold-modal.is-open {
	display: flex;
	opacity: 1;
	pointer-events: auto;
}
.bold-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.bold-modal__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 28rem;
	padding: 2rem 1.5rem;
	border-radius: 1.35rem;
	border: 1px solid rgba(251, 191, 36, 0.35);
	box-shadow:
		0 0 0 1px rgba(251, 191, 36, 0.12),
		0 32px 64px rgba(0, 0, 0, 0.55);
	background-image: linear-gradient(
		165deg,
		rgba(30, 22, 10, 0.97),
		rgba(15, 20, 16, 0.98) 40%,
		rgba(10, 12, 10, 1)
	);
	transform: scale(0.95);
	opacity: 0;
	transition:
		transform 0.3s ease-out,
		opacity 0.3s ease-out;
}
.bold-modal.is-open .bold-modal__panel {
	transform: scale(1);
	opacity: 1;
}
@media (min-width: 640px) {
	.bold-modal__panel {
		padding: 2rem;
		border-radius: 1.5rem;
	}
}
.bold-modal__title {
	font-family: 'Cinzel', serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: #fde68a;
}
@media (min-width: 640px) {
	.bold-modal__title {
		font-size: 1.35rem;
	}
}
.bold-modal__desc {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--text-soft);
}
.bold-modal__field {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.bold-modal__label {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(253, 230, 138, 0.95);
}
.bold-modal__input {
	min-height: 2.85rem;
	width: 100%;
	padding: 0.65rem 0.9rem;
	border-radius: var(--radius-md);
	border: 1px solid rgba(217, 119, 6, 0.38);
	background: rgba(0, 0, 0, 0.45);
	font-family: ui-monospace, monospace;
	font-size: 0.9rem;
	color: #f5f5f5;
	outline: none;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}
.bold-modal__input::placeholder {
	color: #737373;
}
.bold-modal__input:focus {
	border-color: #f59e0b;
	box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.38);
}
.bold-modal__warn {
	margin-top: 1rem;
	padding: 0.85rem 0.9rem;
	border-radius: var(--radius-md);
	border: 1px solid rgba(217, 119, 6, 0.35);
	background: rgba(0, 0, 0, 0.38);
	font-size: 0.8rem;
	line-height: 1.55;
	color: rgba(254, 243, 199, 0.93);
}
.bold-modal__steps {
	margin-top: 1.25rem;
	padding: 0.9rem;
	border-radius: var(--radius-md);
	border: 1px dashed rgba(245, 158, 11, 0.4);
	background: rgba(0, 0, 0, 0.25);
	font-size: 0.8rem;
	line-height: 1.55;
	color: #d4d4d4;
}
.bold-modal__steps strong {
	font-weight: 600;
	color: #fde68a;
}
.bold-modal__steps ol {
	margin-top: 0.75rem;
	padding-left: 1.25rem;
	list-style: decimal;
}
.bold-modal__steps li {
	margin-top: 0.35rem;
}
.bold-modal__actions {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
@media (min-width: 640px) {
	.bold-modal__actions {
		flex-direction: row;
		justify-content: flex-end;
	}
}
.bold-modal__btn {
	min-height: 2.95rem;
	padding: 0 1.25rem;
	border-radius: var(--radius-md);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	font-family: inherit;
	transition:
		filter 0.2s,
		background 0.2s,
		border-color 0.2s;
}
.bold-modal__btn--ghost {
	order: 3;
	width: 100%;
	border: 1px solid rgba(115, 115, 115, 0.75);
	background: transparent;
	color: var(--muted);
}
.bold-modal__btn--ghost:hover {
	border-color: #737373;
	background: rgba(255, 255, 255, 0.05);
	color: #d4d4d4;
}
@media (min-width: 640px) {
	.bold-modal__btn--ghost {
		order: 1;
		width: auto;
		margin-top: 0;
	}
}
.bold-modal__btn--pay {
	order: 2;
	width: 100%;
	border: none;
	background: linear-gradient(
		90deg,
		#f59e0b,
		#f97316 50%,
		#c2410c
	);
	color: #0a0f0a;
	box-shadow: 0 10px 38px -6px rgba(245, 158, 11, 0.45);
}
.bold-modal__btn--pay:hover {
	filter: brightness(1.06);
}
@media (min-width: 640px) {
	.bold-modal__btn--pay {
		flex: 1;
	}
}

/* Footer */
.site-footer {
	position: relative;
	z-index: 2;
	margin-top: clamp(1rem, 3vw, 2rem);
	border-top: 1px solid var(--border);
	background:
		radial-gradient(
			ellipse 80% 60% at 50% 0%,
			rgba(34, 197, 94, 0.07),
			transparent 62%
		),
		linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
	overflow: hidden;
}
.site-footer__glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(
		ellipse 55% 40% at 50% 100%,
		rgba(74, 222, 128, 0.05),
		transparent 70%
	);
}
.site-footer__inner {
	position: relative;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
	padding: clamp(2.75rem, 6vw, 4rem) clamp(1.5rem, 5vw, 6rem)
		clamp(1.75rem, 4vw, 2.5rem);
}
.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3rem);
	align-items: start;
}
.site-footer__logo {
	display: inline-block;
	font-family: 'Cinzel', serif;
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 900;
	letter-spacing: 0.1em;
	color: var(--text);
	text-decoration: none;
	margin-bottom: 0.85rem;
	transition: color 0.2s;
}
.site-footer__logo span {
	color: var(--green);
}
.site-footer__logo:hover {
	color: var(--green);
}
.site-footer__tagline {
	max-width: 22rem;
	font-size: 0.86rem;
	line-height: 1.65;
	color: var(--text-soft);
	margin-bottom: 1.25rem;
}
.site-footer__ip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	max-width: 20rem;
	margin-bottom: 0.85rem;
	padding: 0.85rem 1.1rem;
	background: var(--surface);
	border: 1px solid var(--border2);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition:
		border-color 0.2s,
		box-shadow 0.2s,
		transform 0.2s;
}
.site-footer__ip::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--green);
}
.site-footer__ip:hover {
	border-color: var(--green-dark);
	transform: translateY(-1px);
}
.site-footer__ip .ip-lbl {
	font-size: 0.58rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.25rem;
}
.site-footer__ip .ip-val {
	font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text);
	letter-spacing: 0.04em;
}
.site-footer__ip .ip-hint {
	font-size: 0.58rem;
	text-align: right;
	max-width: 7rem;
	line-height: 1.35;
	color: var(--green);
	font-weight: 600;
}
.site-footer__meta {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}
.site-footer__heading {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 1rem;
}
.site-footer__heading--spaced {
	margin-top: 1.75rem;
}
.site-footer__links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}
.site-footer__links a {
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.2s;
}
.site-footer__links a:hover {
	color: var(--green);
}
.site-footer__vote {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}
.site-footer__vote-link {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.45rem 0.55rem;
	border-radius: var(--radius-md);
	text-decoration: none;
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 600;
	transition:
		color 0.2s,
		background 0.2s,
		transform 0.2s;
}
.site-footer__vote-link:hover {
	color: var(--green);
	background: rgba(74, 222, 128, 0.06);
	transform: translateX(2px);
}
.site-footer__vote-link img {
	display: block;
	width: 2.75rem;
	height: 2.75rem;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 10px;
}
.site-footer__vote-link--text {
	padding-left: 0.55rem;
}
.site-footer__links .site-footer__vote-link {
	width: 100%;
}
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-top: clamp(2rem, 4vw, 2.75rem);
	padding-top: 1.35rem;
	border-top: 1px solid var(--border);
}
.site-footer__copy,
.site-footer__note {
	font-size: 0.72rem;
	line-height: 1.5;
	color: var(--muted);
}
.site-footer__note {
	opacity: 0.85;
}
@media (max-width: 1024px) {
	.site-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.site-footer__brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 640px) {
	.site-footer__top {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}
	.site-footer__ip {
		max-width: none;
	}
	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Секция «Сайт как приложение» (главная) */
.install-app-section .s-header {
	max-width: 40rem;
}

.install-app-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	max-width: 52rem;
	margin: 0 auto;
	padding: 0 1rem;
}

.install-app-card {
	padding: 1.25rem 1.35rem;
	border-color: rgba(74, 222, 128, 0.22);
	background: linear-gradient(
		155deg,
		rgba(15, 22, 15, 0.98) 0%,
		rgba(12, 18, 14, 0.96) 100%
	);
}

.install-app-card--wide {
	grid-column: 1 / -1;
}

.install-app-card__head {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.35rem;
}

.install-app-card__icon {
	font-size: 1.35rem;
	line-height: 1;
}

.install-app-card__title {
	margin: 0;
	font-family: 'Cinzel', serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
}

.install-app-card__browser {
	margin: 0 0 0.85rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.install-app-steps {
	margin: 0;
	padding-left: 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	font-size: 0.86rem;
	line-height: 1.55;
	color: var(--text-soft);
}

.install-app-steps li {
	padding-left: 0.15rem;
}

.install-app-steps strong {
	color: #e8f5e8;
	font-weight: 600;
}

.install-app-steps__glyph {
	display: inline-block;
	margin: 0 0.15rem;
	padding: 0.1rem 0.35rem;
	border-radius: 4px;
	border: 1px solid var(--border);
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--green);
	vertical-align: middle;
}

.install-app-note {
	max-width: 40rem;
	margin: 1.25rem auto 0;
	padding: 0 1rem;
	font-size: 0.8rem;
	line-height: 1.6;
	color: var(--muted);
	text-align: center;
}

.install-app-note a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 720px) {
	.install-app-grid {
		grid-template-columns: 1fr;
	}

	.install-app-card--wide {
		grid-column: auto;
	}
}

/* Запрос push-уведомлений в PWA (site-push-prompt.js) */
.isnix-push-prompt {
	position: fixed;
	left: max(0.65rem, env(safe-area-inset-left, 0px));
	right: max(0.65rem, env(safe-area-inset-right, 0px));
	bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
	z-index: 10045;
}

.isnix-push-prompt__inner {
	padding: 1rem 1.1rem;
	border-radius: var(--radius-md);
	border: 1px solid rgba(74, 222, 128, 0.35);
	background: rgba(10, 15, 10, 0.97);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(10px);
}

.isnix-push-prompt__title {
	margin: 0 0 0.35rem;
	font-family: 'Cinzel', serif;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
}

.isnix-push-prompt__text {
	margin: 0 0 0.85rem;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--text-soft);
}

.isnix-push-prompt__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.isnix-push-prompt__btn {
	flex: 1 1 7rem;
	min-height: 2.65rem;
	padding: 0.5rem 0.85rem;
	border-radius: var(--radius-sm);
	font-family: 'Raleway', sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		background 0.2s,
		border-color 0.2s;
}

.isnix-push-prompt__btn--primary {
	border: 1px solid rgba(74, 222, 128, 0.5);
	background: linear-gradient(90deg, #10b981, #16a34a);
	color: #0a0f0a;
}

.isnix-push-prompt__btn--ghost {
	border: 1px solid var(--border);
	background: transparent;
	color: var(--text-soft);
}

.isnix-push-prompt__btn--ghost:hover {
	border-color: rgba(74, 222, 128, 0.35);
	color: var(--green);
}
