.cyf-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	font-family: "Segoe UI", sans-serif;
	box-sizing: border-box;
}

.cyf-wrapper * {
	box-sizing: border-box;
}

.cyf-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

.cyf-channel-logo {
	width: 65px;
	height: 65px;
	border-radius: 50% !important;
	object-fit: cover;
	border: 1.5px solid #000 !important;
	display: block;
	background: #fff;
}

.cyf-channel-info h2 {
	margin: 0 0 5px 0;
	font-size: 20px;
	color: #222;
	line-height: 1.2;
}

.cyf-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 13px;
	color: #555;
}

.cyf-sub-btn {
	background-color: #c00;
	color: #fff !important;
	padding: 5px 12px;
	border-radius: 20px;
	font-weight: 600;
	text-decoration: none;
	font-size: 12px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}

.cyf-sub-btn:hover {
	background-color: #900;
}

.cyf-sub-icon {
	font-size: 10px;
	margin-right: 6px;
	display: inline-block;
	transform: translateY(1px);
}

.cyf-video-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
	margin-bottom: 30px;
}

.cyf-video-item {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
	transition: all .3s cubic-bezier(.25, .8, .25, 1);
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 0, 0, .04);
}

.cyf-video-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.cyf-thumb-wrapper {
	position: relative;
	padding-top: 56.25%;
	width: 100%;
	overflow: hidden;
}

.cyf-thumb {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.cyf-video-item:hover .cyf-thumb {
	transform: scale(1.1);
}

.cyf-play-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	transition: background .3s ease;
}

.cyf-video-item:hover .cyf-play-overlay {
	background: rgba(0, 0, 0, .1);
}

.cyf-play-icon {
	width: 55px;
	height: 55px;
	background: rgba(255, 255, 255, .2);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, .4);
	box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(1);
	transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
}

.cyf-video-item:hover .cyf-play-icon {
	transform: scale(1.15);
	background: #f00;
	border-color: #f00;
}

.cyf-video-details {
	padding: 12px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	background: #fff;
	position: relative;
	z-index: 2;
}

.cyf-video-title {
	font-family: "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #1a1a1a !important;
	margin: 0 0 8px 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 42px;
	visibility: visible !important;
	opacity: 1 !important;
}

.cyf-video-meta {
	font-size: 11px;
	color: #888;
	margin-top: auto;
	display: flex;
	align-items: center;
	font-weight: 500;
}

.cyf-date-icon {
	margin-right: 5px;
	font-size: 10px;
	filter: grayscale(1);
}

.cyf-wrapper .load-more-btn {
	display: block;
	margin: 0 auto;
	background-color: #000;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 10px 25px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color .3s, color .3s;
}

.cyf-wrapper .load-more-btn:hover {
	background-color: #ddd;
	color: #000;
}

.cyf-modal {
	display: none;
	position: fixed;
	z-index: 2147483647 !important;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .85);
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(3px);
}

.cyf-modal-content {
	background: #000;
	width: 90%;
	max-width: 900px;
	position: relative;
	border-radius: 10px;
	border: 2px solid #fff;
	box-shadow: 0 0 50px rgba(0, 0, 0, .8);
}

.cyf-close-modal {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 35px !important;
	height: 35px !important;
	min-width: 35px !important;
	min-height: 35px !important;
	background: red !important;
	border-radius: 50% !important;
	border: 2px solid #fff !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer;
	z-index: 2147483648;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
	outline: none;
	box-sizing: border-box !important;
	transform: none !important;
	transition: none !important;
}

.cyf-close-modal:hover {
	background: red !important;
	transform: none !important;
}

.cyf-video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 8px;
}

.cyf-video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media (max-width: 1024px) {
	.cyf-video-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.cyf-header {
		flex-direction: column;
		text-align: center;
	}
	
	.cyf-meta {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.cyf-video-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		margin-bottom: 20px;
	}
	
	.cyf-wrapper .load-more-btn {
		padding: 5px 15px !important;
		font-size: 12px;
		font-weight: 500;
	}
	
	.cyf-play-icon {
		width: 40px;
		height: 40px;
	}
	
	.cyf-video-title {
		font-size: 13px;
		line-height: 1.3;
		height: 34px;
		margin-bottom: 6px;
	}
	
	.cyf-video-details {
		padding: 10px;
	}
	
	.cyf-video-container {
		padding-bottom: 177.77%;
	}
	
	.cyf-modal-content {
		width: 85%;
	}
}