:root {
  color-scheme: dark;
  --bg: #101014;
  --panel: #17181d;
  --panel-2: #202126;
  --text: #f3f3f4;
  --muted: #a8a9ad;
  --line: #2b2c33;
  --accent: #ff7a18;
  --accent-2: #e71e55;
  --green: #42d36a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  cursor: pointer;
}

.container {
  width: min(1500px, calc(100% - 30px));
  margin: 0 auto;
}

.header-holder .container,
.header-nav .container,
.main > .container {
  padding-left: 24px;
}

.top-strip {
  background: #08080b;
  border-bottom: 1px solid var(--line);
}

.top-strip-inner {
  min-height: 38px;
  display: flex;
  gap: 24px;
  align-items: center;
  overflow-x: auto;
  color: #d8d8dc;
  white-space: nowrap;
}

.top-strip a::before {
  content: "\2192";
  margin-right: 8px;
  color: var(--accent-2);
}

.header-holder {
  background: #121318;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo-main,
.footer-logo {
  font-size: 31px;
  background: linear-gradient(100deg, #fff33b 0%, #f26522 32%, #e71e55 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-vip,
.footer-logo span {
  color: #f2a13a;
  font-size: 19px;
}

.menu-icon {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  padding: 0;
  display: none;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
}

.search {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.search input {
  width: 100%;
  height: 44px;
  border: 1px solid #34363e;
  border-radius: 4px;
  background: #0e0f13;
  color: var(--text);
  padding: 0 52px 0 18px;
  outline: none;
}

.btn-search,
.theme-toggle,
.lang-item {
  border: 0;
  color: var(--text);
  background: var(--panel-2);
}

.btn-search {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 36px;
  height: 36px;
  border-radius: 4px;
}

.icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  vertical-align: -3px;
}

.buttons-col {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  color: #d9d9de;
}

.theme-toggle,
.lang-item {
  height: 34px;
  border-radius: 4px;
  padding: 0 9px;
}

.lang-holder {
  position: relative;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-item img,
.lang-drop img,
.flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.lang-drop,
.sort-drop {
  position: absolute;
  z-index: 10;
  top: 100%;
  right: 0;
  min-width: 160px;
  display: none;
  background: #1a1b20;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px #0008;
}

.lang-holder:hover .lang-drop,
.sort:hover .sort-drop {
  display: grid;
}

.lang-drop a,
.sort-drop a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  color: #ddd;
}

.lang-drop a:hover,
.sort-drop a:hover,
.nav-link:hover,
.more-title:hover {
  color: var(--accent);
}

.upgrade {
  min-height: 34px;
  padding: 8px 16px;
  border-radius: 4px;
  color: #111;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #ffd166);
}

.header-nav {
  background: #1a1b20;
  border-bottom: 1px solid var(--line);
}

.nav-scroll {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  align-items: center;
  overflow-x: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 17px 15px;
  color: #d5d5d9;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-droplets {
  position: relative;
  width: 21px;
  height: 18px;
  display: inline-block;
  flex: 0 0 21px;
}

.nav-droplet {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, #8ae5ff, #00a7f5 62%, #0872d1);
  box-shadow: 0 0 5px #00a7f577;
  transform: rotate(-45deg);
  animation: droplet-bob 1.25s ease-in-out infinite;
}

.nav-droplet:first-child {
  left: 1px;
  top: 2px;
}

.nav-droplet:last-child {
  right: 1px;
  bottom: 1px;
  width: 7px;
  height: 7px;
  animation-delay: -.42s;
}

.live-dot {
  width: 13px;
  height: 13px;
  display: inline-block;
  flex: 0 0 13px;
  border-radius: 50%;
  background: #00f52f;
  box-shadow: 0 0 8px #00f52f, 0 0 14px #00f52f88;
  animation: live-pulse 1.35s ease-in-out infinite;
}

@keyframes droplet-bob {
  0%,
  100% {
    opacity: .72;
    transform: translateY(2px) rotate(-45deg) scale(.9);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px) rotate(-45deg) scale(1.08);
  }
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: .78;
    transform: scale(.86);
    box-shadow: 0 0 5px #00f52f, 0 0 9px #00f52f66;
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 0 9px #00f52f, 0 0 17px #00f52faa;
  }
}

.main {
  padding: 24px 0 0;
}

.section-row {
  margin: 0 0 34px;
}

.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.title {
  margin: 0;
  padding-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
}

.title span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.sort {
  position: relative;
}

.sort button,
.more-title {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  color: #e8e8eb;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 18px;
}

.thumb a {
  display: block;
}

.img-holder {
  position: relative;
  aspect-ratio: 390 / 218;
  overflow: hidden;
  background: #25262c;
}

.img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease, filter .24s ease;
}

.thumb:hover .img-holder img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.item-bottom,
.item-top {
  position: absolute;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.item-bottom {
  bottom: 8px;
}

.item-top {
  top: 8px;
  justify-content: flex-end;
  gap: 8px;
  opacity: 0;
  transition: opacity .2s ease;
}

.thumb:hover .item-top {
  opacity: 1;
}

.quality,
.time,
.item-top span {
  min-height: 24px;
  padding: 4px 7px;
  border-radius: 3px;
  background: #000b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.quality {
  color: #111;
  background: var(--accent);
}

.ad-quality {
  background: #ffd166;
}

.card-title {
  min-height: 38px;
  margin: 10px 0 8px;
  color: #f4f4f5;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
}

.thumb-bottom {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.thumb-item,
.thumb-bottom span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.page-link {
  min-width: 42px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: #e7e7ea;
}

.page-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
  font-weight: 800;
}

.page-link.disabled {
  color: #666970;
  pointer-events: none;
}

.channels-thumbs,
.models-thumbs,
.categories-thumbs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.channels-thumbs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 12px;
}

#list_dvds_channels_list .heading {
  margin-bottom: 14px;
  border-bottom: 0;
}

#list_dvds_channels_list .title {
  padding-bottom: 0;
}

#list_dvds_channels_list .more-title {
  border-color: #09090b;
  background: #09090b;
}

.more-title::after {
  content: "\203A";
  margin-left: 12px;
  font-size: 20px;
  line-height: 0;
}

.channel-card .img-holder {
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: 8px;
  background: #000;
}

.channel-card img {
  object-fit: cover;
  object-position: center;
}

.channel-card .title-holder {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.channel-card .card-title {
  min-height: 0;
  margin: 10px 0 0;
}

.channel-card .thumb-bottom {
  justify-content: flex-end;
  flex-wrap: nowrap;
  margin-top: 10px;
}

.model-card .img-holder {
  aspect-ratio: 3 / 4;
}

.flag {
  display: inline-block;
  margin-left: 8px;
}

.cat-title {
  position: absolute;
  inset: auto 0 0;
  padding: 14px;
  display: grid;
  gap: 6px;
  background: linear-gradient(transparent, #000d 34%, #000f);
}

.description-holder {
  color: #c2c4ca;
  line-height: 1.65;
}

.footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: #0b0c10;
}

.footer-inner {
  min-height: 160px;
  display: grid;
  gap: 18px;
  align-content: center;
  color: var(--muted);
}

.footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  .nav-droplet,
  .live-dot {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .thumbs,
  .channels-thumbs,
  .models-thumbs,
  .categories-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .buttons-col {
    gap: 10px;
  }
}

@media (max-width: 880px) {
  .header-holder .container,
  .header-nav .container,
  .main > .container {
    padding-left: 0;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 0;
  }

  .menu-icon {
    display: block;
  }

  .search {
    order: 3;
    max-width: none;
    flex-basis: 100%;
  }

  .buttons-col {
    margin-left: auto;
  }

  .thumbs,
  .channels-thumbs,
  .models-thumbs,
  .categories-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1500px);
  }

  .logo-main {
    font-size: 24px;
  }

  .buttons-col > a,
  .theme-toggle {
    display: none;
  }

  .thumbs,
  .channels-thumbs,
  .models-thumbs,
  .categories-thumbs {
    grid-template-columns: 1fr;
  }

  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
