@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--black-color);

}

/* Color variables for light theme */
:root {
  --white-color: #fff;
  --black-color: #2E2E2E;
  --title-color: #212121;
  --light-white-color: #f0f0f0;
  --light-gray-color: #e5e5e5;
  --light-bg-color: #EDEDED;
  --card-bg: #f8f8f8;
  --border-color: #DDDDDD;
  --input-border: #C6C6C8;
  --primary-color: #2A52C9;
  --secondary-color: #717171;
  --brand: #C92846;
  --brand-dark: #a81f3a;
  --overlay-dark-color: rgba(0, 0, 0, 0.6);
  --shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  --success-color: #1a9d5a;
  --primary-soft: rgba(42, 82, 201, 0.06);
  --badge-warm-bg: #FFF4E5;
  --badge-warm-text: #B36B00;
}

/* Color variables for dark theme */
.dark-mode {
  --white-color: #171717;
  --black-color: #D5D5D5;
  --title-color: #ffffff;
  --light-white-color: #333;
  --light-gray-color: #404040;
  --light-bg-color: #2B2B2B;
  --card-bg: #2e2e2e;
  --border-color: #2E2E2E;
  --input-border: #424242;
  --primary-color: #0A84FF;
  --secondary-color: #B3B3B3;
  --success-color: #2ecc71;
  --primary-soft: rgba(10, 132, 255, 0.14);
  --badge-warm-bg: rgba(245, 184, 75, 0.15);
  --badge-warm-text: #F5B84B;
}

body {
  background: var(--white-color);
  font-size: 16px;
  line-height: 24px;
  color: var(--black-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--title-color);
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5,
h6 {
  font-size: 14px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

button {
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.ms-0 {
  margin-left: 0 !important;
}

.me-0 {
  margin-right: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.ps-0 {
  padding-left: 0 !important;
}

.pe-0 {
  padding-right: 0 !important;
}

.btn {
  display: flex;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  border: solid 1px var(--primary-color);
  color: #ffffff;
}
.btn-primary i, .btn-primary span{
  color: #ffffff;
}
.btn i{
  font-size: 20px;
}

.btn-icon {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-icon i {
  font-size: 16px;
}

.link {
  color: var(--primary-color);
}

.font13 {
  font-size: 13px;
}

/* Dropdown Button */
.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  z-index: 999;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}


.container {
  display: flex;
  overflow: hidden;
  max-height: 100vh;
  flex-direction: column;
}

.side-pannel {
  background: var(--light-bg-color);
}

.mini-sidebar {
  width: 64px;
  height: calc(100vh - 60px);
  background: var(--light-bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;

}

.mini-sidebar ul {
  margin: 0;
  padding: 0;
}

.mini-sidebar ul li {
  list-style: none;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--black-color);
}

.mini-sidebar ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.mini-sidebar ul li:hover,
.mini-sidebar ul li.active {
  background: var(--light-gray-color);
}

.mini-sidebar ul li i {
  color: var(--black-color);
  font-size: 24px;
}

.stroke svg {
  stroke: var(--black-color);
}

.fill svg {
  fill: var(--black-color);
}

.mini-sidebar {
  display: none;
}

.sidebar-hidden .mini-sidebar {
  display: block;
}

header,
.sidebar .nav-left,
.category-list {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white-color);
}

header {
  z-index: 99;
}

.navbar {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 8px 16px;
  padding-left: 0;
  justify-content: space-between;
}

:where(.navbar, .sidebar) .nav-section {
  gap: 16px;
}

:where(.navbar, .sidebar) :where(.nav-section, .nav-logo, .search-form) {
  display: flex;
  align-items: center;
}

:where(.navbar, .sidebar, .comments) :where(.logo-image, .user-image) {
  width: 32px;
  cursor: pointer;
}

.nav-button {
  border: none;
  height: 56px;
  width: 100%;
  cursor: pointer;
  background: var(--light-bg-color) !important;
  border-bottom: solid 1px var(--border-color);
  padding: 0 20px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  border-radius: 0;
}

.nav-button:hover {}

.nav-button i {
  font-size: 1.5rem;
  display: flex;
  color: var(--black-color);
  align-items: center;
  /* justify-content: center; */
}


:where(.navbar, .sidebar) .nav-section .nav-button {
  border: none;
  height: 40px;
  width: 40px;
  cursor: pointer;
  background: none;
  border-radius: 50%;
}

:where(.navbar, .sidebar) .nav-section .nav-button:hover {
  background: var(--light-gray-color) !important;
}

:where(.navbar, .sidebar) .nav-button i {
  font-size: 1.5rem;
  display: flex;
  color: var(--black-color);
  align-items: center;
  justify-content: center;
}
.nav-right .dropdown-wrapper .nav-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: solid 1px var(--light-bg-color);
}
.nav-right .nav-button.dropdown-toggle img {
    object-fit: cover;
    width: 40px;
}

.nav-section .nav-button {
  justify-content: center;
  width: 40px;
}

@media (min-width: 768px) {
  .navbar .menu-button {
    display: none;
  }
}

@media (max-width: 767px) {
  .side-pannel .menu-button {
    display: none !important;
  }

  .side-pannel .mini-sidebar {
    display: none !important;
  }
}

:where(.navbar, .sidebar) .nav-logo {
  display: flex;
  gap: 8px;
  text-decoration: none;
}

:where(.navbar, .sidebar) .nav-logo .logo-text {
  color: var(--black-color);
  font-size: 1.25rem;
}

@media (max-width: 480px) {
  :where(.navbar) .nav-logo .logo-text {
    display: none;
  }

  :where(.navbar, .sidebar) .nav-section {
    gap: 8px;
  }
}

.navbar .search-back-button {
  display: none;
}

.navbar .nav-center {
  gap: 8px;
  flex: 1;
  min-width: 0;
  width: auto;
  display: flex;
  justify-content: center;
}

.navbar .search-form {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  height: 40px;
  max-width: 640px;
  overflow: visible;
}

.navbar .search-form[data-adv] {
  max-width: 760px;
  height: auto;
  gap: 8px;
}

a.adv-toggle {
  text-decoration: none;
}

.navbar .search-pill {
  display: flex;
  flex: 1;
  min-width: 0;
  height: 40px;
  align-items: stretch;
}

.navbar .search-cat {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  height: 100%;
}

.navbar .search-cat select {
  height: 100%;
  max-width: 120px;
  padding: 0 28px 0 14px;
  border: 1px solid var(--border-color);
  border-radius: 49px 0 0 49px;
  background: var(--light-bg-color);
  color: var(--title-color);
  font-size: 14px;
  font-weight: 600;
  line-height: 40px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.navbar .search-cat select:focus,
.navbar .search-cat select:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: var(--border-color);
}

.navbar .search-cat::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--title-color);
  transform: translateY(-50%);
  pointer-events: none;
}

.navbar .search-form:has(.search-pill) {
  max-width: 760px;
}

.event-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.adv-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: 49px;
  background: var(--light-bg-color);
  color: var(--title-color);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.adv-toggle i {
  font-size: 16px;
  color: inherit;
}

.adv-toggle.is-on,
.adv-toggle[aria-expanded="true"] {
  border-color: var(--primary-color);
  background: var(--primary-soft);
  color: var(--primary-color);
}

.adv-count {
  display: none;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.adv-toggle.is-on .adv-count {
  display: inline-block;
}

.adv-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  pointer-events: none;
}

.adv-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.adv-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: var(--overlay-dark-color);
  opacity: 0;
  cursor: pointer;
  transition: opacity .25s ease;
}

.adv-drawer.is-open .adv-backdrop {
  opacity: 1;
}

.adv-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(400px, 100%);
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px 0 0 16px;
  background: var(--white-color);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform .28s ease;
}

.adv-drawer.is-open .adv-panel {
  transform: translateX(0);
}

.adv-panel[hidden] {
  display: none;
}

.adv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--border-color);
}

.adv-head h3 {
  margin: 0;
  font-size: 16px;
}

.adv-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--light-bg-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.adv-close i {
  font-size: 16px;
  color: var(--title-color);
}

.adv-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 12px;
}

.adv-group {
  padding: 12px 20px 14px;
}

.adv-group p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--secondary-color);
}

.adv-select {
  width: 100%;
  height: 40px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--light-bg-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23717171' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--title-color);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  appearance: none;
}

.adv-select:focus {
  border-color: var(--primary-color);
}

.adv-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.adv-dates label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.adv-dates span {
  font-size: 12px;
  color: var(--secondary-color);
}

.adv-date {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--light-bg-color);
  color: var(--title-color);
  font-size: 13px;
  outline: none;
}

.adv-date:focus {
  border-color: var(--primary-color);
}

.dark-mode .adv-date {
  color-scheme: dark;
}

.adv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.adv-chip {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: 99px;
  background: var(--light-bg-color);
  color: var(--title-color);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.adv-chip.is-on {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.adv-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--border-color);
  background: var(--white-color);
}

.adv-clear {
  height: 36px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--secondary-color);
  font-size: 14px;
  cursor: pointer;
}

.adv-actions .btn {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.navbar .search-form .search-input {
  width: 100%;
  height: 100%;
  font-size: 1rem;
  padding: 0 16px;
  outline: none;
  color: var(--black-color);
  background: var(--white-color);
  border-radius: 49px 0 0 49px;
  border: 1px solid var(--border-color);
}

.navbar .search-form .search-input:focus {
  border-color: var(--primary-color);
}

.navbar .search-form .search-button {
  height: 40px;
  width: auto;
  padding: 0 20px;
  border-radius: 0 49px 49px 0;
  border: 1px solid var(--border-color);
  border-left: 0;
}

.navbar .search-form .search-pill .search-input {
  flex: 1;
  min-width: 0;
  width: auto;
  border-radius: 0;
  border-left: 0;
}

.navbar .search-form .search-pill .search-input:focus {
  border-color: var(--border-color);
}

.navbar .search-form .search-pill .search-button {
  flex-shrink: 0;
  height: 40px;
  background: var(--light-bg-color) !important;
}

.navbar .nav-center .mic-button {
  background: var(--light-white-color);
}

.navbar .nav-right .search-button {
  display: none;
}

.main-layout {
  display: flex;
  overflow-y: auto;
  scrollbar-color: #a6a6a6 transparent;
}

.main-layout .sidebar {
  width: 280px;
  overflow: hidden;
  padding: 0 11px 0;
  background: var(--light-bg-color);
}

.main-layout .sidebar .nav-left {
  display: none;
  padding: 8px 5px;
}

body.sidebar-hidden .main-layout .sidebar {
  width: 0;
  padding: 0;
}

.sidebar .links-container {
  padding: 16px 0 32px;
  overflow-y: auto;
  height: calc(100vh - 60px);
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.sidebar .links-container:hover {
  scrollbar-color: #a6a6a6 transparent;
}

.sidebar .link-section {
  list-style: none;
}

.sidebar .link-section .link-item {
  display: flex;
  cursor: pointer;
  color: var(--black-color);
  white-space: nowrap;
  align-items: center;
  font-size: 0.938rem;
  padding: 5px 12px;
  margin-bottom: 4px;
  border-radius: 8px;
  text-decoration: none;
}

.sidebar .link-section .link-item:hover {
  background: var(--light-gray-color);
}

.sidebar .link-section .link-item i {
  font-size: 1.4rem;
  margin-right: 10px;
}

.sidebar .link-section .section-title {
  color: var(--black-color);
  font-weight: 600;
  font-size: 0.938rem;
  margin: 16px 0 8px 8px;
}

.sidebar .section-separator {
  height: 1px;
  margin: 10px 0;
  background: var(--light-gray-color);
}

.main-layout .content-wrapper {
  padding: 0 16px;
  overflow-x: hidden;
  width: 100%;
}

.content-wrapper .category-list {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 12px 0 11px;
  scrollbar-width: none;
  top: 56px;
}

.category-list .category-button,
.category-list .category-tag {
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 8px;
  white-space: nowrap;
  color: var(--title-color);
  padding: 6px 12px;
  background: var(--light-gray-color);
}

.category-list .category-tag {
  background-color: transparent !important;
  padding: 6px 0px;
}

.category-list .category-tag:hover {
  color: var(--primary-color) !important;
}

.category-list .category-button.active,
.category-list .category-tag.active {
  color: var(--white-color);
  background: var(--black-color);
  pointer-events: none;
}

.dark-mode .category-list .category-button.active,
.dark-mode .category-list .category-tag.active {
  filter: brightness(120%);
}

.category-list .category-button:not(.active):hover,
.category-list .category-tag:not(.active):hover {
  background: var(--border-color);
}

.content-wrapper .video-list {
  display: grid;
  gap: 16px;
  padding: 20px 0 64px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.content-wrapper :is(.video-list, .slider) .video-card {
  text-decoration: none;
}

.content-wrapper :is(.video-list, .slider) .video-card .thumbnail-container {
  position: relative;
  border-radius: 8px;
}

.video-card .thumbnail-container video{
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.content-wrapper :is(.video-list, .slider) .video-card .thumbnail {
  width: 100%;
  /* object-fit: contain; */
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background: var(--light-white-color);
}

.content-wrapper :is(.video-list, .slider) .video-card .duration {
  position: absolute;
  right: 10px;
  bottom: 12px;
  color: #fff;
  font-size: 0.875rem;
  padding: 0 5px;
  border-radius: 5px;
  background: var(--overlay-dark-color);
}

.content-wrapper :is(.video-list, .slider) .video-card .video-info {
  display: flex;
  gap: 11px;
  padding: 11px 8px;
}

.content-wrapper :is(.video-list, .slider) .video-card .video-info .user-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  overflow: hidden;
  border-radius: 50%;
}

.content-wrapper :is(.video-list, .slider) .video-card .icon {
  /* width: 36px;
  height: 36px;
  border-radius: 50%; */

  object-fit: cover;
  width: 100%;
  height: 100%;

}

.content-wrapper :is(.video-list, .slider) .video-card .title {
  font-size: 1rem;
  color: var(--black-color);
  font-weight: 500;
  line-height: 1.375;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.content-wrapper :is(.video-list, .slider) .video-card:hover .title {
  color: var(--primary-color);
}

.content-wrapper :is(.video-list, .slider) .video-card p {
  font-size: 0.875rem;
  color: var(--secondary-color);
}

.views span {
  color: var(--secondary-color);
}

.content-wrapper :is(.video-list, .slider) .video-card .channel-name {
  /* margin: 4px 0 6px; */
}

.sponsored {
  font-weight: 600;
  color: var(--black-color) !important;
}

.verified img {
  width: 15px;
  height: 15px;
}

.learnmore-cta {
  font-size: 13px;
  padding: 2px 6px 2px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.learnmore-cta i {
  font-size: 24px;
  color: var(--white-color);
}

/* Responsive media code for small devices */
@media (max-width: 768px) {
  .navbar {
    gap: 8px 1rem;
    flex-wrap: wrap;
  }

  body.show-mobile-search .navbar .nav-left,
  body.show-mobile-search .navbar .nav-right,
  body:has(.sr-layout) .navbar .nav-left,
  body:has(.sr-layout) .navbar .nav-right {
    display: none;
  }

  .navbar .nav-right .search-button,
  body.show-mobile-search .navbar .search-back-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body:has(.sr-layout) .navbar > .nav-section:has(.search-back-button) {
    display: none;
  }

  .navbar .nav-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: stretch;
    flex: 1 0 100%;
    order: 3;
    gap: 8px;
    min-width: 0;
  }

  .navbar .nav-center .search-form {
    display: none;
  }

  body.show-mobile-search .navbar .nav-center .search-form,
  body:has(.sr-layout) .navbar .nav-center .search-form {
    display: flex;
    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;
    height: 40px;
  }

  body.show-mobile-search .navbar .search-pill,
  body:has(.sr-layout) .navbar .search-pill {
    flex: 1;
    min-width: 0;
    width: 100%;
    flex-wrap: nowrap;
  }

  .navbar .event-nav {
    flex: 1 0 100%;
    width: 100%;
    display: flex;
    gap: 6px;
  }

  .navbar .event-nav .adv-toggle {
    flex: 1;
    min-width: 0;
    height: 36px;
    padding: 0 8px;
    font-size: 12px;
    gap: 4px;
  }

  .navbar .event-nav .adv-toggle span {
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.show-mobile-search .navbar .search-cat select,
  body:has(.sr-layout) .navbar .search-cat select {
    max-width: 78px;
    padding: 0 22px 0 12px;
    font-size: 13px;
  }

  .main-layout .screen-overlay {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 15;
    width: 100%;
    height: 100vh;
    background: var(--overlay-dark-color);
    transition: 0.2s ease;
  }

  body.sidebar-hidden .main-layout .screen-overlay {
    opacity: 0;
    pointer-events: none;
  }

  .main-layout .sidebar {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    height: 100vh;
    transition: 0.2s ease;
  }

  body.sidebar-hidden .main-layout .sidebar {
    left: -280px;
  }

  .main-layout .sidebar .nav-left {
    display: flex;
    background: var(--light-bg-color);
  }
}


/*-------------- DETAIL SCREEN -------------*/
.detail-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  /* max-width: 1300px; */
  margin: auto;
  gap: 20px;
}

@media (min-width: 1024px) {
  .detail-page {
    flex-direction: row;
  }
}

.main-content {
  flex: 2.5;
  max-width: calc((100vh - 56px - 24px - 136px)*(16 / 9));
  min-width: calc(360px*(16 / 9));
}

.video-player {
  aspect-ratio: 16 / 9;
  max-width: calc((100vh - 56px - 24px - 136px)*(16 / 9));
  min-width: calc(360px*(16 / 9));
}

.video-player video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .main-content {
    width: 100%;
  }

  .video-player {
    max-width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .main-content {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

.video-title {
  margin: 15px 0 5px;
  font-size: 20px;
}

.video-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--secondary-color);
  flex-wrap: wrap;
}

.actions {
  display: flex;
  gap: 8px;
}

.actions button {
  background: var(--light-bg-color);
  border: none;
  padding: 6px 12px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.actions button i {
  font-size: 20px;
}

.actions button:hover {
  background: var(--light-gray-color);
}

.channel-info {
  display: flex;
  align-items: center;
  margin-top: 16px;
  gap: 15px;
  flex-wrap: wrap;

}

.channel-info .ttl-subscribers {
  color: var(--secondary-color);
  font-size: 14px;
}

.channel-info img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.channel-info h2 {
  font-size: 16px;
}

.subscribe-btn {
  margin-left: auto;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}

.description {
  padding: 16px 10px;
  margin-top: 16px;
  border-top: solid 1px var(--border-color);
}

.description p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.more-description {
  color: var(--black-color);
  font-weight: 600;
  text-decoration: none;
  padding-top: 8px;
}

.comments {
  margin-top: 30px;
}

.comments h2 span {
  font-size: 20px;
}

.commenter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.commenter-name {
  font-weight: 600;
  font-size: 14px;
}

.comments .user-image {
  width: 40px;
  height: 40px;
}

.comments .comment {
  display: flex;
  gap: 16px;
  background: var(--card-bg);
  padding: 16px;
  margin-bottom: 8px;
  border-radius: 12px;
}

.add-comment {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 24px;
  align-items: center;
}

/* .add-comment input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
} */
.add-comment input {
  width: 100%;
  height: 40px;
  font-size: 1rem;
  padding: 0 16px;
  outline: none;
  color: var(--black-color);
  background: var(--white-color);
  border-radius: 49px;
  border: 1px solid var(--border-color);
}

.add-comment button {
  padding: 8px 16px;
  background: #065fd4;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.commenter-dtl {
  display: flex;
  align-items: center;
  gap: 8px;
}

.commenter-dtl .comment-time {
  color: var(--secondary-color);
  font-size: 14px;
}

.sidebar-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 392px;
  min-width: 300px;
  gap: 8px;
}

.ad-block {
  display: flex;
  align-items: center;
}

.ad-block img {
  border-radius: 12px;
  border: solid 1px var(--border-color);
  max-width: 100%;
}

.recommendation {
  display: flex;
  gap: 10px;
  border-radius: 6px;
  cursor: pointer;
}
.recommendation .video-thumb-container{
  flex: 0 0 168px;
  position: relative;
  display: flex;
}
.recommendation .video-thumb {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  
}
.recommendation .video-info{
  flex: 1;
}

.recommendation .title {
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recommendation .channel,
.recommendation .views {
  font-size: 12px;
  color: var(--secondary-color);
  margin: 0;
  line-height: 18px;
}

.recommendation .views span {
  font-size: 14px;
}

.recommendation .verified img {
  width: 12px;
  height: 12px;
}

/*------- DROPDOWN MENU ------*/
.dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.dropdown {
  position: absolute;
  max-width: 300px;
  max-height: 400px;
  /* width: 175px; */
  box-shadow: var(--shadow);
  border-radius: 8px;
  margin-top: 0.3rem;
  padding: 8px 0;
  background: var(--white-color);
  overflow-y: auto;

  visibility: hidden;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.1s cubic-bezier(0.16, 1, 0.5, 1);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  transition: all 0.2s ease;
}

/* Show above */
.dropdown.position-top {
  top: auto;
  bottom: 100%;
  margin-bottom: 0.3rem;
}

/* Align left of button */
.dropdown.position-left {
  left: auto;
  right: 0;
}

/* Align right of button (if needed) */
.dropdown.position-right {
  left: 0;
  right: auto;
}

.dropdown li a {
  font-size: 14px;
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  text-decoration: none;
  gap: 8px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: var(--black-color);
}

.dropdown li a i {
  font-size: 20px;
}

.dropdown li a:hover {
  background-color: var(--light-bg-color);
}

.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0rem);
}

.arrow {
  /* transform: rotate(180deg);
  transition: 0.2s ease; */
}

.dropdown-toggle.active {
  background-color: var(--light-gray-color) !important;
  color: white;
}

.view-pro {
  display: flex;
  gap: 16px;
  padding: 8px 16px 16px;
  font-size: 14px;
  border-bottom: solid 1px var(--border-color);
}

.view-pro .user-image {
  width: 40px;
  height: 40px;
}

.view-pro .name,
.view-pro a {
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;

}


/* -----------PROFILE PAGE ----------*/
.profile-header {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: var(--border-color)
}

.profile-header .channel-info img {
  border-radius: 50%;
  width: 140px;
  height: 140px;
}


.tabs {
  display: flex;
  gap: 1.2rem;
  padding: 1rem 2rem 0;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  position: sticky;
  background: var(--white-color);
  top: 56px;
  z-index: 10;
}

.tabs a {
  text-decoration: none;
  color: var(--title-color);
  font-weight: 500;
  padding-bottom: 5px;
  border-bottom: solid 2px var(--white-color);
}

.tabs a:hover,
.tabs a.active {
  border-bottom: 2px solid var(--primary-color);
}


/*--------- LOG IN / SIGN UP -----------*/
.sign-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .sign-form {
  display: flex;
  flex: auto;
  flex-direction: row;
  min-height: 100vh;
} */

.login-box {
  flex: 1 1 55%;
  padding: 30px;
  padding-top: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-form {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  max-width: 540px;
}

.logo {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 40px;

}

@media (min-width: 990px) {
  .logo {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 9;
  }
}

.logo-img {
  width: 40px;
}

.login-box h1 {
  font-size: 36px;
  font-weight: 600;
}

.login-title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;

}

.subtitle {
  margin-bottom: 40px;
  color: #666;
}

.login-box form {
  display: flex;
  flex-direction: column;
}

.login-box .form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.login-box label {
  margin: 10px 0 8px;
  font-weight: 500;
}

.login-box input,
.login-box select {
  padding: 12px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
}

.login-box .btn {
  border-radius: 30px;
}

.forgot {
  text-align: right;
  margin: 0 0 24px;
}

.forgot a {
  text-decoration: none;
}


.register {
  text-align: center;
  padding-top: 16px;
}

.register a {
  text-decoration: none;
  font-weight: 500;
}

.image-box {
  flex: 1 1 45%;
  display: flex;
  height: 100vh;
  min-height: 700px;
  position: relative;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .login-box {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .image-box {
    display: none;
  }

  .login-box {
    justify-content: flex-start;
  }

  .login-box,
  .image-box {
    width: 100%;

  }

  .login-box {
    padding: 30px;
  }

  .image-box {
    height: 250px;
  }
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-group input {
  margin-right: 5px;
}

.mobile-group {
  display: flex;
  gap: 8px;
}

.mobile-group select {
  width: 30%;
}

.mobile-group input {
  width: 70%;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
}

/*---------- Sign up Slide ------------*/
.login-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.mySlides {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.mySlides.active {
  opacity: 1;
  z-index: 1;
}

.slideNav {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0%);
  width: 100%;
  text-align: center;
  z-index: 2;
}

.left-arrow {
  float: left !important;
  cursor: pointer;
}

.right-arrow {
  float: right !important;
  cursor: pointer;
}

.nav-dot {
  height: 13px;
  width: 13px;
  padding: 0;
  border: 1px solid #ccc !important;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: #fff;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.nav-dot.active,
.nav-dot:hover {
  color: #000 !important;
  background-color: var(--primary-color)
}

.ttl-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

/*-------- MINIX SLIDER -------------*/
.shorts-container {
  display: flex;
  /* Arrange items horizontally */
  overflow-x: scroll;
  /* Enable horizontal scrolling */
  scroll-snap-type: x mandatory;
  /* Snap to items when scrolling */
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */
  flex-direction: column;
  margin-bottom: 64px;
}

.short-item {
  flex-shrink: 0;
  /* Prevent items from shrinking */
  width: 100vw;
  /* Each item takes full viewport width */
  height: 100vh;
  /* Each item takes full viewport height */
  scroll-snap-align: start;
  /* Snap to the start of each item */
  /* Add styling for video, text, etc. */
}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  gap: 10px;
  scrollbar-width: none;
  max-width: 100%;
}

.minix-card {
  position: relative;
  width: 210px;
}
.usr-minix .minix-card {
  position: relative;
  width: 100%;
}

.minix-thumb {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #222;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.minix-thumb img {
    height: 100%;
    object-fit: cover;
    display: block;
    width: 100%;
}

/* Paid Minix — price badge + clickable card */
.minix-price {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--overlay-dark-color);
}

.minix-card:has(.minix-price) {
  cursor: pointer;
}

.minix-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-45%);
  border: none;
  color: white;
  font-size: 2rem;
  width: 100%;
  height: 40px;
  
  z-index: 10;
}

.minix-arrow .arrow-left,
.minix-arrow .arrow-right {
  width: 40px;
  height: 40px;
  background-color: var(--white-color);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 4px, rgba(0, 0, 0, 0.2) 0px 0px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  text-align: center;
  padding: 8px;
  cursor: pointer;

}

.minix-arrow .arrow-left:hover,
.minix-arrow .arrow-right:hover {
  background: var(--light-bg-color);
}

.minix-arrow i {
  font-size: 24px;
}

.minix-arrow .arrow-left {
  left: 10px;
  position: absolute;
}

.minix-arrow .arrow-right {
  right: 10px;
  position: absolute;
}

.minix-view {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}

.minix-view .views {
  color: var(--secondary-color);
  font-size: 14px;
}

.minix-view .title {
  font-size: 1rem;
  color: var(--black-color);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 600;
  line-height: 20px;
}

.sidebar-right .minix-card {
  position: relative;
  width: 131px;
}

/*--- Products list ---*/
.product-list{
  background: var(--light-bg-color);
  padding: 40px 24px;
  margin-bottom: 40px;
  border-radius: 8px;
}
.ttl-with-viewmore{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
}
.ttl-with-viewmore h2{
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--title-color);
}
.ttl-with-viewmore .viewmore{
  color: var(--brand);
  font-size: 16px;
}

.products{
  display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    cursor: grab;
}

.product-card {
  flex: 0 0 270px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 12px;
}

.product-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--title-color);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.product-card__title:hover {
  color: var(--brand);
}

.stars{
  display: flex;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.product-card__rating .stars i {
  color: #f59e0b;
  font-size: 14px;
}

.product-card__rating .value {
  font-weight: 600;
  color: var(--text);
}

.product-card__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-card__price .off {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

.product-card__price .now {
  font-size: 16px;
  font-weight: 700;
  color: var(--title-color);
}

.product-card__price .was {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}

.buy-now{
  border: 1px solid var(--brand);
    background: var(--brand);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}
.buy-now:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #ffffff;
}


.deal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.deal-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 4 / 3;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.05) 55%, rgba(17, 24, 39, 0));
}

.deal-card__badge {
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.deal-card__badge--alt {
  background: #16a34a;
}

.deal-card__name {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

@media (min-width: 768px) {
  .deal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .deal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1333px) {
  .deal-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Shop by brands */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: start;
}

.brand-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-card__media {
  background: var(--light-bg);
}

.brand-card__media img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.shop-category-grid .brand-card__media img {
  height: 220px;
}

@media (max-width: 767.98px) {
  .shop-category-grid .brand-card__media img {
    height: 180px;
  }
}

.brand-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}

.brand-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--title-color);
}

.brand-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.brand-card__cta i{
  color: var(--brand);
}

@media (min-width: 576px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1333px) {
  .brand-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}







/* For arrrow slide shop and otherr */
.content-wrapper .mostviewd-slider {
    position: relative;
    width: 100%;
}

.content-wrapper .sliderboxvideo {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    padding: 20px 0 0;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    -ms-overflow-style: none;

    scroll-behavior: smooth;
    margin-bottom: 30px;
}

.content-wrapper .sliderboxvideo::-webkit-scrollbar {
    display: none;
}

.content-wrapper .sliderboxvideo .video-card,
.content-wrapper .slider .video-card {
    flex: 0 0 300px !important;
    width: 300px;
    min-width: 300px;
}


/* =========================
   ARROWS
========================= */

.content-wrapper .mostviewd-slider .connect-arrow i{
   font-size: 24px;
}
.content-wrapper .mostviewd-slider .connect-arrow {
    display: none; /* Default hidden */
       
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;

    transform: translateY(-50%);

    width: 100%;
    height: 0;

    z-index: 20;

    pointer-events: none;
}


/* Show arrows only when slider is required */
.content-wrapper .mostviewd-slider.has-slider .connect-arrow {
    display: block;
}


/* Buttons */
.content-wrapper .mostviewd-slider .connect-arrow button {
    position: absolute;
    top: 0;

    width: 40px;
    height: 40px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: var(--white-color);

    box-shadow:
        rgba(0, 0, 0, 0.3) 0px 4px 4px,
        rgba(0, 0, 0, 0.2) 0px 0px 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    color: #333;

    cursor: pointer;
    pointer-events: auto;
}

.content-wrapper .mostviewd-slider .connect-arrow-left {
    left: 10px;
}

.content-wrapper .mostviewd-slider .connect-arrow-right {
    right: 10px;
}


/* =========================
   SLIDER WRAPPER
========================= */

.content-wrapper .product-list {
    position: relative;
}


/* =========================
   SLIDER MODE
========================= */

.content-wrapper .product-list .deal-grid.slider-active,
.content-wrapper .product-list .brand-grid.slider-active,
.content-wrapper .product-list .products.slider-active {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;

    scrollbar-width: none;
    -ms-overflow-style: none;

    scroll-behavior: smooth;
}

.content-wrapper .product-list .deal-grid.slider-active::-webkit-scrollbar,
.content-wrapper .product-list .brand-grid.slider-active::-webkit-scrollbar,
.content-wrapper .product-list .products.slider-active::-webkit-scrollbar {
    display: none;
}


/* Keep card width fixed */
.content-wrapper .product-list .deal-grid.slider-active .deal-card,
.content-wrapper .product-list .brand-grid.slider-active .brand-card,
.content-wrapper .product-list .products.slider-active .product-card {
    flex-shrink: 0 !important;
}


/* =========================
   ARROWS
========================= */

.content-wrapper .product-list .slider-arrows {
    display: none;

    position: absolute;
    top: 50%;
    left: 0;
    right: 0;

    transform: translateY(-50%);

    width: 100%;
    height: 0;

    z-index: 20;

    pointer-events: none;
}

.content-wrapper .product-list.has-slider .slider-arrows {
    display: block;
}


/* =========================
   BUTTON
========================= */

.content-wrapper .product-list .slider-arrows button {
    position: absolute;
    top: 0;

    width: 40px;
    height: 40px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: var(--white-color);

    box-shadow:
        rgba(0, 0, 0, 0.3) 0px 4px 4px,
        rgba(0, 0, 0, 0.2) 0px 0px 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    color: #333;

    cursor: pointer;
    pointer-events: auto;
}

.content-wrapper .product-list .slider-arrows i {
    font-size: 24px;
}

.content-wrapper .product-list .slider-arrow-left {
    left: 10px;
}

.content-wrapper .product-list .slider-arrow-right {
    right: 10px;
}



/* new minix slide code */
.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    padding: 10px 0;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slider .minix-card {
    flex: 0 0 210px;
    width: 210px;
    min-width: 210px;
}

.minix-arrow {
    pointer-events: none;
}

.minix-arrow .arrow-left,
.minix-arrow .arrow-right {
    pointer-events: auto;
    touch-action: manipulation;
    z-index: 20;
}



#slider_new {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

#slider_new::-webkit-scrollbar {
    display: none;
}

#slider_new .minix-card {
    flex: 0 0 210px !important;
    width: 210px !important;
    min-width: 210px !important;
}
/* new minix slide code */

/* ===================== VIDEO DETAIL ===================== */
.vd-page {
  padding-top: 20px;
}

/* ---- Cinematic hero with autoplay trailer ---- */
.vd-hero {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: flex-end;
}

.vd-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark gradient so the overlay text stays readable over the video */
.vd-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 45%);
}

.vd-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 28px 32px;
  color: #fff;
}

.vd-hero-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #fff;
}

.vd-hero-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.vd-hero-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 14px;
  max-width: 520px;
}

.vd-genres {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin-bottom: 18px;
}

.vd-genres span {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 0 14px;
}

.vd-genres span:first-child {
  padding-left: 0;
}

.vd-genres span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.4);
}

.vd-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vd-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.vd-langs span {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.vd-watch {
  padding: 16px 40px;
  min-height: 56px;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color) 62%, var(--brand) 100%);
  border: none;
  color: #fff;
  border-radius: 12px;
}

.vd-watch i {
  font-size: 24px;
}

.vd-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vd-icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}
.vd-icon-btn i{
  color: #ffffff;
  font-size: 20px;
}

.vd-hero-mute {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 3;
}

.vd-trailer-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--overlay-dark-color);
  pointer-events: none;
}
.vd-trailer-badge i{
  color: #ffffff;
  font-size: 12px;
}

.vd-uploader {
  margin-top: 20px;
}

.vd-uploader .channel-info h2 {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vd-uploader .verified img {
  width: 12px;
  height: 12px;
}

.vd-uploader .subscribe-btn {
  margin-left: 0;
}

.vd-uploader .channel-info .actions {
  margin-left: auto;
}

.vd-uploader .actions .dropdown-toggle {
  background: var(--light-bg-color);
  border: none;
  padding: 6px 12px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.vd-uploader .actions .dropdown-toggle i {
  font-size: 20px;
}

.vd-uploader .dropdown {
  min-width: 140px;
  left: auto;
  right: 0;
  padding: 6px;
  border-radius: 24px;
}

.vd-uploader .dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vd-uploader .report-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  flex-shrink: 0;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}

.vd-uploader .report-flag::before {
  content: "\2691";
}

/* ---- In-page section nav (jumps, not tabs) ---- */
.vd-nav {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 56px;
  z-index: 20;
  background: var(--white-color);
}

.vd-nav a {
  padding: 10px 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary-color);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.vd-nav a:hover {
  color: var(--title-color);
}

.vd-nav a.is-active {
  color: var(--title-color);
  border-bottom-color: var(--title-color);
}

.vd-section-block {
  margin-top: 28px;
  scroll-margin-top: 120px;
}

.vd-tabs .slider .vd-poster,
.vd-section-block .slider .vd-poster {
  flex: 0 0 180px;
  width: 180px;
  min-width: 180px;
}

.vd-episode-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 820px;
}

.vd-episode {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none;
}

.vd-episode-thumb {
  position: relative;
  flex: 0 0 220px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.vd-episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vd-episode-thumb i {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: #fff;
  font-size: 22px;
}

.vd-episode-info {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.vd-episode-info h3 {
  font-size: 18px;
  color: var(--title-color);
  margin: 0 0 6px;
}

.vd-episode-meta {
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
  margin: 0 0 8px;
}

.vd-episode-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--secondary-color);
  margin: 0;
}

.vd-trailer-card {
  display: inline-block;
  max-width: 280px;
  text-decoration: none;
  margin-bottom: 24px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.vd-trailer-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.vd-trailer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vd-trailer-thumb i {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: #fff;
  font-size: 22px;
}

.vd-trailer-thumb span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: #fff;
  background: var(--overlay-dark-color);
}

.vd-trailer-card p {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
}

.vd-trailer-card:hover p {
  color: var(--primary-color);
}

/* ---------- Trailer watch page ---------- */
.tp-body {
  background: #000;
  overflow: hidden;
  height: 100vh;
}

.tp-body,
.tp-body * {
  color: #fff;
}

.tp-body button {
  padding: 4px;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.tp-page {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #000;
  cursor: none;
}

.tp-page.is-active {
  cursor: default;
}

.tp-page video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.tp-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.tp-page.is-active .tp-ui {
  opacity: 1;
  pointer-events: auto;
}

.tp-top,
.tp-bottom {
  position: relative;
  z-index: 2;
}

.tp-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 36px 48px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent);
}

.tp-back {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.tp-back i {
  font-size: 28px;
  color: #fff;
}

.tp-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.tp-top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.tp-menu-wrap {
  position: relative;
}

.tp-menu-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.tp-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 10px 0;
  white-space: nowrap;
}

.tp-chip i {
  font-size: 22px;
  color: #fff;
}

.tp-chip span,
.tp-chip-val {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
}

.tp-chip-val {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

.tp-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 220px;
  padding: 18px 20px 10px;
  border-radius: 8px;
  background: rgba(18, 18, 20, 0.96);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 5;
}

.tp-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}

.tp-menu-wrap:hover .tp-menu,
.tp-menu-wrap:focus-within .tp-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.tp-menu-wide {
  width: 340px;
}

#qualityWrap .tp-menu-wide {
  width: 220px;
}

.tp-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  flex: none;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  padding: 10px 4px;
  border-radius: 4px;
}

.tp-opt + .tp-opt {
  margin-top: 4px;
}

.tp-opt:hover {
  background: rgba(255, 255, 255, 0.06);
}

.tp-check {
  width: 16px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 22px;
  color: transparent;
}

.tp-opt.is-on .tp-check {
  color: #fff;
}

.tp-opt-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.tp-opt-text span {
  display: block;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.tp-opt-text small {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.tp-opt.is-on .tp-opt-text span {
  color: #fff;
  font-weight: 600;
}

.tp-opt:hover .tp-opt-text span {
  color: rgba(255, 255, 255, 0.88);
}

.tp-opt.is-on:hover .tp-opt-text span {
  color: #fff;
}

.tp-report {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 12px 4px 6px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.3;
}

.tp-report:hover {
  color: #fff;
}

.tp-report i {
  font-size: 15px;
  color: inherit;
}

.tp-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 32px;
}

.tp-col-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  padding: 0 4px 8px;
}

.tp-menu-wide .tp-report {
  grid-column: 1 / -1;
}

.tp-hit {
  flex: 1;
}

.tp-bottom {
  padding: 40px 36px 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
}

.tp-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.tp-track {
  position: relative;
  flex: 1;
  height: 22px;
  cursor: pointer;
}

.tp-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
}

.tp-fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 4px;
  width: 0;
  border-radius: 2px;
  background: #cfe4ff;
  transform: translateY(-50%);
}

.tp-knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.tp-time {
  font-size: 15px;
  font-weight: 500;
  min-width: 48px;
  text-align: right;
  color: #fff;
}

.tp-controls {
  display: flex;
  align-items: center;
  gap: 26px;
}

.tp-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  background: none;
  cursor: pointer;
  min-height: 44px;
  padding: 0;
}

.tp-ctrl i {
  font-size: 28px;
  color: #fff;
}

.tp-play i {
  font-size: 40px;
}

.tp-skip {
  min-width: 56px;
  font-weight: 600;
}

.tp-skip i {
  font-size: 22px;
}

.tp-skip span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.tp-vol {
  position: relative;
  display: flex;
  align-items: center;
}

.tp-vol input {
  width: 0;
  opacity: 0;
  pointer-events: none;
  margin-left: 0;
  accent-color: #fff;
  transition: width 0.15s ease, opacity 0.15s ease, margin-left 0.15s ease;
}

.tp-vol:hover input,
.tp-vol:focus-within input {
  width: 96px;
  opacity: 1;
  pointer-events: auto;
  margin-left: 10px;
}

.tp-fs {
  margin-left: auto;
}

.tp-fs i {
  font-size: 28px;
}

.tp-toast {
  position: absolute;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 6px;
  background: rgba(20, 20, 22, 0.92);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 3;
}

.tp-toast.show {
  opacity: 1;
}

@media (max-width: 640px) {
  .tp-chip span:not(.tp-chip-val) {
    display: none;
  }

  .tp-top,
  .tp-bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tp-top-right {
    gap: 14px;
  }

  .tp-title {
    font-size: 15px;
  }

  .tp-menu,
  .tp-menu-wide {
    width: min(240px, calc(100vw - 24px));
  }

  .tp-controls {
    gap: 16px;
  }

  .tp-play i {
    font-size: 32px;
  }
}
.vd-rail-section {
  margin-top: 64px;
}

.vd-rail-section + .premium-minix {
  margin-top: 64px;
}

#your-tickets {
  scroll-margin-top: 72px;
}

.tickets-page {
  padding: 12px 0 72px;
}

.tickets-tabs {
  margin: 0 0 8px;
}

.tickets-empty {
  margin: 64px 0;
  text-align: center;
  color: var(--secondary-color);
}

.tickets-page .event-card[hidden] {
  display: none !important;
}

.list-section {
  margin-top: 64px;
}

.vd-rail-title {
  font-size: 20px;
  color: var(--title-color);
  margin: 0 0 14px;
}

.vd-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.vd-rail::-webkit-scrollbar {
  display: none;
}

.vd-poster {
  position: relative;
  flex: 0 0 auto;
  width: 180px;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--light-bg-color);
  cursor: pointer;
}

.vd-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.vd-poster:hover img {
  transform: scale(1.05);
}

.vd-poster-price {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--overlay-dark-color);
}

/* ---- Hotstar-style pop-out preview card on hover ---- */
.vd-hover-card {
  position: fixed;
  z-index: 999;
  width: 340px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.vd-hover-card.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.vd-hover-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #000;
}

.vd-hover-body {
  padding: 14px 16px 16px;
}

.vd-hover-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.vd-hover-watch {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary-color);
  cursor: pointer;
}
.vd-hover-watch i{
  color: #ffffff;
  font-size: 18px;
}

.vd-hover-add {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--title-color);
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vd-hover-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 8px;
}

.vd-hover-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 6px;
  line-height: 1.3;
}

.vd-hover-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--secondary-color);
  margin: 0;
}

/* ---- Movie details card ---- */
.vd-detail-card {
  margin-top: 28px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
}

.vd-detail-title {
  font-size: 26px;
  color: var(--title-color);
  margin: 0 0 10px;
}

.vd-detail-meta {
  font-size: 14px;
  color: var(--secondary-color);
  margin-bottom: 14px;
}

.vd-imdb {
  color: var(--primary-color);
  font-weight: 700;
}

.vd-detail-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--secondary-color);
  margin: 0 0 22px;
  max-width: 900px;
}

.vd-credits {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.vd-credit h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0 0 6px;
}

.vd-credit p {
  font-size: 14px;
  color: var(--title-color);
  line-height: 1.6;
  margin: 0;
}

/* ---- Sections / comments ---- */
.vd-section {
  margin-top: 24px;
}

.vd-section h3 {
  font-size: 18px;
  color: var(--title-color);
  margin: 0 0 12px;
}

.vd-section p {
  color: var(--secondary-color);
  line-height: 1.7;
  margin: 0;
}

.vd-comments .comment-item:first-child {
  padding-top: 0;
}

@media (max-width: 600px) {
  .vd-hero-title {
    font-size: 26px;
  }

  .vd-hero-mute {
    bottom: 100px;
  }
}

/* ===================== PREMIUM VIDEOS: PAGE HEADER + SEARCH ===================== */
.premium-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0 0px;
}

.premium-title h1 {
  font-size: 24px;
  margin: 0;
  color: var(--title-color);
}

.premium-title p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--secondary-color);
}

/* Distinct look from the navbar search: filled field with a leading icon */
.premium-search .search-form {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
  width: 520px;
  max-width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--white-color);
  overflow: hidden;
}

.premium-search .search-category {
  height: 100%;
  min-width: 132px;
  padding: 0 28px 0 14px;
  border: 0;
  border-right: 1px solid var(--border-color);
  background: var(--light-bg-color);
  color: var(--title-color);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23717171' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.premium-search .search-field {
  position: relative;
  flex: 1;
  height: 100%;
}

.premium-search .search-input {
  width: 100%;
  height: 100%;
  font-size: 14px;
  padding: 0 16px 0 42px;
  outline: none;
  color: var(--black-color);
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: box-shadow .2s;
}

.search-input::placeholder {
  color: var(--secondary-color);
}

.premium-search .search-form:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.premium-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--secondary-color);
  pointer-events: none;
}

/* ===================== PREMIUM VIDEO PAYMENT ===================== */
.pay-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-dark-color);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.pay-overlay.show {
  display: flex;
}

.pay-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white-color);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.pay-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--light-bg-color);
  color: var(--black-color);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-close i {
  display: block;
  line-height: 1;
}

.pay-close:hover {
  background: var(--light-gray-color);
}

.pay-head {
  text-align: center;
  margin-bottom: 20px;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--badge-warm-bg);
  color: var(--badge-warm-text);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.pay-badge i{
  color: var(--badge-warm-text);
  font-size: 14px;
}

.pay-head h3 {
  font-size: 20px;
  color: var(--title-color);
  margin: 0;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 16px;
}

.pay-thumb {
  width: 96px;
  height: 56px;
  flex: 0 0 96px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--light-white-color);
}
.pay-video{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pay-video-info h4 {
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--black-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pay-video-info p {
  font-size: 13px;
  color: var(--secondary-color);
  margin: 0;
}

.pay-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 16px;
}

.pay-amount span {
  color: var(--secondary-color);
  font-size: 14px;
}

.pay-amount strong {
  font-size: 22px;
  color: var(--title-color);
}

.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.pay-method {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}

.pay-method-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  cursor: pointer;
}

.pay-method i {
  font-size: 22px;
  color: var(--primary-color);
}

.pay-method span {
  font-weight: 600;
  color: var(--black-color);
}

.pay-method em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  color: var(--secondary-color);
}

.pay-method-head input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}

.pay-method.selected {
  border-color: var(--primary-color);
  background: var(--primary-soft);
}

/* Method-specific input fields — expand inside the selected method box */
.pay-method-body {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 4px 14px 16px;
}

.pay-method.selected .pay-method-body {
  display: flex;
}

.pay-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pay-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary-color);
}

.pay-field-row {
  display: flex;
  gap: 12px;
}

.pay-field-row .pay-field {
  flex: 1;
}

.pay-input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--card-bg);
  color: var(--black-color);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.pay-input::placeholder {
  color: var(--secondary-color);
}

.pay-input:focus {
  border-color: var(--primary-color);
}

/* Company / redeem code (coupon-style) */
.pay-coupon {
  margin-bottom: 18px;
}

.pay-coupon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.pay-coupon-toggle:hover {
  text-decoration: underline;
}

.pay-coupon-box {
  margin-top: 12px;
}

.pay-coupon-input-row {
  display: flex;
  gap: 10px;
}

.pay-coupon-input-row .pay-input {
  flex: 1;
}

.pay-coupon-apply {
  flex: 0 0 auto;
  padding: 0 20px;
}

.pay-coupon-msg {
  font-size: 13px;
  margin: 8px 0 0;
  display: none;
}

.pay-coupon-msg.show {
  display: block;
}

.pay-coupon-msg.error {
  color: var(--brand);
}

.pay-coupon-msg.success {
  color: var(--success-color);
}

/* ===================== COMMENTS POPUP ===================== */
.video-comment-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--secondary-color);
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.video-comment-btn:hover {
  color: var(--primary-color);
}

.video-comment-btn i {
  font-size: 16px;
  vertical-align: middle;
  color: var(--secondary-color);
}

.comments-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-dark-color);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.comments-overlay.show {
  display: flex;
}

.comments-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--white-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.comments-head h3 {
  font-size: 18px;
  color: var(--title-color);
  margin: 0;
}

.comments-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--light-bg-color);
  color: var(--black-color);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comments-close i {
  display: block;
  line-height: 1;
}

.comments-close:hover {
  background: var(--light-gray-color);
}

.comments-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.comment-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.comment-item:last-child {
  border-bottom: none;
}

.comments-more {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.comments-more:hover {
  text-decoration: underline;
}

.event-promo-card {
  display: block;
}

.tp-page.tp-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
}

.tp-page.tp-overlay[hidden] {
  display: none;
}

body.tp-open {
  overflow: hidden;
}

.tp-overlay .tp-back {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tp-ticket {
  position: absolute;
  left: 24px;
  bottom: 110px;
  z-index: 4;
  min-height: 48px;
  padding: 12px 22px !important;
  border-radius: 12px !important;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color) 62%, var(--brand) 100%) !important;
  box-shadow: none !important;
  font-size: 16px;
  font-weight: 700;
  color: #fff !important;
}

.tp-ticket i {
  color: #fff;
}

@media (max-width: 600px) {
  .tp-ticket {
    left: 16px;
    right: 16px;
    bottom: 100px;
    width: calc(100% - 32px);
    min-height: 44px;
    padding: 10px 16px !important;
    font-size: 14px;
  }
}

.comment-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--light-bg-color);
}

.comment-body {
  flex: 1;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.comment-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--black-color);
}

.comment-time {
  font-size: 12px;
  color: var(--secondary-color);
}

.comment-text {
  font-size: 14px;
  color: var(--secondary-color);
  line-height: 1.5;
  margin: 0;
}


/* Layout only — visual styling comes from the shared .btn .btn-primary classes */
.pay-btn {
  width: 100%;
  gap: 8px;
}

.pay-btn span, .pay-btn i {
  color: #ffffff;
}
.pay-secure {
  text-align: center;
  color: var(--secondary-color);
  font-size: 13px;
  margin: 14px 0 0;
}

.pay-secure i {
  color: var(--success-color);
}

.pay-processing,
.pay-success {
  text-align: center;
  padding: 24px 0;
}

.pay-spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border: 4px solid var(--light-gray-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: paySpin .8s linear infinite;
}

@keyframes paySpin {
  to {
    transform: rotate(360deg);
  }
}

.pay-processing p {
  color: var(--secondary-color);
  margin: 0;
}

.pay-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--success-color);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
}
.pay-success-icon i{
  font-size: 34px;
  color: #ffffff;
}

.pay-success h3 {
  margin: 0 0 6px;
  color: var(--title-color);
}

.pay-success p {
  color: var(--secondary-color);
  margin: 0 0 20px;
}

.pay-step[hidden] {
  display: none !important;
}

/* ===================== LIVE EVENTS ===================== */

/* --- Banner slider --- */
.event-banner {
  position: relative;
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
}

.event-banner-track {
  display: flex;
  height: 100%;
  transition: transform .5s ease;
}

.event-banner-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
}

.event-banner-slide img,
.event-banner-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.event-fs-target {
  position: absolute;
  inset: 0;
  background: #000;
}

.event-fs-target video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-fs-target:fullscreen,
.event-fs-target:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  background: #000;
}

.event-fs-target:fullscreen video,
.event-fs-target:-webkit-full-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-fs-ticket,
.event-fs-exit {
  display: none;
}

.event-fs-target:fullscreen .event-fs-ticket,
.event-fs-target:-webkit-full-screen .event-fs-ticket {
  display: inline-flex;
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 2;
  width: fit-content;
  margin: 0;
  padding: 12px 28px;
}

@media (max-width: 600px) {
  .event-fs-target:fullscreen .event-fs-ticket,
  .event-fs-target:-webkit-full-screen .event-fs-ticket {
    left: 16px;
    right: 16px;
    bottom: 20px;
    justify-content: center;
  }
}

.event-fs-target:fullscreen .event-fs-exit,
.event-fs-target:-webkit-full-screen .event-fs-exit {
  display: inline-flex;
  position: static;
}

.event-fs-mute {
  display: none;
}

.event-fs-target:fullscreen .event-fs-mute,
.event-fs-target:-webkit-full-screen .event-fs-mute {
  display: inline-flex;
}

.event-fs-controls {
  display: none;
}

.event-fs-target:fullscreen .event-fs-controls,
.event-fs-target:-webkit-full-screen .event-fs-controls {
  display: flex;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  gap: 8px;
}

.event-video-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  display: flex;
  gap: 8px;
}

.event-fs-btn {
  position: static;
}

.event-banner,
.vd-hero,
.event-hero {
  width: 100%;
  aspect-ratio: 35 / 44;
}

@media (max-width: 767px) {
  .event-banner,
  .vd-hero,
  .event-hero {
    max-height: 70vh;
  }
}

@media (min-width: 640px) {
  .event-banner,
  .vd-hero,
  .event-hero {
    aspect-ratio: 5 / 3;
  }
}

@media (min-width: 768px) {
  .event-banner,
  .vd-hero,
  .event-hero {
    aspect-ratio: 728 / 360;
  }
}

@media (min-width: 1024px) {
  .event-banner,
  .vd-hero,
  .event-hero {
    max-height: 454px;
  }
}

@media (min-width: 1280px) {
  .event-banner,
  .vd-hero,
  .event-hero {
    aspect-ratio: 12 / 5;
    max-height: none;
  }
}

.event-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 48px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, 0) 100%);
}

.event-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand);
}
.event-banner-tag i{
  color:#ffffff;
  font-size: 14px;
}

.event-banner-tag.upcoming {
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(4px);
}

.event-banner-overlay h2 {
  color: #fff;
  font-size: 38px;
  line-height: 1.15;
  max-width: 540px;
  margin: 0;
}

.event-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #e5e7eb;
  font-size: 15px;
}

.event-banner-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e5e7eb;
}
.event-banner-meta span i{
  color: #e5e7eb;
  font-size: 14px;
}
.event-banner-overlay .btn {
  width: fit-content;
  margin-top: 8px;
  padding: 10px 26px;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  opacity: 0;
  transition: opacity .25s ease, background .2s ease;
}
.banner-arrow i{
  color: #ffffff;
  font-size: 24px;
}

.event-banner:hover .banner-arrow {
  opacity: 1;
}

.banner-arrow:hover {
  background: rgba(0, 0, 0, .7);
}

.banner-arrow.prev {
  left: 16px;
}

.banner-arrow.next {
  right: 16px;
}

.event-banner-dots {
  position: absolute;
  bottom: 18px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.event-banner-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
}

.event-banner-dots button.active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .event-banner-overlay {
    padding: 24px;
  }

  .event-banner-overlay h2 {
    font-size: 26px;
  }
}

/* --- Search + filter toolbar --- */
.event-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0 24px;
}



/* --- Event card --- */
.event-card {
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.event-poster {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--light-white-color);
}

.event-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.event-card:hover .event-poster img {
  transform: scale(1.05);
}

.event-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--brand);
}
.event-badge i{
  color: #ffffff;
  font-size: 14px;
}

.event-badge.upcoming {
  background: var(--overlay-dark-color);
}

.event-badge.past {
  background: var(--overlay-dark-color);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1.2s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.event-price {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--overlay-dark-color);
}

.event-price.owned {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #1b7a4a;
}

.event-price.owned i {
  font-size: 13px;
  color: #fff;
}

.event-body {
  padding: 10px 4px 0;
}

.event-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--black-color);
  line-height: 1.3;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card:hover .event-title {
  color: var(--primary-color);
}

.event-meta {
  font-size: 15px;
  color: var(--secondary-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Event cards inside a horizontal rail */
/* Event cards inside a horizontal rail — 5 across on desktop */
/* Event listing cards — 4 across at 1440px / desktop */
.content-wrapper .sliderboxvideo .event-card,
.content-wrapper .sliderboxvideo .rank-card {
  flex: 0 0 calc((100% - 48px) / 4) !important;
  width: calc((100% - 48px) / 4);
  min-width: calc((100% - 48px) / 4);
}

.event-grid {
  display: grid;
  gap: 48px 16px;
  padding: 20px 0 40px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .content-wrapper .sliderboxvideo .event-card,
  .content-wrapper .sliderboxvideo .rank-card {
    flex-basis: calc((100% - 32px) / 3) !important;
    width: calc((100% - 32px) / 3);
    min-width: calc((100% - 32px) / 3);
  }

  .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .content-wrapper .sliderboxvideo .event-card,
  .content-wrapper .sliderboxvideo .rank-card {
    flex-basis: calc((100% - 16px) / 2) !important;
    width: calc((100% - 16px) / 2);
    min-width: calc((100% - 16px) / 2);
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .content-wrapper .sliderboxvideo .event-card,
  .content-wrapper .sliderboxvideo .rank-card {
    flex-basis: 100% !important;
    width: 100%;
    min-width: 100%;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Top 10 rank card --- */
.rank-card {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.content-wrapper .sliderboxvideo .rank-card {
  display: flex;
  align-items: stretch;
}

.rank-card .event-poster {
  flex: 1;
  aspect-ratio: 16 / 10;
}

.rank-card .event-body {
  display: none;
}

/* Move price to top on rank cards so the hover overlay can use the bottom */
.rank-card .event-price {
  top: 10px;
  bottom: auto;
}

/* Hover overlay with title + details (Top 10 cards) */
.event-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}

.rank-card:hover .event-hover {
  opacity: 1;
}

.event-hover-title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-hover-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e5e7eb;
  font-size: 13px;
  margin: 0;
}
.event-hover-meta i{
  color: #ffffff;
  font-size: 14px;
}

/* --- All events grid --- */
.event-empty {
  display: none;
  text-align: center;
  padding: 48px 0;
  color: var(--secondary-color);
}

.event-empty.show {
  display: block;
}

/* ===================== EVENT DETAIL ===================== */
.event-hero {
  position: relative;
  margin-top: 20px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.event-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 48px;
  background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .3) 65%, rgba(0, 0, 0, 0) 100%);
}

.event-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.event-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  padding: 4px 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(4px);
}

.event-hero-tag.live {
  background: var(--brand);
}

.event-hero-overlay h1 {
  color: #fff;
  font-size: 46px;
  line-height: 1.1;
  max-width: 660px;
  margin: 0;
}

.event-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #e5e7eb;
  font-size: 15px;
  margin: 14px 0 26px;
}

.event-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e5e7eb;
}
.event-hero-meta span i{
  color: #ffffff;
  font-size: 14px;
}

.event-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.event-hero-actions .btn, .js-book {
  padding: 11px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, .28);
}
.btn-ghost-light i, .btn-ghost-light span{
  color: #ffffff;
}
.btn-ghost-light i{
  font-size: 20px;
}

@media (max-width: 768px) {
  .event-hero-overlay {
    padding: 28px 22px;
  }

  .event-hero-overlay h1 {
    font-size: 30px;
  }
}

/* Detail body: description + info card */
.event-detail-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 40px 0;
}

@media (max-width: 900px) {
  .event-detail-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.event-detail-section {
  margin-bottom: 32px;
}

.event-detail-section h3 {
  font-size: 20px;
  color: var(--title-color);
  margin: 0 0 12px;
}

.event-detail-section p {
  color: var(--secondary-color);
  line-height: 1.7;
  margin: 0;
}

.event-detail-section .description {
  padding: 0;
  margin-top: 0;
  border: 0;
}

.event-detail-section .description.is-open p {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.lineup-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lineup-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--black-color);
  font-size: 14px;
  font-weight: 500;
}

.lineup-chip i {
  color: var(--primary-color);
}

.credit-summary {
  border-top: 1px solid var(--border-color);
}

.credit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.credit-label {
  flex: 0 0 148px;
  font-size: 15px;
  font-weight: 700;
  color: var(--title-color);
}

.credit-names {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.credit-names a {
  color: var(--primary-color);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.credit-names a:hover {
  text-decoration: underline;
}

.credit-dot {
  color: var(--secondary-color);
  font-weight: 700;
}

.credit-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 28px;
  height: 28px;
  color: var(--title-color);
  text-decoration: none;
}

.credit-more i {
  font-size: 22px;
  color: inherit;
}

.credit-viewmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 12px 0;
  color: var(--primary-color);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.credit-viewmore i {
  font-size: 18px;
  color: inherit;
}

.credit-viewmore:hover,
.credit-more:hover {
  color: var(--brand);
}

@media (max-width: 640px) {
  .credit-row {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .credit-label {
    flex-basis: 100%;
  }

  .credit-more {
    position: absolute;
    right: 0;
  }

  .credit-row {
    position: relative;
    padding-right: 32px;
  }
}

.event-info-card {
  align-self: start;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  background: var(--card-bg);
}

.event-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.event-info-row:last-of-type {
  border-bottom: none;
}

.event-info-row i {
  font-size: 20px;
  color: var(--primary-color);
  flex: 0 0 20px;
}

.event-info-row .label {
  font-size: 12px;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.event-info-row .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--black-color);
}

.event-info-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 16px 0;
}

.event-info-price span {
  color: var(--secondary-color);
  font-size: 14px;
}

.event-info-price strong {
  font-size: 26px;
  color: var(--title-color);
}

.event-info-card .btn {
  width: 100%;
  padding: 13px 16px;
}

/* ===================== EVENT SCHEDULE ===================== */
.sched {
  padding: 12px 0 72px;
}

.sched-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.sched-head h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.sched-head p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--secondary-color);
}

.sched-tz {
  flex-shrink: 0;
  height: 32px;
  padding: 0 12px;
  border-radius: 99px;
  background: var(--light-bg-color);
  color: var(--secondary-color);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
}

.sched-month {
  margin: 32px 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--secondary-color);
}

.sched-track {
  position: relative;
}

.sched-day {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.sched-day:last-child {
  margin-bottom: 0;
}

.sched-date {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 6px;
  width: 100px;
  padding: 10px 8px;
  border-radius: 14px;
  background: var(--light-bg-color);
  text-align: center;
}

.sched-date strong,
.sched-date span {
  white-space: nowrap;
}

.sched-date strong {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--title-color);
}

.sched-date span {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--title-color);
}

.sched-date em {
  flex-basis: 100%;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  color: var(--title-color);
}

.sched-day.is-today .sched-date {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.sched-day.is-today .sched-date strong,
.sched-day.is-today .sched-date span,
.sched-day.is-today .sched-date em {
  color: #fff;
}

.sched-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sched-row {
  display: grid;
  grid-template-columns: 92px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--light-white-color);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sched-row:hover{
  background: var(--primary-soft);
}

.sched-row:hover {
  border-color: var(--primary-color);
}

.sched-row.is-now {
  border-color: var(--primary-color);
  background: var(--primary-soft);
}

.sched-row time {
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--light-bg-color);
  color: var(--title-color);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sched-row.is-now time {
  background: var(--primary-color);
  color: #fff;
}

.sched-info {
  min-width: 0;
}

.sched-row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--title-color);
  overflow-wrap: anywhere;
}

.sched-row p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--secondary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.token-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-dark-color);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.token-overlay.show {
  display: flex;
}

.token-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--white-color);
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.token-page {
  max-width: none;
  padding: 0;
}

.token-page .token-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-color);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.token-page .token-icon i {
  font-size: 26px;
}

.token-page h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--title-color);
}

.token-page > p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--secondary-color);
}

.token-pin {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.token-pin input {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  background: var(--white-color);
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--title-color);
}

.token-pin input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.token-hint {
  margin: 0 0 16px !important;
  font-size: 13px !important;
}

.token-msg {
  min-height: 20px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
}

.token-msg.is-err {
  color: var(--primary-color);
}

.token-msg.is-ok {
  color: #1a7f37;
}

.token-page .btn {
  width: 100%;
}

.token-page .btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 480px) {
  .token-modal {
    padding: 28px 16px 20px;
  }

  .token-page h1 {
    font-size: 20px;
  }

  .token-pin {
    gap: 4px;
  }

  .token-pin input {
    height: 40px;
    font-size: 16px;
    border-radius: 8px;
  }
}

.sched-row .event-badge {
  position: static;
}

.sched-go {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-bg-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sched-go i {
  font-size: 24px;
  color: var(--title-color);
}

@media (max-width: 1200px) and (min-width: 769px) {
  .navbar .nav-center {
    flex-wrap: wrap;
  }

  .navbar .nav-center .search-form,
  .navbar .search-form:has(.search-pill),
  .navbar .search-form[data-adv] {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .navbar .event-nav {
    flex: 1 0 100%;
  }

  .navbar .event-nav .adv-toggle {
    flex: 1;
    min-width: 0;
  }

  .navbar .event-nav .adv-toggle span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  body.show-mobile-search .navbar .search-form[data-adv],
  body:has(.sr-layout) .navbar .search-form[data-adv] {
    flex-wrap: nowrap;
    width: auto;
    max-width: none;
    height: 40px;
  }

  .adv-panel {
    width: 100%;
    border-radius: 0;
  }

  .adv-dates {
    grid-template-columns: 1fr;
  }

  .vd-uploader .channel-info .actions {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .sched {
    padding-bottom: 48px;
  }

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

  .sched-head h1 {
    font-size: 28px;
  }

  .sched-day {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sched-date {
    width: fit-content;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 12px;
  }

  .sched-date em {
    flex-basis: auto;
    margin-top: 0;
  }

  .sched-row {
    grid-template-columns: auto 1fr auto;
    gap: 10px 12px;
    padding: 14px;
  }

  .sched-row time {
    grid-column: 1;
    justify-self: start;
  }

  .sched-row .sched-go {
    grid-column: 3;
    grid-row: 1;
  }

  .sched-row .sched-info {
    grid-column: 1 / -1;
  }

  .sched-row .event-badge {
    grid-column: 1 / 3;
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .adv-toggle {
    padding: 0 8px;
  }

  .navbar .nav-center .adv-toggle {
    padding: 0 6px;
    font-size: 11px;
  }

  .navbar .nav-center .adv-toggle span {
    display: inline;
    font-size: 12px;
  }

  .event-hero-overlay h1 {
    font-size: 24px;
  }

  .event-hero-meta {
    gap: 10px;
    font-size: 13px;
  }

  .sched-row {
    grid-template-columns: 1fr auto;
  }

  .sched-row .sched-go {
    grid-column: 2;
  }

  .sched-row .event-badge {
    grid-column: 1;
  }
}

/* ===================== SEARCH RESULTS ===================== */
.sr-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0 64px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.sr-filters {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-height: calc(100vh - 88px);
  padding: 18px 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--white-color);
  overflow: hidden;
}

.sr-filters-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  margin-right: -4px;
}

.sr-filters-body::-webkit-scrollbar {
  width: 6px;
}

.sr-filters-body::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: var(--border-color);
}

.sr-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 8px;
  margin-bottom: 8px;
}

.sr-filters-head h2 {
  margin: 0;
  font-size: 18px;
}

.sr-filters .adv-group {
  padding: 14px 0;
}

.sr-filters .adv-group + .adv-group {
  border-top: 1px solid var(--border-color);
}

.sr-filters .adv-group p {
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 8px;
}

.sr-cat-list,
.sr-check-list,
.sr-price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sr-cat,
.sr-price-link {
  display: block;
  width: 100%;
  padding: 4px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 14px;
  line-height: 22px;
  color: var(--title-color);
  cursor: pointer;
}

.sr-cat.is-on,
.sr-price-link.is-on {
  font-weight: 600;
  color: var(--primary-color);
}

.sr-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--title-color);
  cursor: pointer;
}

.sr-check input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.sr-more {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  cursor: pointer;
}

.adv-group:not(.is-expanded) .is-more {
  display: none;
}

.sr-price-custom {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.sr-price-custom input {
  width: 0;
  flex: 1;
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--white-color);
  color: var(--title-color);
  font-size: 13px;
  outline: none;
}

.sr-price-custom input:focus {
  border-color: var(--primary-color);
}

.sr-price-custom span {
  color: var(--secondary-color);
  font-size: 14px;
}

.sr-price-go {
  flex-shrink: 0;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--light-bg-color);
  color: var(--title-color);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.sr-clear {
  border: 0;
  background: none;
  color: var(--primary-color);
  font-size: 13px;
  cursor: pointer;
  margin-left: auto;
}

.sr-filter-toggle,
.sr-filters-close {
  display: none;
}

.sr-results {
  min-width: 0;
  max-width: 100%;
}

.main-layout .content-wrapper:has(.sr-layout) {
  overflow-x: hidden;
}

body.sr-filter-open {
  overflow: hidden;
}

.sr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.sr-head h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 24px;
}

.sr-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  color: var(--title-color);
  text-decoration: none;
}

.sr-back i {
  font-size: 22px;
  color: inherit;
}

.sr-back:hover,
.sr-back:hover i {
  color: var(--primary-color);
}

.sr-head #srCount {
  font-size: 16px;
  font-weight: 500;
  color: var(--secondary-color);
}

.sr-list {
  display: flex;
  flex-direction: column;
}

.sr-item {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
}

.sr-thumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--light-white-color);
  aspect-ratio: 16 / 10;
}

.sr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sr-body h3 a {
  color: inherit;
  text-decoration: none;
}

.sr-body h3 a:hover {
  color: var(--primary-color);
}

.sr-thumb .duration,
.sr-thumb .event-price {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: auto;
  top: auto;
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--overlay-dark-color);
}

.sr-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--title-color);
}

.sr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--secondary-color);
}

.sr-meta i {
  font-size: 14px;
  color: var(--secondary-color);
}

.sr-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--secondary-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sr-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sr-foot strong {
  font-size: 20px;
  color: var(--title-color);
}

.sr-foot .btn {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.sr-filters-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 310;
  border: 0;
  background: var(--overlay-dark-color);
}

@media (max-width: 980px) {
  .sr-layout {
    display: block;
  }

  .sr-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: 49px;
    background: var(--light-bg-color);
    color: var(--title-color);
    font-size: 14px;
    cursor: pointer;
  }

  .sr-filters-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--light-bg-color);
    cursor: pointer;
  }

  .sr-filters {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 320;
    width: min(320px, 100%);
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    overflow: hidden;
    transform: translateX(-100%);
    transition: transform .25s ease;
    pointer-events: none;
  }

  .sr-filters.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  body.sr-filter-open .sr-filters-backdrop {
    display: block;
  }
}

@media (max-width: 640px) {
  .sr-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sr-thumb {
    aspect-ratio: 16 / 9;
  }
}

.credits-page {
  max-width: 880px;
  padding: 8px 0 64px;
}

.credits-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 36px;
}

.credits-head h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.3;
}

.credits-head p {
  margin: 4px 0 0;
  color: var(--secondary-color);
  font-size: 15px;
}

.credits-block {
  margin-bottom: 40px;
}

.credits-block h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: var(--title-color);
}

.credits-note {
  margin: 0 0 20px;
  color: var(--secondary-color);
  font-size: 14px;
}

.program-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.program-item {
  display: grid;
  grid-template-columns: 48px 72px 1fr;
  align-items: center;
  gap: 16px;
  position: relative;
  padding: 14px 0;
}

.program-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 54px;
  bottom: -14px;
  width: 2px;
  background: var(--border-color);
}

.program-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light-white-color);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
}

.program-item img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--light-gray-color);
}

.program-item h3 {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 700;
  color: var(--title-color);
}

.program-slot {
  margin: 0;
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.artist-card {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--white-color);
}

.artist-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.artist-card h3 {
  margin: 12px 14px 2px;
  font-size: 18px;
  font-weight: 700;
  color: var(--title-color);
}

.artist-card p {
  margin: 0 14px 14px;
  color: var(--secondary-color);
  font-size: 14px;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.crew-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--white-color);
}

.crew-card > div {
  min-width: 0;
}

.crew-card img,
.crew-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.crew-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
}

.crew-icon i {
  font-size: 22px;
  color: var(--primary-color);
}

.crew-card p {
  margin: 2px 0 0;
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crew-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--title-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .artist-grid,
  .crew-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .program-item {
    grid-template-columns: 40px 56px 1fr;
    gap: 12px;
  }

  .program-num {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .program-item:not(:last-child)::before {
    left: 19px;
    top: 46px;
  }

  .program-item img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .artist-grid,
  .crew-grid {
    grid-template-columns: 1fr;
  }
}