/* UPRAVA WANTEE (5. 10. 2026): banner hry Kacaci Lov na hlavnej strane. Obsah = sekcia "banner" z kacicky.css
   (rovnaky vzhlad ako na produkte), bez celeho CSS hry, aby sa na domovskej strane nacitalo len par KB. Pri zmene banera
   upravit OBA subory. */

/* ===== banner na vrchu produktu: upozornenie na hru (5. 10. 2026) ===== */

.ws-kac-banner {
	position: relative;
	display: flex;
	align-items: stretch;
	min-height: 168px;
	margin: 0 0 22px;
	border-radius: 20px;
	overflow: hidden;
	background: linear-gradient(120deg, #0e1b4d 0%, #1b3786 55%, #2c58b8 100%);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 16px 30px -18px rgba(14, 27, 77, .75);
	transition: transform .18s ease, box-shadow .18s ease;
}

.ws-kac-banner:hover,
.ws-kac-banner:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 20px 34px -18px rgba(14, 27, 77, .85);
}

.ws-kac-banner:focus-visible {
	outline: 3px solid #ffe27a;
	outline-offset: 3px;
}

.ws-kacb-text {
	position: relative;
	z-index: 6;
	flex: 1 1 56%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	padding: 22px 8px 22px 30px;
}

.ws-kacb-chip {
	padding: 3px 11px;
	border-radius: 999px;
	border: 1px solid rgba(255, 226, 122, .6);
	background: rgba(255, 226, 122, .14);
	color: #ffe27a;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
}

.ws-kacb-title {
	font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
	text-wrap: balance;
}

.ws-kacb-sub {
	max-width: 440px;
	font-size: .95rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, .84);
}

.ws-kacb-cta {
	margin-top: 4px;
	padding: 10px 28px;
	border-radius: 999px;
	background: #cda349;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	box-shadow: 0 0 0 0 rgba(255, 226, 122, .6);
	animation: ws-kacb-pulz 2.6s ease-out infinite;
	transition: background .15s ease;
}

.ws-kac-banner:hover .ws-kacb-cta,
.ws-kac-banner:focus-visible .ws-kacb-cta {
	background: #b78f35;
}

/* scena s kacickami */

.ws-kacb-scena {
	position: relative;
	flex: 0 0 44%;
	min-height: 168px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
	mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}

.ws-kacb-hex {
	position: absolute;
	top: 10px;
	right: 22%;
	width: 132px;
	height: 150px;
	background: rgba(140, 190, 240, .3);
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.ws-kacb-badge {
	position: absolute;
	z-index: 7;
	top: 16px;
	right: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: linear-gradient(135deg, #e0433a, #a8241c);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 800;
	transform: rotate(-10deg);
	box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .5);
	animation: ws-kacb-kyv 3.2s ease-in-out infinite;
}

.ws-kacb-vlny {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

.ws-kacb-vlny-zadna {
	z-index: 1;
	height: 84px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cpath d='M0 11Q15 0 30 11T60 11T90 11T120 11V22H0Z' fill='%234a86d4'/%3E%3C/svg%3E") 0 0 / 120px 22px repeat-x,
		linear-gradient(#4a86d4, #3a75c2) 0 21px / 100% 100% no-repeat;
	animation: ws-kacb-vlna-zadna 9s linear infinite;
}

.ws-kacb-vlny-predna {
	z-index: 5;
	height: 40px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cpath d='M0 11Q15 0 30 11T60 11T90 11T120 11V22H0Z' fill='%23245aa5'/%3E%3C/svg%3E") 0 0 / 120px 22px repeat-x,
		linear-gradient(#245aa5, #173f7c) 0 21px / 100% 100% no-repeat;
	animation: ws-kacb-vlna-predna 6s linear infinite;
}

/* stredna hladina je vykreslena tienom pod zadnymi kacickami */
.ws-kacb-scena::after {
	content: "";
	position: absolute;
	z-index: 3;
	left: 0;
	right: 0;
	bottom: 0;
	height: 64px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cpath d='M0 11Q15 0 30 11T60 11T90 11T120 11V22H0Z' fill='%233a75c2'/%3E%3C/svg%3E") 0 0 / 120px 22px repeat-x,
		linear-gradient(#3a75c2, #245aa5) 0 21px / 100% 100% no-repeat;
	animation: ws-kacb-vlna-stredna 7.5s linear infinite;
	pointer-events: none;
}

.ws-kacb-plav {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	animation: ws-kacb-plav var(--dur, 18s) linear infinite;
	animation-delay: var(--del, 0s);
}

.ws-kacb-skok {
	position: absolute;
	left: 0;
	bottom: var(--dno, 30px);
	width: var(--sir, 70px);
}

.ws-kacb-hoj {
	position: relative;
	display: block;
	animation: ws-kacb-hoj 2.6s ease-in-out infinite;
	animation-delay: var(--hdel, 0s);
}

.ws-kacb-kacka {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.ws-kacb-kacka .t { fill: var(--t); stroke: rgba(0, 0, 0, .28); stroke-width: 1.6; }
.ws-kacb-kacka .s { fill: var(--s); stroke: rgba(0, 0, 0, .28); stroke-width: 1.6; }
.ws-kacb-kacka .b { fill: #e5502b; stroke: rgba(0, 0, 0, .28); stroke-width: 1.6; }
.ws-kacb-kacka .w { fill: var(--s); opacity: .55; }
.ws-kacb-kacka .g { fill: #fff; opacity: .38; }

/* kazda kacicka ma svoju hladinu, rychlost a polohu */
.ws-kacb-k1 { --dno: 28px; --sir: 98px; --dur: 20s; --del: -4s; --hdel: -.4s; z-index: 4; }
.ws-kacb-k2 { --dno: 50px; --sir: 64px; --dur: 16s; --del: -10s; --hdel: -1.1s; z-index: 2; animation-direction: reverse; }
.ws-kacb-k3 { --dno: 12px; --sir: 128px; --dur: 25s; --del: -15s; --hdel: -1.8s; z-index: 4; }
.ws-kacb-k4 { --dno: 52px; --sir: 56px; --dur: 18s; --del: -1s; --hdel: -.7s; z-index: 2; }

.ws-kacb-k2 .ws-kacb-kacka { transform: scaleX(-1); }
.ws-kacb-k2 .ws-kacb-skok { animation: ws-kacb-hop 11s ease-in-out infinite; animation-delay: -3s; }
.ws-kacb-k3 .ws-kacb-skok { animation: ws-kacb-salto 14s ease-in-out infinite; animation-delay: -2s; }

.ws-kacb-bublina {
	position: absolute;
	left: 52%;
	bottom: 100%;
	margin-bottom: -2px;
	padding: 4px 10px;
	border-radius: 10px;
	background: #fff;
	color: #16296b;
	font-size: .8rem;
	font-weight: 800;
	white-space: nowrap;
	opacity: 0;
	transform-origin: 20% 100%;
	animation: ws-kacb-bub 8s ease-in-out infinite;
}

.ws-kacb-bublina::after {
	content: "";
	position: absolute;
	left: 14px;
	top: 100%;
	border: 5px solid transparent;
	border-top-color: #fff;
}

@keyframes ws-kacb-plav {
	from { transform: translateX(-38%); }
	to { transform: translateX(108%); }
}

@keyframes ws-kacb-hoj {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-3px) rotate(2deg); }
}

@keyframes ws-kacb-hop {
	0%, 70%, 100% { transform: none; }
	76% { transform: translateY(-24px) rotate(-14deg); }
	84% { transform: translateY(0) rotate(0deg); }
}

@keyframes ws-kacb-salto {
	0%, 80%, 100% { transform: none; }
	86% { transform: translateY(-30px) rotate(-120deg); }
	92% { transform: translateY(-34px) rotate(-240deg); }
	98% { transform: translateY(0) rotate(-360deg); }
}

@keyframes ws-kacb-bub {
	0%, 56% { opacity: 0; transform: scale(.4); }
	61% { opacity: 1; transform: scale(1.1); }
	65%, 80% { opacity: 1; transform: scale(1); }
	86%, 100% { opacity: 0; transform: scale(.6); }
}

@keyframes ws-kacb-kyv {
	0%, 100% { transform: rotate(-10deg) scale(1); }
	50% { transform: rotate(-4deg) scale(1.07); }
}

@keyframes ws-kacb-pulz {
	0% { box-shadow: 0 0 0 0 rgba(255, 226, 122, .6); }
	70%, 100% { box-shadow: 0 0 0 14px rgba(255, 226, 122, 0); }
}

@keyframes ws-kacb-vlna-zadna {
	from { background-position: 0 0, 0 21px; }
	to { background-position: 120px 0, 0 21px; }
}

@keyframes ws-kacb-vlna-stredna {
	from { background-position: 0 0, 0 21px; }
	to { background-position: -120px 0, 0 21px; }
}

@keyframes ws-kacb-vlna-predna {
	from { background-position: 0 0, 0 21px; }
	to { background-position: 120px 0, 0 21px; }
}

@media (max-width: 767.98px) {
	.ws-kac-banner {
		flex-direction: column;
		min-height: 0;
		border-radius: 18px;
	}

	.ws-kacb-text {
		flex: none;
		padding: 18px 18px 8px;
	}

	.ws-kacb-sub {
		font-size: .9rem;
	}

	.ws-kacb-cta {
		padding: 9px 24px;
		font-size: .95rem;
	}

	.ws-kacb-scena {
		flex: none;
		min-height: 124px;
		height: 124px;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.ws-kacb-hex {
		right: 30%;
		width: 100px;
		height: 114px;
	}

	.ws-kacb-badge {
		top: auto;
		bottom: 138px;
		right: 16px;
		width: 56px;
		height: 56px;
		font-size: .95rem;
	}

	.ws-kacb-k1 { --dno: 26px; --sir: 76px; }
	.ws-kacb-k3 { --dno: 10px; --sir: 96px; }
	.ws-kacb-k2 { --dno: 46px; --sir: 50px; }
	.ws-kacb-k4 { --dno: 48px; --sir: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.ws-kac-banner,
	.ws-kac-banner * {
		animation: none !important;
		transition: none !important;
	}

	.ws-kacb-k1 { transform: translateX(34%); }
	.ws-kacb-k2 { transform: translateX(72%); }
	.ws-kacb-k3 { transform: translateX(8%); }
	.ws-kacb-k4 { transform: translateX(52%); }
	.ws-kacb-bublina { opacity: 1; }
}


/* na domovskej strane je banner na celu sirku obsahu (na produkte je zuzeny podla hracej plochy) */
.ws-kac-banner.ws-kac-banner-domov {
	max-width: none;
	margin: 16px 0 24px;
}

@media (min-width: 992px) {
	.ws-kac-banner-domov .ws-kacb-text {
		flex: 1 1 42%;
	}

	.ws-kac-banner-domov .ws-kacb-scena {
		flex: 0 0 58%;
	}
}
