/* Medium (500) */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/Montserrat-Medium.woff2') format('woff2'); /* <-- правильно */
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ExtraLight (200) */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope/Manrope-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Light (300) */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope/Manrope-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Regular (400) */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope/Manrope-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium (500) */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope/Manrope-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold (600) */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope/Manrope-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold (700) */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope/Manrope-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ExtraBold (800) */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope/Manrope-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


* {
	box-sizing: border-box;
}
body {
  background: #F9F6EF;
	margin: 0;
	padding: 0;
	width: 100%;
	font-family: 'Manrope', sans-serif;
}


a, p, h1, h2, h3, h4, h5, h6 {
	margin: 0;
    text-decoration: none;
    line-height: 1.2;
}
button:focus,
textarea:focus,
select:focus{
	outline: none!important;
	box-shadow: none;
}
input:focus{
	outline: none!important;
}
a:active, a:focus {
  outline: 0;
  outline: none!important;
  -moz-outline-style: none;
}

span, button, img, a {
	transition: .3s all ease;
}

a, span, button {
	display: inline-block;
}

.wrapper {
	overflow-x: hidden;
	overflow-y: visible;
	background: #F9F6EF;
	min-height: 100vh;
	min-height: 100dvh; /* dynamic viewport height для iOS Safari */
}

.container {
	max-width: 430px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
	position: relative;
}

.main-top {
	width: 330px;
	height: 315px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
  margin-top: 0px;
}
.main-top span {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	border-radius: 50%;
	background: #F9F6EF;
}
.main-top span.one {
	width: 140px;
	height: 140px;
	z-index: 3;
	box-shadow: 0px 0px 24px 3px #C2BAA62B;
}
.main-top span.two {
	width: 215px;
	height: 215px;
	z-index: 2;
	box-shadow: 0px 0px 24px 3px #C2BAA640;
}
.main-top span.three {
	width: 283px;
	height: 283px;
	box-shadow: 0px 0px 100px 3px #C2BAA62B;
}
.main-numbers span {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	border-radius: 50%;
	overflow: hidden;
	z-index: 5;
	box-shadow: 0px 0px 12px 0px rgba(131, 126, 109, 0.5);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	font-weight: 500;
	font-size: 24px;
	line-height: 140%;
	letter-spacing: -0.03em;
	color: #C1A89D;
}
.main-numbers .small {
	width: 38px;
	height: 38px;
	font-weight: 500;
	font-size: 18px;
	line-height: 140%;
	text-align: center;
	color: #ABBA80;
}
.main-numbers span img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.main-numbers span.center {
	width: 85px;
	height: 85px;
	background-image: url(../images/hero-circles/leaf-1.png);
	
	font-weight: 700;
	font-size: 40px;
	line-height: 140%;
	letter-spacing: -0.01em;
	color: #ABBA80;
}
.main-numbers span.top-right {
    background-image: url(../images/hero-circles/m-2.png);
    top: -55%;
    right: -35%;
}
.main-numbers span.center-right {
    background-image: url(../images/hero-circles/m-3.png);
    top: -7%;
    right: -69%;
	color: #2A241F;
}
.main-numbers span.bottom-right {
    background-image: url(../images/hero-circles/m-4.png);
    bottom: -47%;
    right: -80%;
    color: #12100C;
}
.main-numbers span.bottom {
    background-image: url(../images/hero-circles/m-5.png);
    bottom: -79%;
    right: 4%;
    color: #4C483F;
    background-size: 130% 100%;
}
.main-numbers span.left-bottom {
    background-image: url(../images/hero-circles/m-6.png);
    bottom: -30%;
    left: -60%;
    background-size: 130% 100%;
    color: #E8EDCA;
}
.main-numbers span.left-top {
    background-image: url(../images/hero-circles/m-1.png);
    top: -30%;
    left: -56%;
    background-size: 130% 100%;
    color: #4C483F;
}
.main-numbers span.s-1 {
    background-image: url(../images/hero-circles/s-1.png);
    top: -80%;
    left: -20%;
    background-size: 150% 100%;
}
.main-numbers span.s-2 {
    background-image: url(../images/hero-circles/s-2.png);
    top: -60%;
    right: -73%;
    background-size: 150% 100%;
    color: #505050;
}
.main-numbers span.s-3 {
    background-image: url(../images/hero-circles/s-3.png);
    bottom: -50%;
    right: -30%;
    background-size: 150% 100%;
}
.main-numbers span.s-4 {
    background-image: url(../images/hero-circles/s-4.png);
    bottom: -72%;
    left: -60%;
    background-size: 150% 100%;
	color: #DFD0CB;
}
.main-numbers span.s-4 {
    background-image: url(../images/hero-circles/s-4.png);
    bottom: -75%;
    left: -60%;
    background-size: 150% 100%;
    color: #DFD0CB;
}
.main-numbers span.s-5 {
    background-image: url(../images/hero-circles/s-5.png);
    top: -6%;
    left: -93%;
    background-size: 150% 100%;
    color: #615C47;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.bouncing {
    animation: bounce 2.2s ease-in-out infinite;
}

.bouncing.early {
    animation-delay: 0.6s;
}

/* page 2 */
.back-btn {
	margin-bottom: 20px;
	cursor: pointer;
}
.back-btn span {
	display: flex;
	align-items: center;
	gap: 0 8px;
	font-weight: 500;
	font-size: 14px;
	line-height: 1;
	letter-spacing: -1%;
	color: #736C5A80;
}
/* page 2 */
.head-btn {
	margin-bottom: 20px;
	cursor: pointer;
}
.head-btn span {
	display: flex;
	align-items: center;
	gap: 0 8px;
	font-weight: 500;
	font-size: 15px;
	line-height: 1;
	letter-spacing: -1%;
	color: #736C5A80;
}


.head-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0 10px;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  padding: 7px 11px;
  color: #A29C8E;
  background: #EBE6DA;
  border-radius: 8px;
  margin-bottom: 23px;
}
/* .back-btn span svg {
	margin-bottom: 3px;
} */
.title p {
	font-weight: 500;
	font-size: 15px;
	line-height: 140%;
	letter-spacing: 1%;
	color: #736C5A;
	margin-bottom: 32px;
	margin-top: 6px;
}

.title p.description-bold{
  margin-top: 16px;
}

.relationship {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px 0;
}
.relationship-item {
	width: 100%;
	padding: 24px 20px;
	border-radius: 16px;
	box-shadow: 0px 3px 6px 0px #796D5303;
	position: relative;
	cursor: pointer;
	background-color: #FFFDF8;
	overflow: hidden;
	transition: .3s all ease;
	opacity: 0.4;
	--img-zoom: 1;
	--img-angle: 0deg;
	--img-y: 50%;
	--img-x: 100%;
}
/* Картинка через псевдоэлемент */
.relationship-item::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 80px;
  height: 80px;
  background-image: var(--img-url);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  /* --img-x: сдвиг от правого края, например 0px, 20px, 40px */
  transform:
    translateY(-50%)
    translateX(calc(var(--img-x, 0px) * -1))
    scale(var(--img-zoom, 1))
    rotate(var(--img-angle));
  transform-origin: 50% 50%;
  pointer-events: none;
  z-index: 1;
}
/* Градиент наплыва */
.relationship-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #fffdf8, #fffdf8 82.35%, rgba(255, 253, 248, 0.85) 89.5%, rgba(255, 253, 248, 0.5) 100%, transparent);
  pointer-events: none;
  z-index: 3;
}
/* Контент поверх */
.relationship-item p,
.relationship-item span {
	position: relative;
	z-index: 4;
}
.relationship-item.active {
  opacity: 1;
  box-shadow: 0px 3px 6px 0px #796D5303;
}
.relationship-item span {
	font-weight: 700;
	font-size: 15px;
	line-height: 140%;
	letter-spacing: 0.02em;
	color: #8F8A7C;
	display: block;
	margin-bottom: 4px;
}
.relationship-item p {
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;
	letter-spacing: 0.03em;
	color: #8F8A7C;
}

.continue-btn {
  text-align: center;
  position: fixed;
  bottom: 15px;
  padding: 15px 15px;
  width: 100%;
}
.continue-btn .next {
  max-width: 400px;
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0;
  text-align: center;
  color: #FFFFFF;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #D0B159 0%, #949981 100%);
}


/* main text */
.main-text {
	margin-top: 20px;
}
.animated-up span {
	font-weight: 900;
	font-size: 36px;
	line-height: 1;
	color: #DBD0B6;
}
.gradient-text {
	display: block;
	font-weight: 900;
	font-size: 36px;
	line-height: 100%;
	background: radial-gradient(50% 107.16% at 50% 50%, #D0B159 20.69%, rgba(88, 96, 63, 0.6) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
  letter-spacing: -1%;
	text-shadow: 0px 4px 12px rgba(194, 186, 166, 0.25);
}
.description {
	font-weight: 500;
	font-size: 14px;
	line-height: 140%;
	color: #736C5A;
	margin-bottom: 40px;
  margin-top: 8px;
}
.main-text.text-center .h2 {
  font-weight: 700;
  font-size: 33px;
  line-height: 140%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #DBD0B6;
}
.main-text.text-center .description {
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #736C5A;
  margin: 15px auto 0;
  max-width: 340px;
}



/* === Up animation (Привет, это) === */
.animated-up {
	display: inline-block;
	overflow: hidden;
}
.animated-up span {
	display: inline-block;
	transform: translateY(100%);
	opacity: 0;
	animation: riseUp 0.4s ease-out forwards;
}

@keyframes riseUp {
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* === Left-to-right animation (Твой Код Личности) === */
.animated-left {
	display: inline-block;
	overflow: hidden;
}

.animated-left span {
	display: inline-block;
	transform: translateX(-30px); /* chapga siljigan holatda boshlanadi */
	opacity: 0;
	animation: slideLeft 0.6s ease-out forwards;
	background: linear-gradient(to right, #949981, #D0B159, #949981);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.typing {
  color: #d7b94c;
  position: relative;
}
.typing::after {
  content: "|";
  position: absolute;
  right: 0;
  width: 100%;
  color: white;
  background: var(--background);
  -webkit-animation: typing 4s steps(var(--steps)) forwards, caret 1s infinite;
          animation: typing 4s steps(var(--steps)) forwards, caret 1s infinite;
}

@-webkit-keyframes typing {
  to {
    width: 0;
  }
}

@keyframes typing {
  to {
    width: 0;
  }
}
@-webkit-keyframes caret {
  50% {
    color: transparent;
  }
}
@keyframes caret {
  50% {
    color: transparent;
  }
}



.gender-buttons {
  position: fixed;
  bottom: -20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: env(safe-area-inset-bottom, 0px); /* для iPhone с notch */
  max-width: 410px;
  margin: 0 auto;
}
.gender-button {
	width: 50%;
	max-width: 215px;
	position: relative;
	cursor: pointer;
	opacity: 0;
	transform: translateY(50px);
}

.gender-button.men {
	margin-left: -15px;
}

@keyframes slideUpWomen {
	from {
		opacity: 0;
		transform: rotate(-2deg) translateY(50px);
	}
	to {
		opacity: 1;
		transform: rotate(-2deg) translateY(0);
	}
}
@keyframes slideUpMen {
	from {
		opacity: 0;
		transform: rotate(2deg) translateY(50px);
	}
	to {
		opacity: 1;
		transform: rotate(2deg) translateY(0);
	}
}

.gender-button .gradient-overlay {
	display: none;
}

.gender-button .gender-button-inner {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
}

.gender-button .gender-button-inner::after {
	content: '';
	position: absolute;
	bottom: 2px;
	left: 2px;
	right: 2px;
	height: 60%;
	background: linear-gradient(to top, rgba(41, 30, 20, 0.98), rgba(41, 30, 20, 0.81) 30%, rgba(40, 30, 20, 0));
	pointer-events: none;
	z-index: 2;
	border-radius: 0 0 22px 22px;
}

.gender-button.men .gender-button-inner {
	transform: rotate(1deg);
}

.gender-button img {
	width: 100%;
	border-radius: 24px;
	border: 2px solid white;
	display: block;
}
.gender-button span {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-weight: bolder;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: #fff;
  z-index: 3;
}

.gender-button.women span {
  color: #ffffff;
}

.gender-button.men span {
  color: #ffffff;
}

.gender-button {
  position: relative;
  top: 0;
  cursor: pointer;
}

.gender-button.active {
  top: -30px;
  cursor: default;
  z-index: 5;
  transition: top .9s ease, opacity .9s ease;
}

.gender-button.active span {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gender-button.inactive {
  opacity: 0.5 !important;
  pointer-events: none;
  transition: opacity 0.3s ease;
}



/******************/
/**** TAB STEPS *****/
/******************/    

.tab-steps {
  position: relative;
  list-style: none;
  padding-left: 0;
  min-height: 110px;
  width: 100%;
}

.tab-steps--list {
  list-style: none;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.tab-steps--list::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 4px;
  background-color: #EAE6DD;
}

.tab-steps--list li {
  position: relative;
  list-style: none;
  display: inline-block;
  counter-increment: li;
  cursor: pointer;
  border-radius: 50%;
}
.tab-steps--list li::after {
  content: "";
  display: flex;
  cursor: pointer;
  background-color: #EAE6DD;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.tab-steps--list li::before {
  content: "";
  display: inline-block;
  height: 4px;
  width: 0;
  position: absolute;
  left: -80px;
  top: 0;
  bottom: 0;
  margin: auto;
  transition: .5s all ease;
}
.tab-steps--list li.active {
  opacity: 1;
  transition: .5s all ease;
}
.tab-steps--list li.active::before {
  width: 80px;
}
.tab-steps--list li.one.active::before {
  background: transparent;
}
.tab-steps--list li.two.active::before {
  background: linear-gradient(270deg, #BAA86A 0%, #AFA471 100%);
}
.tab-steps--list li.three.active::before {
  background: #D0B15A;
}


.tab-steps--list li.two.active,
.tab-steps--list li.two.active::after {
  background: #AFA471;
  transition: 1s all ease;
}
.tab-steps--list li.three.active,
.tab-steps--list li.three.active::after {
	background-color: #D0B15A;
  transition: 2s all ease;
}
.tab-steps--list li.one,
.tab-steps--list li.one::after {
	width: 8px;
	height: 8px;
	background-color: #949981;
}
.tab-steps--list li.two,
.tab-steps--list li.two::after {
	width: 14px;
	height: 14px;
}
.tab-steps--list li.three,
.tab-steps--list li.three::after {
	width: 18px;
	height: 18px;
}
.tab-steps--list li.four,
.tab-steps--list li.four::after {
	width: 20px;
	height: 20px;
}
.tab-steps--list li.five,
.tab-steps--list li.five::after {
	width: 24px;
	height: 24px;
}





/* .tab-steps--list li:first-child:after {
  content: none;
} */

.tab-steps>li {
  opacity: 0;
  visibility: hidden;
  height: 0;
  z-index: -1;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  width: 100%;
}

.tab-steps--five,
.tab-steps--four,
.tab-steps>li:first-child {
  position: relative;
  background: #F9F6EF;
}
.tab-steps--three .tab-steps--blocks {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 88vh;
}

.tab-steps>li.active {
  opacity: 1;
  visibility: visible;
  height: auto;
  z-index: 2;
}

.tab-steps--blocks {
  	position: relative;
    margin-left: 0;
}
.pause-number {
  opacity: 0.5;
  transition: .5s all ease;
}
.pause-number.active b,
.pause-number.active {
  opacity: 1;
}

.pause-number b {
  opacity: 0;
  font-weight: 500;
}


.matrix .gradient-text {
  font-size: 36px;
  margin-bottom: 12px;
}


.dropdown {
  margin-bottom: 12px;
  background-color: #fffdf8;
  border-radius: 14px;
  overflow: hidden;
  transform: translateZ(0);
}

/* БЕЗ display:none! */
.dropdown-menu {
  height: 0;
  opacity: 0;
  overflow: hidden;
  background: #fffdf8;
  box-sizing: border-box;
  transition: all 0.2s ease-in;
  will-change: height;
}


.dropdown-menu p {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #736C5A;
  margin-bottom: 20px;
}

.dropdown-menu .nums {
  display: flex;
  align-items: center;
  gap: 0 12px;
}

.dropdown-menu .dropdown-body {
  padding: 6px 20px 0px 20px;
  position: relative;
}

.dropdown.open .dropdown-menu {
  opacity: 1; /* высоту анимируем JS, прозрачность по классу */
}

/* Иконка 1: исчезает сразу, появляется плавно */
.dropdown .icon {
  margin-top: -3px;
  position: absolute;
  right: 15px;
  top: 20px;
  opacity: 1;
  transition: none; /* по умолчанию без анимации */
}
.dropdown.open .icon {
  opacity: 0;
  transition: opacity 0s; /* исчезает мгновенно */
}
.dropdown:not(.open) .icon {
  opacity: 1;
  transition: opacity 0.3s ease-in; /* появление плавное */
}

/* Иконка 2: появляется плавно, пропадает сразу */
.dropdown .icon-2 {
  margin-top: -3px;
  position: absolute;
  right: 15px;
  top: 20px;
  opacity: 0;
  transition: none;
}
.dropdown.open .icon-2 {
  opacity: 1;
  transition: opacity 0.3s ease-in; /* плавное появление */
}
.dropdown:not(.open) .icon-2 {
  opacity: 0;
  transition: opacity 0s; /* мгновенное скрытие */
}

.dropdown-btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  gap: 0 10px;
  text-align: left;

  padding: 18px 20px;
  
  background: #FFFDF8;
  box-shadow: 0px 3px 6px 0px #796D5303;
  
}
.dropdown-btn .text {
  display: flex;
  align-items: center;
  gap: 0 8px;
  font-weight: 500;
  font-size: 15px;
  color: #736C5A;
}
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  max-width: 24px;
  height: 24px;
  line-height: 20px;
  border-radius: 50%;
  font-weight: 500;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, #FCEA94 14.65%, #F9E38A 18.89%, #F6DA7B 26.67%, #F4D573 36.57%, #F4D471 53.54%);
  position: relative;
}
.num.purple {
  background: linear-gradient(135deg, #bfbae3 14.64%, #9f97ef 85.36%);
}
.num.green {
  background: linear-gradient(135deg, #B3DB8A 14.64%, #A4CC76 85.36%);
}
.num.blue {
  background: linear-gradient(135deg, #A4C4F4 14.65%, #71A8EA 85.36%);
}
.num.light-blue {
  background: linear-gradient(135deg, #ade0f1 14.65%, #71c4ea 85.36%);
}
.num.white {
  background: #ffffff;
  border: 1px solid #545454;
  color: #545454;
}
.num.orange {
  background: linear-gradient(135deg, #fcc07e 14.65%, #f7a647 85.36%);
}
.num.pink {
  background: linear-gradient(135deg, #BFBAE3 14.65%, #9F97EF 85.35%);
}
.num.red {
  background: linear-gradient(135deg, #EF8989 14.64%, #EC7979 35.15%, #EA6868 63.44%, #EA6363 85.36%);
}
.num.lock{
  background: linear-gradient(296deg, #d0b159 20.69%, rgba(224, 214, 91, 0.6))
}

.num::after {
    content: "";
    display: block;
    width: 6px;
    height: 1px;
    background-color: #736C5A;
    position: absolute;
    right: -9px;
    top: 0;
    bottom: 0;
    margin: auto;
}
.num:last-child:after {
  content: none;
}


.dropdown-menu .num{
  display: inline-flex;
  margin-right: 4px;
}
.dropdown-menu .num::after {
  content: none;
}
.dropdown-menu .num:last-child:after {
  content: none;
}

.matrix-img {
  margin-bottom: 20px;
}
.matrix-img img {
  width: 100%;
}

.center-precent {
  width: 88px;
  height: 88px;
  background-color: #fff;
  box-shadow: 2px 2px 6px 0px #6E69590D;
  z-index: 6;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.center-precent .percent-value {
  /* position: relative; */
  width: 70px;
  height: 70px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 6;
  box-shadow: none;
}

.center-precent .progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transition: background 0.2s linear;
  width: 78px;
  height: 78px;
  z-index: 5;
  background: linear-gradient(8.89deg, #D0B15A 7.56%, rgba(148, 153, 129, 0) 93.24%);
  border-radius: 50%;
  box-shadow: none;
}
.center-precent .progress::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
}

.text-center {
  text-align: center;
}

.first-show {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 88vh;
}
.m-text {
  margin-top: auto;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #DBD0B6;
}

.dropdown-text {
  position: relative;
}
.lock .nums,
.dropdown-text p {
  filter: blur(3px);
}


.lock .lock-div {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 2;
  width: auto;
  max-width: fit-content;
  display: flex;
  line-height: 140%;
    justify-content: center; /* по центру по горизонтали */
  align-items: center;  
    display: flex;
  flex-direction: column;  /* <-- ставим в колонку */
  align-items: center;     /* центрируем */
  gap: 10px;
}

.lock .lock-btn {
  background: linear-gradient(90deg, #D0B159 0%, #949981 100%);
  padding: 16px 22px;
  width: 100%;
  text-align: center;
  align-items: center;
  gap: 0 6px;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  border-radius: 8px;
  white-space: nowrap;
}

.lock .lock-btn img {
  position: relative;
  top: -2px;
}

.first-show {
  position: relative;
  top: 40px;
}


.animate-spans {
  position: relative;
  height: 43px;
  overflow: hidden;
}
.animate-spans span {
  font-weight: 900;
	font-size: 34px;
	line-height: 140%;
	background: radial-gradient(50% 107.16% at 50% 50%, #D0B159 20.69%, rgba(88, 96, 63, 0.6) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
	text-shadow: 0px 4px 12px rgba(194, 186, 166, 0.25);
}
.animate-spans span {
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  font-weight: bold;
  font-size: 32px;
  color: #007bff;
  user-select: none;
}

.animate-spans span.active {
  opacity: 1;
  transform: translateY(0);
}





/* modals */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  justify-content: center;
  align-items: center;
}
.modal {
  background: #F9F6EF;
  padding: 24px 14px;
  width: 400px;
  max-width: 94%;
  border-radius: 20px;
  position: relative;
  animation: fadeIn 0.3s ease;
}
.modal-pay {
  padding: 24px;
}
.modal-close {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  padding: 7px 11px;
  color: #A29C8E;
  background: #EBE6DA;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Animatsiya */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}


.modal-title {
  margin-bottom: 8px;
}
.modal-title p {
  font-weight: 900;
  font-size: 36px;
  line-height: 100%;
  color: #DBD0B6;
}
.modal-title span {
  font-size: 36px;
}

.modal-text .d-flex {
  display: flex;
  align-items: center;
  gap: 0 5px;
}
.modal-text p {
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: #736C5A;
  margin-bottom: 16px;
}
.modal-text span {
  font-size: 24px;
}
.modal-text-pay p {
  font-weight: 500;
  font-size: 14px;
  line-height: 140%;
  color: #736C5A;
  margin-bottom: 20px;
}
.modal-text del {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  text-decoration: line-through;
  color: #DBD0B6;
}
.modal-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
  margin-top: 30px;
}
.pay-btn .form-btn,
.modal-btns .download-audio {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(90deg, #D0B159 0%, #D7C787 100%);
  position: relative;
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 5px;
  white-space: nowrap;
  color: #fff;
  border: none;
}

.form-btn.with-arrow {
  gap: 0 8px;
}

.form-btn .btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 18px;
}

.form-btn.with-arrow:hover .btn-arrow,
.form-btn.with-arrow:active .btn-arrow {
  transform: translateX(5px);
}

.lock .lock-div::after,
/* .pay-btn .form-btn::after, */
.modal-btns .download-pdf::after,
.modal-btns .download-audio::after {
content: "";
display: inline-block;
width: 94%;
height: 46px;
background: #cfa52d80;
filter: blur(38px);
position: absolute;
left: 0;
right: 0;
bottom: -18px;
margin: auto;
z-index: -2;
width: 100%;
}
.modal-btns .download-pdf {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #C0C5AB 0%, #949981 100%);
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  gap: 0 5px;
  padding: 10px 14px;
  border-radius: 12px;
  white-space: nowrap;
  color: #fff;
}
.modal-btns .download-pdf::after {
  background: linear-gradient(90deg, rgba(148, 153, 129, 0.5) 0%, rgba(148, 153, 129, 0.5) 100%);
}


.pay-select {
  margin: 30px 0 18px;
  display: flex;
  align-items: center;
  gap: 0 14px;
}
.pay-select button {
  font-weight: 700;
  font-size: 15px;
  line-height: 140%;
  text-align: center;
  color: #8F8A7C;
  border: none;
  background: transparent;
  padding: 8px;
  width: 100%;
  border-radius: 8px;
  background: #FFFDF8;
  box-shadow: 0px 3px 6px 0px #796D5303;
}
.pay-select button.active {
  background: #736c5a;
  color: #fff;
}
.form-in {
  border-radius: 16px;
  background: #FFFDF8;
  padding: 16px;
}
.form-group input {
  background: #F9F6EF;
  height: 44px;
  width: 100%;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  line-height: 140%;
  color: #736C5A;
}
.form-group input::placeholder {
  color: #8F8A7C4D;
}
.form-group.two {
  margin-top: 16px;
}
.form-group.two span {
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  color: #8F8A7C;
  margin-bottom: 8px;
}
.form-group .d-flex {
  display: flex;
  gap: 0;
}
.form-group .i-num input {
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid #BAB5AA1A;
}
.form-group .i-date input {
  border-radius: 0 0 0 8px;
  border-right: 1px solid #BAB5AA1A;
}
.form-group .i-cvc input {
  border-radius: 0 0 8px 0;
}

.safe-pay {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 5px;
  font-weight: 700;
  font-size: 12px;
  line-height: 140%;
  color: #AFD4AD;
  margin: 16px 0 12px;
}
.safe-pay img {
  position: relative;
  top: 3px;
}
.pay-btn .form-btn {
  background: linear-gradient(90deg, #D0B159 0%, #949981 100%);
}






.show-all-zone {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 20px;
  width: 100%;
  z-index: 3;
height: 130px;
background: #FFF;
background: linear-gradient(to top, rgba(248, 246, 240, 1), rgba(237, 221, 83, 0));
}
.show-all-zone .show-all {
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: 0.01em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  border: none;
  padding: 0;
  background: #696969;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

.close-all-zone {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 20px;
  width: 100%;
  z-index: 3;
  height: 130px;
background: #FFF;
background: linear-gradient(to top, rgba(248, 246, 240, 1), rgba(237, 221, 83, 0));
}

.close-all-zone .close-all {
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: 0.01em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  border: none;
  padding: 0;
  background: #696969;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

.matrix {
  padding-bottom: 130px;
}
button {
  cursor: pointer;
}

/* Faqat iOS Safari'ga scope (boshqa brauzerlarni bezovta qilmaydi) */
@supports (-webkit-touch-callout: none) {
  /* Tap-da chiqadigan qora/ko'm-ko'k highlightni o'chirish */
  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  /* Fokus/aktivda chiqadigan halqa/soyalarni bekor qilish */
  a:focus, a:active,
  button:focus, button:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
  }

  /* Eski WebKit fokus halqasini ham tozalab yuboramiz */
  a:focus, button:focus {
    -webkit-focus-ring-color: rgba(0,0,0,0);
  }
}







/* calendar style */
.select-wrap {
  position: relative;
  height: 100%;
  text-align: center;
  overflow: hidden;
  font-size: 20px;
  color: #3b4233;
}
.select-wrap:before, .select-wrap:after {
  position: absolute;
  z-index: 1;
  display: block;
  content: "";
  width: 100%;
  height: 43%;
}
.select-wrap:before {
  top: 0;
  background: #FFF;
  background: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(237, 221, 83, 0) 100%);
  background: -moz-linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(237, 221, 83, 0) 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(237, 221, 83, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#EDDD53", GradientType=0);
}
.select-wrap:after {
  bottom: 0;
  background: #FFF;
  background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(237, 221, 83, 0) 100%);
  background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(237, 221, 83, 0) 100%);
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(237, 221, 83, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#EDDD53", GradientType=0);
}
.select-wrap .select-options {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  transform-style: preserve-3d;
  margin: 0 auto;
  display: block;
  transform: translateZ(-150px) rotateX(0deg);
  -webkit-font-smoothing: subpixel-antialiased;
  color: #666;
}
.select-wrap .select-options .select-option {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  -webkit-font-smoothing: subpixel-antialiased;
}
.select-wrap .select-options .select-option:nth-child(1) {
  transform: rotateX(0deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(2) {
  transform: rotateX(-18deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(3) {
  transform: rotateX(-36deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(4) {
  transform: rotateX(-54deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(5) {
  transform: rotateX(-72deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(6) {
  transform: rotateX(-90deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(7) {
  transform: rotateX(-108deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(8) {
  transform: rotateX(-126deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(9) {
  transform: rotateX(-144deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(10) {
  transform: rotateX(-162deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(11) {
  transform: rotateX(-180deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(12) {
  transform: rotateX(-198deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(13) {
  transform: rotateX(-216deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(14) {
  transform: rotateX(-234deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(15) {
  transform: rotateX(-252deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(16) {
  transform: rotateX(-270deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(17) {
  transform: rotateX(-288deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(18) {
  transform: rotateX(-306deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(19) {
  transform: rotateX(-324deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(20) {
  transform: rotateX(-342deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(21) {
  transform: rotateX(-360deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(22) {
  transform: rotateX(-378deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(23) {
  transform: rotateX(-396deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(24) {
  transform: rotateX(-414deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(25) {
  transform: rotateX(-432deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(26) {
  transform: rotateX(-450deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(27) {
  transform: rotateX(-468deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(28) {
  transform: rotateX(-486deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(29) {
  transform: rotateX(-504deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(30) {
  transform: rotateX(-522deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(31) {
  transform: rotateX(-540deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(32) {
  transform: rotateX(-558deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(33) {
  transform: rotateX(-576deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(34) {
  transform: rotateX(-594deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(35) {
  transform: rotateX(-612deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(36) {
  transform: rotateX(-630deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(37) {
  transform: rotateX(-648deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(38) {
  transform: rotateX(-666deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(39) {
  transform: rotateX(-684deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(40) {
  transform: rotateX(-702deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(41) {
  transform: rotateX(-720deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(42) {
  transform: rotateX(-738deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(43) {
  transform: rotateX(-756deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(44) {
  transform: rotateX(-774deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(45) {
  transform: rotateX(-792deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(46) {
  transform: rotateX(-810deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(47) {
  transform: rotateX(-828deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(48) {
  transform: rotateX(-846deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(49) {
  transform: rotateX(-864deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(50) {
  transform: rotateX(-882deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(51) {
  transform: rotateX(-900deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(52) {
  transform: rotateX(-918deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(53) {
  transform: rotateX(-936deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(54) {
  transform: rotateX(-954deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(55) {
  transform: rotateX(-972deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(56) {
  transform: rotateX(-990deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(57) {
  transform: rotateX(-1008deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(58) {
  transform: rotateX(-1026deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(59) {
  transform: rotateX(-1044deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(60) {
  transform: rotateX(-1062deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(61) {
  transform: rotateX(-1080deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(62) {
  transform: rotateX(-1098deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(63) {
  transform: rotateX(-1116deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(64) {
  transform: rotateX(-1134deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(65) {
  transform: rotateX(-1152deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(66) {
  transform: rotateX(-1170deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(67) {
  transform: rotateX(-1188deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(68) {
  transform: rotateX(-1206deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(69) {
  transform: rotateX(-1224deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(70) {
  transform: rotateX(-1242deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(71) {
  transform: rotateX(-1260deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(72) {
  transform: rotateX(-1278deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(73) {
  transform: rotateX(-1296deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(74) {
  transform: rotateX(-1314deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(75) {
  transform: rotateX(-1332deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(76) {
  transform: rotateX(-1350deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(77) {
  transform: rotateX(-1368deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(78) {
  transform: rotateX(-1386deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(79) {
  transform: rotateX(-1404deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(80) {
  transform: rotateX(-1422deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(81) {
  transform: rotateX(-1440deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(82) {
  transform: rotateX(-1458deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(83) {
  transform: rotateX(-1476deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(84) {
  transform: rotateX(-1494deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(85) {
  transform: rotateX(-1512deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(86) {
  transform: rotateX(-1530deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(87) {
  transform: rotateX(-1548deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(88) {
  transform: rotateX(-1566deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(89) {
  transform: rotateX(-1584deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(90) {
  transform: rotateX(-1602deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(91) {
  transform: rotateX(-1620deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(92) {
  transform: rotateX(-1638deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(93) {
  transform: rotateX(-1656deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(94) {
  transform: rotateX(-1674deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(95) {
  transform: rotateX(-1692deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(96) {
  transform: rotateX(-1710deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(97) {
  transform: rotateX(-1728deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(98) {
  transform: rotateX(-1746deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(99) {
  transform: rotateX(-1764deg) translateZ(150px);
}
.select-wrap .select-options .select-option:nth-child(100) {
  transform: rotateX(-1782deg) translateZ(150px);
}

.highlight {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: 100%;
  background-color: #f4f2ef;
  font-size: 24px;
  overflow: hidden;
}

.highlight-list {
  position: absolute;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* date */
.date-selector {
  perspective: 2000px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  height: 240px;
  background: #fffdf8;
  border-radius: 15px;
  overflow: hidden;
}
.date-selector > div {
  flex: 1;
}
.date-selector .select-wrap {
  font-size: 18px;
  font-weight: 500;
}
.date-selector .highlight {
  font-size: 20px;
  font-weight: 500;
}

.lock .lock-btn {
  pointer-events: none;
  cursor: pointer;
}
.lock .lock-div {
  pointer-events: none;
  cursor: pointer;
}

.head-btn{
  min-height: 30px;
}

.open-modal{
  cursor: pointer;

}

.ddx-wrap {
  position: relative;
  display: inline-block;
}

/* Меню: плавное появление */
.ddx-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: #ebe6da;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 5px 4px;
  z-index: 1000;

  /* плавное скрытие/появление */
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.ddx-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ddx-menu a {
  text-align: left;
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  color: #afa99a;
  white-space: nowrap;
  font-weight: 500;
}

.ddx-menu a:hover {
  background: #e3ddcd;
}

/* Поворот SVG в кнопке */
.head-btn.prev svg {
  transition: transform 200ms ease;
  transform-origin: center;
}

.lock .lock-btn{
  letter-spacing: 0.4px;
}

.lock .lock-btn.btn-grad-1{
  background: linear-gradient(167deg, #e1d9c3, #8f8874);
  color: #FFFFFF;
}
.lock .lock-btn.btn-grad-2{
  background: linear-gradient(176deg, #fee6a7, #b2984b);
  color: #69582A;
  font-size: 12px;
}

.download-matrix, .continue-btn{
  cursor: pointer;
}

.head-btn svg {
  will-change: transform;
  transform: translateZ(0);        /* создаёт композитный слой */
  backface-visibility: hidden;
}

.response-pay {
  display: block;
  color: #e77e7e;
  font-size: 14px;
  text-align: center;
  margin-top: 15px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.4s ease; /* плавное появление/исчезание */
}
.response-pay.visible {
  opacity: 1;
}

/* ===========================================
   Language Switcher
   =========================================== */
.lang-switcher {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 100;
  padding: 0 10px;
}

.lang-btn-styled {
  margin: 0 !important;
}

/* ===========================================
   Legal Pages (oferta, privacy, refund, terms)
   =========================================== */
.legal-page {
  padding-top: 20px;
  padding-bottom: 60px;
}

.legal-page .back-btn {
  margin-bottom: 30px;
}

.legal-content {
  background: #FFFDF8;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0px 3px 6px 0px rgba(121, 109, 83, 0.02);
}

.legal-content h1 {
  font-weight: 700;
  font-size: 22px;
  line-height: 140%;
  color: #2A241F;
  margin-bottom: 8px;
  text-align: center;
}

.legal-content .legal-date {
  font-weight: 400;
  font-size: 13px;
  color: #8F8A7C;
  text-align: center;
  margin-bottom: 30px;
}

.legal-content h2 {
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  color: #2A241F;
  margin-top: 28px;
  margin-bottom: 12px;
  padding-top: 16px;
  border-top: 1px solid #EBE6DA;
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-content h3 {
  font-weight: 600;
  font-size: 15px;
  line-height: 140%;
  color: #4C483F;
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-content p {
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  color: #736C5A;
  margin-bottom: 12px;
}

.legal-content p strong {
  color: #4C483F;
  font-weight: 600;
}

.legal-content ul {
  margin: 12px 0;
  padding-left: 20px;
}

.legal-content ul li {
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  color: #736C5A;
  margin-bottom: 8px;
}

.legal-content ul li strong {
  color: #4C483F;
  font-weight: 600;
}

.legal-content a {
  color: #D0B159;
  text-decoration: underline;
  font-weight: 500;
}

.legal-content a:hover {
  color: #949981;
}

.legal-warning {
  background: #FFF5E5;
  border-left: 4px solid #D0B159;
  border-radius: 8px;
  padding: 20px;
  margin-top: 24px;
}

.legal-warning p {
  margin-bottom: 10px;
}

.legal-warning ul {
  margin: 10px 0 0;
}

.legal-summary {
  background: #F4F2EB;
  border-radius: 12px;
  padding: 20px;
  margin-top: 30px;
}

.legal-summary h3 {
  font-weight: 700;
  font-size: 16px;
  color: #2A241F;
  margin: 0 0 16px;
}

.legal-summary p {
  margin-bottom: 10px;
}

/* ===========================================
   Footer Links (Legal)
   =========================================== */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  padding: 20px 15px;
  margin-top: 30px;
  border-top: 1px solid #EBE6DA;
}

.footer-legal a {
  font-size: 12px;
  color: #8F8A7C;
  text-decoration: none;
  font-weight: 500;
}

.footer-legal a:hover {
  color: #D0B159;
  text-decoration: underline;
}

/* ===========================================
   Legal Consent Checkbox
   =========================================== */
.legal-consent {
  margin-top: 16px;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  position: relative;
}

.consent-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.consent-checkbox .checkmark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #FFFDF8;
  border: 2px solid #D0B159;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark {
  background: linear-gradient(90deg, #D0B159 0%, #949981 100%);
  border-color: #D0B159;
}

.consent-checkbox .checkmark:after {
  content: '';
  display: none;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark:after {
  display: block;
}

.consent-text {
  font-size: 11px;
  line-height: 140%;
  color: #8F8A7C;
}

.consent-text a {
  color: #D0B159;
  text-decoration: underline;
}

.consent-text a:hover {
  color: #949981;
}

.consent-error {
  border-color: #e77e7e !important;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

