@import ur[](https://fonts.googleapis.com/css?family=Lato&display=swap);

/* ==========================================================================
   Цветовая схема — все цвета теперь здесь
   ========================================================================== */
:root {
  --bg-body:          #0d0d0d;          /* почти чёрный, комфортный для долгого просмотра */
  --bg-dark:          #000000;          /* для навигации, футера */
  --bg-search-input:  #1a1a1a;          /* тёмно-серый инпут */
  --bg-thumb:         #111111;          /* фон под превью видео */
  --bg-active:        #ff1744;          /* яркий красный — hover, active, кнопки */
  --bg-purple:        #c2185b;          /* глубокий розово-красный для ссылок/категорий */
  --bg-purple-hover:  #ff5252;          /* светлее при наведении */
  --text-main:        #f0f0f0;          /* светлый текст */
  --text-purple:      #ff80ab;          /* розоватый для ссылок */
  --text-active:      #ffffff;
  --text-yellow:      #ffca28;          /* для "online" или предупреждений */
  --online-dot:       #00e676;          /* ярко-зелёный онлайн-индикатор */
  --border-gray:      #333333;
  --shadow-light:     0 0 4px rgba(255, 23, 68, 0.25);   /* лёгкий красный оттенок тени */
  --shadow-dark:      0 0 10px rgba(0, 0, 0, 0.8);
  --footer-text:      #bbbbbb;
  --logo-color:       #ff1744;          /* ярко-красный логотип */
}

/* ==========================================================================
   Основные стили
   ========================================================================== */

.section ul li a,
.thumbs .thumb > a,
section {
  box-shadow: var(--shadow-light);
}

a,
li,
ul {
  margin: 0;
  padding: 0;
}

.section ul li {
  display: inline-block;
  width: auto !important;
  padding: 5px 5px !important;
}

.section ul {
  display: flex;
  flex-wrap: wrap;
}

.video-section .right-section .side-spots .spot a,
.video-section .right-section .side-spots .spot img,
article, aside, details, figcaption, figure, footer, h1, h2, h3,
header, hgroup, menu, nav, section {
  display: block;
}

.header,
.container-width-wrap {
  width: 100%;
}

.header,
.header .search,
.heading-cont,
.container-width-wrap,
a {
  position: relative;
}

.header_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navigation > ul > li,
.thumbs .thumb {
  vertical-align: top;
  display: inline-block;
}

.bottom-text,
.footer,
.navigation,
.paga,
.paga li,
.section.tubes-section ul li a,
.spots,
.spots .spot,
.thumbs {
  text-align: center;
}

.section ul li a,
.thumbs .thumb .thumb-info {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.footer,
.navigation-section {
  box-shadow: var(--shadow-dark);
}

.paga li a.active,
.paga li a:hover,
.paga li span {
  background: var(--bg-active);
}

.video-section .top-tags .categories-row a:hover {
  background-color: var(--bg-active);
}

.section ul li a:hover {
  color: var(--text-active);
  background: var(--bg-active);
}

.footer a:hover,
a {
  text-decoration: none;
  background: 0 0;
}

.bottom-text,
.footer .footer-text {
  color: var(--footer-text);
  line-height: 20px;
}

* {
  box-sizing: border-box;
  outline: 0;
}

abbr, address, article, aside, audio, b, blockquote, body, canvas, caption,
cite, code, dd, del, details, dfn, div, dl, dt, em, fieldset, figcaption,
figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i,
iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol,
p, pre, q, samp, section, small, span, strong, sub, summary, sup, table,
tbody, td, tfoot, th, thead, time, tr, ul, var, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: 0 0;
}

li, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

section {
  margin-bottom: 10px;
  padding-bottom: 5px;
  padding-top: 5px;
}

blockquote:after, blockquote:before, q:after, q:before {
  content: "";
  content: none;
}

a {
  font-size: 100%;
  vertical-align: baseline;
  background: 0 0;
  color: var(--text-main);
}

.header,
body {
  background: var(--bg-body);
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input, select {
  vertical-align: middle;
  outline: 0;
}

body {
  line-height: 1;
  font-family: Lato, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-main);
}

h1, h2, h3 {
  margin: 10px 0 5px;
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
}

.container-width-wrap {
  max-width: 1490px;
  margin: 0 auto;
  padding: 0 10px;
}

.clearfix:after {
  display: table;
  content: "";
  clear: both;
}

.show-on-mobile {
  display: none !important;
}

.footer .container-width-wrap:after,
.header .container-width-wrap:after,
.heading-cont:after {
  content: "";
  display: block;
  clear: both;
}

/* Логотип — цвет теперь управляется из :root */
.header .logo {
  float: left;
  font-size: 32px;
  line-height: 80px;
  font-weight: 700;
  text-transform: uppercase;
}

.header .logo a {
  display: block;
  height: 50px;
  margin: 15px 0;
  line-height: 50px;
  font-weight: 700;
  color: var(--logo-color);           /* ← здесь был раньше inline-стиль */
}

.header .search {
  height: 50px;
  width: 100%;
  margin-bottom: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 3;
}

.header .search .search-input {
  font-size: 18px;
  width: 99%;
  padding-left: 15px;
  height: 50px;
  background: var(--bg-search-input);
  border: 1px solid var(--border-gray);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.header .search .search-submit {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  height: 50px;
  border-radius: 10px;
  padding: 0 10px;
  border: 0;
  background: var(--bg-purple);
  font-family: Lato, sans-serif;
  font-size: 14px;
  line-height: 30px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.15s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.header .search .search-submit:hover {
  background: var(--bg-active);
  transition: 0.15s;
}

.navigation-section {
  position: relative;
  background: var(--bg-dark);
  z-index: 1;
}

.navigation > ul > li {
  line-height: 34px;
}

.navigation > ul > li > a {
  display: block;
  margin-right: 10px;
  padding: 0 10px;
  font-size: 15px;
  line-height: 40px;
  color: var(--text-main);
  border-radius: 10px;
  font-weight: 700;
  transition: background-color 0.15s, color 0.15s;
}

.footer a,
.paga li span,
.section ul li a,
.video-section .top-tags .categories-row a {
  color: var(--text-purple);
}

.navigation > ul > li.active > a,
.navigation > ul > li > a:hover {
  background: var(--bg-purple);
  color: var(--text-main);
}

.navigation > ul > li.cams a {
  position: relative;
  color: var(--text-yellow);
}

.navigation > ul > li.cams a:after {
  content: "";
  display: block;
  position: absolute;
  top: 10px;
  right: 3px;
  width: 4px;
  height: 4px;
  background: var(--online-dot);
  border-radius: 2px;
}

.thumbs {
  letter-spacing: -5px;
  margin: 0 -5px;
}

.thumbs .spots,
.video-section .right-section .side-spots .spot,
.video-section .top-tags {
  margin-bottom: 10px;
}

.thumbs .thumb {
  width: 20%;
  padding: 8px;
  letter-spacing: 0;
}

.thumbs .thumb > a {
  background: var(--bg-thumb);
  transition: border-color 0.15s;
}

.thumbs .thumb > a:hover {
  border-color: var(--bg-active);
}

.thumbs .thumb .thumb-image {
  position: relative;
  display: block;
}

.thumbs .thumb .thumb-cont {
  position: relative;
  display: block;
  overflow: hidden;
}

.thumbs .thumb .thumb-image img {
  display: block;
  width: 100%;
  height: auto;
}

.paga li a,
.paga li span,
.video-section .top-tags .categories-row a {
  height: 36px;
  line-height: 34px;
  font-size: 14px;
  padding: 0 10px;
  transition: color 0.15s;
  display: inline-block;
}

.paga li a {
  color: var(--text-main);
}

.thumbs .thumb.category .thumb-image img {
  position: static;
  height: auto;
}

.thumbs .thumb .thumb-image span {
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 10;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  line-height: 20px;
  padding: 0 5px;
  border-radius: 3px;
}

.thumbs .thumb .thumb-info {
  font-size: 14px;
  line-height: 25px;
  padding: 0 5px;
  text-align: left;
  background: var(--bg-dark);
}

.thumbs .thumb.category .thumb-info {
  font-size: 18px;
  font-weight: 700;
}

.paga {
  margin: 10px 0;
}

.paga li {
  margin: 0 0 2px;
  display: inline-block;
  vertical-align: top;
  font-size: 18px;
  line-height: 36px;
}

.paga li a,
.paga li span {
  min-width: 36px;
  margin: 0 2px;
  background: var(--bg-dark);
}

.paga li a i {
  height: 38px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
}

.bottom-text,
.footer,
.section ul li a {
  background: var(--bg-dark);
}

.bottom-text {
  margin: 15px 0;
  padding: 15px 0;
  font-size: 14px;
}

.section ul {
  -webkit-columns: 5;
  columns: 5;
}

.section ul li {
  display: inline-block;
  width: 100%;
  padding: 5px 0;
  line-height: 24px;
}

.section ul li a {
  display: block;
  position: relative;
  padding: 0 10px;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 5px;
  line-height: 30px;
  transition: color 0.15s;
}

.spots-section,
.video-section {
  padding: 10px 0;
}

.spots-section.mobile-spots-section {
  padding: 5px 0;
}

.spots .spot {
  display: inline-block;
}

.video-section .top-tags .categories-row {
  text-align: left;
}

.video-section .top-tags .categories-row a {
  margin-right: 2px;
  background: var(--bg-dark);
  box-shadow: var(--shadow-light);
}

.video-section .left-section {
  width: calc(100% - 310px);
}

.video-section .left-section h1 {
  margin: 0 0 5px;
  padding: 0;
}

.video-section .left-section .player-cont {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin-bottom: 10px;
}

.video-section .left-section .player-cont iframe,
.video-section .left-section .player-cont video {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-section .left-section .player-cont #kt_player {
  position: absolute;
}

.video-section .right-section {
  position: absolute;
  top: 35px;
  right: 10px;
}

.footer {
  margin-top: 20px;
  padding: 15px 0;
  font-size: 13px;
}

.footer a {
  text-decoration: underline;
  cursor: pointer;
}

/* ==========================================================================
   Медиа-запросы (без изменений)
   ========================================================================== */

@media (max-width: 1024px) {
  h1, h2, h3 { font-size: 18px; line-height: 20px; }
  .video-section .left-section { width: 100%; }
  .video-section .right-section {
    position: static;
    top: 0;
    right: 0;
    text-align: center;
  }
  .video-section .right-section .side-spots .spot { display: inline-block; }
  .footer { padding: 10px 0; }
  .footer .footer-copyright,
  .footer .footer-text {
    float: none;
    text-align: center;
    margin-bottom: 5px;
  }
}

@media (max-width: 1000px) {
  .section ul { -webkit-columns: 4; columns: 4; }
  .video-cont { float: none; width: 100%; margin-bottom: 10px; }
  .video-aside { float: none; width: 100%; padding: 0; text-align: center; }
  .video-aside .video-aside-block { display: inline-block; }
}

.fluid_video_wrapper,
.fluid_video_wrapper video {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 940px) {
  .header { padding-bottom: 5px; }
  .header .search .search-input,
  .header .search form { width: 99%; }
  .header .logo {
    position: static;
    transform: translateX(0);
    float: none;
    margin: 0;
    line-height: 50px;
  }
  .header .logo:after { content: ""; display: block; clear: both; }
  .header .search { float: none; margin: 5px 0 10px; }
}

@media (max-width: 760px) {
  .section ul { -webkit-columns: 3; columns: 3; }
}

@media (max-width: 630px) {
  .section ul { -webkit-columns: 2; columns: 2; }
}

@media (max-width: 560px) {
  .container-width-wrap { padding: 0 5px; }
}

@media (max-width: 420px) {
  .header .search,
  .header .search .search-input,
  .header .search .search-submit { height: 40px; }
  .navigation > ul > li > a { padding: 0 5px; font-size: 12px; }
  .section ul { -webkit-columns: 1; columns: 1; }
  .section ul li { padding: 1px 0; }
}

@media (max-width: 1194px) {
  .thumbs .thumb { width: 25%; }
}

@media (max-width: 898px) {
  .thumbs .thumb { width: 33.333333%; }
}

@media (max-width: 590px) {
  .thumbs .thumb { width: 50%; padding: 4px; }
}

.fluid_video_wrapper {
  position: absolute !important;
}