* {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

:root {
  --core-red: #e03e3e;
  --bg-dark: #1a1a1a;
  --bg-light: #f0f0f0;
  --font-white: #ffffff;
  --font-dark: #333333;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
  background-color: var(--bg-light);
  color: var(--font-dark);
  line-height: 1.5;
}

.ad-container {
  margin: 16px auto;
}

.ad-container[data-ad-index="0"] {
  margin-top: 0;
}

.gptslot {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  min-height: 250px;
  max-width: 300px;
  margin: 0 auto;
}

.ad-label {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  -webkit-box-align: start;
  -webkit-align-items: start;
     -moz-box-align: start;
          align-items: start;
  position: relative;
  padding: 5px 0px 2px 0px;
  font-size: 14px;
  color: rgb(73, 73, 73);
}

.global-top-nav {
  background-color: var(--bg-dark);
  color: var(--font-white);
  padding: 12px 5%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand-logo-mark {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-route-group {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  gap: 32px;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
}

.route-link {
  color: var(--font-white);
  text-decoration: none;
  font-size: 16px;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.route-link:hover {
  color: var(--core-red);
}

.action-search-btn {
  background-color: var(--core-red);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

.action-search-btn:active {
  -webkit-transform: scale(0.95);
          transform: scale(0.95);
}

.action-search-btn .icon {
  width: 20px;
  aspect-ratio: 1;
  background: url(../../images/search.e135023.png) center no-repeat;
  background-size: 100%;
}

.search-bar-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  background: var(--core-red);
  border-radius: 20px;
  padding: 2px 5px;
  margin-left: 15px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.search-bar-wrapper:focus-within {
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

.search-input-box {
  width: 0;
  overflow: hidden;
  -webkit-transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-bar-wrapper.active .search-input-box {
  width: 200px;
  margin-left: 8px;
}

#globalSearchInp {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  padding: 8px 0;
  font-size: 14px;
  color: #fff;
}

.action-search-btn {
  background: none;
  border: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 14px;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.action-search-btn .text {
  margin-left: 5px;
}

.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-pane {
  position: absolute;
  top: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(10px);
          transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  min-width: 180px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item-dropdown:hover .dropdown-pane {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateX(-50%) translateY(0);
          transform: translateX(-50%) translateY(0);
}

.nav-drop-item {
  padding: 10px 20px;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-drop-item:hover {
  background-color: #f5f5f5;
  color: var(--core-red);
  font-weight: 600;
}

.trending-showcase-zone {
  padding: 20px 5%;
  position: relative;
  overflow: hidden;
}

.trending-headline-overlay {
  position: absolute;
  top: 40px;
  left: 5%;
  background-color: var(--core-red);
  color: white;
  padding: 20px 24px;
  font-size: 42px;
  font-weight: bold;
  line-height: 1.1;
  z-index: 10;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition: -webkit-transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), -webkit-transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-panel {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.slider-indicators {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.indicator-dot.active-dot {
  background-color: var(--core-red);
}

.genre-matrix-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 5%;
}

.genre-card {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
     -moz-box-align: start;
          align-items: flex-start;
  background-color: white;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.genre-card:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
}

.genre-card.active-state {
  background-color: var(--core-red);
  color: white;
}

.genre-digit {
  font-size: 38px;
  font-weight: bold;
  color: var(--core-red);
  display: block;
  margin-bottom: 4px;
}

.genre-card.active-state .genre-digit {
  color: white;
}

.genre-label {
  font-size: 18px;
  font-weight: 600;
}

.content-block-module {
  padding: 40px 5%;
}

.danger-theme {
  background-color: var(--core-red);
  color: white;
}

.module-heading-primary {
  color: var(--core-red);
  font-size: 32px;
  margin-bottom: 24px;
  font-weight: bold;
}

.module-heading-inverse {
  color: white;
  font-size: 32px;
  font-weight: bold;
}

.module-header-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  margin-bottom: 24px;
}

.trigger-more-btn {
  background-color: white;
  color: var(--core-red);
  border: none;
  padding: 8px 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.trigger-more-btn:hover {
  background-color: #ffeaea;
}

.media-grid-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

#latest-container .thumb-wrapper {
  border: 4px solid #fff;
  border-radius: 15px;
}

.media-flex-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.media-flex-row .thumb-wrapper {
  aspect-ratio: 0.8;
  border-radius: 0;
}

.media-flex-row .action-play-icon,
.media-flex-row .duration-badge,
.media-flex-row .media-sub-meta,
.media-grid-layout .media-sub-meta {
  display: none;
}

.media-flex-row .meta-info-area {
  margin-top: 0;
  padding: 5px;
  background-color: #1d221e;
  height: 45px;
  overflow: hidden;
}

.video-card-entity {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  text-decoration: none;
  color: inherit;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.video-card-entity:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

.thumb-wrapper {
  position: relative;
  background-color: #ddd;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.video-card-entity:hover .thumb-image {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.action-play-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  aspect-ratio: 1;
  background: url(../../images/play.1915ab6.png) center no-repeat;
  background-size: 100%;
}

.duration-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: bold;
}

.meta-info-area {
  margin-top: 12px;
}

.media-headline {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-height: 20px;
  max-height: 40px;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-sub-meta {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}

.danger-theme .media-headline {
  color: white;
}

.danger-theme .media-sub-meta {
  color: rgba(255, 255, 255, 0.7);
}

.light-theme .thumb-wrapper {
  border: 4px solid var(--core-red);
}

.outlined-cards-mode .video-card-entity {
  border: 2px solid var(--core-red);
  border-radius: 12px;
  padding: 10px;
  background-color: white;
}

.outlined-cards-mode .thumb-wrapper {
  border: none;
  border-radius: 6px;
}

.trending-showcase-zone .thumb-wrapper {
  border: none;
  border-radius: 0;
}

.title-overlay-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.9)));
  background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 16px 10px 8px;
  font-size: 12px;
  font-weight: 500;
}

.global-bottom-bar {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 30px 5%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
}

.bottom-links-group {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  gap: 24px;
}

.bottom-links-group a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
}

.bottom-links-group a:hover {
  color: white;
}

@media (max-width: 1024px) {

  .slider-panel,
  .media-grid-layout {
    grid-template-columns: repeat(3, 1fr);
  }

  .media-flex-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .genre-matrix-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .slider-panel,
  .media-grid-layout,
  .media-flex-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .trending-headline-overlay {
    font-size: 28px;
    padding: 12px 16px;
    top: 20px;
  }

  .global-top-nav {
    padding: 12px 3%;
  }

  .nav-route-group {
    gap: 15px;
  }

  .slider-panel,
  .media-grid-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .media-flex-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .genre-matrix-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .trending-headline-overlay {
    font-size: 32px;
    left: 3%;
  }

  .global-bottom-bar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .bottom-links-group {
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
  }
}

@media (max-width: 480px) {

  .slider-panel,
  .media-grid-layout,
  .media-flex-row,
  .genre-matrix-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .global-top-nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .global-top-nav {
    padding: 10px;
  }



  .nav-route-group {
    gap: 10px;
    width: 100%;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
  }

  .search-bar-wrapper.active .search-input-box {
    width: 140px;
  }

  .video-card-entity {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }


  .thumb-wrapper {
    aspect-ratio: auto;
    height: 180px;
    width: 100%;
  }

  .genre-matrix-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px 3%;
  }

  .genre-digit {
    font-size: 24px;
  }

  .genre-label {
    font-size: 14px;
  }

  .trending-headline-overlay {
    position: relative;
    top: 0;
    left: 0;
    font-size: 24px;
    width: 100%;
    margin-bottom: 10px;
    box-shadow: none;
    text-align: center;
  }
}
@media (max-width: 900px) {}

@media (max-width: 480px) {

    .slider-panel .video-card-entity:nth-child(n+7),
    #viral-container .video-card-entity:nth-child(n+9) {
        display: none;
    }
}
