/* Animasyonlu Siner logo — elektrot + kalp atışı */

.logo.logo--animated {
	display: inline-block;
	margin-top: 22px;
	text-decoration: none !important;
	line-height: 1;
	vertical-align: middle;
}

.logo-mark {
	display: inline-block;
	position: relative;
	min-width: 168px;
}

.logo-siner {
	display: block;
	font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	font-style: italic;
	font-weight: 700;
	font-size: 42px;
	letter-spacing: 0.5px;
	color: #e10600;
	line-height: 0.9;
}

.logo-under {
	display: block;
	position: relative;
	margin-left: 28px;
	margin-top: 2px;
	width: 138px;
	height: 32px;
}

/* İki elektrot ucu */
.logo-electrodes {
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 20px;
	z-index: 3;
	pointer-events: none;
}

.logo-electrode {
	position: absolute;
	top: 8px;
	width: 14px;
	height: 2px;
	background: linear-gradient(90deg, #c0c0c0, #eee);
	border-radius: 1px;
	box-shadow: 0 0 3px rgba(255, 255, 255, 0.25);
	transform-origin: left center;
}

.logo-electrode::after {
	position: absolute;
	right: -3px;
	top: -2px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #e8e8e8;
	box-shadow: 0 0 4px rgba(125, 211, 252, 0.5);
	content: "";
}

.logo-electrode--a {
	left: 0;
	transform: rotate(-18deg);
}

.logo-electrode--b {
	left: 0;
	transform: rotate(18deg);
}

.logo-electrode-spark {
	position: absolute;
	left: 11px;
	top: 6px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: radial-gradient(circle, #fff 0%, #7dd3fc 40%, transparent 70%);
	opacity: 0;
	transform: scale(0.3);
	pointer-events: none;
}

.logo-under.is-touching .logo-electrode--a {
	transform: rotate(-4deg);
}

.logo-under.is-touching .logo-electrode--b {
	transform: rotate(4deg);
}

.logo-under.is-touching .logo-electrode-spark {
	opacity: 1;
	transform: scale(1.8);
	transition: opacity .08s ease, transform .12s ease;
}

.logo-electrode {
	transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.logo-pulse {
	position: absolute;
	left: 20px;
	top: 2px;
	width: 118px;
	height: 20px;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 100%);
}

.logo-pulse::before {
	position: absolute;
	left: 0;
	right: 0;
	top: 9px;
	height: 1px;
	background: #a8a8a8;
	content: "";
	opacity: .7;
}

.logo-pulse svg,
.logo-ecg {
	position: absolute;
	left: 0;
	top: 0;
	height: 20px;
	width: 420px;
	z-index: 1;
	will-change: transform;
	filter: drop-shadow(0 0 2px rgba(180, 180, 180, 0.35));
	/* JS ile hız kontrol edilir; yedek yavaş akış */
	animation: logo-ecg-slide 5.5s linear infinite;
}

.logo-under.is-boost .logo-ecg {
	filter: drop-shadow(0 0 3px rgba(125, 211, 252, 0.7));
}

.logo-dedektor {
	position: absolute;
	left: 20px;
	top: 18px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.3px;
	color: #9a9a9a;
	white-space: nowrap;
}

@keyframes logo-ecg-slide {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.logo-ecg {
		animation: none !important;
	}
	.logo-electrode {
		transition: none;
	}
}

@media (max-width: 767px) {
	.logo.logo--animated {
		margin-top: 14px;
	}
	.logo-siner {
		font-size: 32px;
	}
	.logo-under {
		margin-left: 18px;
		width: 120px;
		height: 28px;
	}
	.logo-pulse {
		width: 100px;
	}
	.logo-dedektor {
		font-size: 10px;
		top: 16px;
	}
}
