*,
*::before,
*::after {
	box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Poppins', sans-serif;
	line-height: 1.6;
	background-color: #f4f4f9;
	color: #DFF4ED;
	overflow-x: hidden;
	background: #000;
}
body::after {
	content: ''; /* Нужно для отображения псевдоэлемента */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2900px;/* Начальная высота для случаев без прокрутки */
	background-image: url(../images/back.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 1; /* Помещает фон под содержимое */
	pointer-events: none; /* Игнорирует клики и взаимодействия */
}

img {
	width: 100%;
	display: block;
}
li {
	list-style: none;
}
header img {
	width: 180px;
}
header a {
	position: absolute;
	top: 10px;

}
header {
	position: relative;
	width: 85%;
	margin: 0 auto;
	z-index: 9;
}
header .container {
	padding: 0;
	position: absolute;
}
.container {
	width: 85%;
	margin: 0 auto;
	padding: 50px 0px;
}
.flex-block {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.col-3 {
	width: 60%;
}

.col h2 {
	font-size: 1.5em;
	margin-bottom: 10px;
}

.col p {
	line-height: 1.6;
}
.hero {
	background-image: url(../images/bg_blur.png);
	background-size: cover;
	background-repeat: no-repeat;
	height: 100vh;
	position: relative;
}
.hero-title {
	font-size: 68px;
	font-weight: 800;
	line-height: 78px;
	text-align: left;
	text-underline-position: from-font;
	text-decoration-skip-ink: none;
	color: #fff;
	text-transform: uppercase;
}
.hero-image {
	position: absolute;
	width: 700px;
	top: 10%;
	right: 0;
	z-index: 9;
}
.hero-title_color {
	color: #2EFFF4;
}
.hero-subtitle {
	font-size: 24px;
	font-weight: 600;
	line-height: 26px;
	letter-spacing: 0.02em;
	text-align: left;
	text-underline-position: from-font;
	text-decoration-skip-ink: none;
	text-transform: uppercase;
}
.hero-wrapper {
	padding-top: 100px;
}
.hero-wrapper .col-3 {
	display: flex;
	flex-direction: column;
	gap: 30px;
	z-index: 9;
}
.hero-steps {
	position: absolute;
    bottom: 50px;
    max-width: 80%;
}
.hero-animate {
	position: absolute;
	top: 0;
	width: 60%;
	right: 0;
}
.hero-mon-1 {
	position: relative;
	top: 10%;
	left: 70%;
	width: 154px;
	animation: move-1 5s linear infinite;
}
.hero-info {
	width: 62%;
}
.hero-mon-2 {
	position: relative;
	top: 0;
	left: 28%;
	width: 165px;
	animation: move-2 6s linear infinite;
}

.hero-mon-3 {
	position: relative;
	top: 300px;
	left: 50%;
	width: 250px;
	animation: move-3 4s linear infinite;
}

@keyframes move-1 {
	0% {
		transform: translateX(0) translateY(0);
	}
	50% {
		transform: translateX(50px) translateY(-30px);
	}
	100% {
		transform: translateX(0) translateY(0);
	}
}

@keyframes move-2 {
	0% {
		transform: translateX(0) translateY(0);
	}
	50% {
		transform: translateX(-70px) translateY(40px);
	}
	100% {
		transform: translateX(0) translateY(0);
	}
}

@keyframes move-3 {
	0% {
		transform: translateX(0) translateY(0);
	}
	50% {
		transform: translateX(30px) translateY(-50px);
	}
	100% {
		transform: translateX(0) translateY(0);
	}
}
.button {
	width: 280px;
	height: 64px;
	padding: 6px 8px;
	border-radius: 8px;
	border: 2px solid transparent; /* Прозрачный ободок */
	background: linear-gradient(90deg, #FFDC26, #FFC107); /* Градиент для кнопки */
	position: relative;
	overflow: hidden; /* Скрывает излишки псевдоэлементов */
	text-align: center;
	cursor: pointer;
	z-index: 9;
	animation: pulse 2s infinite; /* Анимация пульсации */
	transition: box-shadow 0.3s ease; /* Плавная анимация тени */
}

.button:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Добавление тени при наведении */
}

.button a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 24px;
	font-weight: 600;
	line-height: 22px;
	text-decoration: none;
	color: #1E2128;
	position: relative;
	z-index: 1; /* Текст выше анимаций */
}

/* Анимация пульсации */
@keyframes pulse {
	0% {
		transform: scale(1); /* Начальный размер */
	}
	50% {
		transform: scale(1.1); /* Увеличение */
	}
	100% {
		transform: scale(1); /* Возврат к исходному размеру */
	}
}

.section-header {
	font-size: 48px;
	font-weight: 800;
	line-height: 54px;
	text-align: center;
	text-underline-position: from-font;
	padding-bottom: 20px;
	text-transform: uppercase;

}
.advantages-small {
	font-size: 1.2rem;
    font-weight: 400;
    line-height: 10px;
}
.advantages-icon img {
	width: 48px
}
.advantages-text {
	font-family: Poppins;
	font-size: 24px;
	font-weight: 600;
	line-height: 30px;
	text-align: left;
	color: #fff;
}
.advantages-list {
	width: 38%;
	display: flex;
	gap: 8px;
	flex-direction: column;
}
.advantages-item {
	background: linear-gradient(90.01deg, rgba(46, 255, 244, 0.32) 0.01%, rgba(46, 255, 244, 0) 116.86%);
	max-width: 420px;
	padding: 6px 8px 6px 8px;
	gap: 14px;
	border-radius: 16px;
	flex-direction: row;
	flex-wrap: nowrap;
}
.how-to-earn-section {
	color: #DFF4ED;
	text-align: center;
}

.section-title {
	font-size: 48px;
	font-weight: 800;
	line-height: 54px;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 40px;
}

.section-title .highlight {
	color: #2EFFF4;
}

.steps-container {
	display: flex;
	justify-content: space-around;
	gap: 40px;
	flex-wrap: wrap;
}

.step {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 200px;
	text-align: center;
}

.step-icon {
	width: 50px;
	height: 50px;
	margin-bottom: 10px;
}

.step-number {
	font-size: 24px;
	font-weight: 700;
	color: #333;
	opacity: 0.2;
}

.step-description {
	font-size: 18px;
	font-weight: 600;
	color: #2EFFF4;
	line-height: 1.4;
}

.testimonials-section {
	padding: 60px 0;
	color: #DFF4ED;
	text-align: center;
	overflow: hidden;
}

.section-title {
	font-size: 48px;
	font-weight: 800;
	line-height: 54px;
	color: #fff;
	margin-bottom: 40px;
}

.section-title .highlight {
	color: #2EFFF4;
}

.carousel {
	overflow: hidden;
	width: 100%;
	position: relative;
	margin: 20px 0px;
}

.carousel-track {
	display: flex;
	gap: 20px;
	white-space: nowrap;

}

.testimonial-card {
	padding: 20px;
    border-radius: 12px;
    color: #DFF4ED;
    background: rgba(255, 255, 255, 0.1);
    min-width: 400px;
}

.testimonial-author {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
}

.testimonial-text {
	color: #DFF4EDCC;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-align: left;
	overflow-wrap: break-word;
    white-space: normal;
}

.testimonial-rating {
	font-size: 18px;
	color: #FFD700;
}
.testimonial-flex {
	justify-content: space-between;
	align-items: center;
}
.carousel-track {
    display: flex;
    gap: 20px;
    animation-timing-function: linear;
    will-change: transform;
}
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Apply animations */
.carousel-row-1 .carousel-track {
	animation: scroll-left 20s linear infinite;
}

.carousel-row-2 .carousel-track {
	animation: scroll-right 20s linear infinite;
}
.stats-section {
	background-image: url('../images/stats-back.png'); /* Replace with the correct path to your image */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 40px 0;
	color: #fff;
	text-align: center;
	position: relative;
}

.stats-block {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	color: #fff;
}

.stat {
	margin: 0 20px;
}

.stat-number {
	font-size: 112px;
	font-weight: 600;
	line-height: 112px;
}

.stat-label {
	display: block;
	margin-top: 5px;
	font-family: Poppins;
	font-size: 32px;
	font-weight: 600;
	line-height: 36px;
	text-align: center;
	text-underline-position: from-font;
	text-decoration-skip-ink: none;
	color: #2EFFF4;
}

.divider {
	font-size: 2rem;
	color: #fff;
}


.footer-wrapper {
	justify-content: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 50px 0px;
}
.footer-copyright {
	font-size: 10px;
	font-weight: 400;
	line-height: 16px;
	text-align: left;
}
.footer-logo {
	width: 108px;
}
.footer-menu a {
	font-size: 14px;
	font-weight: 600;
	line-height: 18px;
	text-align: left;
	color: #fff;
}
footer .container {
	padding: 0px;
}

.testimonials-section .container {
	position: relative; 
	z-index: 1; 
}

.testimonials-section .container::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50px;
	background: rgb(0 0 0 / 97%);
	background: linear-gradient(270deg, rgb(3 3 3 / 0%) 0%, #030303 85.5%);
	z-index: 1;
}
.testimonials-section .container::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50px;
	background: rgb(0 0 0 / 97%);
	background: linear-gradient(88deg, rgb(3 3 3 / 0%) 0%, #030303 85.5%);
}

.testimonials-section .container::before {
	left: -1px; 
}

.testimonials-section .container::after {
	right: -1px; 
}
.hero-img-mob, .content-mob, .hero-steps-m {
	display: none;
}
.button-center {
	margin: 45px auto;
}
@media (max-width: 768px) {
	.container {
		width: 90%;
	}
	header img {
		width: 116px;
	}
	header a {
		left: 50%;
		transform: translate(-50%, 00px);
	}
	.hero-title {
		font-size: 28px;
		font-weight: 800;
		line-height: 32px;
		text-align: center;
		margin-top: 25px;
	}
	.hero-subtitle {
		font-size: 14px;
		font-weight: 600;
		line-height: 16px;
		letter-spacing: 0.02em;
		text-align: center;
	}

	.button {
		margin: 0 auto;
		width: 190px;
		height: 44px;
	}
	.button a {
		font-size: 16px;
		font-weight: 600;
		line-height: 16px;
		text-align: center;
	}
	.stats-section {
		padding: 0px;
	}
	.hero-wrapper .col-3 {
		gap: 8px;
	}
	.hero, .hero-wrapper {
		height: 100%;
	}
	.section-header, .section-title {
		font-size: 24px;
		font-weight: 800;
		line-height: 32px;
		text-align: center;
	}	
	.testimonials-section .container::before,
	.testimonials-section .container::after {
		display: none;
	}
	.carousel-row-1 .carousel-track,
	.carousel-row-2 .carousel-track {
		animation: none;
		display: flex;
		flex-direction: column;
	}
	.testimonial-text {
		word-wrap: break-word; /* Перенос длинных слов */
		overflow-wrap: break-word; /* Совместимость с современными браузерами */
		white-space: normal; /* Позволяет переносу строк */
		margin: 10px 0;
		line-height: 1.4; /* Добавляет пространство между строками для удобства чтения */
	}
	.stat-number {
		font-size: 44px;
		font-weight: 600;
		line-height: 44px;
	}
	.stat-label {
		font-size: 14px;
		font-weight: 600;
		line-height: 16px;
		text-align: center;
	}
	.footer-menu a {
		font-size: 12px;
	}
	.col-3, .advantages-list, .hero-info {
		width: 100%;
	}
	.carousel-track {
		animation: none; 
		transform: none; 
	}
	.advantages-text {
		font-size: 18px;
	}
	.advantages-icon img {
		width: 36px;
	}
	.footer-menu {
		padding: 0;
	}
	.hero-image, .content-desc, .hero-steps {
		display: none;
	}
	.hero-img-mob, .content-mob, .hero-steps-m {
		display: block;
	}
	.hero-animate {
		position: absolute;
		top: 0;
		width: 100%;
		right: 0;
	}
	.hero-mon-1 {
		position: relative;
		top: 10%;
		right: 00%;
		width: 54px;
		animation: move-1 5s linear infinite;
	}

	.hero-mon-2 {
		position: relative;
		top: 20px;
		left: 50px;
		width: 65px;
		animation: move-2 6s linear infinite;
	}

	.hero-mon-3 {
		position: relative;
		top: 310px;
		left: 0;
		width: 100px;
		animation: move-3 4s linear infinite;
	}
	.hero-wrapper {
		padding-top: 0;
	}
	body::after {
		background-image: url(../images/bg_blur-m.png);
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		z-index: 1; 
		pointer-events: none; 
		height: 4000px;
	}
	.testimonial-card {
		min-width: 100%;
	}
}
