/*
 * Dark screen, black and gold, tidy header for VTube.
 *
 * Colors you may want to change (search and replace):
 *   page background  #141417     header / footer  #1c1c21     boxes and inputs  #25252b
 *   lines            #34343c     text             #f3efe4     muted text        #a29d90
 *   gold             #d4af37     light gold       #f0cf6e
 *
 * Every rule starts with "body" so it wins over the parent theme without editing it.
 */

/* ---------- Page ---------- */
body {
	padding-left: 0 !important; /* VTube adds 60-80px side margins; the header and content now use the full width */
	padding-right: 0 !important;
}
body .container {
	max-width: 100%;
	padding-left: 28px;
	padding-right: 28px;
}
html,
body,
body #page,
body #content,
body .wrapper {
	background-color: #141417;
}
body {
	color: #f3efe4;
}
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .widget-title,
body .page-title,
body article.page p,
body .video-description,
body .videos-infos,
body .video-block a.infos span.title {
	color: #f3efe4;
}
body a:not(.btn):not(.nav-link):not(.page-link) {
	color: #d4af37;
}
body a:not(.btn):not(.nav-link):not(.page-link):hover {
	color: #f0cf6e;
}
body .video-block a.infos span.title {
	color: #f3efe4;
}
body .video-block a.infos:hover span.title {
	color: #d4af37;
}
body .video-datas,
body .video-block .views-number,
body .video-block .duration {
	color: #a29d90;
}
body .cat-wrapper .video-block .video-datas {
	background: #25252b;
}

/* ---------- Buttons ---------- */
body .btn,
body .btn-primary,
body .post-navigation a {
	background-color: #d4af37 !important;
	border-color: #d4af37 !important;
	color: #111 !important;
	border-radius: 999px;
	font-weight: 600;
}
body .btn:hover,
body .btn-primary:hover,
body .post-navigation a:hover {
	background-color: #f0cf6e !important;
	border-color: #f0cf6e !important;
	color: #111 !important;
}
body .btn-black,
body .btn-grey,
body .btn-grey-light {
	background-color: #25252b !important;
	border-color: #25252b !important;
	color: #f3efe4 !important;
	border-radius: 999px;
	font-weight: 400;
}
body .btn-black:hover,
body .btn-grey:hover,
body .btn-grey-light:hover {
	background-color: #d4af37 !important;
	border-color: #d4af37 !important;
	color: #111 !important;
	text-decoration: none;
}

/* ---------- Header: hamburger, logo, wide search, account on the right ---------- */
body #wrapper-navbar,
body .header-nav,
body .navbar {
	background-color: #1c1c21;
}
body .header-nav {
	height: auto;
	line-height: normal;
	border-bottom: 1px solid #34343c;
}
body .header-nav > .container {
	padding-top: 14px;
	padding-bottom: 14px;
}
body .logo-search {
	flex: 1 1 auto;
	min-width: 0;
	height: auto;
	gap: 20px;
	padding: 0;
	justify-content: flex-start;
}
body .logo {
	flex: 0 0 auto;
	height: auto;
}
body .logo-img img {
	max-height: 72px;
	width: auto;
}
body .header-nav .logo a.logo-img {
	top: 0;
	display: block;
}
body .header-title {
	display: none !important; /* the site-description line beside the logo */
}
body .header-search {
	flex: 1 1 auto;
	max-width: 640px;
	margin: 0 auto;
}
body .header-search form {
	position: relative;
	display: block;
	margin: 0;
}
body .header-search input {
	width: 100%;
	height: 48px;
	background: #25252b;
	border: 1px solid transparent;
	border-radius: 999px;
	color: #f3efe4;
	padding: 0 20px 0 52px;
	box-shadow: none;
}
body .header-search input::placeholder {
	color: #a29d90;
}
body .header-search input:focus {
	border-color: #d4af37;
	color: #f3efe4;
	outline: 0;
}
body .header-search #searchsubmit {
	position: absolute;
	left: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #a29d90;
	padding: 0;
}
body .header-search #searchsubmit i {
	color: #a29d90;
}
body .header-search #searchsubmit:hover i {
	color: #d4af37;
}
body .membership {
	flex: 0 0 auto;
	margin-left: 20px;
}
body .membership .login-link {
	color: #f3efe4;
}
body .membership .login-link:hover {
	color: #d4af37;
}
body .membership ul {
	background-color: #25252b;
	border: 1px solid #34343c;
}
body .membership ul li a {
	color: #f3efe4;
}
body .membership ul li a:hover {
	color: #d4af37;
}

/* Hamburger lines */
body .hamburger-inner,
body .hamburger-inner::before,
body .hamburger-inner::after {
	background-color: #f3efe4;
}

/* Category row under the header: always visible, one line, squared boxes, swipe/scroll sideways */
body .navbar {
	padding: 0;
	width: 100%;
	height: auto;
	flex: none;
	border-bottom: 1px solid #34343c;
}
body .navbar > .container {
	width: 100%;
	max-width: 100%;
	padding: 0;
	flex-wrap: nowrap;
}
body .navbar-collapse {
	position: static;
	top: auto;
	width: 100%;
	height: auto;
	overflow: visible;
}
body.home .navbar-collapse {
	top: auto;
}
body ul.navbar-nav,
body .navbar-dark .navbar-collapse ul.navbar-nav {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	padding: 14px 28px;
	height: auto;
	background: transparent;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
body ul.navbar-nav::-webkit-scrollbar {
	display: none;
}
body .navbar-nav .nav-item {
	flex: 0 0 auto;
}
body .navbar-dark .navbar-nav .nav-link,
body .navbar-dark .navbar-collapse .nav-link {
	height: auto;
	line-height: 1.3;
	white-space: nowrap;
	color: #f3efe4;
	background: transparent !important;
	border: 2px solid #34343c !important;
	border-radius: 4px;
	padding: 8px 18px;
}
body .navbar-dark .navbar-nav .nav-link:hover,
body .navbar-dark .navbar-nav .active > .nav-link {
	color: #111;
	background: #d4af37 !important;
	border-color: #d4af37 !important;
}
/* Same squared boxes even if the menu items carry a button class from the menu editor */
body .navbar ul.navbar-nav li a,
body .navbar ul.navbar-nav li a.btn,
body .navbar ul.navbar-nav li a.nav-link {
	height: auto !important;
	line-height: 1.3 !important;
	white-space: nowrap;
	color: #f3efe4 !important;
	background: transparent !important;
	border: 2px solid #34343c !important;
	border-radius: 4px !important;
	padding: 8px 18px !important;
	margin: 0 !important;
	font-weight: 400 !important;
	float: none !important;
	width: auto !important;
	display: block !important;
}
body .navbar ul.navbar-nav li a:hover,
body .navbar ul.navbar-nav li.current-menu-item > a,
body .navbar ul.navbar-nav li.active > a {
	color: #111 !important;
	background: #d4af37 !important;
	border-color: #d4af37 !important;
}
body .navbar-dark .navbar-nav .dropdown-menu,
body .navbar .sub-menu {
	background: #25252b;
	border: 1px solid #34343c;
	border-radius: 4px;
}

/* ---------- Section title on the left, button on the right ---------- */
body .page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin: 22px 0 18px;
	border: 0;
	padding: 0;
}
body .page-header .page-title,
body .page-header .widget-title {
	margin: 0;
	font-size: 26px;
	font-weight: 500;
}
body .taxonomy-description {
	flex-basis: 100%;
	color: #a29d90;
}
body #filters,
body #filters .filters-options span a {
	color: #f3efe4;
}
body #filters .filters-select {
	border: 1px solid #34343c;
	border-radius: 999px;
	padding: 8px 18px;
	background: transparent;
}
body #filters .filters-options {
	background-color: #25252b;
	border: 1px solid #34343c;
}
body #filters .filters-options span a:hover {
	color: #d4af37;
}

/* Home page heading (title on the left, outlined button on the right) */
body .vtc-section-head {
	order: -1;
	flex: 0 0 100%;
	max-width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 22px 0 16px;
}
body .vtc-section-head h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 500;
}
body a.vtc-outline {
	border: 1px solid #4a4a54;
	border-radius: 999px;
	padding: 9px 24px;
	font-size: 15px;
	color: #f3efe4;
	text-decoration: none;
}
body a.vtc-outline:hover {
	border-color: #d4af37;
	color: #d4af37;
}

/* ---------- Video cards ---------- */
body .video-block .thumb {
	border-radius: 10px;
	overflow: hidden;
}
body .video-block .video-name span.video-status-offline {
	background: #25252b;
}

/* ---------- Ad tile inside the video grid ---------- */
body .vtc-ad .thumb {
	position: relative;
}
body .vtc-ad-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 3;
	background: #d4af37;
	color: #111;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 6px 8px;
	border-radius: 4px;
}

/* ---------- Pagination: outlined pills like a "Load more" button ---------- */
body .pagination-lg .page-link,
body .pagination .page-link {
	background: transparent;
	border: 1px solid #34343c;
	color: #f3efe4;
	border-radius: 999px !important;
	margin: 0 3px;
}
body .pagination .page-item:first-child .page-link,
body .pagination .page-item:last-child .page-link,
body .pagination .page-item .page-link {
	border-radius: 999px !important;
}
body .pagination .page-link:hover {
	border-color: #d4af37;
	color: #d4af37;
	background: transparent;
}
body .pagination .page-item.active .page-link {
	background: #d4af37;
	border-color: #d4af37;
	color: #111;
}

/* ---------- Forms, pop-ups, tag pages ---------- */
body input,
body textarea,
body select,
body .form-control,
body .modal-body input {
	background-color: #25252b;
	border-color: #34343c;
	color: #f3efe4;
}
body input:focus,
body textarea:focus,
body select:focus,
body .form-control:focus {
	background-color: #25252b;
	color: #f3efe4;
	border-color: #d4af37;
}
body .modal-content {
	background: #1c1c21;
	color: #f3efe4;
	border: 1px solid #34343c;
}
body .search-title span.title,
body .tags-letter-block .tag-items .tag-item a .count,
body .more-tags {
	background: #25252b;
	color: #f3efe4;
}
body .tags-letter-block .tag-items .tag-item a {
	color: #f3efe4;
}
body .videos-infos #rating .like,
body .videos-infos #rating .dislike,
body .videos-infos #rating .like i,
body .videos-infos #rating .btn:hover .dislike i {
	color: #f3efe4;
}

/* ---------- Footer and home text ---------- */
body .site-footer,
body #colophon {
	background-color: #1c1c21;
	border-top: 1px solid #34343c;
	color: #a29d90;
}
body .site-footer a {
	color: #a29d90;
}
body .site-footer a:hover {
	color: #d4af37;
}
body .hero-text p {
	color: #a29d90;
}

/* ---------- Players ---------- */
body .fluid_controls_container .fluid_control_progress {
	background-color: #d4af37;
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
	body .container {
		padding-left: 14px;
		padding-right: 14px;
	}
	body .header-nav > .container {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	body .logo-img img {
		max-height: 48px;
	}
	body .logo-search {
		gap: 10px;
	}
	body ul.navbar-nav,
	body .navbar-dark .navbar-collapse ul.navbar-nav {
		padding: 12px 14px;
	}
	body .header-search {
		max-width: 100%;
		margin: 0;
		padding: 0 14px 12px;
	}
}
