@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&family=Jura:wght@300..700&family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');

.hero,
.hero-ru {
	text-align: center;
	margin-bottom: 3rem;
}

.hero h1 {
	font-family: "Rock Salt", cursive;
	font-size: 2.5rem;
	color: #39FF14;
	margin-bottom: 0.5rem;
}

.hero-ru h1 {
	font-family: "Shantell Sans", cursive;
	font-size: 2.5rem;
	color: #39FF14;
	margin-bottom: 0.5rem;
}

.hero,
.hero-ru p {
	font-size: 1.5rem;
	color: #ccc;
	max-width: 700px;
	margin: 0 auto;
	font-family: "Jura", sans-serif;
}

.onboarding {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.card {
	background-color: #1e1e1e;
	border: 2px dashed #39FF14;
	border-radius: 12px;
	padding: 2rem;
	max-width: 500px;
	width: 100%;
	position: relative;
	box-shadow: 0 0 10px #39FF14;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.card h2 {
	margin-top: 0;
	color: #39ff14;
	white-space: nowrap;
	font-family: "Jura", sans-serif;
}

.card p {
	color: #eee;
	font-size: 1.2rem;
	font-family: "Jura", sans-serif;
}

.card-link-wrapper {
	position: relative;
}

.card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	text-decoration: none;
}

.arrow {
	font-size: 3rem;
	color: #39FF14;
	position: absolute;
	bottom: -1.5rem;
	left: 50%;
	transform: translateX(-50%) rotate(5deg);
	filter: drop-shadow(0 0 5px #39FF14);
}

.card:last-child .arrow {
	display: none;
}

.card:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 0 15px #7fff61;
}

.inside,
.inside-ru {
	margin-top: 3rem;
	text-align: center;
}

.inside h2 {
	color: #39FF14;
	font-size: 2rem;
	margin-bottom: 1rem;
	font-family: "Rock Salt", cursive;
}

.inside-ru h2 {
	color: #39FF14;
	font-size: 2rem;
	margin-bottom: 1rem;
	font-family: "Shantell Sans", cursive;
}

.inside-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.2rem;
	padding: 0 2rem;
	margin-top: 1.5rem;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.inside-item {
	background-color: #1e1e1e;
	color: #eee;
	border: 2px dashed #39FF14;
	padding: 1.2rem;
	border-radius: 10px;
	font-size: 1.2rem;
	font-weight: 500;
	transition: transform 0.3s ease;
	font-family: "Jura", sans-serif;
}

.inside-item:hover {
	transform: scale(1.03);
	box-shadow: 0 0 10px #39FF14;
}

@media (min-width: 768px) {
	.onboarding {
		flex-direction: row;
		justify-content: center;
		align-items: stretch;
	}
	.card {
		max-width: 300px;
	}
	.arrow {
		bottom: auto;
		right: -1.5rem;
		top: 50%;
		left: auto;
		transform: translateY(-50%) rotate(-45deg);
	}
}
