/* Floating Button - Choinka */
.christmas-float-btn {
	position: fixed;
	bottom: 100px;
	right: 20px;
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, #1a5a8e 0%, #2a9fd6 100%);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	animation: pulse 2s ease-in-out infinite;
	border: 3px solid #ffffff;
}

.christmas-float-btn:hover {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 6px 30px rgba(42, 159, 214, 0.6);
}

.christmas-float-btn .tree-emoji {
	font-size: 40px;
	animation: swing 2s ease-in-out infinite;
}

@keyframes pulse {
	0%,
	100% {
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 255, 255, 0.7);
	}
	50% {
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 20px rgba(255, 255, 255, 0);
	}
}

@keyframes swing {
	0%,
	100% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(-10deg);
	}
	75% {
		transform: rotate(10deg);
	}
}

/* Tooltip "Życzenia" */
.christmas-tooltip {
	position: absolute;
	right: 85px;
	top: 50%;
	transform: translateY(-50%);
	background: #ffffff;
	color: #1a5a8e;
	padding: 8px 15px;
	border-radius: 20px;
	font-weight: bold;
	font-size: 14px;
	white-space: nowrap;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	animation: bounce 1s ease-in-out infinite;
	pointer-events: none;
}

.christmas-tooltip::after {
	content: "";
	position: absolute;
	right: -8px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid #ffffff;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}

@keyframes bounce {
	0%,
	100% {
		transform: translateY(-50%) translateX(0);
	}
	50% {
		transform: translateY(-50%) translateX(-5px);
	}
}

/* Rozwinięty baner */
.christmas-banner-expanded {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	background: linear-gradient(135deg, #1a5a8e 0%, #2a9fd6 50%, #1a5a8e 100%);
	padding: 40px 30px;
	border-radius: 20px;
	box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
	z-index: 10000;
	max-width: 550px;
	width: 90%;
	overflow: hidden;
	opacity: 0;
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.christmas-banner-expanded.active {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

.banner-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 9998;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.banner-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.banner-close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.5);
	color: white;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 20px;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.banner-close-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

.snowflake {
	position: absolute;
	color: rgba(255, 255, 255, 0.8);
	font-size: 20px;
	animation: fall linear infinite;
	pointer-events: none;
}

@keyframes fall {
	to {
		transform: translateY(600px) rotate(360deg);
	}
}

.ornament {
	position: absolute;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	opacity: 0.7;
}

.ornament-1 {
	background: #ff4444;
	top: 15px;
	left: 8%;
	animation: swing-ornament 3s ease-in-out infinite;
}
.ornament-2 {
	background: #ffffff;
	top: 20px;
	right: 10%;
	animation: swing-ornament 3.5s ease-in-out infinite 0.5s;
}
.ornament-3 {
	background: #ff4444;
	bottom: 15px;
	left: 15%;
	animation: swing-ornament 4s ease-in-out infinite 1s;
}
.ornament-4 {
	background: #ffffff;
	bottom: 20px;
	right: 8%;
	animation: swing-ornament 3.2s ease-in-out infinite 1.5s;
}

@keyframes swing-ornament {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

.banner-content-christmas {
	position: relative;
	z-index: 5;
	text-align: center;
}

.banner-tree-icon {
	font-size: 50px;
	margin-bottom: 10px;
	animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
	0%,
	100% {
		filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
	}
	50% {
		filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
	}
}

.banner-title-christmas {
	color: #ffffff;
	font-size: 36px;
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	font-weight: bold;
}

.banner-subtitle-christmas {
	color: #e8f4fa;
	font-size: 18px;
	margin-bottom: 15px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-message {
	background: rgba(255, 255, 255, 0.15);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 15px;
	padding: 20px;
	margin: 15px 0;
	backdrop-filter: blur(10px);
}

.banner-message p {
	color: white;
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 8px;
}

.banner-signature {
	color: #e8f4fa;
	font-style: italic;
	font-size: 15px;
	margin-top: 12px;
}

.decorative-line {
	width: 80px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #ffffff, transparent);
	margin: 15px auto;
}

/* Mobile */
@media (max-width: 768px) {
	.christmas-float-btn {
		width: 50px;
		height: 50px;
		bottom: 30px;
		right: 25%;
	}

	.christmas-float-btn .tree-emoji {
		font-size: 35px;
	}

	.christmas-tooltip {
		font-size: 12px;
		padding: 6px 12px;
		right: 75px;
	}

	.banner-title-christmas {
		font-size: 28px;
	}

	.banner-subtitle-christmas {
		font-size: 16px;
	}

	.banner-message p {
		font-size: 15px;
	}

	.christmas-banner-expanded {
		padding: 30px 20px;
	}
}
