:root {
	--content-w: 1100px;
	--content-pad: 50px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family:
		-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue',
		Arial, sans-serif;
}

body {
	background-color: #0b1a2d;
	background-image: url('img/bestmixer-cover.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	color: #e8eef5;
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
}

.page {
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.top-bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 22px 50px;
	gap: 20px;
}

.lang-switcher {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #c8d4e0;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 4px;
	transition: background 0.2s ease;
	width: fit-content;
}

.lang-switcher:hover {
	background: rgba(255, 255, 255, 0.05);
}

.lang-switcher .flag {
	font-size: 18px;
	display: inline-flex;
	align-items: center;
}

.flag-img {
	width: 20px;
	height: auto;
	border-radius: 2px;
	vertical-align: middle;
}

.lang-switcher .caret {
	font-size: 10px;
	color: #8fa3b8;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #fff;
	justify-self: center;
}

.brand-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: block;
	flex-shrink: 0;
	object-fit: contain;
	overflow: hidden;
}

.brand-name {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #ffffff;
}

.help-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #2a4a6e;
	color: #ffffff;
	border: none;
	padding: 10px 18px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	justify-self: end;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.help-btn:hover {
	background: #345d8a;
	transform: translateY(-1px);
}

.help-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #2ecc71;
	box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.35);
	animation: pulse-dot 2s infinite;
	flex-shrink: 0;
}

@keyframes pulse-dot {
	0%,
	100% {
		box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.35);
	}
	50% {
		box-shadow: 0 0 0 5px rgba(46, 204, 113, 0.1);
	}
}

.nav-bar {
	background: rgba(8, 18, 35, 0.85);
	backdrop-filter: blur(8px);
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	padding: 0;
}

.nav-menu {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 0;
	max-width: var(--content-w);
	margin: 0 auto;
}

.nav-menu li {
	position: relative;
}

.nav-menu a {
	display: inline-block;
	color: #c8d4e0;
	text-decoration: none;
	padding: 16px 28px;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.nav-menu a:hover {
	color: #ffffff;
}

.nav-menu .arrow {
	font-size: 9px;
	margin-left: 4px;
	color: #8fa3b8;
}

/* "Start new mixing!" — pinned left, rest stays centered */
.nav-menu .nav-start {
	margin-right: auto;
}

.nav-start-link {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	color: #ffffff !important;
	font-weight: 600 !important;
}

.nav-start-icon {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	object-fit: cover;
}

/* Order page: sit the card close to the nav like the original */
.order-hero {
	padding-top: 28px;
	padding-bottom: 48px;
}

.hero {
	flex: 1;
	padding: 70px var(--content-pad) 80px;
	max-width: var(--content-w);
	margin: 0 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.hero-title {
	font-size: 38px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: #ffffff;
	margin-bottom: 18px;
	line-height: 1.2;
	text-transform: uppercase;
}

.hero-subtitle {
	color: rgb(194, 177, 63);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.2px;
	margin-bottom: 28px;
	text-transform: uppercase;
}

.hero-text {
	max-width: 680px;
	color: #b8c5d4;
	font-size: 14px;
	line-height: 1.55;
	margin-bottom: 38px;
}

.hero-text p {
	margin-bottom: 0;
}

.inline-link {
	color: #b8c5d4;
	text-decoration: underline;
	text-decoration-color: rgba(184, 197, 212, 0.5);
	text-underline-offset: 2px;
	transition: color 0.2s ease;
}

.inline-link:hover {
	color: #ff6b5e;
	text-decoration-color: #ff6b5e;
}

.cta-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(180deg, #e8453a 0%, #c92a1f 100%);
	color: #ffffff;
	text-decoration: none;
	padding: 18px 42px;
	border-radius: 6px;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.5px;
	box-shadow:
		0 6px 20px rgba(217, 48, 37, 0.35),
		0 2px 4px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transition: all 0.25s ease;
	margin-top: 12px;
	border: 1px solid rgba(255, 90, 74, 0.5);
}

.cta-button:hover {
	background: linear-gradient(180deg, #ff6555 0%, #d12e22 100%);
	transform: translateY(-2px);
	box-shadow:
		0 10px 28px rgba(217, 48, 37, 0.5),
		0 4px 8px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.cta-button:active {
	transform: translateY(0);
}

.cta-button__wrapper {
	display: flex;
	justify-content: center;
}

.cta-icon {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	object-fit: contain;
	display: block;
}

/* ===== FOOTER ===== */
.site-footer {
	padding: 30px var(--content-pad) 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	margin-top: auto;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 40px;
	max-width: var(--content-w);
	margin: 0 auto 28px;
	align-items: start;
}

.footer-col h4 {
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 6px;
}

.footer-col .mono {
	font-family: 'Courier New', monospace;
	font-size: 13px;
	color: #a8b8c8;
	letter-spacing: 0.3px;
}

.footer-center {
	text-align: center;
}

.footer-right {
	display: flex;
	justify-content: flex-end;
}

.footer-help {
	background: #2a4a6e;
}

.footer-bottom {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
	max-width: var(--content-w);
	margin: 0 auto;
	align-items: center;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.copyright {
	font-size: 13px;
	color: #8fa3b8;
}

.copyright a {
	color: #c8d4e0;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.footer-icons {
	display: flex;
	justify-content: center;
	gap: 18px;
}

.footer-icons a {
	color: #8fa3b8;
	font-size: 18px;
	text-decoration: none;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.footer-icons a:hover {
	color: #ff6b5e;
	background: rgba(255, 107, 94, 0.1);
}

.terms {
	text-align: right;
}

.terms a {
	color: #c8d4e0;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s ease;
}

.terms a:hover {
	color: #ff6b5e;
}

.step1 {
	display: block;
	max-width: var(--content-w);
	width: 100%;
	margin: 60px 0 0;
	padding: 0;
}

.step1-title {
	font-size: 28px;
	font-weight: 400;
	color: #ffffff;
	margin-bottom: 36px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.step1-title .step-num {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(180deg, #e8453a 0%, #c92a1f 100%);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(217, 48, 37, 0.4);
}

.coin-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin-top: 10px;
}

.coin-card {
	background: linear-gradient(
		180deg,
		rgba(20, 40, 70, 0.5) 0%,
		rgba(15, 30, 55, 0.65) 100%
	);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 4px;
	padding: 36px 20px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	min-height: 130px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	font-family: inherit;
}

.coin-card:hover {
	background: linear-gradient(
		180deg,
		rgba(30, 55, 90, 0.7) 0%,
		rgba(25, 45, 75, 0.8) 100%
	);
	border-color: rgba(255, 90, 74, 0.4);
	transform: translateY(-4px);
	box-shadow:
		0 12px 28px rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(255, 90, 74, 0.15);
}

.coin-card.selected {
	border-color: rgba(255, 90, 74, 0.7);
	box-shadow:
		0 8px 22px rgba(217, 48, 37, 0.3),
		inset 0 0 0 1px rgba(255, 90, 74, 0.4);
}

.coin-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.coin-symbol {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
}

.coin-btc {
	background: radial-gradient(circle at 35% 35%, #f7b94d, #f7931a 60%, #b86a08);
}

.coin-ltc {
	background: radial-gradient(circle at 35% 35%, #d3d5d8, #a6a9ac 60%, #6b6e72);
}

.coin-bch {
	background: radial-gradient(circle at 35% 35%, #f7b94d, #f7931a 60%, #b86a08);
}

.coin-eth {
	background: radial-gradient(circle at 35% 35%, #5b78b3, #3c5896 60%, #243a6b);
}

.coin-eth .coin-symbol {
	font-size: 22px;
}

.coin-name {
	font-size: 22px;
	font-style: italic;
	font-weight: 500;
	color: #e8eef5;
	letter-spacing: 0.3px;
}

.step2 {
	display: none;
	width: 100%;
	margin: 50px 0 0;
	padding: 0;
	animation: fadeInUp 0.5s ease-out;
}

.step2.is-visible {
	display: block;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.step2-title {
	font-size: 32px;
	font-weight: 400;
	color: #ffffff;
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.step2-title .step-num {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(180deg, #e8453a 0%, #c92a1f 100%);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(217, 48, 37, 0.4);
}

.step2-title .accent {
	color: rgb(216, 183, 61);
}

.step2-card {
	background: linear-gradient(
		180deg,
		rgba(20, 40, 70, 0.6) 0%,
		rgba(15, 30, 55, 0.7) 100%
	);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 4px;
	padding: 50px 60px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
}

.form-row {
	margin-bottom: 32px;
}

.form-label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #ffffff;
	font-size: 15px;
	font-weight: 500;
	margin-bottom: 12px;
}

.hint-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: #c92a1f;
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	cursor: help;
	box-shadow: 0 2px 6px rgba(201, 42, 31, 0.4);
	position: relative;
}

.info-i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-style: italic;
	font-family: Georgia, serif;
	color: #ff6b5e;
	font-size: 13px;
	font-weight: 700;
	cursor: help;
	margin-left: 2px;
	position: relative;
}

.info-i[data-tooltip]::after,
.hint-badge[data-tooltip]::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: #1a2535;
	color: #e8eef5;
	font-size: 12px;
	font-style: normal;
	font-family: inherit;
	font-weight: 400;
	line-height: 1.45;
	white-space: normal;
	width: max-content;
	max-width: 220px;
	padding: 7px 10px;
	border-radius: 5px;
	border: 1px solid rgba(255, 107, 94, 0.25);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.18s ease;
	z-index: 999;
}

.info-i[data-tooltip]::before,
.hint-badge[data-tooltip]::before {
	content: '';
	position: absolute;
	bottom: calc(100% + 2px);
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: rgba(255, 107, 94, 0.25);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.18s ease;
	z-index: 999;
}

.info-i[data-tooltip]:hover::after,
.info-i[data-tooltip]:hover::before,
.hint-badge[data-tooltip]:hover::after,
.hint-badge[data-tooltip]:hover::before {
	opacity: 1;
}

.code-input {
	width: 220px;
	height: 38px;
	background: #c8d3df;
	border: none;
	border-radius: 3px;
	padding: 0 14px;
	font-size: 14px;
	color: #2a3a4e;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
	outline: none;
}

.code-input:focus {
	background: #d8e2ed;
	box-shadow:
		inset 0 2px 4px rgba(0, 0, 0, 0.15),
		0 0 0 2px rgba(255, 107, 94, 0.3);
}

.address-row {
	display: flex;
	gap: 0;
	align-items: stretch;
	width: 100%;
}

.percent-tag {
	--tag-base: #c92a1f;
	--tag-dark: #a32319;
	background: linear-gradient(180deg, var(--tag-base) 0%, var(--tag-dark) 100%);
	color: #fff;
	padding: 8px 18px 8px 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	line-height: 1.3;
	position: relative;
	min-width: 90px;
	border-radius: 3px 0 0 3px;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.percent-tag::after {
	content: '';
	position: absolute;
	top: 0;
	right: -16px;
	width: 0;
	height: 0;
	border-top: 22px solid transparent;
	border-bottom: 22px solid transparent;
	border-left: 16px solid var(--tag-dark);
}

.address-item[data-color='0'] .percent-tag {
	--tag-base: #c92a1f;
	--tag-dark: #8b1a14;
}
.address-item[data-color='1'] .percent-tag {
	--tag-base: #e8651e;
	--tag-dark: #a8470f;
}
.address-item[data-color='2'] .percent-tag {
	--tag-base: #2fa84f;
	--tag-dark: #1d6e34;
}
.address-item[data-color='3'] .percent-tag {
	--tag-base: #2c7fb8;
	--tag-dark: #1a5380;
}
.address-item[data-color='4'] .percent-tag {
	--tag-base: #8a4ba3;
	--tag-dark: #5a2f6e;
}

.percent-value {
	font-size: 14px;
	font-weight: 700;
}

.percent-time {
	font-size: 11px;
	opacity: 0.95;
}

.address-input {
	flex: 1;
	height: 44px;
	background: #c8d3df;
	border: none;
	border-radius: 0 3px 3px 0;
	padding: 0 16px;
	font-size: 14px;
	color: #2a3a4e;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
	outline: none;
	margin-left: 16px;
}

.address-input:focus {
	background: #d8e2ed;
}

.add-address {
	background: none;
	border: none;
	color: #4caf50;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	padding: 10px 0 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	float: right;
	margin-top: 6px;
	transition: color 0.2s ease;
}

.add-address:hover {
	color: #66bb6a;
}

.plus-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	background: #4caf50;
	color: #fff;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.fee-row {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #ffffff;
	font-size: 15px;
	margin-bottom: 24px;
	clear: both;
	padding-top: 8px;
}

.fee-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
}

.fee-value {
	color: #ffffff;
	font-weight: 700;
	font-size: 16px;
}

.fee-percent {
	color: #ffffff;
}

.reserves-label {
	margin-left: 100px;
	color: #ffffff;
	font-weight: 600;
}

.slider-track {
	position: relative;
	height: 4px;
	background: rgba(180, 200, 220, 0.25);
	border-radius: 2px;
	margin: 22px 0 8px;
}

.reserves-slider {
	cursor: pointer;
	user-select: none;
	touch-action: none;
}

.reserves-slider .tick {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #c8d3df;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition:
		background 0.2s,
		transform 0.2s;
	pointer-events: auto;
}

.reserves-slider .tick:hover {
	background: #e0e8f0;
}

.reserves-slider .tick-1 {
	left: 10%;
}
.reserves-slider .tick-2 {
	left: 30%;
}
.reserves-slider .tick-3 {
	left: 50%;
}
.reserves-slider .tick-4 {
	left: 70%;
}
.reserves-slider .tick-5 {
	left: 90%;
}

.reserves-thumb {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #5cd05c, #2c8a2c);
	box-shadow:
		0 0 0 3px rgba(76, 175, 80, 0.2),
		0 2px 6px rgba(0, 0, 0, 0.4);
	cursor: grab;
	z-index: 2;
	transition: left 0.2s ease;
	pointer-events: auto;
}

.reserves-thumb:active {
	cursor: grabbing;
	transform: translate(-50%, -50%) scale(1.1);
}

.delay-slider .delay-thumb {
	position: absolute;
	top: 50%;
	left: 60%;
	transform: translate(-50%, -50%);
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #ff5a4a, #8b1a14);
	box-shadow:
		0 0 0 3px rgba(201, 42, 31, 0.2),
		0 2px 6px rgba(0, 0, 0, 0.4);
	cursor: pointer;
}

.strength-bar {
	height: 32px;
	background: rgba(180, 200, 220, 0.15);
	border-radius: 2px;
	overflow: hidden;
	position: relative;
}

.strength-fill {
	height: 100%;
	width: 100%;
	background: linear-gradient(180deg, #5dd35d 0%, #3ab73a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}

.fee-calc-row {
	text-align: center;
	margin: 28px 0 24px;
}

.fee-calc {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #5dd35d;
	font-size: 14px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.fee-calc:hover {
	color: #7ee87e;
}

.calc-icon {
	font-size: 16px;
}

.continue-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 12px;
}

.continue-btn {
	background: linear-gradient(180deg, #e8453a 0%, #c92a1f 100%);
	color: #ffffff;
	border: 1px solid rgba(255, 90, 74, 0.5);
	padding: 14px 60px;
	font-size: 22px;
	font-weight: 500;
	border-radius: 4px;
	cursor: pointer;
	box-shadow:
		0 6px 18px rgba(217, 48, 37, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transition: all 0.25s ease;
	letter-spacing: 0.5px;
}

.continue-btn:hover {
	background: linear-gradient(180deg, #ff6555 0%, #d12e22 100%);
	transform: translateY(-2px);
	box-shadow:
		0 10px 24px rgba(217, 48, 37, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.continue-btn:active {
	transform: translateY(0);
}

/* ===== STEP 3 ===== */
.step3 {
	display: none;
	max-width: var(--content-w);
	width: 100%;
	margin: 50px 0 0;
	padding: 0;
	animation: fadeInUp 0.5s ease-out;
}

.step3.is-visible {
	display: block;
}

.step3-title {
	font-size: 32px;
	font-weight: 400;
	color: #ffffff;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.step3-title .step-num {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(180deg, #e8453a 0%, #c92a1f 100%);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(217, 48, 37, 0.4);
}

.step3-card {
	background: linear-gradient(
		180deg,
		rgba(20, 40, 70, 0.45) 0%,
		rgba(15, 30, 55, 0.55) 100%
	);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-top: none;
	border-radius: 0 0 4px 4px;
	padding: 50px 60px 60px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
}

.terms-list {
	margin-bottom: 40px;
}

.term-row {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin-bottom: 28px;
	cursor: pointer;
	position: relative;
}

.term-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.custom-check {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 3px;
	background: rgba(184, 197, 212, 0.15);
	border: 1px solid rgba(184, 197, 212, 0.35);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	margin-top: 2px;
}

.term-row:hover .custom-check {
	border-color: rgba(255, 90, 74, 0.5);
	background: rgba(255, 90, 74, 0.08);
}

.term-checkbox:checked + .custom-check {
	background: linear-gradient(180deg, #e8453a 0%, #c92a1f 100%);
	border-color: #c92a1f;
	box-shadow: 0 2px 8px rgba(217, 48, 37, 0.4);
}

.term-checkbox:checked + .custom-check::after {
	content: '';
	width: 6px;
	height: 11px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-top: -2px;
}

.term-text {
	color: #c8d4e0;
	font-size: 14.5px;
	line-height: 1.65;
	flex: 1;
}

.terms-note {
	color: #8fa3b8;
	font-size: 13.5px;
	line-height: 1.65;
	margin-top: 20px;
	padding-left: 40px;
}

.mix-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

.mix-btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	background: linear-gradient(180deg, #e8453a 0%, #c92a1f 100%);
	color: #ffffff;
	border: 1px solid rgba(255, 90, 74, 0.5);
	padding: 16px 50px;
	font-size: 22px;
	font-weight: 500;
	border-radius: 4px;
	cursor: pointer;
	box-shadow:
		0 6px 18px rgba(217, 48, 37, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transition: all 0.25s ease;
	letter-spacing: 0.5px;
	font-family: inherit;
}

.mix-btn:hover {
	background: linear-gradient(180deg, #ff6555 0%, #d12e22 100%);
	transform: translateY(-2px);
	box-shadow:
		0 10px 24px rgba(217, 48, 37, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.mix-btn:active {
	transform: translateY(0);
}

.mix-icon {
	font-size: 22px;
	line-height: 1;
	font-weight: 700;
}

.lang-switcher {
	position: relative;
	user-select: none;
}

.lang-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	background: #0f2035;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	list-style: none;
	padding: 6px 0;
	min-width: 160px;
	max-height: 360px;
	overflow-y: auto;
	overscroll-behavior: contain;
	z-index: 999;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.lang-dropdown::-webkit-scrollbar {
	width: 6px;
}
.lang-dropdown::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.18);
	border-radius: 3px;
}

.lang-switcher.open .lang-dropdown {
	display: block;
}

.lang-dropdown li {
	padding: 9px 18px;
	font-size: 14px;
	color: #c8d4e0;
	cursor: pointer;
	transition: background 0.15s;
	display: flex;
	align-items: center;
	gap: 8px;
}

.lang-dropdown li:hover {
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
}

.lang-switcher.open .caret {
	transform: rotate(180deg);
	display: inline-block;
	transition: transform 0.2s;
}

.has-sub {
	position: relative;
}

.submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #0d1f36;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0 0 6px 6px;
	list-style: none;
	padding: 6px 0;
	min-width: 180px;
	z-index: 999;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.has-sub.open .submenu {
	display: block;
}

.submenu a {
	display: block;
	padding: 10px 20px;
	color: #b0c0d0;
	font-size: 13px;
	text-decoration: none;
	transition: all 0.15s;
	white-space: nowrap;
}

.submenu a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	padding-left: 26px;
}

.delay-track-fill {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	background: linear-gradient(90deg, #c92a1f, #e8453a);
	border-radius: 2px;
	pointer-events: none;
	transition: width 0.05s;
}

.reserves-track-line {
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	height: 2px;
	background: rgba(200, 210, 220, 0.15);
	transform: translateY(-50%);
}

/* ===== PERCENTAGE DISTRIBUTION SLIDER ===== */
.distribution-slider {
	position: relative;
	height: 10px;
	background: rgba(180, 200, 220, 0.15);
	border-radius: 5px;
	margin: 22px 0 8px;
	user-select: none;
	touch-action: none;
}

.distribution-segments {
	position: absolute;
	inset: 0;
	display: flex;
	border-radius: 5px;
	overflow: hidden;
}

.distribution-seg {
	height: 100%;
	transition: width 0.05s linear;
}

.distribution-seg[data-color='0'] {
	background: linear-gradient(180deg, #d83b30 0%, #a32319 100%);
}
.distribution-seg[data-color='1'] {
	background: linear-gradient(180deg, #f0782b 0%, #b54a14 100%);
}
.distribution-seg[data-color='2'] {
	background: linear-gradient(180deg, #3bbf63 0%, #1d6e34 100%);
}
.distribution-seg[data-color='3'] {
	background: linear-gradient(180deg, #4097d1 0%, #1a5380 100%);
}
.distribution-seg[data-color='4'] {
	background: linear-gradient(180deg, #a566bd 0%, #5a2f6e 100%);
}

.distribution-handles {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.distribution-handle {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #ffffff, #c8d3df);
	box-shadow:
		0 0 0 2px rgba(0, 0, 0, 0.25),
		0 2px 5px rgba(0, 0, 0, 0.4);
	cursor: grab;
	pointer-events: auto;
	z-index: 2;
}

.distribution-handle:active {
	cursor: grabbing;
	transform: translate(-50%, -50%) scale(1.15);
}

.address-item {
	margin-bottom: 10px;
}

.address-input.valid {
	background: #d0ecd8;
	border: 1px solid #4caf50;
	box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.address-input.invalid {
	background: #f5d0d0;
	border: 1px solid #e53935;
	box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.2);
}

.addr-error {
	display: block;
	font-size: 12px;
	color: #ff6b5e;
	margin-top: 4px;
	padding-left: 90px;
	min-height: 16px;
}

.remove-addr {
	background: none;
	border: none;
	color: #8fa3b8;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0 8px;
	margin-left: 6px;
	transition: color 0.2s;
	align-self: center;
}

.remove-addr:hover {
	color: #e8453a;
}

.code-field {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.code-feedback {
	font-size: 12px;
	font-weight: 500;
}

.code-ok {
	color: #4caf50;
}
.code-err {
	color: #ff6b5e;
}

.continue-btn:disabled,
.mix-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
}

.fee-calculator {
	background: rgba(10, 25, 50, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 4px;
	padding: 20px 24px;
	margin-bottom: 24px;
	animation: fadeInUp 0.25s ease-out;
}

.calc-grid {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px 20px;
	align-items: center;
}

.calc-label {
	color: #8fa3b8;
	font-size: 13px;
	white-space: nowrap;
}

.calc-input-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.calc-input-wrap input {
	width: 110px;
	height: 32px;
	background: #c8d3df;
	border: none;
	border-radius: 3px;
	padding: 0 10px;
	font-size: 14px;
	color: #2a3a4e;
	outline: none;
}

.calc-unit {
	color: #8fa3b8;
	font-size: 13px;
	font-weight: 600;
}

.calc-result {
	color: #e8eef5;
	font-size: 14px;
	font-weight: 600;
}

.calc-result--green {
	color: #4caf50;
}

.fee-calc {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

/* ===== STEP 4: SUCCESS ===== */
.step4 {
	display: none;
	max-width: var(--content-w);
	width: 100%;
	margin: 50px 0 0;
	animation: fadeInUp 0.5s ease-out;
}

.step4.is-visible {
	display: block;
}

.order-card {
	background: linear-gradient(
		180deg,
		rgba(20, 40, 70, 0.55) 0%,
		rgba(15, 30, 55, 0.65) 100%
	);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 24px 36px 36px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.order-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	margin-bottom: 28px;
}

.order-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: linear-gradient(180deg, #c92a1f, #8b1a14);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.order-label {
	color: #c8d4e0;
	font-size: 20px;
	font-weight: 600;
}

.order-id {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.order-pool {
	color: #c8d4e0;
	font-size: 18px;
	font-weight: 600;
}

.order-body {
	text-align: center;
	padding: 4px 0 28px;
}

.order-guarantee-row {
	color: #c8d4e0;
	font-size: 14px;
	margin: 0 0 26px;
}

.guarantee-link {
	color: #f2a131;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	font-weight: 500;
	transition: color 0.2s;
}

.guarantee-link:hover {
	color: #ffbf52;
}

.order-send {
	color: #c8d4e0;
	font-size: 14px;
	margin: 0 0 14px;
}

.order-send .order-coin-unit {
	font-weight: 700;
	color: #fff;
}

.order-send strong {
	color: #fff;
	font-weight: 600;
}

.order-addr-container {
	position: relative;
	height: 52px;
	width: 500px;
	margin: 0 auto 26px;
}

.order-addr-loader {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 500px;
}

.order-addr-loader.hidden {
	display: none;
}

.order-addr-spinner {
	width: 28px;
	height: 28px;
	border: 3px solid rgba(255, 255, 255, 0.15);
	border-top-color: rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	animation: addr-spin 0.8s linear infinite;
}

@keyframes addr-spin {
	to {
		transform: rotate(360deg);
	}
}

.order-addr-wrap {
	background: linear-gradient(180deg, #2f5e8a 0%, #1e4068 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	padding: 14px 22px;
	margin: 0;
	width: 500px;
	transition: width 0.15s;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	transition: filter 0.15s;
	display: flex;
	align-items: center;
	gap: 12px;
}

.addr-copy-btn {
	flex-shrink: 0;
	margin-left: auto;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	color: #fff;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s;
}

.addr-copy-btn:hover {
	background: rgba(255, 255, 255, 0.25);
}

.order-addr-wrap:hover {
	filter: brightness(1.1);
}

.order-addr-wrap.addr-copied {
	width: 100%;
}

.order-addr {
	color: #fff;
	font-family: 'Courier New', monospace;
	font-size: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.order-qr-wrap {
	position: relative;
	width: 190px;
	height: 190px;
	margin: 0 auto 26px;
}

.order-qr-skeleton {
	position: absolute;
	inset: 0;
	border-radius: 4px;
	background: linear-gradient(
		90deg,
		rgba(47, 94, 138, 0.5) 25%,
		rgba(80, 130, 180, 0.4) 50%,
		rgba(47, 94, 138, 0.5) 75%
	);
	background-size: 200% 100%;
	animation: skeleton-shimmer 1.4s infinite;
}

.order-qr-skeleton.hidden {
	display: none;
}

.order-qr {
	background: #fff;
	padding: 8px;
	border-radius: 4px;
	width: 190px;
	height: 190px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.order-awaiting {
	color: #8fa3b8;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 12px;
	opacity: 1;
	transition: opacity 0.28s ease;
}

.order-awaiting--init {
	visibility: hidden;
}

.order-awaiting.is-ready {
	visibility: visible;
}

.order-awaiting.is-hiding {
	opacity: 0;
	pointer-events: none;
}

.order-awaiting.is-hiding .order-check {
	opacity: 0;
	transform: scale(0.75);
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.order-awaiting-icon-slot {
	position: relative;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.order-awaiting-text {
	transition: opacity 0.35s ease, max-width 0.35s ease, margin 0.35s ease;
	max-width: 200px;
	white-space: nowrap;
	overflow: hidden;
}

.order-awaiting.is-received .order-awaiting-text {
	opacity: 0;
	max-width: 0;
	margin: 0;
}

.order-check {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #4ade80;
	opacity: 0;
	transform: scale(0.5);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.order-awaiting.is-received .order-check {
	opacity: 1;
	transform: scale(1);
}

.order-awaiting.is-received .order-spinner {
	opacity: 0;
	animation: none;
}

.order-spinner {
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, 0.15);
	border-top-color: #8fa3b8;
	border-radius: 50%;
	animation: orderSpin 0.8s linear infinite;
	opacity: 1;
	transition: opacity 0.35s ease;
	will-change: transform;
}

@keyframes orderSpin {
	to {
		transform: rotate(360deg);
	}
}

.order-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 24px;
}

.bestmixer-code-row {
	color: #c8d4e0;
	font-size: 14px;
	margin-bottom: 16px;
	text-align: center;
}

.bestmixer-code {
	color: #f2a131;
	font-weight: 700;
	font-family: 'Courier New', monospace;
	margin-left: 6px;
	font-size: 15px;
}

.order-footer-text {
	color: #8fa3b8;
	font-size: 13px;
	line-height: 1.6;
	text-align: left;
	margin: 0 0 24px;
}

.reset-btn {
	background: rgba(255, 255, 255, 0.07);
	color: #c8d4e0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 10px 28px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
	display: block;
	margin: 0 auto;
}

.reset-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	z-index: 1000;
	align-items: center;
	justify-content: center;
}

.modal-overlay.visible {
	display: flex;
}

.modal-dialog {
	background: linear-gradient(180deg, #162840, #0e1f35);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	padding: 40px;
	width: 100%;
	max-width: 440px;
	position: relative;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
	animation: fadeInUp 0.25s ease-out;
}

.modal-close {
	position: absolute;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	color: #8fa3b8;
	font-size: 26px;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s;
}

.modal-close:hover {
	color: #fff;
}

.modal-title {
	font-size: 20px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 8px;
}

.modal-sub {
	color: #8fa3b8;
	font-size: 14px;
	margin-bottom: 24px;
}

.modal-field {
	margin-bottom: 16px;
}

.modal-field label {
	display: block;
	color: #c8d4e0;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 6px;
}

.modal-field input,
.modal-field textarea {
	width: 100%;
	background: rgba(200, 211, 223, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	padding: 10px 14px;
	color: #e8eef5;
	font-size: 14px;
	font-family: inherit;
	outline: none;
	transition: border-color 0.2s;
}

.modal-field input:focus,
.modal-field textarea:focus {
	border-color: rgba(232, 69, 58, 0.5);
}

.modal-field textarea {
	resize: vertical;
}

.modal-submit {
	width: 100%;
	background: linear-gradient(180deg, #e8453a, #c92a1f);
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 12px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	margin-top: 6px;
}

.modal-submit:hover {
	background: linear-gradient(180deg, #ff6555, #d12e22);
	transform: translateY(-1px);
}

.toast {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: #1a3050;
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #e8eef5;
	font-size: 14px;
	padding: 12px 24px;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	pointer-events: none;
	opacity: 0;
	transition:
		opacity 0.25s,
		transform 0.25s;
	z-index: 2000;
	white-space: nowrap;
}

.toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.toast.toast--success {
	border-color: rgba(76, 175, 80, 0.5);
	color: #a5d6a7;
}
.toast.toast--error {
	border-color: rgba(229, 57, 53, 0.5);
	color: #ef9a9a;
}

.copyable {
	cursor: pointer;
	transition: color 0.2s;
}
.copyable:hover {
	color: #fff;
	text-decoration: underline;
}

.page-section {
	padding: 80px var(--content-pad);
}

.page-section--alt {
	background: rgba(0, 0, 0, 0.25);
}

.section-inner {
	max-width: var(--content-w);
	margin: 0 auto;
}

.section-title {
	font-size: 32px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 14px;
	letter-spacing: 0.5px;
}

.section-title::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	background: linear-gradient(90deg, #e8453a, #c92a1f);
	border-radius: 2px;
	margin-top: 12px;
}

.section-sub {
	color: #8fa3b8;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 36px;
	max-width: 680px;
}

.how-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.how-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 28px 22px;
}

.how-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(180deg, #e8453a, #c92a1f);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 14px;
	box-shadow: 0 4px 12px rgba(217, 48, 37, 0.35);
}

.how-card h3 {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 8px;
}

.how-card p {
	font-size: 14px;
	color: #8fa3b8;
	line-height: 1.6;
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.why-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 8px;
	padding: 32px 28px;
}

.why-icon {
	font-size: 32px;
	display: block;
	margin-bottom: 14px;
}

.why-card h3 {
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 10px;
}

.why-card p {
	font-size: 14px;
	color: #8fa3b8;
	line-height: 1.65;
}

.fees-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 32px;
	font-size: 14px;
}

.fees-table th {
	text-align: left;
	padding: 12px 20px;
	color: #8fa3b8;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fees-table td {
	padding: 16px 20px;
	color: #c8d4e0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	vertical-align: middle;
}

.fees-table tr:last-child td {
	border-bottom: none;
}

.fees-table tr:hover td {
	background: rgba(255, 255, 255, 0.03);
}

.coin-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	margin-right: 10px;
	vertical-align: middle;
}

.coin-badge--btc {
	background: radial-gradient(circle at 35% 35%, #f7b94d, #f7931a 60%, #b86a08);
}
.coin-badge--ltc {
	background: radial-gradient(circle at 35% 35%, #d3d5d8, #a6a9ac 60%, #6b6e72);
}
.coin-badge--bch {
	background: radial-gradient(circle at 35% 35%, #f7b94d, #f7931a 60%, #b86a08);
}
.coin-badge--eth {
	background: radial-gradient(circle at 35% 35%, #5b78b3, #3c5896 60%, #243a6b);
}

.faq-list {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.faq-item {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	overflow: hidden;
	transition: border-color 0.2s;
}

.faq-item[open] {
	border-color: rgba(232, 69, 58, 0.4);
}

.faq-item summary {
	padding: 18px 22px;
	font-size: 15px;
	font-weight: 500;
	color: #e8eef5;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}

.faq-item summary::after {
	content: '▾';
	font-size: 12px;
	color: #8fa3b8;
	transition: transform 0.2s;
	flex-shrink: 0;
}

.faq-item[open] summary::after {
	transform: rotate(180deg);
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item p {
	padding: 0 22px 18px;
	font-size: 14px;
	color: #8fa3b8;
	line-height: 1.7;
}

.api-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 32px;
}

.api-card {
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	padding: 24px 28px;
}

.api-card h3 {
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 14px;
}

.api-code {
	font-family: 'Courier New', monospace;
	font-size: 13px;
	color: #a5d6a7;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 4px;
	padding: 14px 16px;
	line-height: 1.7;
	overflow-x: auto;
	white-space: pre;
}

.api-note {
	margin-top: 24px;
	font-size: 14px;
	color: #8fa3b8;
}

.guarantee-block {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	margin-top: 32px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 32px;
}

.guarantee-icon {
	font-size: 48px;
	flex-shrink: 0;
}

.guarantee-text p {
	font-size: 14.5px;
	color: #8fa3b8;
	line-height: 1.7;
	margin-bottom: 10px;
}

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

.contacts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.contact-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 32px 28px;
	text-align: center;
}

.contact-icon {
	font-size: 36px;
	display: block;
	margin-bottom: 14px;
}

.contact-card h3 {
	font-size: 17px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 10px;
}

.contact-card p {
	font-size: 14px;
	color: #8fa3b8;
	line-height: 1.6;
}

.contact-email {
	display: inline-block;
	margin-top: 10px;
	font-size: 15px;
	font-weight: 600;
	color: #f0a500;
	text-decoration: none;
	letter-spacing: 0.3px;
	transition: color 0.2s;
}

.contact-email:hover {
	color: #ffc03d;
	text-decoration: underline;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	margin-left: auto;
	margin-right: 12px;
}

.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #c8d4e0;
	border-radius: 2px;
	transition: all 0.25s ease;
	transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.nav-toggle.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
	:root {
		--content-pad: 20px;
	}

	.top-bar {
		padding: 16px 20px;
		grid-template-columns: auto 1fr auto;
		gap: 12px;
	}

	.brand-name {
		font-size: 18px;
		letter-spacing: 1px;
	}
	.brand-icon {
		width: 30px;
		height: 30px;
	}

	.help-btn span:not(.help-icon) {
		display: none;
	}
	.help-btn {
		padding: 9px 10px;
	}

	.nav-bar {
		position: relative;
	}

	.nav-toggle {
		display: flex;
	}

	.nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(8, 18, 35, 0.98);
		backdrop-filter: blur(12px);
		flex-direction: column;
		z-index: 200;
		border-top: 1px solid rgba(255, 255, 255, 0.06);
		padding: 8px 0 16px;
		max-height: 70vh;
		overflow-y: auto;
	}

	.nav-menu.is-open {
		display: flex;
	}

	.nav-menu a {
		padding: 13px 24px;
		font-size: 15px;
		display: block;
	}

	.has-sub .submenu {
		position: static;
		display: none;
		background: rgba(0, 0, 0, 0.2);
		border-radius: 0;
		border: none;
		box-shadow: none;
		padding: 0;
	}

	.has-sub.open .submenu {
		display: block;
	}

	.submenu a {
		padding: 10px 36px;
		font-size: 14px;
	}

	/* ── Hero ── */
	.hero {
		padding: 40px var(--content-pad) 50px;
		align-items: stretch;
	}

	.hero-title {
		font-size: 24px;
		letter-spacing: 0.5px;
	}

	.hero-text {
		width: 100%;
		font-size: 14px;
	}

	.cta-button {
		font-size: 17px;
		padding: 14px 28px;
		width: 100%;
		justify-content: center;
	}
	.cta-button__wrapper {
		display: block;
	}

	.step1 {
		padding: 0;
		margin-top: 40px;
	}
	.step1-title {
		font-size: 20px;
		gap: 10px;
	}
	.step1-title .step-num {
		width: 32px;
		height: 32px;
		font-size: 15px;
	}

	.coin-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.coin-card {
		padding: 24px 14px;
		min-height: 110px;
		gap: 10px;
	}
	.coin-icon {
		width: 36px;
		height: 36px;
	}
	.coin-symbol {
		font-size: 18px;
	}
	.coin-name {
		font-size: 15px;
	}

	.step2 {
		margin-top: 40px;
		padding: 0;
	}

	.step2-title {
		font-size: 20px;
		gap: 10px;
	}
	.step2-title .step-num {
		width: 32px;
		height: 32px;
		font-size: 15px;
	}

	.step2-card {
		padding: 24px 18px;
	}

	.code-field {
		flex-direction: column;
		align-items: flex-start;
	}
	.code-input {
		width: 100%;
	}

	.address-row {
		flex-wrap: wrap;
		gap: 8px;
	}
	.percent-tag {
		min-width: 90px;
		border-radius: 3px;
	}
	.percent-tag::after {
		display: none;
	}
	.address-input {
		margin-left: 0;
		border-radius: 3px;
	}

	.reserves-label {
		margin-left: 8px;
	}

	.calc-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.continue-btn {
		width: 100%;
		font-size: 17px;
		padding: 14px;
	}

	.step3-title {
		font-size: 20px;
		gap: 10px;
	}
	.step3-title .step-num {
		width: 32px;
		height: 32px;
		font-size: 15px;
	}
	.step3-card {
		padding: 24px 18px;
	}

	.mix-btn {
		width: 100%;
		font-size: 17px;
		padding: 14px;
		justify-content: center;
	}

	.order-card {
		padding: 20px 16px 28px;
	}
	.order-header {
		gap: 8px;
	}
	.order-label,
	.order-id {
		font-size: 17px;
	}
	.order-pool {
		font-size: 15px;
	}
	.order-addr {
		font-size: 12px;
		word-break: break-all;
	}
	.order-addr-wrap {
		padding: 12px 14px;
	}

	.page-section {
		padding: 56px var(--content-pad);
	}

	.section-title {
		font-size: 26px;
	}

	.how-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	.why-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.api-grid {
		grid-template-columns: 1fr;
	}
	.contacts-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.guarantee-block {
		flex-direction: column;
		gap: 16px;
		padding: 24px;
	}
	.guarantee-icon {
		font-size: 36px;
	}

	.fees-table thead {
		display: none;
	}
	.fees-table,
	.fees-table tbody,
	.fees-table tr,
	.fees-table td {
		display: block;
		width: 100%;
	}
	.fees-table tr {
		background: rgba(255, 255, 255, 0.04);
		border: 1px solid rgba(255, 255, 255, 0.08);
		border-radius: 8px;
		margin-bottom: 10px;
		padding: 14px 18px;
	}
	.fees-table tr:last-child {
		margin-bottom: 0;
	}
	.fees-table td {
		border: none;
		padding: 5px 0;
		font-size: 14px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.fees-table td::before {
		content: attr(data-label);
		color: #8fa3b8;
		font-size: 12px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.6px;
	}

	.site-footer {
		padding: 28px var(--content-pad) 20px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		text-align: left;
	}

	.footer-center,
	.footer-right {
		text-align: left;
		justify-content: flex-start;
	}

	.footer-bottom {
		grid-template-columns: 1fr;
		gap: 10px;
		text-align: center;
	}

	.footer-icons,
	.terms,
	.copyright {
		text-align: center;
		justify-content: center;
	}

	.modal-dialog {
		padding: 28px 20px;
		margin: 16px;
		max-width: calc(100vw - 32px);
	}

	.lang-dropdown {
		min-width: 120px;
	}

	.toast {
		font-size: 13px;
		padding: 10px 18px;
		white-space: normal;
		text-align: center;
		max-width: 90vw;
	}
}

@media (max-width: 480px) {
	:root {
		--content-pad: 16px;
	}

	.top-bar {
		padding: 14px 16px;
	}
	.brand-name {
		font-size: 15px;
		letter-spacing: 0.5px;
	}
	.brand-icon {
		width: 26px;
		height: 26px;
	}

	.hero {
		padding: 32px 16px 40px;
	}
	.hero-title {
		font-size: 20px;
	}
	.hero-subtitle {
		font-size: 12px;
	}

	.coin-grid {
		gap: 10px;
	}
	.coin-card {
		padding: 18px 10px;
		min-height: 90px;
	}

	.step2-card,
	.step3-card {
		padding: 18px 14px;
	}

	.how-grid {
		grid-template-columns: 1fr;
	}

	.page-section {
		padding: 44px var(--content-pad);
	}
	.section-title {
		font-size: 22px;
	}

	.order-card {
		padding: 18px 12px 24px;
	}
	.order-qr {
		width: 160px;
		height: 160px;
	}

	.api-code {
		font-size: 12px;
		padding: 10px 12px;
	}

	.contact-card {
		padding: 24px 18px;
	}
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.order-status-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 12px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.status-inline-check {
	display: inline-flex;
	align-items: center;
	color: #4ade80;
	flex-shrink: 0;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
}

.status-inline-check.is-visible {
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
}

.order-status-row .status-badge {
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

.order-status-row .status-badge.status-0 {
	background: rgba(241, 196, 15, 0.2);
	color: #f1c40f;
}

.order-status-row .status-badge.status-2 {
	background: rgba(46, 204, 113, 0.2);
	color: #2ecc71;
}

.order-status-row .status-badge.status-3 {
	background: rgba(149, 165, 166, 0.2);
	color: #95a5a6;
}

.order-card.status-expired .order-awaiting {
	display: none;
}
