.base-color {
  color: hsl(var(--main)) !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: hsl(var(--base));
  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: 500px;
  padding: 24px;
  color: hsl(var(--white));
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: hsl(var(--bg-color));
  border-radius: 12px;
  border: 1px solid hsl(var(--white) / 0.1);
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  border-radius: 50%;
  color: hsl(var(--white));
  font-size: 64px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
  margin-top: 16px;
}

.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;
  }

  .cookies-card__icon {
    font-size: 48px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #313131;
  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 #313131 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;
}

.table--header {
  padding: 24px;
  border-bottom: 1px solid hsl(var(--white) / 0.1);
}

.select2-dropdown {
  margin-top: 8px !important;
  border-radius: 5px !important;
  background-color: hsl(var(--bg-color)) !important;
  border: 1px solid hsl(var(--white) / 0.1) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid hsl(var(--white) / 0.1) !important;
  color: hsl(var(--white));
  padding: 6px 16px !important;
}

.select2-container:has(.select2-selection--single, .select2-selection--multiple) {
  width: 100% !important;
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-selection--multiple {
  background-color: transparent !important;
  border: 1px solid hsl(var(--white) / 0.1) !important;

}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: hsl(var(--white) / 0.1) !important;
  padding: 10px 20px;
  background: transparent;
  border-radius: 4px;
}

.select2-container .select2-search--inline .select2-search__field {
  color: hsl(var(--white)) !important;
  margin-top: 10px !important;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 8px 12px !important;
  border-bottom: 1px solid hsl(var(--white) / 0.03);
  font-size: 14px !important;
}

.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: transparent !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
  background: hsl(var(--white) / 0.2);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: hsl(var(--card-two-bg)) !important;
  border: 1px solid hsl(var(--white) / 0.2) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border-right: 0 !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--white) / 0.2);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  color: hsl(var(--text-color)) !important;
  line-height: 41px !important;
  font-size: 14px !important;
}

.select2-container .select2-selection--single {
  line-height: 41px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 0px !important;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: 0.3s;
}

.select2-container--default .select2-selection--single {
  color: hsl(var(--white)) !important;
  background-color: transparent !important;
  border: 1px solid hsl(var(--white) / 0.1) !important;
  border-radius: 5px !important;
  height: 41px !important;
}

.select2 .dropdown-wrapper {
  display: none;
}

.select2-container .selection {
  width: 100% !important;
  display: block;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0px !important;
  height: 41px !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.select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: hsl(var(--base)) !important;
  color: hsl(var(--static-white)) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: hsl(var(--white) / 0.4) !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(--white) / 0.1) !important;
  border-radius: 5px !important;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: hsl(var(--base));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: hsl(var(--white));
}

.payment-system-list {
  --thumb-width: 80px;
  --thumb-height: 32px;
  --border-color: hsl(var(--white) / 0.1);
  --hover-border-color: hsl(var(--base));
  background-color: hsl(var(--bg-color));
  border-radius: 10px;
  padding-block: 24px;
  padding-inline: 16px;
  height: 100%;
}

.payment-system-list.border-style {
  border-left: 1px solid hsl(var(--white) / 0.1);
  border-radius: 0;
}

@media (max-width: 991px) {
  .payment-system-list.border-style {
    border-left: 0;
    border-top: 1px solid hsl(var(--white) / 0.1);
  }
}

hr {
  border-top: 1px solid hsl(var(--white) / 0.1);
  opacity: 1;
}

.payment-system-list.is-scrollable {
  max-height: min(600px, 70vh);
  overflow-x: auto;
}

.modal .payment-system-list.is-scrollable {
  max-height: min(452px, 70vh);
  overflow-x: auto;
}

.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(--white) / 0.2);
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all linear 0.3s;
  margin-bottom: 16px;
  padding: 10px;
  border: 1px solid hsl(var(--white) / 0.1);
  border-radius: 8px;
  cursor: pointer;
}

.payment-item:has(.payment-item__radio:checked) {
  border-color: hsl(var(--white) / 0.2);
  background-color: hsl(var(--white) / 0.05);
}

.payment-item:has(.payment-item__radio:checked) .payment-item__name {
  color: hsl(var(--white));
}

.payment-item:has(.payment-item__radio:checked) .check-type-icon {
  border-color: hsl(var(--white));
}

.payment-item:has(.payment-item__radio:checked) .check-circle {
  display: block;
  --color: hsl(var(--white));
}

.payment-item__check {
  border: 3px solid transparent;
}

.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 {
  transition: all 0.3s;
  text-align: end;
}

.payment-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.payment-item__thumb {
  padding: 3px 12px;
  border-radius: 8px;
  flex-shrink: 0;
  background-color: hsl(var(--white) / 0.1);
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
  mix-blend-mode: difference;
  filter: brightness(0.5) invert(1);
}

[data-theme="light"] .payment-item__thumb img {
  filter: unset;
  mix-blend-mode: unset;
}

.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 16px;
}

.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 .text {
  color: hsl(var(--white));
  font-weight: 500;
}

.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 hsl(var(--white) / 0.1);
  border-radius: 5px;
}

.deposit-info__input-group-text {
  align-self: center;
  padding-inline: 16px;
  border: 0;
  background: transparent;
}

.deposit-info__input-group:has(.form--control:disabled),
.deposit-info__input-group:has(.form--control:read-only) {
  background: hsl(var(--white) / 0.05);
}

.deposit-info__input-group:has(.form--control:disabled) .form--control,
.deposit-info__input-group:has(.form--control:read-only) .form--control {
  background: transparent;
  border: 0 !important;
}

.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 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-item__btn-text,
.payment-item__btn__icon {
  color: hsl(var(--success));
  font-size: 14px;
  font-weight: 600;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

.adjust-height .payment-system-list.is-scrollable {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.plyr__control--overlaid {
  background: hsl(var(--base)) !important;
}

.plyr--video .plyr__control:focus-visible,
.plyr--video .plyr__control:hover,
.plyr--video .plyr__control[aria-expanded="true"] {
  background: hsl(var(--base)) !important;
}

.plyr--full-ui input[type="range"] {
  color: hsl(var(--base)) !important;
}

.plyr__menu__container .plyr__control[role="menuitemradio"][aria-checked="true"]:before {
  background: hsl(var(--base)) !important;

  background: hsl(var(--base)) !important;
}

.responsive-filter-card {
  position: relative;
}

.responsive-filter-form {
  width: 350px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid hsl(var(--white) / 0.1);
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 5;
  background-color: hsl(var(--bg-color));
  transition: all linear 0.3s;
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 767px) {
  .responsive-filter-form {
    width: 280px;
  }
}

@media (max-width: 575px) {
  .responsive-filter-form {
    width: 250px;
  }

  .payment-item {
    gap: 10px;
  }

  .payment-item__name {
    font-size: 14px;
  }
}

.responsive-filter-form.show {
  opacity: 1;
  visibility: visible;
}

.responsive-filter-body {
  padding: 20px 16px;
  background-color: hsl(var(--white) / 0.01);
}

.responsive-filter-footer {
  padding: 16px;
  background-color: hsl(var(--bg-color));
  box-shadow: 14px -7px 17px rgb(255 255 255 / 5%);
}

.responsive-filter-title {
  padding: 16px;
  background-color: hsl(var(--bg-color));
  box-shadow: -11px 4px 17px rgb(255 255 255 / 5%);
}

.responsive-filter-item:not(:last-child) {
  margin-bottom: 12px;
}

.close-filter-btn {
  font-size: 20px;
  cursor: pointer;
  color: hsl(var(--white));
}

/* ==========================================================================
   VIDEO PLAYER FIX (mobile) - keep Plyr's control bar visible on phones
   --------------------------------------------------------------------------
   The main player on the play page is:

       <div class="primary__videoPlayer video-item__thumb mainVideo"> ... </div>

   Because it also carries the generic grid-thumbnail class .video-item__thumb,
   this rule from main.css was being applied to the real player on any screen
   up to 424px wide:

       @media screen and (max-width: 424px) {
           .video-item__thumb { max-height: 183px; }   // meant for grid thumbs
       }

   Plyr sizes itself from the container width (ratio: '16:9' sets aspect-ratio
   on .plyr__video-wrapper), so on a 390px wide phone the player is ~219px
   tall. The 183px cap, combined with the "overflow: hidden" of
   .play-video .primary .primary__videoPlayer, cut off the bottom 20-55px of
   the player - exactly where Plyr draws its controls, because
   .plyr--video .plyr__controls is position: absolute; bottom: 0 (a ~52px band
   holding play/pause, progress, time, mute, settings, fullscreen and pip).
   That is why on mobile the page content below looked like it was covering the
   play/pause controls.

   max-height: none (higher specificity than .video-item__thumb, and loaded
   after main.css) restores the player's full 16:9 height so the whole control
   bar is visible again. Grid thumbnails elsewhere are untouched.
   ========================================================================== */
.play-video .primary .primary__videoPlayer {
  max-height: none;
}

/* ==========================================================================
   VIDEO PLAYER FIX (mobile) - part 2: stop Plyr sliding its controls away
   --------------------------------------------------------------------------
   Plyr starts with hideControls: true (the play page only passes "controls",
   "ratio" and "autoplay"). While the video plays Plyr adds .plyr--hide-controls
   to .plyr and its own stylesheet does:

       .plyr--video.plyr--hide-controls .plyr__controls {
           opacity: 0;
           pointer-events: none;
           transform: translateY(100%);
       }

   On a desktop the mouse keeps the bar awake, but on a phone/tablet it slides
   off the bottom edge of the player roughly 2 seconds after playback starts and
   only comes back on an extra tap - which is what reads as "the play controls
   never show on mobile".

   Note that the play page only renders the full control bar when
   stock_video == 0 || purchased || owner; for a guest or an unpurchased
   stock/premium video the controls array is ['play-large'] and the bar is
   hidden on purpose (a tap opens the login / purchase modal).
   ========================================================================== */
@media screen and (max-width: 767px) {
  /* Keep the control bar on screen for the whole playback on small screens. */
  .play-video .primary .primary__videoPlayer .plyr--video.plyr--hide-controls .plyr__controls {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  /* Belt and braces: no grid-thumbnail height cap may ever clip the real player. */
  .play-video .primary .primary__videoPlayer,
  .play-video .primary .primary__videoPlayer .plyr,
  .play-video .primary .primary__videoPlayer .plyr--video .plyr__video-wrapper {
    max-height: none;
  }

  /* Comfortable touch targets for play/pause, progress, mute, settings, fullscreen. */
  .play-video .primary .primary__videoPlayer .plyr {
    --plyr-control-icon-size: 20px;
    --plyr-control-spacing: 12px;
  }
}

/* ==========================================================================
   MOBILE SIDE MENU - viewport height + scrolling
   --------------------------------------------------------------------------
   The theme opens the menu panel below the header (top: var(--header-h)) and
   sizes it with height: calc(100vh - var(--header-h)) (main.css:3879). On a
   phone 100vh includes the browser's URL bar, so the panel is taller than what
   the user can actually see: the bottom entries of the menu sit below the
   visible screen and the page behind it can be dragged/scrolled while the menu
   is open. The block below, on top of the JS in partials/sidebar.blade.php:

     - sizes the panel with dvh, which measures the *visible* viewport, so the
       panel and its last entries always fit on screen. Browsers without dvh
       support ignore the declaration and keep the theme's 100vh value,
     - makes the menu list the single scrolling area and contains that scroll
       inside the menu instead of chaining it to the page behind,
     - locks the page behind while the menu is open (the class is added/removed
       by partials/sidebar.blade.php).
   ========================================================================== */
@media screen and (max-width: 1399px) {
  .sidebar-menu,
  .sidebar-menu.show-sm {
    height: calc(100dvh - var(--header-h));
  }

  .sidebar-menu .sidebar-menu-list {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  body.mobile-sidebar-open {
    overflow: hidden;
  }
}

/* ==========================================================================
   STOCK VIDEO SWITCH (upload elements form)
   --------------------------------------------------------------------------
   The theme reveals the stock price row (and the tick on the stock card) with
   CSS :has():  .stock-video-wrapper:has(input:checked) ~ .stock-price
   (main.css:15496). Browsers that predate :has() (older Android WebView,
   Firefox < 121) would never see the price field at all, so the elements form
   adds .no-has-support on <html> and .is-checked on the wrapper from JS for
   those browsers only - everything stays CSS driven on modern browsers.
   ========================================================================== */
html.no-has-support .stock-video-wrapper.is-checked ~ .stock-price {
  display: block;
}

html.no-has-support .stock-video-wrapper.is-checked .stock-video {
  border-color: hsl(var(--white) / 0.3);
  background-color: hsl(var(--white) / 0.05);
}

html.no-has-support .stock-video-wrapper.is-checked .stock-video .text {
  color: hsl(var(--white));
}

html.no-has-support .stock-video-wrapper.is-checked .stock-video .check-circle {
  display: block;
}

/* ==========================================================================
   Site watermark
   --------------------------------------------------------------------------
   The uploaded file itself carries a burned in brand mark (see
   VideoManager::siteWatermarkFilter(), which overlays the image below on every
   resolution while the video is encoded). This overlay keeps the same brand
   visible on videos that are never re-encoded - shorts, embedded videos, and
   uploads made while ffmpeg is disabled - and on everything uploaded before
   the mark existed.

   To rebrand: drop your own PNG at assets/images/watermark/azigihub-watermark.png
   (it takes priority and survives deploys), or replace the bundled default
   assets/images/azigihub-watermark.png. Delete both to disable the overlay
   (and the burn in, which reads the same files).
   ========================================================================== */
.site-watermark {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  pointer-events: none;
}

.site-watermark img {
  width: 120px;
  max-width: 40vw;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px hsl(var(--black) / 0.35));
}

.short-video-wrapper .site-watermark img {
  width: 104px;
  opacity: 0.9;
}

/* ==========================================================================
   18+ gate (+ the content ownership statement)
   --------------------------------------------------------------------------
   Markup: partials/age_gate.blade.php, rendered by layouts/app.blade.php only
   while the visitor has not answered it (the age_verified cookie answers it for
   30 days). The permanent short version of the same statement sits at the bottom
   of the side menu (partials/sidebar.blade.php, .sidebar-disclaimer).
   ========================================================================== */
html.age-gate-open,
html.age-gate-open body {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background-color: hsl(var(--black) / 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.age-gate__card {
  width: 100%;
  max-width: 600px;
  margin: auto;
  padding: 32px 28px 26px;
  border: 1px solid hsl(var(--white) / 0.12);
  border-radius: 8px;
  background-color: hsl(var(--card-background));
  -webkit-box-shadow: 0 20px 60px hsl(var(--black) / 0.55);
  box-shadow: 0 20px 60px hsl(var(--black) / 0.55);
  text-align: center;
}

.age-gate__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 30px;
  background-color: hsl(var(--base));
  color: hsl(var(--white));
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.age-gate__title {
  margin-bottom: 12px;
  color: hsl(var(--heading-color));
  font-size: 24px;
}

.age-gate__text {
  margin-bottom: 18px;
  font-size: 15px;
}

.age-gate__list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.age-gate__list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.7;
}

.age-gate__list li:last-child {
  margin-bottom: 0;
}

.age-gate__list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: hsl(var(--base));
}

.age-gate__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 12px;
}

.age-gate__policy {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.8;
}

.age-gate__policy a {
  color: hsl(var(--base));
  text-decoration: underline;
}

/* ==========================================================================
   Side menu: permanent 18+ / content ownership notice
   ========================================================================== */
.sidebar-disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid hsl(var(--white) / 0.1);
  border-radius: 8px;
  background-color: hsl(var(--white) / 0.03);
}

.sidebar-disclaimer__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 20px;
  background-color: hsl(var(--base) / 0.15);
  color: hsl(var(--base));
  font-size: 12px;
  font-weight: 700;
}

.sidebar-disclaimer__text {
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.7;
}

.sidebar-disclaimer__text:last-child {
  margin-bottom: 0;
}

.sidebar-disclaimer__text a {
  color: hsl(var(--base));
  text-decoration: underline;
}

/* ==========================================================================
   Community: WhatsApp / Telegram join buttons
   --------------------------------------------------------------------------
   Markup: partials/community_links.blade.php. Rendered as a banner at the top
   of the home page and as a card on the video watch page, under the
   description. The brand colours are literal on purpose - the buttons should
   read as WhatsApp (#25d366) and Telegram (#229ed9) at a glance, whatever the
   admin base colour is.
   ========================================================================== */
.community-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: hsl(var(--bg-color));
}

.community-links__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4px;
}

.community-links__title {
  color: hsl(var(--heading-color));
  font-size: 15px;
  font-weight: 700;
}

.community-links__subtitle {
  color: hsl(var(--body-color));
  font-size: 13px;
  line-height: 1.6;
}

.community-links__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
}

.community-links__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 150px;
  flex: 1 1 150px;
  padding: 9px 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.community-links__btn i {
  font-size: 16px;
  line-height: 1;
}

.community-links__btn:hover,
.community-links__btn:focus {
  color: #fff;
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
  opacity: 0.92;
}

.community-links__btn--whatsapp {
  background-color: #25d366;
}

.community-links__btn--telegram {
  background-color: #229ed9;
}

/* Home page: a banner above "Trending". On wider screens the text sits on the
   left and the two buttons on the right; on phones it stacks. */
.home-community {
  margin-bottom: 24px;
}

.community-links--banner {
  border-color: hsl(var(--base) / 0.35);
  background-image: linear-gradient(90deg, hsl(var(--base) / 0.16), transparent 65%);
}

@media (min-width: 768px) {
  .community-links--banner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 18px 22px;
  }

  .community-links--banner .community-links__buttons {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }

  .community-links--banner .community-links__btn {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    min-width: 200px;
  }
}

/* Watch page: the card follows the description panel, with the same gap the
   description uses before the comments. */
.play-community {
  margin-bottom: 24px;
}

/* ==========================================================================
   Blog
   ========================================================================== */

.blog-header {
  margin-bottom: 24px;
}

.blog-header__title {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  margin-bottom: 8px;
}

.blog-header__subtitle {
  max-width: 760px;
  margin-bottom: 0;
  color: hsl(var(--body-color));
  font-size: 15px;
  line-height: 1.7;
}

.blog-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1199px) {
  .blog-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .blog-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
}

.blog-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color) / 0.5);
  border-radius: 10px;
  background: hsl(var(--dark));
  -webkit-box-shadow: 0 0 15px hsl(var(--black) / 0.35);
  box-shadow: 0 0 15px hsl(var(--black) / 0.35);
  -webkit-transition: border-color 0.25s ease, -webkit-transform 0.25s ease;
  transition: border-color 0.25s ease, -webkit-transform 0.25s ease;
  transition: transform 0.25s ease, border-color 0.25s ease;
  transition: transform 0.25s ease, border-color 0.25s ease, -webkit-transform 0.25s ease;
}

.blog-card:hover {
  border-color: hsl(var(--base) / 0.5);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

.blog-card__thumb {
  display: block;
  overflow: hidden;
  background: hsl(var(--dark-two));
  aspect-ratio: 16 / 9;
}

.blog-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.blog-card:hover .blog-card__thumb img {
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

.blog-card__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 16px 18px 18px;
}

.blog-card__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
  color: hsl(var(--body-color));
  font-size: 12px;
}

.blog-card__meta i {
  margin-right: 3px;
  color: hsl(var(--base));
}

.blog-card__title {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.4;
}

.blog-card__title a {
  color: hsl(var(--heading-color));
}

.blog-card__title a:hover {
  color: hsl(var(--base));
}

.blog-card__excerpt {
  margin-bottom: 14px;
  color: hsl(var(--body-color));
  font-size: 14px;
  line-height: 1.65;
}

.blog-card__more {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: hsl(var(--base));
  font-size: 13px;
  font-weight: 600;
}

.blog-section,
.blog-related,
.blog-videos {
  margin-top: 32px;
}

.blog-pagination {
  margin-top: 24px;
}

/* Blog details */
.blog-page {
  padding-bottom: 30px;
}

.blog-breadcrumb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: hsl(var(--body-color));
  font-size: 13px;
}

.blog-breadcrumb a {
  color: hsl(var(--body-color));
}

.blog-breadcrumb a:hover {
  color: hsl(var(--base));
}

.blog-article__title {
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
}

.blog-article__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  color: hsl(var(--body-color));
  font-size: 13px;
}

.blog-article__meta i {
  margin-right: 4px;
  color: hsl(var(--base));
}

.blog-article__cover {
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 10px;
}

.blog-article__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-content {
  overflow-wrap: anywhere;
  color: hsl(var(--body-color));
  font-size: 16px;
  line-height: 1.8;
}

.blog-content > *:last-child {
  margin-bottom: 0;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  margin: 28px 0 12px;
  color: hsl(var(--heading-color));
  line-height: 1.35;
}

.blog-content h2 {
  font-size: 26px;
}

.blog-content h3 {
  font-size: 21px;
}

.blog-content p {
  margin-bottom: 16px;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.blog-content li {
  margin-bottom: 8px;
}

.blog-content a {
  color: hsl(var(--base));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-content img,
.blog-content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-content blockquote {
  margin: 22px 0;
  padding: 14px 20px;
  border-left: 3px solid hsl(var(--base));
  border-radius: 0 8px 8px 0;
  background: hsl(var(--base) / 0.08);
}

.blog-content table {
  width: 100%;
  margin-bottom: 18px;
  border-collapse: collapse;
}

.blog-content th,
.blog-content td {
  padding: 8px 10px;
  border: 1px solid hsl(var(--border-color));
}

.blog-article__share {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid hsl(var(--border-color) / 0.4);
  font-size: 14px;
}

.blog-article__share a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: hsl(var(--dark-two));
  color: hsl(var(--white));
}

.blog-article__share a:hover {
  background: hsl(var(--base));
  color: #fff;
}

/* ==========================================================================
   VIDEO CARDS - thumbnail-first redesign (home, category, channel, search)
   --------------------------------------------------------------------------
   The channel avatar that used to sit half over the thumbnail was removed from
   partials/video/video_list.blade.php. These rules make the card read like a
   modern video tile instead: rounded 16:9 thumbnail, title first, then channel
   and view/date meta. Everything is scoped to .video-item so the real player on
   the play page (which also carries .video-item__thumb) is not affected.
   ========================================================================== */
.video-item {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.video-item .video-item__thumb {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: hsl(var(--dark));
}

.video-item .video-item__thumb img,
.video-item .video-item__thumb video,
.video-item .video-item__thumb .plyr {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.video-item .video-item__thumb img,
.video-item .video-item__thumb video {
  transition: transform 0.35s ease;
}

.video-item:hover .video-item__thumb img,
.video-item:hover .video-item__thumb video {
  transform: scale(1.035);
}

.video-item .video-item__content {
  padding: 10px 2px 0;
}

.video-item .video-item__content .title {
  margin: 0 0 3px;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 600;
}

.video-item .video-item__content .title a {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  -webkit-line-clamp: 2;
}

.video-item .video-item__content .channel {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 500;
  color: hsl(var(--body-color) / 0.7);
}

.video-item .video-item__content .channel:hover {
  color: hsl(var(--base));
}

.video-item .video-item__content .meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: hsl(var(--body-color) / 0.65);
}

.video-item .video-item__content .meta .view {
  padding-right: 14px;
}

.video-item .video-item__content .meta .view::after {
  right: 5px;
}

.video-item .video-item__price {
  top: 8px;
  right: 8px;
  min-width: 0;
  min-height: 0;
  padding: 4px 7px;
  border-radius: 6px;
  flex-direction: row;
  gap: 3px;
  font-size: 11px;
  transform: none;
  z-index: 3;
}

.video-item .video-item__price .text {
  font-size: 9px;
  opacity: 0.85;
}

.video-item .video-item__price::before {
  display: none;
}

.video-item .premium-icon {
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.video-item .premium-icon svg {
  width: 20px;
}

/* ==========================================================================
   CONTENT REMOVAL / TRUST & SAFETY FORM
   ========================================================================== */
.content-removal-page {
  padding: 10px 0 40px;
}

.content-removal-card {
  padding: 32px;
  border: 1px solid hsl(var(--border-color) / 0.5);
  border-radius: 18px;
  background: hsl(var(--bg-color));
}

.content-removal-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: hsl(var(--base));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-removal-title {
  margin-bottom: 12px;
  font-size: 30px;
}

.content-removal-lead {
  margin-bottom: 20px;
  color: hsl(var(--body-color) / 0.8);
}

.content-removal-alert {
  margin-bottom: 26px;
  padding: 14px 16px;
  border-left: 3px solid hsl(var(--warning));
  border-radius: 10px;
  background: hsl(var(--warning) / 0.08);
}

.content-removal-alert p {
  margin: 6px 0 0;
  font-size: 13px;
}

.content-removal-help {
  display: block;
  margin-top: 6px;
  color: hsl(var(--body-color) / 0.6);
  font-size: 12px;
}

.content-removal-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.content-removal-declarations {
  display: grid;
  gap: 12px;
}

.content-removal-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.content-removal-check input {
  margin-top: 3px;
  accent-color: hsl(var(--base));
}

.content-removal-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid hsl(var(--border-color) / 0.4);
  color: hsl(var(--body-color) / 0.7);
  font-size: 13px;
}

.content-removal-footer p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 575px) {
  .content-removal-card {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .content-removal-title {
    font-size: 24px;
  }
}
