/* Copy Animation */
.base--color {
  color: hsl(var(--base)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #ff7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #d9dade;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: transform 0.45s ease;
  background: #1d1d4e;
  border-radius: 5px;
  transform: translateY(120%);
  will-change: transform;
}

.cookies-card.is-visible {
  transform: translateY(0);
}

.cookies-card.hide {
  transform: translateY(120%);
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 80%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: "";
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

.show-filter {
  display: none;
}

@media (max-width: 767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

.error {
  color: #dc3545;
}

.input-group label.error {
  top: 100%;
  position: absolute;
}

.subscribe-form label.error {
  top: 100%;
  position: absolute;
}

body {
  min-height: calc(100vh + 30px);
}

label.required:after {
  content: "*";
  color: #dc3545 !important;
  margin-left: 2px;
}

/* ////////////////// select 2 css //////////////// */
.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 9px rgba(50, 50, 9, 0.05),
    6px 4px 19px rgb(115 103 240 / 20%);
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: #ced4da !important;
  padding: 10px 20px;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eee;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  display: none;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 0;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: 0.3s;
}

.select2-container--default .select2-selection--single {
  border-color: #ced4da !important;
  border-width: 2px !important;
  border-radius: 0.375rem !important;
  padding: 0.375rem 0.75rem !important;
  height: 100% !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 8px !important;
}

.select2-container--default.select2-container--open
  .select2-selection--single
  .select2-selection__arrow:after {
  transform: rotate(-180deg);
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f1f1 !important;
  color: #000 !important;
}

.select2-container--default
  .select2-search--dropdown
  .select2-search__field:focus {
  border-color: hsl(var(--base)) !important;
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}
.select2-container--open .select2-selection.select2-selection--single,
.select2-container--open .select2-selection.select2-selection--multiple {
  border-color: hsl(var(--base)) !important;
  border-radius: 0.375rem !important;
}

.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: hsl(var(--base));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: rgb(255 255 255 / 10%);
  --hover-border-color: hsl(var(--base));
  background-color: #1b1b3f;
  border-radius: 5px;
  height: 100%;
}

.payment-system-list.is-scrollable {
  max-height: min(437px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: hsl(var(--base));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border-top: 1px solid var(--border-color);
  transition: all 0.3s;
  border-left: 3px solid transparent;
  margin: 0;
}

.payment-item:first-child {
  border-top-color: #1b1b3f;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid hsl(var(--base));
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid hsl(var(--base));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width));
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid hsl(var(--base));
  display: inline-block;
  border-radius: 100%;
}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
  color: #b5b5b7;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
    width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}

.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 8px;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
    align-self: center;
    padding-left: 5px;
  }
}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;
}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px;
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: #1b1b3f;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-weight: 500;
}

.payment-item:hover + .payment-item__btn {
  border-top-color: #fff;
}
.payment-item__btn-text,
.payment-item__btn__icon {
  color: #fff;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

span.selection {
  display: block;
}

.select2-container--default .select2-selection--single {
  border-color: rgb(255 255 255 / 10%) !important;
  border-width: 1px !important;
  border-radius: 4px !important;
  padding: 0.6rem 0.75rem !important;
  height: 50px !important;
  background-color: transparent;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #fff;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 11px !important;
}

.select2-container--open .select2-selection.select2-selection--single,
.select2-container--open .select2-selection.select2-selection--multiple {
  border-color: hsl(var(--base)) !important;
  border-radius: 4px !important;
}

.select2 .dropdown-wrapper {
  display: none;
}

.select2-dropdown {
  background-color: #0d0d31;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: rgb(255 255 255 / 10%) !important;
  padding: 6px 20px;
  border-radius: 4px;
  background: #1b1b3f;
  color: #fff !important;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: hsl(var(--base)) !important;
  color: #fff !important;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  border: 0 !important;
}

.btn-close-white {
  background-color: rgb(255 255 255 / 10%);
  border-radius: 50%;
  height: 32px;
  width: 32px;
  filter: unset;
}

/* Premium Golden/Orange Gradient & Shadows (Matching Site Logo) */
.btn--base, .cmn-btn, .subscribe-btn, .btn-primary {
  background: linear-gradient(135deg, #FFAF00 0%, #FF8F00 50%, #E67E22 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: none !important;
  text-shadow: none !important;
  box-shadow: 0 4px 15px rgba(255, 175, 0, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.btn--base:hover, .cmn-btn:hover, .subscribe-btn:hover, .btn-primary:hover {
  background: linear-gradient(135deg, #FFC107 0%, #FFAF00 50%, #FF8F00 100%) !important;
  box-shadow: 0 6px 20px rgba(255, 175, 0, 0.45) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

/* Base border updates for inputs and buttons on focus */
.form-control:focus {
  border-color: #FFAF00 !important;
  box-shadow: 0 0 8px rgba(255, 175, 0, 0.25) !important;
}

/* Gradient text accents for headers and active states */
.text-gradient-logo {
  background: linear-gradient(135deg, #FFAF00 0%, #FF8F00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header profile dropdown */
.header-profile-dropdown {
  position: relative !important;
}

.header-profile-dropdown__name {
  max-width: 8.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}

.profile-menu {
  overflow: hidden;
  border-radius: 0.65rem !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
  direction: rtl;
  text-align: right;
  margin-top: 0.45rem !important;
}

/*
 * Profile menu: fixed + viewport-clamped via partials/profile_menu_position.
 * Theme right:0 would push a wide panel off the left edge when the name is short.
 */
.header .nav-right .header-profile-dropdown {
  position: relative !important;
  overflow: visible !important;
}

.header .nav-right .header-profile-dropdown > .profile-menu.dropdown-menu,
.header .nav-right .header-profile-dropdown > .profile-menu.dropdown-menu.show,
.header .nav-right .header-profile-dropdown > .profile-menu.dropdown-menu[data-bs-popper],
.header .nav-right .header-profile-dropdown > .profile-menu.dropdown-menu[data-bs-popper="static"] {
  position: fixed !important;
  left: 12px !important;
  right: auto !important;
  inset-inline-start: unset !important;
  inset-inline-end: unset !important;
  transform: none !important;
  translate: none !important;
  width: min(16rem, calc(100vw - 24px)) !important;
  min-width: 0 !important;
  max-width: calc(100vw - 24px) !important;
  margin: 0 !important;
  z-index: 1080 !important;
}

.profile-menu__header {
  position: relative;
  border-bottom: none !important;
}

.profile-menu__header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    rgba(255, 175, 0, 0.55),
    rgba(255, 255, 255, 0.12),
    transparent
  );
}

.profile-menu-divider {
  position: relative;
  height: 1px;
  margin: 0.45rem 1rem;
  padding: 0;
  border: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 175, 0, 0.35),
    transparent
  );
  opacity: 1;
}

.profile-menu-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 5px;
  background: #ffaf00;
  box-shadow: 0 0 10px rgba(255, 175, 0, 0.75);
}

.profile-menu .dropdown-menu__item {
  border-bottom: none !important;
  transition: background-color 0.2s ease;
}

.profile-menu .dropdown-menu__item:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.profile-menu .switch-profile-item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.profile-menu .switch-profile-item {
  position: relative;
}

.profile-menu .dropdown-menu__caption {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 13px;
}

.profile-menu .dropdown-menu__icon {
  color: #ffaf00;
}

/* Parent control — header nav item (keep same vertical rhythm as other menu links) */
.header .main-menu li.parent-control-nav-item {
  position: relative;
  top: -2px;
}

.header .main-menu li.parent-control-nav-item > a.parent-control-nav-link {
  display: inline-block;
  padding: 20px 0 !important;
  line-height: 1;
  vertical-align: middle;
  text-transform: uppercase;
}

.parent-control-nav-link__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 0.35rem;
  line-height: 1.2;
  vertical-align: middle;
  color: #ffaf00;
  font-weight: 700;
  background: rgba(255, 175, 0, 0.12);
  border: 1px solid rgba(255, 175, 0, 0.5);
  box-shadow: 0 0 12px rgba(255, 175, 0, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header .main-menu li.parent-control-nav-item:hover > a.parent-control-nav-link,
.header .main-menu li.parent-control-nav-item.menu_has_children:hover > a.parent-control-nav-link {
  color: inherit !important;
}

.header .main-menu li.parent-control-nav-item:hover .parent-control-nav-link__pill,
.header .main-menu li.parent-control-nav-item.menu_has_children:hover .parent-control-nav-link__pill {
  color: #1a1a2e;
  background: #ffaf00;
  border-color: #ffaf00;
}

.parent-control-nav-link__icon {
  font-size: 0.95rem;
  line-height: 1;
}

.parent-control-nav-link__badge {
  color: #ffe08a;
  font-weight: 600;
}

@media (max-width: 1199px) {
  .header .main-menu li.parent-control-nav-item {
    top: 0;
  }

  .header .main-menu li.parent-control-nav-item > a.parent-control-nav-link {
    padding: 11px 12px !important;
    display: flex;
    align-items: center;
  }

  .parent-control-nav-link__pill {
    width: fit-content;
  }
}

/* Header category / more dropdown — dark panel for readable contrast */
.header .main-menu li .sub-menu,
.header-bottom-area .navbar-collapse .main-menu li .sub-menu {
  background-color: #1a1a2e !important;
  border: 1px solid rgba(255, 175, 0, 0.25) !important;
  border-top: 2px solid #ffaf00 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55) !important;
}

.header .main-menu li .sub-menu li a,
.header-bottom-area .navbar-collapse .main-menu li .sub-menu li a {
  color: #e8eaef !important;
  font-weight: 500;
}

.header .main-menu li .sub-menu li a:hover,
.header-bottom-area .navbar-collapse .main-menu li .sub-menu li a:hover {
  background-color: rgba(255, 175, 0, 0.14) !important;
  color: #ffaf00 !important;
  text-decoration: none;
}

/* Multi-column category dropdowns (desktop) — fill column then spill to next */
@media (min-width: 1200px) {
  .header .main-menu > li > .sub-menu:not(.parent-control-sub-menu) {
    width: 200px;
    min-width: 200px;
    max-width: min(90vw, 640px);
    height: auto;
    max-height: calc(100vh - 100px);
    padding: 8px 0;
    overflow: hidden;
    column-gap: 0;
    column-fill: auto;
    column-count: 1;
    right: 0;
    left: auto;
  }

  .header .main-menu > li > .sub-menu:not(.parent-control-sub-menu).sub-menu--cols-1 {
    width: 200px;
    column-count: 1;
  }

  .header .main-menu > li > .sub-menu:not(.parent-control-sub-menu).sub-menu--cols-2 {
    width: 400px;
    column-count: 2;
    height: var(--sub-menu-h, auto);
  }

  .header .main-menu > li > .sub-menu:not(.parent-control-sub-menu).sub-menu--cols-3 {
    width: 600px;
    column-count: 3;
    height: var(--sub-menu-h, auto);
  }

  .header .main-menu > li > .sub-menu:not(.parent-control-sub-menu) > li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    width: 200px;
    max-width: 200px;
  }

  .header .main-menu > li > .sub-menu:not(.parent-control-sub-menu) > li > a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Parent control header submenu */
.header .main-menu li .sub-menu.parent-control-sub-menu,
.header-bottom-area .navbar-collapse .main-menu li .sub-menu.parent-control-sub-menu {
  min-width: 240px;
  direction: rtl;
  text-align: right;
  background-color: #1a1a2e !important;
  border: 1px solid rgba(255, 175, 0, 0.25) !important;
  border-top: 2px solid #ffaf00 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55) !important;
  padding: 0.35rem 0 !important;
}

.parent-control-sub-menu .parent-control-age-item {
  display: block;
  color: #cbd5e1 !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.parent-control-sub-menu .parent-control-profile-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.2rem 0.55rem;
  padding: 0.45rem 0.65rem !important;
  border-radius: 0.4rem;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.parent-control-sub-menu .parent-control-profile-link span {
  color: #f8fafc !important;
  font-weight: 500;
}

.parent-control-sub-menu .parent-control-manage-link {
  display: block;
  color: #ffaf00 !important;
  font-weight: 600;
  padding-top: 0.15rem !important;
}

.parent-control-sub-menu .parent-control-age-item:hover,
.parent-control-sub-menu .parent-control-profile-link:hover,
.parent-control-sub-menu .parent-control-manage-link:hover {
  color: #ffaf00 !important;
  background-color: rgba(255, 175, 0, 0.1);
}

.parent-control-sub-menu .parent-control-profile-link:hover span {
  color: #ffaf00 !important;
}

.parent-control-sub-menu .is-active.parent-control-age-item,
.parent-control-sub-menu .is-active.parent-control-profile-link,
.parent-control-sub-menu .is-active.parent-control-profile-link span {
  color: #ffaf00 !important;
  font-weight: 700;
}

.parent-control-sub-menu .is-active.parent-control-profile-link {
  background: rgba(255, 175, 0, 0.14);
  border-color: rgba(255, 175, 0, 0.45);
}

.parent-control-sub-menu .is-active::before {
  content: "●";
  font-size: 8px;
  margin-left: 4px;
  color: #ffaf00;
}

.parent-control-divider {
  height: 1px;
  margin: 0.35rem 0.75rem;
  padding: 0;
  list-style: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  pointer-events: none;
}

.parent-control-divider a {
  display: none;
}

/* ========== Site footer ========== */
.site-footer {
  direction: rtl;
  background:
    linear-gradient(180deg, rgba(13, 13, 49, 0.35) 0%, transparent 40%),
    #151532;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__main {
  padding: 64px 0 48px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.85fr)) minmax(0, 1.15fr);
  gap: 40px 32px;
  align-items: start;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.site-footer__logo img {
  max-width: 148px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-footer__about {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.58);
}

.site-footer__title {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.site-footer__title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: hsl(var(--base));
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-footer__links a:hover {
  color: #fff;
  transform: translateX(-3px);
}

.site-footer__links a:hover::before {
  background: hsl(var(--base));
  transform: scale(1.15);
}

.site-footer__apps-desc {
  margin: -8px 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__col--apps .download-links {
  margin-top: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.site-footer__col--apps .download-links__badge {
  width: 100%;
  max-width: 220px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 8, 28, 0.72);
  padding: 18px 0;
}

.site-footer__bottom-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1.2fr);
  gap: 20px 28px;
  align-items: center;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer__copy,
.site-footer__credit {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.52);
}

.site-footer__credit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}

.site-footer__copy a,
.site-footer__credit a {
  color: hsl(var(--base));
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer__copy a:hover,
.site-footer__credit a:hover {
  opacity: 0.85;
}

.site-footer__sapra-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-footer__sapra-link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.site-footer__sapra-logo {
  width: 42px;
  height: auto;
}

.site-footer__sapra-title {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.site-footer__policies {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.site-footer__policies a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__policies a:hover {
  color: hsl(var(--base));
}

@media (max-width: 1199px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__about {
    max-width: 54ch;
  }
}

@media (max-width: 767px) {
  .site-footer__main {
    padding: 48px 0 36px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__brand {
    grid-column: auto;
    text-align: center;
  }

  .site-footer__logo {
    justify-content: center;
  }

  .site-footer__about {
    max-width: none;
    margin-inline: auto;
  }

  .site-footer__title {
    text-align: center;
  }

  .site-footer__title::after {
    right: 50%;
    transform: translateX(50%);
  }

  .site-footer__links {
    align-items: center;
  }

  .site-footer__apps-desc {
    text-align: center;
  }

  .site-footer__col--apps .download-links {
    align-items: center;
  }

  .site-footer__bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .site-footer__legal {
    align-items: center;
    order: 2;
  }

  .site-footer__sapra {
    order: 1;
  }

  .site-footer__policies {
    justify-content: center;
    order: 3;
  }
}

/* Compact mobile header + polished hamburger menu */
@media (max-width: 1199px) {
  .header {
    z-index: 1050;
  }

  .header.active {
    background: #0a0e24;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  }

  .header__bottom,
  .header.menu-fixed .header__bottom {
    padding: 8px 16px;
  }

  .header .navbar {
    min-height: 0;
    position: relative;
  }

  .header .site-logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
  }

  .header .site-logo img {
    max-width: 110px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .header .logo-icon {
    display: none;
  }

  .header .navbar-toggler {
    width: 42px;
    height: 42px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .header .navbar-toggler:hover,
  .header .navbar-toggler:focus,
  .header .navbar-toggler[aria-expanded="true"] {
    background: rgba(255, 175, 0, 0.12);
    border-color: rgba(255, 175, 0, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 175, 0, 0.12);
    outline: none;
  }

  .header .menu-toggle {
    margin: 0;
    width: 20px;
    height: 14px;
    border-top-width: 2px;
    border-bottom-width: 2px;
    color: #ffffff;
  }

  .header .menu-toggle:before,
  .header .menu-toggle:after {
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
  }

  .header .menu-toggle.is-active {
    border-color: transparent;
  }

  .header .navbar-collapse {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 1051;
    max-height: min(72vh, 560px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, #121633 0%, #0b0f28 100%);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(255, 175, 0, 0.08);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .header .navbar-collapse.collapsing,
  .header .navbar-collapse.show {
    display: block;
  }

  .header .main-menu {
    width: 100%;
    margin: 0;
    padding: 4px 0 8px;
  }

  .header .main-menu li {
    margin: 0 0 4px;
    width: 100%;
  }

  .header .main-menu li + li {
    margin-left: 0;
    margin-right: 0;
  }

  .header .main-menu li a {
    padding: 12px 14px;
    border-bottom: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #e8eaf6;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .header .main-menu li a:hover,
  .header .main-menu li a:focus {
    color: #ffaf00;
    background: rgba(255, 175, 0, 0.1);
  }

  .header .main-menu li.menu_has_children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 2px;
  }

  .header .main-menu li.menu_has_children > a {
    flex: 0 1 auto;
    max-width: calc(100% - 40px);
    padding: 12px 14px;
    padding-left: 8px;
  }

  .header .main-menu li.menu_has_children > span {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    place-content: unset;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75);
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
  }

  .header .main-menu li.menu_has_children > span:hover {
    color: #ffaf00;
    background: rgba(255, 255, 255, 0.06);
  }

  .header .main-menu li.menu_has_children.open > span {
    color: #ffaf00;
    transform: none;
  }

  .header .main-menu li.menu_has_children > span i,
  .header .main-menu li.menu_has_children.open > span i {
    display: inline-block;
    line-height: 1;
    font-size: 16px;
    transition: transform 0.25s ease;
  }

  .header .main-menu li.menu_has_children.open > span i {
    transform: rotate(180deg);
  }

  .header .main-menu li.menu_has_children > .sub-menu {
    flex: 1 1 100%;
    width: 100%;
  }

  .header .main-menu li .sub-menu {
    margin: 2px 0 8px;
    padding: 6px;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    column-count: 1 !important;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: none;
    right: auto !important;
    left: auto !important;
    transform: none !important;
  }

  .header .main-menu li .sub-menu > li {
    width: auto !important;
    max-width: none !important;
  }

  .header .main-menu li .sub-menu li {
    margin: 0;
  }

  .header .main-menu li .sub-menu li a {
    padding: 10px 12px;
    font-size: 13px;
    color: #c8cce0;
  }

  .header .main-menu li .sub-menu li a:hover {
    color: #ffffff;
    background: rgba(255, 175, 0, 0.12);
    text-decoration: none;
  }

  .header .nav-right {
    width: 100%;
    margin: 10px 0 0;
    padding: 12px 4px 4px;
    gap: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: stretch;
  }

  .header .nav-right a {
    flex: 1 1 auto;
    min-width: calc(50% - 6px);
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
    text-transform: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .header .nav-right a:hover {
    color: #ffaf00;
    border-color: rgba(255, 175, 0, 0.4);
    background: rgba(255, 175, 0, 0.1);
  }

  .header .nav-right a + a {
    margin-left: 0;
  }

  .header .nav-right a i {
    margin-left: 6px;
    margin-right: 0;
    font-size: 18px;
  }

  .header .nav-right__search-btn {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
  }

  .header .nav-right .dropdown {
    width: 100%;
  }

  .header .nav-right .dropdown > button {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.05) !important;
  }

  .body-overlay {
    z-index: 1040;
    background-color: rgba(4, 6, 18, 0.72);
    backdrop-filter: blur(2px);
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 575px) {
  .header__bottom,
  .header.menu-fixed .header__bottom {
    padding: 6px 12px;
  }

  .header .site-logo img {
    max-width: 96px;
    max-height: 36px;
  }

  .header .navbar-toggler {
    width: 40px;
    height: 40px;
  }

  .header .navbar-collapse {
    top: calc(100% + 6px);
    padding: 8px 10px 12px;
    max-height: min(78vh, 520px);
  }

  .header .main-menu li a {
    padding: 11px 12px;
  }

  .header .nav-right a {
    min-width: 100%;
  }
}

/* Footer app download badges */
.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  align-items: center;
}

.download-links__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 158px;
  height: 52px;
  padding: 0 16px 0 14px;
  border-radius: 12px;
  text-decoration: none !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.download-links__badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  color: #fff !important;
}

.download-links__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
}

.download-links__badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  gap: 2px;
}

.download-links__badge-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.78;
}

.download-links__badge-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.download-links__badge--android {
  background: linear-gradient(145deg, #1b2430 0%, #111821 100%);
}

.download-links__badge--android .download-links__badge-icon {
  background: rgba(61, 220, 132, 0.14);
  color: #3ddc84;
}

.download-links__badge--android:hover {
  border-color: rgba(61, 220, 132, 0.45);
}

.download-links__badge--tv {
  background: linear-gradient(145deg, #1a2030 0%, #0f141f 100%);
}

.download-links__badge--tv .download-links__badge-icon {
  background: hsla(var(--base), 0.16);
  color: hsl(var(--base));
}

.download-links__badge--tv:hover {
  border-color: hsla(var(--base), 0.55);
}

.download-links__badge--bazaar {
  background: linear-gradient(145deg, #1a2820 0%, #101812 100%);
}

.download-links__badge--bazaar .download-links__badge-icon {
  background: rgba(15, 163, 86, 0.16);
  color: #0fa356;
}

.download-links__badge--bazaar:hover {
  border-color: rgba(15, 163, 86, 0.5);
}

.download-links__badge--myket {
  background: linear-gradient(145deg, #1a2230 0%, #10151f 100%);
}

.download-links__badge--myket .download-links__badge-icon {
  background: rgba(0, 145, 234, 0.16);
  color: #0091ea;
}

.download-links__badge--myket:hover {
  border-color: rgba(0, 145, 234, 0.5);
}

.download-links__badge--smarttv {
  background: linear-gradient(145deg, #22202c 0%, #15131c 100%);
}

.download-links__badge--smarttv .download-links__badge-icon {
  background: rgba(196, 161, 90, 0.16);
  color: #c4a15a;
}

.download-links__badge--smarttv:hover {
  border-color: rgba(196, 161, 90, 0.5);
}

/* Homepage app download strip — desktop only */
.home-app-strip {
  display: none;
  padding: 0 0 72px;
}

@media (min-width: 992px) {
  .home-app-strip {
    display: block;
  }

  .home-app-strip__panel {
    position: relative;
    overflow: hidden;
    padding: 28px 32px 32px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
      radial-gradient(120% 140% at 100% 0%, hsla(var(--base), 0.12) 0%, transparent 55%),
      radial-gradient(90% 120% at 0% 100%, rgba(61, 220, 132, 0.08) 0%, transparent 50%),
      linear-gradient(155deg, rgba(18, 22, 30, 0.96) 0%, rgba(10, 12, 18, 0.98) 100%);
    box-shadow:
      0 24px 48px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .home-app-strip__glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
    pointer-events: none;
  }

  .home-app-strip__glow--left {
    top: -80px;
    left: -40px;
    background: hsla(var(--base), 0.35);
  }

  .home-app-strip__glow--right {
    bottom: -90px;
    right: -30px;
    background: rgba(0, 145, 234, 0.28);
  }

  .home-app-strip__head {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 26px;
  }

  .home-app-strip__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: hsla(var(--base), 0.9);
  }

  .home-app-strip__eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: hsl(var(--base));
    box-shadow: 0 0 12px hsla(var(--base), 0.75);
  }

  .home-app-strip__title {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
  }

  .home-app-strip__desc {
    margin: 0;
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
  }

  .home-app-strip__links {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    margin-top: 0;
  }

  .home-app-strip__badge {
    flex: 1 1 170px;
    max-width: 220px;
    min-width: 0;
    height: 56px;
    justify-content: flex-start;
  }

  .home-app-strip__badge .download-links__badge-title {
    font-size: 14px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .home-app-strip__panel {
    padding: 24px 22px 26px;
  }

  .home-app-strip__badge {
    flex: 1 1 calc(33.333% - 12px);
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .home-app-strip__links {
    flex-wrap: nowrap;
    gap: 14px;
  }

  .home-app-strip__badge {
    flex: 1 1 0;
    max-width: none;
  }
}

@media (min-width: 1400px) {
  .home-app-strip {
    padding-bottom: 84px;
  }

  .home-app-strip__panel {
    padding: 32px 40px 36px;
  }

  .home-app-strip__links {
    gap: 16px;
  }

  .home-app-strip__badge {
    height: 58px;
  }
}

/* Homepage section skeleton (legacy; loader removed) */
.home-section-sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
}

.home-section-skeleton {
  padding: 16px 0 24px;
  min-height: 0;
}

@media (max-width: 991px) {
  .home-section-skeleton {
    padding: 12px 0 16px;
  }

  .home-section-skeleton .skeleton-card {
    max-height: 120px;
  }

  .home-section-skeleton .col-4:nth-child(n + 4) {
    display: none;
  }
}

/* Lazy thumbs: reserved space + soft fade-in */
.lazy-loading-img {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lazy-loading-img.is-loaded,
.lazy-loading-img.js-img-resilient.is-loaded {
  opacity: 1;
}

/* Spotlight banners: bg applied via IntersectionObserver */
.bg_img.js-lazy-bg {
  background-color: #0d0d12;
  background-size: cover;
  background-position: center;
  transition: background-image 0.25s ease;
}

.home-section-skeleton[hidden] {
  display: none !important;
}

.home-section-skeleton .skeleton-title {
  width: 180px;
  height: 28px;
  margin-bottom: 24px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 75%);
  background-size: 200% 100%;
  animation: home-skeleton-shimmer 1.2s ease-in-out infinite;
}

.home-section-skeleton .skeleton-card {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 75%);
  background-size: 200% 100%;
  animation: home-skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes home-skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========== Top charts (Trending / Top Rated / Featured) ========== */
.top-charts__panel {
  height: 100%;
  padding: 20px 18px 8px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.top-charts__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-charts__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: hsla(var(--base), 0.18);
  color: hsl(var(--base));
  font-size: 14px;
  flex-shrink: 0;
}

.top-charts__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.top-charts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.top-charts__item {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.top-charts__item:last-child {
  border-bottom: 0;
}

.top-charts__rank {
  flex: 0 0 28px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 22px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: hsla(var(--base), 0.85);
  font-variant-numeric: tabular-nums;
}

.top-charts__rank--gold {
  color: #f5c518;
}

.top-charts__link {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.top-charts__link:hover {
  opacity: 0.92;
}

.top-charts__link:hover .top-charts__name {
  color: hsl(var(--base-l-200));
}

.top-charts__link:hover .top-charts__cta {
  color: hsl(var(--base));
}

.top-charts__thumb {
  position: relative;
  flex: 0 0 72px;
  width: 72px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.top-charts__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-charts__thumb .esra-badge--compact {
  transform: scale(0.85);
  transform-origin: top right;
}

.top-charts__thumb .movie-card__meta-strip {
  padding: 14px 3px 3px;
  gap: 2px;
}

.top-charts__thumb .movie-card__chip {
  font-size: 8px;
  padding: 1px 3px;
}

.top-charts__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 2px 0;
}

.top-charts__name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.top-charts__meta {
  justify-content: flex-start !important;
  margin: 0 !important;
  gap: 8px;
  flex-wrap: wrap;
}

.top-charts__meta li {
  margin: 0 !important;
  font-size: 12px;
}

.top-charts__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.top-charts__cta i {
  font-size: 10px;
}

.top-charts__empty {
  padding: 28px 8px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  list-style: none;
}

.top-charts__featured {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.top-charts__featured--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
}

.top-charts__featured-link {
  display: block;
  height: 100%;
  min-height: 420px;
  text-decoration: none;
  color: inherit;
}

.top-charts__featured-media {
  position: absolute;
  inset: 0;
}

.top-charts__featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.top-charts__featured-link:hover .top-charts__featured-media img {
  transform: scale(1.04);
}

.top-charts__featured-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 12, 0.88) 0%, rgba(8, 8, 12, 0.45) 48%, rgba(8, 8, 12, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 8, 12, 0.92) 0%, rgba(8, 8, 12, 0.25) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.top-charts__featured-content {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 28px 30px;
  max-width: 560px;
}

.top-charts__featured-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: hsla(var(--base), 0.92);
}

.top-charts__featured-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.top-charts__featured-meta {
  justify-content: flex-start !important;
  margin: 0 !important;
  gap: 10px;
}

.top-charts__featured-meta li {
  margin: 0 !important;
}

.top-charts__featured-meta li span {
  color: rgba(255, 255, 255, 0.9);
}

.top-charts__featured-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top-charts__featured-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.top-charts__featured-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: hsl(var(--base));
  color: #fff;
  font-size: 14px;
  box-shadow: 0 8px 24px hsla(var(--base), 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.top-charts__featured-link:hover .top-charts__featured-play-icon {
  transform: scale(1.06);
  box-shadow: 0 10px 28px hsla(var(--base), 0.5);
}

@media (max-width: 1399px) {
  .top-charts__featured,
  .top-charts__featured-link {
    min-height: 380px;
  }
}

@media (max-width: 1199px) {
  .top-charts__featured,
  .top-charts__featured-link {
    min-height: 320px;
  }

  .top-charts__featured-content {
    max-width: 100%;
    padding: 22px;
  }
}

@media (max-width: 575px) {
  .top-charts__panel {
    padding: 16px 14px 4px;
  }

  .top-charts__title {
    font-size: 18px;
  }

  .top-charts__rank {
    flex-basis: 22px;
    font-size: 18px;
    padding-top: 18px;
  }

  .top-charts__thumb {
    flex-basis: 60px;
    width: 60px;
    height: 84px;
  }

  .top-charts__name {
    font-size: 14px;
  }

  .top-charts__featured,
  .top-charts__featured-link {
    min-height: 280px;
  }

  .top-charts__featured-content {
    padding: 18px;
    gap: 8px;
  }

  .top-charts__featured-title {
    font-size: 20px;
  }

  .top-charts__featured-desc {
    display: none;
  }

  .top-charts__featured-play span:last-child {
    display: none;
  }

  .top-charts__featured-play-icon {
    width: 44px;
    height: 44px;
  }
}

/* Watching badge on covers */
.watching-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 16px);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
  user-select: none;
  z-index: 5;
}

.watching-badge__pulse {
  position: relative;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: watchingPulse 1.8s ease-out infinite;
}

.watching-badge__text {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.watching-badge--cover {
  position: absolute;
  bottom: 8px;
  inset-inline-end: 8px;
}

.watching-badge--compact {
  position: absolute;
  bottom: 4px;
  inset-inline-end: 4px;
  gap: 4px;
  padding: 2px 6px;
}

.watching-badge--compact .watching-badge__pulse {
  width: 6px;
  height: 6px;
}

.watching-badge--compact .watching-badge__text {
  font-size: 9px;
}

.movie-card__thumb,
.wishlist-card__thumb,
.top-charts__thumb,
.top-charts__featured-media,
.single-movie-thumb,
.magazine-embed__film-poster,
.magazine-aside__film-thumb,
.person-film-card__media {
  position: relative;
}

@keyframes watchingPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

@media (max-width: 575px) {
  .watching-badge--cover .watching-badge__text {
    font-size: 10px;
  }

  .watching-badge--cover {
    bottom: 6px;
    inset-inline-end: 6px;
    padding: 3px 6px;
  }
}
