.fsyc-container {
	width: 100%;
}

.fsyc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.fsyc-video-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e0e0e0;
	cursor: pointer;
	transition: transform 0.3s ease;
	display: flex;
	flex-direction: column;
}

.fsyc-video-item:hover {
	transform: translateY(-4px);
}

.fsyc-video-item .fsyc-thumbnail {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	display: block;
	position: relative;
}

.fsyc-video-item .fsyc-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.fsyc-video-item:hover .fsyc-overlay {
	opacity: 1;
}

.fsyc-video-item .fsyc-play-icon {
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #333;
	font-weight: bold;
}

.fsyc-video-info {
	padding: 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.fsyc-video-title {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin: 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Modal */
.fsyc-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.fsyc-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);
	cursor: pointer;
}

.fsyc-modal-content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 900px;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.fsyc-modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	font-size: 28px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	padding: 0;
	color: #333;
	transition: background 0.2s ease;
	z-index: 2;
}

.fsyc-modal-close:hover {
	background: #fff;
}

.fsyc-modal-video {
	width: 100%;
	aspect-ratio: 16/9;
	background: #000;
}

.fsyc-modal-video iframe {
	width: 100% !important;
	height: 100% !important;
}

.fsyc-modal-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 15px 20px;
	background: #111;
	border-top: 1px solid #333;
}

.fsyc-modal-prev,
.fsyc-modal-next {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	line-height: 1;
	padding: 0;
}

.fsyc-modal-prev:hover,
.fsyc-modal-next:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
}

.fsyc-modal-counter {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	min-width: 60px;
	text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
	.fsyc-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 16px;
	}
}

@media (max-width: 768px) {
	.fsyc-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 12px;
	}

	.fsyc-video-item {
		border-radius: 6px;
		padding: 0;
	}

	.fsyc-modal {
		padding: 10px;
	}

	.fsyc-modal-content {
		max-width: 100%;
		border-radius: 6px;
	}

	.fsyc-modal-video {
		aspect-ratio: 16/9;
	}

	.fsyc-modal-controls {
		gap: 10px;
		padding: 10px 15px;
	}

	.fsyc-modal-prev,
	.fsyc-modal-next {
		width: 36px;
		height: 36px;
		font-size: 16px;
	}

	.fsyc-modal-counter {
		font-size: 12px;
		min-width: 50px;
	}
}

/* Botón Ver más */
.fsyc-load-more-container {
	display: flex;
	justify-content: center;
	padding: 40px 20px;
	margin-top: 20px;
}

.fsyc-load-more-btn {
	padding: 12px 32px;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.fsyc-load-more-btn:hover:not(:disabled) {
	background: #005a87;
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fsyc-load-more-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Error */
.fsyc-error {
	padding: 20px;
	background: #fee;
	border: 1px solid #f88;
	border-radius: 4px;
	color: #c33;
	text-align: center;
}
