.modern-footer {
	position: relative;
	overflow: hidden;
	align-self: stretch;
	flex-shrink: 0;
	background: linear-gradient(135deg, #1a1d29 0%, #232b3a 100%);
	color: #ffffff;
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
}

.modern-footer *,
.modern-footer *::before,
.modern-footer *::after {
	box-sizing: border-box;
	font-family: inherit;
}

.modern-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, #3296d9 50%, transparent 100%);
}

.modern-footer .footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 30px 20px;
}

.modern-footer .footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 50px;
}

.modern-footer .footer-section h4,
.modern-footer .footer-section h5 {
	margin: 0 0 20px;
	color: #3296d9;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.modern-footer .company-info .footer-logo img {
	height: 60px;
	width: auto;
	margin-bottom: 20px;
	filter: brightness(0) invert(1);
}

.modern-footer .company-description {
	margin: 0 0 25px;
	color: #b8c5d1;
	font-size: 16px;
	line-height: 1.6;
}

.modern-footer .social-links {
	display: flex;
	gap: 15px;
}

.modern-footer .social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(50, 150, 217, 0.1);
	border: 1px solid rgba(50, 150, 217, 0.2);
	border-radius: 12px;
	color: #3296d9;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-footer .social-link:hover {
	background: #3296d9;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(50, 150, 217, 0.3);
}

.modern-footer .social-link svg {
	width: 20px;
	height: 20px;
}

.modern-footer .footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.modern-footer .footer-links li {
	margin-bottom: 12px;
}

.modern-footer .footer-links a {
	position: relative;
	display: inline-block;
	color: #b8c5d1;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.modern-footer .footer-links a:hover {
	color: #3296d9;
	text-decoration: none;
	transform: translateX(5px);
}

.modern-footer .footer-links a::before {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #3296d9, #6ad1e3);
	transition: width 0.3s ease;
}

.modern-footer .footer-links a:hover::before {
	width: 100%;
}

.modern-footer .payment-partners {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 40px;
	margin-bottom: 40px;
}

.modern-footer .payment-partners h5 {
	margin: 0 0 20px;
	color: #3296d9;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.modern-footer .partners-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
}

.modern-footer .partner-logo {
	opacity: 0.7;
	filter: brightness(0) invert(1);
	transition: all 0.3s ease;
}

.modern-footer .partner-logo:hover {
	opacity: 1;
	transform: scale(1.05);
}

.modern-footer .partner-logo img {
	height: 35px;
	width: auto;
}

.modern-footer .compliance-section {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-bottom: 30px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
}

.modern-footer .compliance-logo {
	opacity: 0.8;
	transition: all 0.3s ease;
}

.modern-footer .compliance-logo:hover {
	opacity: 1;
	transform: scale(1.05);
}

.modern-footer .compliance-logo img {
	height: 50px;
	width: auto;
}

.modern-footer .footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 30px;
	text-align: center;
}

.modern-footer .copyright p {
	margin: 5px 0;
	color: #b8c5d1;
	font-size: 14px;
}

.modern-footer .copyright a {
	color: #3296d9;
	text-decoration: none;
	transition: color 0.3s ease;
}

.modern-footer .copyright a:hover {
	color: #6ad1e3;
}

.modern-footer .loto-disclaimer {
	margin: 0 0 30px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	color: #c9d1dd;
	font-size: 13px;
	line-height: 1.6;
}

.modern-footer .loto-disclaimer summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.modern-footer .loto-disclaimer summary::-webkit-details-marker {
	display: none;
}

.modern-footer .loto-disclaimer summary:focus-visible {
	outline: 2px solid #3296d9;
	outline-offset: 2px;
	border-radius: 14px;
}

.modern-footer .ld-badge {
	order: 2;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 2px solid #ef4444;
	border-radius: 50%;
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: -0.3px;
}

.modern-footer .ld-summary-text {
	flex: 1;
	min-width: 0;
}

.modern-footer .ld-summary-text strong {
	display: block;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
}

.modern-footer .ld-toggle {
	order: 3;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #3296d9;
	font-weight: 600;
	white-space: nowrap;
}

.modern-footer .ld-toggle::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.2s ease;
}

.modern-footer .loto-disclaimer[open] .ld-toggle::after {
	transform: rotate(-135deg) translateY(-2px);
}

.modern-footer .ld-toggle .ld-less,
.modern-footer .loto-disclaimer[open] .ld-toggle .ld-more {
	display: none;
}

.modern-footer .loto-disclaimer[open] .ld-toggle .ld-less {
	display: inline;
}

.modern-footer .ld-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 4px 18px 18px;
}

.modern-footer .ld-body p,
.modern-footer .ld-body ul {
	margin: 0;
}

.modern-footer .ld-body ul {
	padding-left: 18px;
	list-style: disc;
}

.modern-footer .ld-body li {
	margin-bottom: 4px;
	list-style: disc;
}

.modern-footer .loto-disclaimer a {
	color: #3296d9;
	font-weight: 600;
	text-decoration: none;
}

.modern-footer .loto-disclaimer a:hover {
	text-decoration: underline;
}

.modern-footer .ld-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
}

@media screen and (max-width: 1024px) {
	.modern-footer .footer-content {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 30px;
	}

	.modern-footer .company-info {
		grid-column: 1 / -1;
		margin-bottom: 20px;
		text-align: center;
	}
}

@media screen and (max-width: 768px) {
	.modern-footer .footer-container {
		padding: 40px 20px 15px;
	}

	.modern-footer .footer-content {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.modern-footer .company-info {
		grid-column: 1;
		text-align: center;
	}

	.modern-footer .partners-grid,
	.modern-footer .social-links {
		justify-content: center;
	}

	.modern-footer .compliance-section {
		flex-direction: column;
		gap: 15px;
	}
}

@media screen and (max-width: 600px) {
	.modern-footer .loto-disclaimer summary {
		gap: 12px;
		padding: 12px 14px;
	}

	.modern-footer .ld-summary-text {
		font-size: 12px;
		line-height: 1.45;
	}

	.modern-footer .ld-toggle .ld-more,
	.modern-footer .loto-disclaimer[open] .ld-toggle .ld-less {
		display: none;
	}

	.modern-footer .ld-body {
		padding: 0 14px 16px;
	}
}

@media screen and (max-width: 480px) {
	.modern-footer .footer-container {
		padding: 30px 15px 10px;
	}

	.modern-footer .footer-section h4,
	.modern-footer .footer-links a,
	.modern-footer .company-description {
		font-size: 14px;
	}
}
