/**
 * SvarogTech Yılbaşı Karı — üst kısım süslemeleri.
 * Tamamen dekoratiftir: pointer-events:none, ARIA-hidden.
 */
.sns-decor {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 170px;
	z-index: 99998;
	pointer-events: none;
	overflow: hidden;
	--b1: #e63946;
	--b2: #f4c430;
	--b3: #2a9d8f;
	--star: #ffd166;
}

.sns-decor--gold {
	--b1: #ffd166;
	--b2: #d4af37;
	--b3: #f4a261;
	--star: #fff3b0;
}

.sns-decor--ice {
	--b1: #7dd3fc;
	--b2: #a5f3fc;
	--b3: #93c5fd;
	--star: #e0f2fe;
}

/* Işıklı tel dizisi */
.sns-garland {
	position: absolute;
	top: -2px;
	left: 0;
	width: 100%;
	height: 92px;
}

.sns-wire {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	overflow: visible;
}

.sns-wire path {
	fill: none;
	stroke: #245c3b;
	stroke-width: 3;
	vector-effect: non-scaling-stroke;
}

.sns-bulb {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 12px;
	height: 12px;
	margin-left: -6px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--c) 48%, rgba(0, 0, 0, 0.35) 100%);
	box-shadow: 0 0 8px 2px var(--c), 0 0 20px 5px var(--c);
	animation: sns-twinkle 1.5s ease-in-out infinite alternate;
	animation-delay: var(--d);
}

.sns-bulb::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 3px;
	width: 6px;
	height: 6px;
	border-radius: 2px 2px 0 0;
	background: #245c3b;
}

/* Köşe süsleri: çam dalı, toplar ve yıldız */
.sns-corner {
	position: absolute;
	top: -8px;
	width: 250px;
	height: 165px;
}

.sns-corner--left { left: -12px; }
.sns-corner--right {
	right: -12px;
	transform: scaleX(-1);
}

.sns-pine {
	position: absolute;
	top: 2px;
	left: 8px;
	width: 160px;
	height: 110px;
	transform-origin: 20px 0;
	animation: sns-sway 5s ease-in-out infinite alternate;
}

.sns-pine i {
	position: absolute;
	top: 0;
	left: 70px;
	width: 16px;
	height: 96px;
	border-radius: 50%;
	background: linear-gradient(180deg, #47b46a 0%, #1d7a43 45%, #124926 100%);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
	transform-origin: 50% 6px;
}

.sns-pine i:nth-child(1) { transform: rotate(-58deg); }
.sns-pine i:nth-child(2) { transform: rotate(-29deg); }
.sns-pine i:nth-child(3) { transform: rotate(0deg); }
.sns-pine i:nth-child(4) { transform: rotate(29deg); }
.sns-pine i:nth-child(5) { transform: rotate(58deg); }

.sns-bauble {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0 8%, var(--b1) 36%, rgba(0, 0, 0, 0.4) 100%);
	box-shadow: inset -3px -4px 6px rgba(0, 0, 0, 0.22), 0 4px 10px rgba(0, 0, 0, 0.25);
	animation: sns-bob 3.6s ease-in-out infinite alternate;
}

.sns-bauble::before {
	content: "";
	position: absolute;
	top: -9px;
	left: 50%;
	width: 1px;
	height: 10px;
	background: rgba(255, 255, 255, 0.7);
	transform: translateX(-50%);
}

.sns-bauble::after {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: 8px;
	height: 5px;
	border-radius: 2px;
	background: #c9a227;
	transform: translateX(-50%);
}

.sns-bauble--a { width: 30px; height: 30px; top: 34px; left: 32px; }
.sns-bauble--b {
	width: 24px; height: 24px; top: 64px; left: 84px;
	background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0 8%, var(--b2) 36%, rgba(0, 0, 0, 0.4) 100%);
	animation-delay: -1.2s;
}
.sns-bauble--c {
	width: 20px; height: 20px; top: 28px; left: 126px;
	background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0 8%, var(--b3) 36%, rgba(0, 0, 0, 0.4) 100%);
	animation-delay: -2.1s;
}

.sns-star {
	position: absolute;
	top: 4px;
	left: 158px;
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, #fff8d6, var(--star) 55%, #c98b00);
	clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
	filter: drop-shadow(0 0 8px var(--star));
	animation: sns-star-shine 2.4s ease-in-out infinite alternate;
}

@keyframes sns-star-shine {
	from { opacity: 0.6; }
	to   { opacity: 1; }
}

@keyframes sns-twinkle {
	from { opacity: 0.5; filter: brightness(0.85); }
	to   { opacity: 1; filter: brightness(1.25); }
}

@keyframes sns-sway {
	from { transform: rotate(-3deg); }
	to   { transform: rotate(3deg); }
}

@keyframes sns-bob {
	from { transform: translateY(0) rotate(-2deg); }
	to   { transform: translateY(3px) rotate(2deg); }
}

@media (max-width: 600px) {
	.sns-corner { display: none; }
	.sns-bulb { width: 9px; height: 9px; margin-left: -4.5px; }
	.sns-bulb::before { left: 2px; }
}

@media (prefers-reduced-motion: reduce) {
	.sns-decor[data-respect="1"] .sns-bulb,
	.sns-decor[data-respect="1"] .sns-star { animation: none !important; }
	.sns-decor[data-respect="1"] .sns-pine,
	.sns-decor[data-respect="1"] .sns-bauble { animation: none !important; }
}
