:root {
	--ya-source-bg: #050914;
	--ya-source-card: rgba(13, 25, 45, .78);
	--ya-source-line: rgba(146, 187, 226, .26);
	--ya-source-text: #f7fbff;
	--ya-source-muted: #aab8ca;
	--ya-source-cyan: #16c8ff;
	--ya-source-blue: #198cff;
	--ya-source-gold: #ffc746;
	--ya-source-green: #5ef0c2;
}

.ya-source-container {
	width: min(1280px, calc(100% - 40px));
	margin-inline: auto;
}

.ya-source-hero {
	position: relative;
	z-index: 1;
	padding: 72px 0 36px;
	color: var(--ya-source-text);
	background:
		radial-gradient(circle at 80% 17%, rgba(0, 140, 255, .18), transparent 31%),
		radial-gradient(circle at 24% 35%, rgba(0, 209, 255, .08), transparent 32%),
		linear-gradient(180deg, #040914 0%, #07101f 62%, #050914 100%);
	overflow: hidden;
}

.ya-source-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(circle at 66% 28%, rgba(0, 153, 255, .16), transparent 26%),
		linear-gradient(90deg, rgba(3, 9, 20, .97) 0%, rgba(4, 11, 24, .86) 51%, rgba(4, 12, 29, .43) 100%);
}

.ya-source-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: .34;
	background-image:
		linear-gradient(rgba(53, 141, 227, .08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(53, 141, 227, .08) 1px, transparent 1px);
	background-size: 54px 54px;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 65%, #000 100%);
	mask-image: linear-gradient(to right, transparent 0%, #000 65%, #000 100%);
}

.ya-source-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
	align-items: center;
	gap: 42px;
}

.ya-source-copy { min-width: 0; }

.ya-source-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 8px 13px;
	color: #c8f4ff;
	border: 1px solid rgba(22, 200, 255, .34);
	background: rgba(10, 45, 69, .46);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
}

.ya-source-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ya-source-green);
	box-shadow: 0 0 12px var(--ya-source-green);
}

.ya-source-hero h1 {
	max-width: 720px;
	margin: 0;
	color: #fff;
	font-size: clamp(46px, 5.2vw, 76px);
	line-height: 1.08;
	letter-spacing: -.045em;
	font-weight: 850;
}

.ya-source-hero h1 span {
	display: block;
	margin-top: 5px;
	color: transparent;
	background: linear-gradient(90deg, #12d5ff, #1d91ff 56%, #69e8ff);
	-webkit-background-clip: text;
	background-clip: text;
	text-shadow: 0 12px 40px rgba(0, 168, 255, .14);
}

.ya-source-lead {
	max-width: 665px;
	margin: 22px 0 25px;
	color: #cad5e4;
	font-size: 18px;
	line-height: 1.65;
}

.ya-source-mini-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	max-width: 620px;
	margin: 0 0 28px;
}

.ya-source-mini-feature {
	min-width: 0;
	display: grid;
	grid-template-columns: 50px 1fr;
	align-items: center;
	gap: 12px;
	padding-right: 16px;
	border-right: 1px solid rgba(255,255,255,.19);
}

.ya-source-mini-feature:last-child { border-right: 0; padding-right: 0; }

.ya-source-mini-icon {
	width: 50px;
	height: 50px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	border: 1px solid rgba(145, 194, 237, .32);
	background: linear-gradient(145deg, rgba(31, 60, 89, .45), rgba(8, 20, 37, .94));
	color: #63dcff;
}

.ya-source-mini-icon svg { width: 24px; height: 24px; }
.ya-source-mini-feature strong,
.ya-source-mini-feature small { display: block; }
.ya-source-mini-feature strong { color: #fff; font-size: 15px; line-height: 1.25; }
.ya-source-mini-feature small { margin-top: 4px; color: var(--ya-source-muted); font-size: 12px; line-height: 1.35; }

.ya-source-search {
	max-width: 760px;
	display: grid;
	grid-template-columns: 1fr 150px;
	gap: 10px;
	padding: 7px;
	border: 1px solid rgba(176, 207, 235, .4);
	border-radius: 22px;
	background: rgba(12, 24, 43, .88);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 16px 34px rgba(0,0,0,.22);
}

.ya-source-search-field { position: relative; min-width: 0; }
.ya-source-search-field svg {
	position: absolute;
	left: 20px;
	top: 50%;
	width: 24px;
	height: 24px;
	color: #b7c5d7;
	transform: translateY(-50%);
	pointer-events: none;
}

.ya-source-search input {
	width: 100%;
	height: 58px;
	border: 0;
	outline: 0;
	padding: 0 20px 0 58px;
	color: #fff;
	background: transparent;
	font-size: 17px;
}

.ya-source-search input::placeholder { color: #aab8ca; opacity: 1; }
.ya-source-search button {
	border: 0;
	border-radius: 16px;
	color: #fff;
	background: linear-gradient(180deg, #32ccff 0%, #118fea 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 10px 25px rgba(0, 154, 255, .25);
	font-weight: 800;
}

.ya-source-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px 28px;
	max-width: 770px;
	margin-top: 23px;
	color: #d1dbe7;
	font-size: 13px;
}

.ya-source-trust span { display: inline-flex; align-items: center; gap: 8px; }
.ya-source-trust i {
	width: 19px;
	height: 19px;
	display: inline-grid;
	place-items: center;
	border: 2px solid var(--ya-source-cyan);
	border-radius: 50%;
	color: var(--ya-source-cyan);
	font-size: 11px;
	font-style: normal;
	font-weight: 900;
}

.ya-source-art {
	position: relative;
	min-height: 600px;
	display: grid;
	place-items: center;
	perspective: 1200px;
}

.ya-source-art-glow {
	position: absolute;
	width: 470px;
	height: 470px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 139, 255, .34), rgba(0, 106, 255, .1) 48%, transparent 70%);
	filter: blur(2px);
}

.ya-source-platform {
	position: absolute;
	left: 50%;
	bottom: 30px;
	width: 490px;
	height: 150px;
	border: 2px solid #1cb8ff;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(26, 82, 145, .34) 0%, rgba(7, 20, 40, .94) 58%, #020711 100%);
	box-shadow: 0 0 0 9px rgba(0, 91, 166, .15), 0 0 38px rgba(0, 163, 255, .65), 0 32px 70px rgba(0,0,0,.75);
	transform: translateX(-50%) rotateX(58deg);
}

.ya-source-platform::after {
	content: "";
	position: absolute;
	inset: 17px;
	border: 1px solid rgba(73, 200, 255, .52);
	border-radius: 50%;
}

.ya-source-phone {
	position: relative;
	z-index: 4;
	width: 285px;
	height: 535px;
	margin-left: -40px;
	border: 7px solid #7fcfff;
	border-right-color: #16426b;
	border-bottom-color: #082440;
	border-radius: 45px;
	background: #02040c;
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.28), 20px 25px 70px rgba(0,0,0,.72), 0 0 32px rgba(0, 144, 255, .45);
	transform: rotateY(-10deg) rotateZ(3deg);
}

.ya-source-phone::before {
	content: "";
	position: absolute;
	z-index: 5;
	top: 10px;
	left: 50%;
	width: 92px;
	height: 22px;
	border-radius: 0 0 16px 16px;
	background: #02040c;
	transform: translateX(-50%);
}

.ya-source-phone-screen {
	position: absolute;
	inset: 8px;
	overflow: hidden;
	border-radius: 34px;
	background:
		radial-gradient(circle at 50% 78%, rgba(255, 193, 44, .43), transparent 24%),
		radial-gradient(circle at 18% 25%, rgba(145, 55, 255, .34), transparent 27%),
		radial-gradient(circle at 77% 28%, rgba(0, 153, 255, .35), transparent 24%),
		linear-gradient(180deg, #140b31 0%, #070b24 54%, #1a0b14 100%);
}

.ya-source-phone-screen::before {
	content: "";
	position: absolute;
	width: 230px;
	height: 230px;
	top: 95px;
	left: 20px;
	border-radius: 50%;
	background: repeating-conic-gradient(from 0deg, rgba(255, 212, 90, .12) 0 9deg, transparent 9deg 18deg);
	animation: ya-source-spin 18s linear infinite;
}

.ya-source-screen-logo {
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 158px;
	width: 205px;
	padding: 22px 12px 18px;
	border: 3px solid #e2a82d;
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(29, 18, 48, .95), rgba(10, 5, 20, .96));
	box-shadow: 0 0 25px rgba(255, 193, 57, .35), inset 0 0 22px rgba(255,255,255,.05);
	text-align: center;
	transform: translateX(-50%);
}

.ya-source-screen-logo small,
.ya-source-screen-logo strong,
.ya-source-screen-logo b { display: block; }
.ya-source-screen-logo small { color: #ffdb72; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.ya-source-screen-logo strong { margin: 4px 0; color: #fff; font-family: Georgia, serif; font-size: 38px; line-height: 1; text-shadow: 0 2px 0 #704000, 0 0 14px rgba(255, 190, 44, .54); }
.ya-source-screen-logo b { color: var(--ya-source-cyan); font-size: 17px; font-weight: 900; letter-spacing: .14em; }

.ya-source-phone-rotator,
.ya-source-phone-rotator .hero-app-slide { position: absolute; inset: 0; }
.ya-source-phone-rotator .hero-app-slide { opacity: 0; transition: opacity .65s ease; }
.ya-source-phone-rotator .hero-app-slide.is-active { opacity: 1; }
.ya-source-phone-rotator img { width: 100%; height: 100%; object-fit: cover; }
.ya-source-phone-rotator::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,5,14,.04), rgba(3,5,14,.24)); pointer-events: none; }

.ya-source-card {
	position: absolute;
	z-index: 6;
	width: 190px;
	height: 210px;
	display: grid;
	place-items: center;
	border: 6px solid #3f8fff;
	border-radius: 27px;
	background: linear-gradient(145deg, #3a1157, #122761 56%, #06122b);
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), 0 24px 45px rgba(0,0,0,.58), 0 0 28px rgba(0, 135, 255, .4);
	text-align: center;
	transform: rotate(8deg);
}

.ya-source-ludo { right: 2px; bottom: 128px; }
.ya-source-rummy { left: 7px; top: 118px; width: 155px; height: 174px; transform: rotate(-12deg) scale(.86); opacity: .93; }
.ya-source-card > b { position: absolute; top: 14px; left: 12px; right: 12px; color: #fff; font-size: 28px; font-weight: 1000; letter-spacing: .04em; text-shadow: 0 3px 0 #111, 0 0 8px rgba(255,255,255,.5); }

.ya-source-ludo-board {
	position: relative;
	width: 122px;
	height: 122px;
	margin-top: 36px;
	border-radius: 18px;
	background: conic-gradient(#f44336 0 25%, #ffdf3b 0 50%, #38d06d 0 75%, #35a8ff 0);
	box-shadow: inset 0 0 0 9px rgba(255,255,255,.88);
}

.ya-source-ludo-board::before {
	content: "⚄";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	color: #111;
	background: #fff;
	box-shadow: 0 8px 16px rgba(0,0,0,.35);
	font-size: 42px;
	transform: translate(-50%, -50%) rotate(-10deg);
}

.ya-source-rummy-cards { display: flex; justify-content: center; margin-top: 30px; }
.ya-source-rummy-cards i {
	width: 47px;
	height: 70px;
	display: grid;
	place-items: center;
	margin-left: -15px;
	border-radius: 7px;
	color: #b10d1c;
	background: #fff;
	border: 2px solid #ddd;
	font-family: Georgia, serif;
	font-size: 25px;
	font-style: normal;
	font-weight: 900;
	box-shadow: 0 8px 18px rgba(0,0,0,.3);
	transform-origin: bottom center;
}
.ya-source-rummy-cards i:nth-child(1) { transform: rotate(-19deg); }
.ya-source-rummy-cards i:nth-child(2) { transform: rotate(-7deg); }
.ya-source-rummy-cards i:nth-child(3) { transform: rotate(7deg); }
.ya-source-rummy-cards i:nth-child(4) { transform: rotate(19deg); }

.ya-source-coin {
	position: absolute;
	z-index: 7;
	width: 62px;
	height: 62px;
	display: grid;
	place-items: center;
	border: 5px solid #db8f14;
	border-radius: 50%;
	color: #6a3600;
	background: radial-gradient(circle at 35% 28%, #fff0a6, #ffcb3b 43%, #c36d00 100%);
	box-shadow: inset 0 0 0 4px #ffda68, 0 12px 20px rgba(0,0,0,.37), 0 0 18px rgba(255, 180, 22, .28);
	font-size: 28px;
	font-weight: 1000;
	animation: ya-source-float 4.5s ease-in-out infinite;
}
.ya-source-c1 { right: 108px; bottom: 80px; }
.ya-source-c2 { right: 43px; bottom: 66px; transform: scale(.75); animation-delay: -.9s; }
.ya-source-c3 { left: 92px; bottom: 70px; transform: scale(.84); animation-delay: -1.8s; }
.ya-source-c4 { right: 78px; top: 78px; transform: scale(.55); animation-delay: -2.6s; }

.ya-source-particle { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #66d9ff; box-shadow: 0 0 12px #37c3ff; animation: ya-source-twinkle 2.4s ease-in-out infinite; }
.ya-source-p1 { left: 28%; top: 15%; }
.ya-source-p2 { right: 13%; top: 23%; animation-delay: -.8s; }
.ya-source-p3 { left: 7%; bottom: 26%; animation-delay: -1.4s; }
.ya-source-p4 { right: 5%; bottom: 38%; animation-delay: -2s; }

.ya-source-stats {
	position: relative;
	z-index: 3;
	margin-top: -1px;
	padding: 18px 0 68px;
	background: linear-gradient(180deg, #050914, #06101e);
}

.ya-source-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid rgba(161, 199, 233, .34);
	border-radius: 24px;
	background: linear-gradient(100deg, rgba(12, 25, 45, .91), rgba(10, 19, 35, .72));
	box-shadow: 0 22px 70px rgba(0, 100, 255, .19);
	overflow: hidden;
}

.ya-source-stat {
	display: grid;
	grid-template-columns: 58px 1fr;
	align-items: center;
	gap: 15px;
	min-height: 126px;
	padding: 24px 33px;
	border-right: 1px solid rgba(255,255,255,.14);
}
.ya-source-stat:last-child { border-right: 0; }
.ya-source-stat svg { width: 50px; height: 50px; color: #42c9ff; }
.ya-source-stat strong,
.ya-source-stat small { display: block; }
.ya-source-stat strong { color: #43cbff; font-size: 21px; line-height: 1.15; }
.ya-source-stat small { margin-top: 6px; color: #b8c4d2; font-size: 13px; }

@keyframes ya-source-spin { to { transform: rotate(360deg); } }
@keyframes ya-source-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -11px; } }
@keyframes ya-source-twinkle { 0%,100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.7); } }

@media (max-width: 1120px) {
	.ya-source-hero-grid { grid-template-columns: 1fr 460px; gap: 20px; }
	.ya-source-art { transform: scale(.9); transform-origin: center; }
	.ya-source-stat { padding-inline: 22px; }
}

@media (max-width: 900px) {
	.ya-source-container { width: min(100% - 28px, 1280px); }
	.ya-source-hero { padding: 34px 0 24px; }
	.ya-source-hero-grid {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
		align-items: start;
		column-gap: 14px;
	}
	.ya-source-copy { text-align: left; }
	.ya-source-hero h1 { max-width: none; font-size: clamp(31px, 5.3vw, 44px); }
	.ya-source-lead { max-width: none; margin: 14px 0 16px; font-size: 14px; line-height: 1.52; }
	.ya-source-mini-features { grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
	.ya-source-mini-feature { border-right: 0; padding-right: 0; }
	.ya-source-search { grid-column: 1 / -1; width: 100%; max-width: none; margin-top: 16px; }
	.ya-source-trust { grid-column: 1 / -1; width: 100%; max-width: none; }
	.ya-source-art { justify-self: start; width: 490px; min-height: 600px; margin: 0 -138px -160px 0; transform: scale(.72); transform-origin: top left; }
	.ya-source-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.ya-source-stat:nth-child(2) { border-right: 0; }
	.ya-source-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
}

@media (max-width: 640px) {
	.ya-source-container { width: min(100% - 20px, 1280px); }
	.ya-source-hero { padding: 20px 0 16px; }
	.ya-source-hero-grid { grid-template-columns: minmax(0, 58%) minmax(0, 42%); gap: 0 4px; }
	.ya-source-copy { min-width: 0; padding-top: 4px; }
	.ya-source-eyebrow { max-width: 100%; margin: 0 0 7px; padding: 4px 6px; font-size: 7.5px; line-height: 1.15; }
	.ya-source-eyebrow::before { width: 5px; height: 5px; flex: 0 0 5px; }
	.ya-source-hero h1 { max-width: 100%; font-size: clamp(20px, 5.8vw, 25px); line-height: 1.05; letter-spacing: -.035em; }
	.ya-source-hero h1 span { margin-top: 3px; }
	.ya-source-lead { display: -webkit-box; overflow: hidden; max-width: 100%; margin: 8px 0 9px; font-size: 9px; line-height: 1.36; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
	.ya-source-mini-features { grid-template-columns: 1fr 1fr; gap: 5px 6px; width: 100%; margin: 0; }
	.ya-source-mini-feature { grid-template-columns: 27px minmax(0,1fr); gap: 5px; min-height: 42px; padding: 5px 4px; border: 1px solid rgba(145,194,237,.18); border-radius: 8px; background: rgba(10,24,43,.45); }
	.ya-source-mini-icon { width: 27px; height: 27px; border-radius: 7px; }
	.ya-source-mini-icon svg { width: 15px; height: 15px; }
	.ya-source-mini-feature strong { font-size: 8.6px; line-height: 1.1; white-space: nowrap; }
	.ya-source-mini-feature small { display: -webkit-box; overflow: hidden; margin-top: 2px; font-size: 7.2px; line-height: 1.15; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
	.ya-source-art { width: 490px; min-width: 490px; min-height: 600px; margin: 3px -326px -382px -1px; transform: scale(.35); transform-origin: top left; }
	.ya-source-search { grid-column: 1 / -1; grid-template-columns: minmax(0,1fr) 92px; gap: 5px; width: calc(100vw - 20px); margin: 10px 0 0; padding: 5px; border-radius: 15px; }
	.ya-source-search input { height: 46px; padding: 0 10px 0 40px; font-size: 12px; }
	.ya-source-search-field svg { left: 13px; width: 19px; height: 19px; }
	.ya-source-search button { min-height: 46px; padding: 0 10px; border-radius: 11px; font-size: 12px; }
	.ya-source-trust { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; width: 100%; margin: 12px 0 0; font-size: 9.5px; }
	.ya-source-trust i { width: 15px; height: 15px; border-width: 1.5px; font-size: 8px; }
	.ya-source-stats { padding: 14px 0 48px; }
	.ya-source-stats-grid { grid-template-columns: 1fr 1fr; border-radius: 19px; }
	.ya-source-stat { min-height: 112px; grid-template-columns: 42px 1fr; gap: 11px; padding: 18px 14px; }
	.ya-source-stat svg { width: 38px; height: 38px; }
	.ya-source-stat strong { font-size: 16px; }
	.ya-source-stat small { font-size: 11px; }
}

@media (max-width: 390px) {
	.ya-source-hero-grid { grid-template-columns: minmax(0, 59%) minmax(0, 41%); gap: 0 2px; }
	.ya-source-hero h1 { font-size: clamp(18px, 5.7vw, 22px); }
	.ya-source-lead { font-size: 8.4px; }
	.ya-source-art { margin-right: -334px; margin-bottom: -390px; transform: scale(.33); }
	.ya-source-search { grid-template-columns: minmax(0,1fr) 84px; }
}

@media (prefers-reduced-motion: reduce) {
	.ya-source-hero *, .ya-source-hero *::before, .ya-source-hero *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
