/* Footer Main CSS - Additional styles with transitions and hover effects */

/* Hover States */
.mc-footer__button--primary:hover {
	background: #3730e5;
	box-shadow: 0px 8px 50px rgba(78, 117, 255, 0.5);
}

.mc-footer__button--primary:active {
	transform: translateY(0);
	box-shadow: 0px 4px 30px rgba(78, 117, 255, 0.3);
}

.mc-footer__button--secondary:hover {
	background: rgba(64, 57, 255, 0.12);
}

.mc-footer__button--secondary:active {
	background: rgba(64, 57, 255, 0.16);
}

.mc-footer__button--gray:hover {
	background: #4f5266;
}

.mc-footer__button--gray:active {
	background: #3e4152;
}

.mc-footer__link:hover {
	opacity: 1;
}

.mc-footer__social-link:hover .mc-footer__social-icon {
	opacity: 1;
}

.mc-footer__social-link:active .mc-footer__social-icon {
	opacity: 0.8;
}

.mc-footer__social-link:focus-visible {
	outline: 2px solid #4039ff;
	outline-offset: 2px;
	border-radius: 4px;
}

.mc-footer__legal-link:hover,
.mc-footer__legal-button:hover {
	opacity: 0.8;
}

.mc-footer__language-option:hover .mc-footer__language-text {
	opacity: 1;
}

.mc-footer__language-item:hover {
	background: rgba(64, 57, 255, 0.08);
	opacity: 1;
}

/* Focus States for Accessibility */
.mc-footer__button:focus-visible {
	outline: 2px solid #4039ff;
	outline-offset: 2px;
}

.mc-footer__link:focus-visible,
.mc-footer__legal-link:focus-visible,
.mc-footer__legal-button:focus-visible {
	outline: 2px solid #4039ff;
	outline-offset: 2px;
	border-radius: 2px;
}

/* Additional Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mc-footer__container {
	animation: fadeIn 0.4s ease-out;
}

/* Smooth Scrolling */
.mc-footer {
	scroll-margin-top: 20px;
}

/* Print Styles */
@media print {
	.mc-footer__button {
		box-shadow: none !important;
	}

	.mc-footer__container {
		border-radius: 0;
		padding: 40px;
	}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.mc-footer__button--primary {
		border: 2px solid currentColor;
	}

	.mc-footer__button--secondary {
		border: 2px solid #4039ff;
	}

	.mc-footer__link,
	.mc-footer__legal-link,
	.mc-footer__social-icon {
		opacity: 1;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.mc-footer__container {
		animation: none;
	}

	.mc-footer__button,
	.mc-footer__link,
	.mc-footer__legal-link,
	.mc-footer__social-link {
		transition: none;
	}

	.mc-footer__button--primary:hover {
		transform: none;
	}
}

/* Dark Background Support (if needed in future) */
@media (prefers-color-scheme: dark) {
	/* Keep light theme for now - can be enabled later */
}

/* Loading State (optional) */
.mc-footer--loading {
	opacity: 0.6;
	pointer-events: none;
}

.mc-footer--loading .mc-footer__button {
	cursor: wait;
}

/* Additional Responsive Adjustments - aligned with critical breakpoints */
@media (max-width: 480px) {
	.mc-footer__container {
		padding: 24px;
		gap: 24px;
	}

	.mc-footer__title {
		font-size: 28px;
	}

	.mc-footer__logo-wrapper {
		width: 129px;
		height: 20px;
	}

	.mc-footer__logo {
		width: 129px;
		height: 20px;
	}

	.mc-footer__buttons {
		width: 100%;
		min-width: 0;
		flex-direction: column;
	}

	.mc-footer__button {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}
}

@media (max-width: 360px) {
	.mc-footer__container {
		padding: 20px;
	}

	.mc-footer__buttons {
		flex-direction: column;
		width: 100%;
		min-width: 0;
	}

	.mc-footer__button {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}
}
