/*-------------------------------------------------------+
| Olympique.ru — FusionTube Modern Video Gallery Styles
| Palette: OM Sky Blue #009ddc, Hover #0082b8, Navy #002d62
+--------------------------------------------------------*/

/* ==========================================================================
   1. NAVIGATION & TOOLBAR
   ========================================================================== */
.om-ft-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 10px 14px;
	margin-bottom: 18px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.om-ft-nav-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	text-decoration: none;
	transition: all 0.2s ease;
}

.om-ft-nav-item:hover {
	color: #009ddc;
	background: #f0f9ff;
	border-color: #bae6fd;
	text-decoration: none;
}

.om-ft-nav-item.active {
	color: #ffffff;
	background: #009ddc;
	border-color: #009ddc;
	box-shadow: 0 2px 8px rgba(0, 157, 220, 0.35);
}

.om-ft-nav-search {
	margin-left: auto;
	display: flex;
	align-items: center;
}

@media (max-width: 768px) {
	.om-ft-nav-search {
		width: 100%;
		margin-left: 0;
		margin-top: 6px;
	}
}

/* ==========================================================================
   2. CATEGORY PILLS & HEADER
   ========================================================================== */
.om-ft-cats-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
}

.om-ft-cat-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 16px;
	font-size: 12px;
	font-weight: 500;
	color: #334155;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	text-decoration: none;
	transition: all 0.15s ease;
}

.om-ft-cat-chip:hover {
	color: #0082b8;
	background: #f0f9ff;
	border-color: #7dd3fc;
	text-decoration: none;
}

.om-ft-cat-chip.active {
	color: #ffffff;
	background: #009ddc;
	border-color: #009ddc;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(0, 157, 220, 0.25);
}

.om-ft-cat-chip .count {
	font-size: 10px;
	padding: 1px 6px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.06);
	color: inherit;
}

.om-ft-cat-chip.active .count {
	background: rgba(255, 255, 255, 0.25);
}

.om-ft-header-block {
	background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
	border: 1px solid #bae6fd;
	border-radius: 10px;
	padding: 16px 20px;
	margin-bottom: 20px;
}

.om-ft-header-title {
	font-size: 18px;
	font-weight: 700;
	color: #002d62;
	margin: 0 0 6px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.om-ft-header-desc {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

/* ==========================================================================
   3. VIDEO GRID & CARDS
   ========================================================================== */
.om-ft-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
	margin-bottom: 24px;
}

.om-ft-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	position: relative;
}

.om-ft-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 20px rgba(0, 157, 220, 0.12);
	border-color: #7dd3fc;
}

.om-ft-thumb-link {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0b1528;
	overflow: hidden;
	text-decoration: none;
}

.om-ft-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.om-ft-card:hover .om-ft-thumb-img {
	transform: scale(1.05);
}

.om-ft-play-badge {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 44px;
	height: 44px;
	background: rgba(0, 157, 220, 0.9);
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s ease, background 0.2s ease;
	pointer-events: none;
}

.om-ft-play-badge svg {
	width: 18px;
	height: 18px;
	fill: #ffffff;
	margin-left: 2px;
}

.om-ft-card:hover .om-ft-play-badge {
	transform: translate(-50%, -50%) scale(1.15);
	background: #0082b8;
}

.om-ft-badge-cat {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	color: #ffffff;
	background: rgba(0, 45, 98, 0.85);
	backdrop-filter: blur(4px);
}

.om-ft-badge-new {
	position: absolute;
	top: 8px;
	right: 8px;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	color: #ffffff;
	background: #ef4444;
	box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
}

.om-ft-card-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 12px 14px;
}

.om-ft-card-title {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	color: #1e293b;
	margin: 0 0 10px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 38px;
	text-decoration: none;
}

.om-ft-card-title a {
	color: #1e293b;
	text-decoration: none;
}

.om-ft-card-title a:hover {
	color: #009ddc;
	text-decoration: none;
}

.om-ft-card-meta {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 11px;
	color: #64748b;
	padding-top: 8px;
	border-top: 1px solid #f1f5f9;
}

.om-ft-meta-author {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #475569;
}

.om-ft-meta-stats {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #64748b;
}

.om-ft-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.om-ft-meta-item svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

/* ==========================================================================
   4. SINGLE VIDEO VIEW (VIEW.PHP)
   ========================================================================== */
.om-ft-view-wrap {
	margin-bottom: 24px;
}

.om-ft-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #64748b;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 8px 14px;
	margin-bottom: 16px;
}

.om-ft-breadcrumbs a {
	color: #009ddc;
	font-weight: 500;
	text-decoration: none;
}

.om-ft-breadcrumbs a:hover {
	color: #0077aa;
	text-decoration: underline;
}

.om-ft-player-container {
	position: relative;
	width: 100%;
	max-width: 880px;
	margin: 0 auto 20px auto;
	border-radius: 12px;
	overflow: hidden;
	background: #000000;
	box-shadow: 0 12px 28px rgba(0, 45, 98, 0.18);
	border: 1px solid rgba(0, 157, 220, 0.15);
}

.om-ft-player-responsive {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
}

.om-ft-player-responsive iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.om-ft-action-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 10px 16px;
	margin-bottom: 18px;
}

.om-ft-btn-yt {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 6px;
	background: #ff0000;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

.om-ft-btn-yt:hover {
	background: #cc0000;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
}

.om-ft-btn-yt svg {
	width: 16px;
	height: 16px;
	fill: #ffffff;
}

.om-ft-share-buttons {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.om-ft-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #ffffff;
	text-decoration: none;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.om-ft-share-btn:hover {
	transform: scale(1.1);
	opacity: 0.9;
	text-decoration: none;
}

.om-ft-share-btn.vk { background: #0077ff; }
.om-ft-share-btn.tg { background: #229ed9; }
.om-ft-share-btn.wa { background: #25d366; }
.om-ft-share-btn.copy { background: #64748b; }

.om-ft-share-btn svg {
	width: 16px;
	height: 16px;
	fill: #ffffff;
}

.om-ft-info-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 20px;
}

.om-ft-video-title {
	font-size: 20px;
	font-weight: 700;
	color: #002d62;
	margin: 0 0 12px 0;
	line-height: 1.35;
}

.om-ft-video-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	font-size: 12px;
	color: #64748b;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 14px;
}

.om-ft-desc-box {
	font-size: 14px;
	line-height: 1.6;
	color: #334155;
}

.om-ft-section-title {
	font-size: 16px;
	font-weight: 700;
	color: #002d62;
	margin: 24px 0 14px 0;
	padding-left: 10px;
	border-left: 4px solid #009ddc;
}

/* ==========================================================================
   5. SEARCH BAR & FORMS
   ========================================================================== */
.om-ft-search-form {
	display: flex;
	align-items: center;
	gap: 6px;
}

.om-ft-search-input {
	height: 34px;
	padding: 0 12px;
	font-size: 13px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
	color: #1e293b;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.om-ft-search-input:focus {
	outline: none;
	border-color: #009ddc;
	box-shadow: 0 0 0 3px rgba(0, 157, 220, 0.15);
}

.om-ft-search-btn {
	height: 34px;
	padding: 0 14px;
	background: #009ddc;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.om-ft-search-btn:hover {
	background: #0082b8;
}

.om-ft-search-btn:active {
	transform: translateY(1px);
}

.om-ft-empty {
	text-align: center;
	padding: 36px 16px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	color: #64748b;
	font-size: 14px;
	margin: 16px 0;
}

/* Rate stars */
.om-ft-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	color: #f59e0b;
	font-size: 13px;
}