:root {
  --clr-accent: #7c3aed;
  --clr-text: #1e0533;
  --clr-text-muted: #6b5b8a;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--clr-accent);
  text-decoration: none;
  transition: filter 0.15s ease;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

@keyframes rf-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.header-mobile {
  padding-bottom: 48px;
}

.hero-form-title {
  line-height: 1.35;
  padding-inline: 0.5rem;
}

.hero-payment {
  width: 100%;
}

/* Hero — purple glass overlay + background art (overrides tailwind.css) */
.header-new {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #1a0a2e;
  background-image:
    linear-gradient(180deg, rgba(26, 10, 46, 0.58) 0%, rgba(26, 10, 46, 0.84) 100%),
    url("../img/monet.png"),
    url("header-bg-mobile2.webp");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center top, 8% 72%, center top;
  background-size: cover, min(280px, 42vw), cover;
}

.header-new > .nav,
.header-new > .relative {
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .header-new {
    background-image:
      linear-gradient(105deg, rgba(26, 10, 46, 0.52) 0%, rgba(45, 21, 85, 0.72) 42%, rgba(26, 10, 46, 0.86) 100%),
      url("../img/monet.png"),
      url("header-bg2.webp");
    background-position: center top, 12% 68%, center top;
    background-size: cover, min(360px, 34vw), cover;
  }

  .header-mobile {
    background: transparent;
  }
}

@media (min-width: 1024px) {
  .hero-row {
    align-items: center;
  }

  .hero-copy {
    flex: 1 1 0;
    min-width: 0;
  }

  .header-mobile {
    flex: 0 0 auto;
    padding-bottom: 2.5rem;
  }
}

.rf-form {
  --rf-input-text-color: #0f172a;
  --rf-input-border-color: #e5e7eb;
  --rf-input-background-color: #fff;
  --rf-input-focus-ring-color: #7c3aed;
  --rf-input-font-size: 14px;
  --rf-input-radius: 6px;
  --rf-field-error-color: #ef4444;
  --rf-alert-success-text-color: #fff;
  --rf-alert-success-background-color: #22c55e;
  --rf-alert-error-text-color: #fff;
  --rf-alert-error-background-color: #ef4444;
  --rf-loader-text-color: #fff;
  --rf-loader-background-color: rgb(43 44 51 / 75%);

  width: 100%;
  max-width: 328px;
}

@media screen and (max-width: 475px) {
  .rf-form,
  .payment-methods {
    max-width: 80%;
  }
}

.rf-form__content {
  position: relative;
  box-sizing: border-box;
  border-radius: inherit;
}

.rf-form__content > * + * {
  margin-top: 16px;
}

.rf-form__content > :last-child {
  margin-top: 20px;
}

.rf-form__loader {
  position: absolute;
  z-index: 1;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--rf-loader-text-color);
  background: var(--rf-loader-background-color);
  border-radius: 8px;
}

.rf-form__loader::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  border-width: 5px;
  border-style: solid;
  border-color: currentColor transparent currentColor transparent;
  animation: rf-spin 1.2s linear infinite;
}

.rf-form-field {
  width: 100%;
}

.rf-form-field__error {
  line-height: 1.25;
  display: none;
  width: 100%;
  margin-top: 8px;
  color: var(--rf-field-error-color);
}

.rf-form-input {
  font-size: var(--rf-input-font-size);
  line-height: 24px;
  box-sizing: border-box;
  width: 100%;
  padding: 8px 12px;
  color: var(--rf-input-text-color);
  background-color: var(--rf-input-background-color);
  border: 0 solid var(--rf-input-border-color);
  border-radius: var(--rf-input-radius);
  appearance: none;
}

.rf-form-input:focus {
  border-color: var(--rf-input-focus-ring-color);
  box-shadow: 0 0 0 2px var(--rf-input-focus-ring-color);
}

.rf-alert {
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 6px;
}

.rf-alert_error {
  color: var(--rf-alert-error-text-color);
  background: var(--rf-alert-error-background-color);
}

.rf-alert_success {
  color: var(--rf-alert-success-text-color);
  background: var(--rf-alert-success-background-color);
}

.rf-alert__icon {
  flex-shrink: 0;
  width: auto;
}

.rf-alert__content {
  font-size: 14px;
  line-height: 1.25;
  padding-left: 12px;
}

.rf-alert__content > * {
  margin: 0;
  padding: 0;
}

.rf-alert__content > * + * {
  margin-top: 0.5em;
}

.rf-alert__content > h1,
.rf-alert__content > h2,
.rf-alert__content > h3,
.rf-alert__content > h4,
.rf-alert__content > h5,
.rf-alert__content > h6 {
  font-size: inherit;
  font-weight: 600;
}

.rf-alert__content > ul,
.rf-alert__content > ol {
  padding-left: 1.5em;
}


.exchange-icons {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
	background: #f3f0ffe5;
	padding: 8px;
	border-radius: 90px;
}

.exchange-icon {
	width: 48px;
	height: 44px;
	border-radius: 50%;

	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	cursor: pointer;
	transition: background var(--dur-fast);
}

.exchange-icon:hover {
	animation: icon-bounce 0.55s ease;
}

@keyframes icon-bounce {
	0%, 100% {
		transform: translateY(0);
	}

	30% {
		transform: translateY(-12px);
	}

	50% {
		transform: translateY(0);
	}

	70% {
		transform: translateY(-6px);
	}
}

.exchange-icon img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.exchange-arrow:hover {
	background: var(--clr-accent);
	color: #fff;
	border-color: var(--clr-accent);
}



.section-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border-radius: 100px;
	padding: 5px 14px 5px 5px;
	width: fit-content;
	background: #fff;
}
.section-label__num {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid #7c3aed;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: var(--clr-text-muted);
	flex-shrink: 0;
}
.section-label__text {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--clr-text-muted);
}

/* ─── 10. CHI SIAMO ──────────────────────────────────────────────────────────── */
.chi-siamo {
	background: #fff;
	padding: 100px 40px 80px; /* сверху отступ под выезжающий banner */
}

.chi-siamo__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

/* LEFT */
.chi-siamo__left {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.chi-siamo__title {
	font-size: clamp(20px, 2.4vw, 30px);
	font-weight: 800;
	line-height: 1.3;
	color: var(--clr-text);
}

.chi-siamo__text {
	font-size: 14px;
	line-height: 1.75;
	color: var(--clr-text-muted);
}

/* RIGHT */
.chi-siamo__right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 28px;
}

/* Coins */
.chi-siamo__coins {
	width: 100%;
}
.chi-siamo__coins img {
	width: 100%;
	object-fit: contain;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

/* ─── Investment calculator ─────────────────────────────────────────────────── */
.invest-calc__grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 12px 16px;
	align-items: center;
	margin-bottom: 28px;
}

.invest-calc__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 20px;
	border-radius: 12px;
	background: #f5f3ff;
	border: 1px solid rgb(124 58 237 / 0.12);
}

.invest-calc__card--result {
	background: rgb(124 58 237 / 0.08);
	border-color: rgb(124 58 237 / 0.25);
}

.invest-calc__label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--clr-text-muted);
}

.invest-calc__value {
	font-family: "Encode Sans Expanded", sans-serif;
	font-size: clamp(22px, 4vw, 32px);
	font-weight: 900;
	color: var(--clr-text);
	line-height: 1.1;
}

.invest-calc__value--result {
	color: #7c3aed;
}

.invest-calc__arrow {
	font-size: 28px;
	font-weight: 700;
	color: #7c3aed;
	text-align: center;
}

.invest-calc__slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(
		to right,
		#7c3aed 0%,
		#7c3aed var(--calc-progress, 2%),
		#e9e5f5 var(--calc-progress, 2%),
		#e9e5f5 100%
	);
	outline: none;
	cursor: pointer;
}

.invest-calc__slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #7c3aed;
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgb(124 58 237 / 0.4);
	cursor: pointer;
}

.invest-calc__slider::-moz-range-thumb {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #7c3aed;
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgb(124 58 237 / 0.4);
	cursor: pointer;
}

.invest-calc__range-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	font-size: 12px;
	color: var(--clr-text-muted);
}

.invest-calc__cta {
	text-decoration: none;
}

@media (max-width: 540px) {
	.invest-calc__grid {
		grid-template-columns: 1fr;
	}

	.invest-calc__arrow {
		transform: rotate(90deg);
	}
}

.pros-card {
	border: 1px solid rgb(124 58 237 / 0.25);
	border-radius: 12px;
}

.pros-card h3 {
	min-height: 3.25rem;
}

.pros-card__row {
	align-items: flex-start;
}

.pros-card__icon-wrap {
	flex-shrink: 0;
	width: 96px;
	height: 112px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pros-card__icon {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
}

.pros-card__icon--touch {
	object-position: 50% 40%;
	transform: scale(1.08);
}

.pros-card__icon--cloud {
	object-position: 50% 50%;
	transform: scale(1.12);
}

.pros-card__icon--armor {
	object-position: 50% 58%;
	transform: scale(1.15);
}

@media (min-width: 1024px) {
	.pros-card h3 {
		min-height: 4.25rem;
	}
}

.like-btn {
	background: none;
	font: inherit;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.like-btn.is-liked,
.like-btn.is-liked:hover {
	color: #ef4444;
	border-color: #ef4444;
}

.like-btn.is-liked .icon-like,
.like-btn.is-liked:hover .icon-like {
	background: url("like-active.svg") no-repeat center;
	background-size: contain;
}

.slot-count {
	display: inline-block;
	transform-origin: center center;
}

@keyframes slot-beat {
	0% {
		transform: scale(1);
	}

	30% {
		transform: scale(1.45);
	}

	50% {
		transform: scale(1.2);
	}

	70% {
		transform: scale(1.35);
	}

	100% {
		transform: scale(1);
	}
}

.slot-count.is-beating {
	animation: slot-beat 0.5s ease;
	text-shadow: 0 0 12px rgb(255 255 255 / 0.8);
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2.75rem;
}

.site-nav a {
	text-decoration: none;
	font-weight: 600;
	font-size: 0.875rem;
}

.site-nav--header a,
.site-nav--footer a {
	color: #fff;
}

.site-nav--header a:hover,
.site-nav--footer a:hover {
	color: #c4b5fd;
}

.site-nav--footer {
	justify-content: center;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	justify-content: center;
	margin-bottom: 0.75rem;
}

.footer-legal a {
	color: rgb(255 255 255 / 0.6);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
}

.footer-legal a:hover {
	color: #c4b5fd;
}

.footer-legal__sep {
	color: rgb(255 255 255 / 0.35);
	font-weight: 700;
}

@media (min-width: 1024px) {
	.site-nav--header {
		gap: 1rem 3.5rem;
	}

	.site-nav--footer {
		justify-content: flex-end;
		gap: 1rem 3rem;
	}
}

.results-banner__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.results-banner__figure {
	width: 100%;
	max-width: 20rem;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.results-banner__figure img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: bottom center;
}

.results-banner__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (min-width: 1024px) {
	.results-banner__inner {
		flex-direction: row;
		align-items: center;
		gap: 3rem;
	}

	.results-banner__figure {
		flex-shrink: 0;
		width: 24rem;
		max-width: none;
		align-self: center;
		padding-top: 1.5rem;
	}

	.results-banner__content {
		flex: 1;
		min-height: 0;
	}
}

/* ─── Global media ─────────────────────────────────────────────────────────── */
.main img:not(.rounded-full):not([class*="object-cover"]):not(.pros-card__icon),
.header-new img:not(.rounded-full),
.footer img:not(.rounded-full) {
	max-width: 100%;
	height: auto;
}

.rounded-full img,
img.rounded-full {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	aspect-ratio: 1 / 1;
}

.main .rounded-full:has(> img.rounded-full) {
	overflow: hidden;
}

.form-widget {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.chi-siamo__title br {
	display: none;
}

/* ─── Tablet & mobile ─────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
	.chi-siamo {
		padding: 48px 20px 56px;
	}

	.chi-siamo__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.chi-siamo__right {
		align-items: center;
		width: 100%;
	}

	.chi-siamo__left {
		text-align: center;
		align-items: center;
	}

	.chi-siamo__left .btn-primary {
		width: 100%;
		max-width: 320px;
	}

	.exchange-icons {
		flex-wrap: wrap;
		justify-content: center;
		max-width: 100%;
		border-radius: 24px;
		padding: 10px 12px;
		gap: 8px;
	}

	.exchange-arrow svg {
		width: 48px;
		height: auto;
	}

	.section-label__text {
		font-size: 14px;
		letter-spacing: 0.05em;
	}

	.invest-calc {
		padding: 1rem !important;
	}

	.invest-calc__value {
		font-size: clamp(18px, 5vw, 28px);
	}

	.invest-calc__card {
		padding: 12px 14px;
	}
}

@media (max-width: 767px) {
	.header-new {
		min-height: auto;
	}

	.nav > .relative {
		flex-direction: column;
		align-items: center;
		padding-top: 2.75rem;
		padding-bottom: 0.75rem;
		gap: 0.75rem;
	}

	.nav .logo {
		font-size: 1.125rem;
		gap: 0.5rem;
	}

	.nav .logo img {
		width: 36px;
		height: 36px;
	}

	.site-nav--header {
		width: 100%;
		justify-content: center;
		gap: 0.75rem 1.5rem;
	}

	.site-nav--header a {
		font-size: 0.8125rem;
	}

	.nav .absolute {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		order: -1;
		font-size: 0.8125rem;
		line-height: 1.35;
		padding: 0.5rem 0.75rem;
	}

	.header-mobile {
		padding-top: 1.5rem;
		padding-bottom: 2rem;
		background-size: cover;
	}

	.header-new h1.text-3xl {
		font-size: 1.625rem !important;
		line-height: 1.2 !important;
	}

	.header-new h1 .text-4xl {
		font-size: 1.75rem !important;
		line-height: 1.15 !important;
	}

	.header-new h1 .text-base {
		font-size: 0.9375rem !important;
	}

	.header-new .my-5.lg\:my-10 {
		font-size: 0.9375rem;
		line-height: 1.55;
		margin-top: 1rem;
		margin-bottom: 1.25rem;
	}

	.header-lines {
		border-left: 0;
		border-right: 0;
	}

	.header-lines::after {
		display: none;
	}

	.main .my-7 {
		margin-top: 1.75rem;
		margin-bottom: 1.75rem;
	}

	.main h2.text-primary-darker {
		font-size: 1.125rem;
		line-height: 1.35;
	}

	.main .section-label {
		margin-bottom: 0.75rem;
	}

	.main .mb-7.grid > a {
		display: block;
		width: 100%;
	}

	.main .mb-7.grid > a span {
		width: 100%;
		justify-content: center;
	}

	.chi-siamo {
		padding: 32px 16px 40px;
		margin-left: -1rem;
		margin-right: -1rem;
		width: calc(100% + 2rem);
		border-radius: 0;
	}

	.chi-siamo__title {
		font-size: 1.25rem;
	}

	.chi-siamo__text {
		font-size: 0.9375rem;
	}

	.chi-siamo__coins img {
		max-height: 280px;
		margin: 0 auto;
	}

	.pros-card h3 {
		font-size: 1rem;
		margin-bottom: 1rem !important;
		min-height: 2.75rem;
	}

	.pros-card__icon-wrap {
		width: 80px;
		height: 96px;
	}

	.bg-primary-dark .font-alt.font-black.text-lg,
	.bg-primary-light .font-alt.font-black.text-lg {
		font-size: 0.9375rem;
	}

	.bg-primary-light .flex-grow.text-primary-medium,
	.bg-white .flex-grow.text-primary-medium {
		font-size: 0.9375rem;
		line-height: 1.6;
	}

	.footer .logo {
		font-size: 1rem;
	}

	.footer .logo img {
		width: 36px;
		height: 36px;
	}

	.footer span.lg\:pl-5 {
		font-size: 0.8125rem;
		text-align: center;
		padding-left: 0 !important;
		margin-left: 0 !important;
		border-left: 0 !important;
		margin-top: 0.5rem;
	}

	.site-nav--footer {
		gap: 0.75rem 1.25rem;
	}

	#disclaimer {
		font-size: 0.6875rem;
		line-height: 1.55;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	.results-banner__content {
		padding-left: 1rem;
		padding-right: 1rem;
		text-align: center;
	}

	.results-banner__figure {
		max-width: 16rem;
	}

	.like-btn,
	.like-btn + a {
		font-size: 0.75rem;
	}
}

@media (max-width: 389px) {
	.header-new h1.text-3xl {
		font-size: 1.375rem !important;
	}

	.header-new h1 .text-4xl {
		font-size: 1.5rem !important;
	}

	.site-nav--header {
		gap: 0.5rem 1rem;
	}

	.invest-calc__label {
		font-size: 11px;
	}

	.section-label__num {
		width: 24px;
		height: 24px;
		font-size: 10px;
	}
}

@media (min-width: 768px) {
	.chi-siamo__title br {
		display: inline;
	}
}
