/* Tube Extras */
:root {
	--tx-card: rgba(255, 255, 255, .06);
	--tx-card-border: rgba(255, 255, 255, .08);
	--tx-label: rgba(255, 255, 255, .62);
	--tx-value: #fff;
	--tx-heart: #ff4d6d;
	--tx-green: #7dbb73;
	--tx-green-text: #10140f;
}

/* ---------- Kalp ---------- */
.tx-fav {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	border: 0; cursor: pointer; line-height: 1; padding: 0;
	background: rgba(0, 0, 0, .45); color: #fff; border-radius: 999px;
	transition: transform .15s ease, background .15s ease;
}
.tx-fav svg { fill: none; stroke: currentColor; stroke-width: 2; transition: fill .15s ease; }
.tx-fav:hover { transform: scale(1.08); }
.tx-fav.is-active { color: var(--tx-heart); }
.tx-fav.is-active svg { fill: var(--tx-heart); stroke: var(--tx-heart); }
.tx-fav.is-busy { opacity: .6; }
.tx-fav.tx-pop { animation: tx-pop .4s ease; }
@keyframes tx-pop { 50% { transform: scale(1.3); } }

.video-block { position: relative; }
.tx-fav-card { position: absolute; top: 8px; right: 8px; z-index: 5; width: 34px; height: 34px; }

.tx-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.tx-title-row h1 { flex: 1 1 auto; min-width: 0; }
.tx-fav-single { width: auto; min-width: 48px; height: 48px; padding: 0 14px; background: rgba(255, 255, 255, .08); }
.tx-fav-single svg { width: 26px; height: 26px; }
.tx-fav-count { font-size: 15px; font-weight: 600; }
.tx-fav-count:empty { display: none; }
.tx-single .tx-fav-single-wrap { margin-bottom: 12px; }
.tx-title-row .tx-fav-single-wrap { margin: 0; flex: 0 0 auto; }

/* ---------- Bilgi kutusu ---------- */
.tx-single { margin-top: 6px; }
.tx-info {
	background: var(--tx-card); border: 1px solid var(--tx-card-border);
	border-radius: 14px; padding: 14px 20px; margin: 0 0 18px;
}
.tx-info-row { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-size: 16px; }
.tx-info-icon { flex: 0 0 26px; display: inline-flex; color: var(--tx-label); }
.tx-info-icon svg { fill: currentColor; }
.tx-info-label { flex: 0 0 96px; color: var(--tx-label); }
.tx-info-value { color: var(--tx-value); font-weight: 500; word-break: break-word; text-align: left; }

/* ---------- Download ---------- */
a.tx-download {
	display: flex; align-items: center; justify-content: center; gap: 12px;
	width: 100%; padding: 16px 20px; margin: 0 0 26px;
	background: var(--tx-green); color: var(--tx-green-text) !important;
	border-radius: 14px; font-size: 20px; font-weight: 700; text-decoration: none !important;
	box-shadow: 0 6px 22px rgba(0, 0, 0, .35); transition: filter .15s ease, transform .15s ease;
}
a.tx-download:hover { filter: brightness(1.08); transform: translateY(-1px); }
a.tx-download svg { width: 28px; height: 28px; fill: var(--tx-green-text); }

/* ---------- Galeri ---------- */
.tx-section-title { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.tx-section-title small { font-size: 14px; opacity: .6; font-weight: 400; }
.tx-gallery { margin: 0 0 26px; }
.tx-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.tx-gallery-item { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.tx-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.tx-gallery-item:hover img { transform: scale(1.06); }

/* ---------- Aciklama ---------- */
.tx-desc { margin: 0 0 20px; }
.tx-desc p:last-child { margin-bottom: 0; }

/* ---------- Lightbox (yatay slider) ---------- */
html.tx-noscroll, html.tx-noscroll body { overflow: hidden !important; }
.tx-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(5, 3, 12, .88); display: none; align-items: center; justify-content: center; padding: 3vh 12px; }
.tx-lb.is-open { display: flex; }
.tx-lb-box { width: min(900px, 100%); max-height: 94vh; display: flex; flex-direction: column; background: #1a1228; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); overflow: hidden; }
.tx-lb-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 8px 16px; color: #fff; font-size: 14px; }
.tx-lb-close { background: rgba(255, 255, 255, .12); border: 0; color: #fff; font-size: 24px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; line-height: 1; }
.tx-lb-close:hover { background: rgba(255, 255, 255, .24); }
.tx-lb-stage { position: relative; display: flex; align-items: center; justify-content: center; background: #0d0916; height: min(68vh, 640px); }
.tx-lb-img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: pointer; transition: opacity .2s ease; user-select: none; }
.tx-lb-img.is-loading { opacity: .35; }
.tx-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 34px; line-height: 44px; cursor: pointer; z-index: 2; transition: background .15s ease; }
.tx-lb-nav:hover { background: #ed28b5; }
.tx-lb-prev { left: 12px; }
.tx-lb-next { right: 12px; }
.tx-lb-thumbs { display: flex; gap: 6px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
.tx-lb-thumb { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .15s ease, border-color .15s ease; }
.tx-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tx-lb-thumb:hover { opacity: .9; }
.tx-lb-thumb.is-active { border-color: #ed28b5; opacity: 1; }
.tx-lb.is-single .tx-lb-nav, .tx-lb.is-single .tx-lb-thumbs { display: none; }
@media (max-width: 575px) {
	.tx-lb { padding: 0; }
	.tx-lb-box { max-height: 100vh; height: 100%; border-radius: 0; }
	.tx-lb-stage { flex: 1 1 auto; height: auto; }
	.tx-lb-nav { width: 40px; height: 40px; font-size: 28px; line-height: 36px; }
	.tx-lb-thumb { flex-basis: 52px; height: 52px; }
}

/* ---------- Video onu reklam ---------- */
.tx-preroll-host { position: relative !important; }
.tx-preroll {
	position: absolute; inset: 0; z-index: 50; background: #000;
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.tx-preroll-ad { max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.tx-preroll-ad img, .tx-preroll-ad iframe { max-width: 100%; max-height: 100%; }
.tx-preroll-skip {
	position: absolute; right: 0; bottom: 18px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .4); border-right: 0;
	background: rgba(0, 0, 0, .75); color: #fff; font-size: 15px; cursor: pointer;
}
.tx-preroll-skip:disabled { cursor: default; opacity: .8; }
.tx-preroll-label { position: absolute; left: 10px; top: 8px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* ---------- Uyelik formlari ---------- */
.tx-auth-box { max-width: 420px; margin: 30px auto; padding: 26px; background: var(--tx-card); border: 1px solid var(--tx-card-border); border-radius: 16px; }
.tx-auth-box h2 { margin: 0 0 16px; font-size: 24px; }
.tx-auth-box label { display: block; font-size: 14px; color: var(--tx-label); }
.tx-auth-box input[type=text], .tx-auth-box input[type=email], .tx-auth-box input[type=password] {
	display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .25); color: #fff; font-size: 16px;
}
.tx-auth-box .login-remember label { display: inline-flex; gap: 8px; align-items: center; }
.tx-auth-box input[type=submit], .tx-btn {
	display: inline-block; padding: 11px 22px; border: 0; border-radius: 10px; cursor: pointer;
	background: #ed28b5; color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none !important;
}
.tx-btn-alt { background: rgba(255, 255, 255, .14); }
.tx-auth-error { background: rgba(255, 77, 109, .15); border: 1px solid rgba(255, 77, 109, .5); padding: 10px 12px; border-radius: 10px; }
.tx-auth-links { margin: 14px 0 0; font-size: 14px; }
.tx-hp { position: absolute !important; left: -9999px !important; }
.tx-empty { text-align: center; padding: 40px 10px; opacity: .85; }
.tx-heart-inline { color: var(--tx-heart); }

/* ---------- Menu: login/register butonlari ---------- */
@media (min-width: 768px) {
	.navbar-nav .tx-auth-item .nav-link { padding: 6px 14px !important; margin-left: 8px; border-radius: 999px; }
	.navbar-nav .tx-btn-outline { border: 1px solid rgba(255, 255, 255, .45); }
	.navbar-nav .tx-btn-fill { background: #ed28b5; color: #fff !important; }
}

@media (max-width: 575px) {
	.tx-info { padding: 10px 14px; }
	.tx-info-row { font-size: 15px; }
	.tx-info-label { flex-basis: 84px; }
	a.tx-download { font-size: 18px; }
	.tx-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
	.tx-fav-card { width: 30px; height: 30px; top: 6px; right: 6px; }
}

/* ---------- Yorum alani (kompakt) ---------- */
#comments { max-width: 720px; margin: 10px auto 20px; padding: 14px 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; }
#comments .comment-reply-title, #comments .tx-c-title { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
#comments .comment-form { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; margin: 0; }
#comments .comment-form-comment { flex: 1 1 260px; margin: 0; }
#comments textarea#comment { min-height: 42px; height: 42px; padding: 9px 12px; font-size: 14px; resize: vertical; border-radius: 10px; }
#comments textarea#comment:focus { height: 90px; }
#comments .form-submit { margin: 0; }
#comments .form-submit .btn, #comments #submit { padding: 9px 18px; font-size: 14px; border-radius: 10px; }
#comments .comment-form-author, #comments .comment-form-email, #comments .comment-form-url, #comments .comment-form-cookies-consent { flex: 1 1 100%; margin: 0; }
#comments .tx-c-login { margin: 0; font-size: 14px; opacity: .85; }
#comments .comment-list { font-size: 14px; }

/* ---------- Tek video sayfa duzeni ---------- */
.tx-vtitle h1 { font-size: 24px; line-height: 1.3; margin: 0 0 14px; }
.tx-layout .single-video-player { padding-top: 18px; }
.tx-side { display: flex; flex-direction: column; gap: 14px; }
.tx-side .tx-info { margin: 0; padding: 10px 16px; }
.tx-side .tx-info-row { padding: 7px 0; font-size: 15px; }
.tx-side .tx-info-label { flex-basis: 84px; }
.tx-side a.tx-download { margin: 0; font-size: 18px; padding: 14px 16px; }
.tx-vbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin: 12px 0 4px; padding: 10px 14px; background: rgba(255, 255, 255, .05); border-radius: 12px; }
.tx-vbar .tx-fav-single-wrap { margin: 0; }
.tx-vbar .video-actions { display: flex; align-items: center; gap: 18px; margin: 0; flex: 1 1 auto; }
.tx-vbar .video-actions-box { margin: 0; padding: 0; background: none; display: flex; align-items: center; gap: 6px; height: auto !important; min-height: 0 !important; width: auto !important; }
.tx-vbar .views-number { font-size: 18px !important; }
.tx-vbar .views-title { font-size: 14px; }
.tx-vbar #video-share { margin: 0; }
.tx-vbar #video-share a { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.tx-vbar #video-share i { font-size: 20px; }
.tx-layout .single-video-infos { padding-top: 10px; }
@media (max-width: 991px) { .tx-side-col { margin-top: 14px; } }
