/* CATEGORIES STYLES */


.cat_grid {
  display: grid;
  grid-template-columns: 25% 30px minmax(600px, 1200px);
  grid-template-rows: auto;
  gap: 0px;
  width: clamp(1400px, 70vw, 1800px);
  margin-top: -200px;


}




.user_categories {

  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto;
  gap: 8px;
  padding: 0px 0px 20px 0px;
  color: #adadad;
  width: 100%;
  font-size: 20px;
  font-weight:500;
}


.cagegory_thumb {

  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: 100%;
  gap: 5px;
  width: 100%;
  max-width: 100%;

}

.cat_sites
{display: none;}


.cat_sidebar {

  box-sizing: border-box;
   height: 100%;
  position: relative;
  flex-direction: column;
  font-family: 'kanit';
  display: flex;
  margin-right: 0px;

  font-size: 20px;
}


.cat_thumbb {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: auto;
  background-color: rgb(30, 30, 30);
  padding: 10px;
  border-radius: 16px;
  opacity: 0;
  transform: scale(0.95) translateY(30px);
  transition:
      opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cat_thumbb.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}


.cat_thumbb:hover,
.cat_thumbb:focus {
  background-color: rgb(53, 53, 53);
}





.cat_thumbbottom {
  font-size: 18px;
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  color: rgb(173, 173, 173);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0px 0px 5px;
}

.cat_thumbbottom span,
.cat_thumbbottom a {
  color: inherit;
  transition: color 0.3s ease;
  text-decoration: none; /* опционально */
}

.cat_thumbb:hover .cat_thumbbottom span,
.cat_thumbb:hover .cat_thumbbottom a {
  color: rgb(221, 242, 70); /* лимонно-зелёный */
}

.cat_thumbb:hover .thumb img.mainthumb {
  transform: scale(1.08);

}

/* END CATEGORIES STYLES */






/* USER PROFILE STYLES */

.user_sidebar {

  box-sizing: border-box;
   height: 100%;
  position: relative;
  flex-direction: column;
  font-family: 'kanit';
  display: flex;
  margin-right: 0px;

  font-size: 22px;
}


.user_side_title {
  width: 100%;
  height: 200px;
  background-image: url('/nasty/img/title_back.png');
  background-size:contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 40px;
  box-sizing: border-box;
}



.profile_links{
display: flex;
flex-direction: column;
align-items: flex-end;
flex-direction: column;
margin-right: 20px;

}

.profile_link{


  color:#fff;


}

.profile_link_selected{

 font-size: 24px;
  color:#f05623;
  font-weight: 600;


}


.video_count{
display: flex;
  border-radius: 10px;
  border: 1px solid #5151516d;
  color:#fff;
  padding: 0px 8px 0px 8px;


}

.playcount{width: 10px; height: 10px; margin-top: 10px; padding-right:10px;}




.profile_links {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto auto;
  gap: 8px;
  justify-items: end;
}


.user_set_conteiner {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr;
  grid-template-rows: auto;
  gap: 8px;
  justify-content: center;
}

.userseparator_conteiner{
  height: 100%;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}


.userseparator{
      width: 1px;
      height: 100%;
      background-color: rgba(128, 128, 128, 0.2);
  }



.user_avatar{padding:20px}


.user_settings{padding:20px}




.profile-pic-container {
  width: 100%;
}

.profile-pic-frame {
  width: 100%;
  border: 1px solid #5151516d;
  border-radius: 8px;
  overflow: hidden;
  position: relative;

}

.profile-pic-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.profile-pic-username {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  text-align: center;
  font-weight: bold;
}

.profile-pic-buttons {
  display: flex;
  width: 100%;
  margin-top: 10px;
  gap: 10px;
}

.profile-pic-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-pic-btn-remove {
  background-color: #000000;
  color: white;
}

.profile-pic-btn-remove:hover {
  background-color: #121212;
  color:#ddf246;
}

.profile-pic-btn-upload {
  background-color: #000000;
  color: white;
}

.profile-pic-btn-upload:hover {
  background-color: #121212;
  color:#ddf246;
}

.user_settings_title{

  color: #adadad;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}

.set_spearator{
  margin-top: 30px;
  margin-bottom: 20px;
  width: 100%;
   height: 1px;
  background-color: #5151516d;}

.pass_spacer{ height: 20px;}


.user_loadmorewrap {
  margin-top: 20px;
display: flex;
width: 100%;
justify-content: center;
}


.ph-btn_loadmore {
  display: flex;
  justify-content: center;
  font-family: 'Kanit';
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;

   border: none;
   border-radius: 10px;
   color: white;
  padding: 5px 30px;
   cursor: pointer;
   transition: opacity 0.2s;
   flex-direction: row;
   align-items: center;
   background-color: #212121;
   width: 300px;
   margin-bottom: -20px;
 }



.ph-btn_loadmore:hover {
  background-color: #121212;
  color: #ddf246;
}


/* USER PROFILE STYLES */








  .model_prof{
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background-color: #222222;
    padding: 14px;




  }

  .profile-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;

}

.profile-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;


}

/* Заголовок */
.profile-title {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 20px;
    font-size: clamp(12px, 4vw, 30px);
    font-weight: bold;
    color: white;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7), transparent);
    white-space: nowrap;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}




.model_info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;

}

.modline1 {
  grid-column: span 3;
  width: 100%;
}



.infotitle{font-size: clamp(12px, 1.2vw, 18px); color: #adadad; font-weight: 200;}
.infodata{font-size: clamp(12px, 1.2vw, 18px);  color: #ffffff; font-weight: 200;}










  /* Основной контейнер для табов */
  .tabs-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Заголовок для табов */
.tab-title {
    color: #adadad;
    font-size: 20px;
    padding: 15px 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    z-index: 10;
}

/* Скрываем радио-кнопки */
.tabs-container input[type="radio"] {
    display: none;
}

/* Стили для табов */
.tab-labels {
    display: flex;
    justify-content: flex-end;
    margin-right: 30px;
}

.tab-label {
    display: inline-block;
    padding: 14px 41px;
    border-radius: 10px 10px 0 0;
    font-size: 18px;
    text-transform: uppercase;
    background: #1c1c1c;
    cursor: pointer;
    margin-left: 5px;
    color: #ffffff;
    position: relative;
    top: 4px;
    transition: all 0.2s ease-in-out;
}

.tab-label:hover {
    background: #393939;
}

/* Стили для содержимого табов */
.tab-content {
    display: none;
    background: #222222;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 30px;
    z-index: 4;
}

/* Активация таба при выборе соответствующей радио-кнопки */
#tab1:checked ~ .tab-labels .tab1-label,
#tab2:checked ~ .tab-labels .tab2-label {
    background: #222222;
    color: #adadad;
    font-size: 20px;
    padding-top: 17px;
    top: 0;
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2 {
    display: block;
}

/* Стиль для видео плеера */
.player-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.player-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}


.underplayer_container {
  width: 100%;
  margin: 20px 0;
  text-align: left;
}

.underplayer_button-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  justify-content: flex-end;
}

.underplayer_button {
  background-color: #000000bd;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  height: 50px;
  overflow: hidden;
  flex: 0 0 auto;
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
  width: auto;
  font-size: 14px;
  font-weight: 600;
  font-family: "Kanit";
}

.underplayer_button:hover {
  opacity: 1;
}

.underplayer_button:hover .underplayer_button-text {
  color: #e0f92b;
}

.underplayer_button-text {
  padding-left: 20px;
  flex-grow: 1;
  text-align: left;
  transition: color 0.3s ease;
  min-width: 20px;
}

/* Underplayer join button colors */
.underplayer_button--join {
    background: rgb(240, 86, 35);
    color: #fff;
}

.underplayer_button--join .underplayer_button-text-join {
    display: inline-block;      /* for transform */
    padding-left: 20px;
    flex-grow: 1;
    text-align: left;
    min-width: 20px;
    color: #fff;                /* white */
    transition: transform .18s ease, color .18s ease;
}

/* Force white on hover */
.underplayer_button--join,
.underplayer_button--join:hover,
.underplayer_button--join:focus {
    color: #fff !important;
}

.underplayer_button--join:hover .underplayer_button-text-join,
.underplayer_button--join:focus .underplayer_button-text-join {
    color: #fff !important;     /* stay white */
    transform: translateY(-2px) scale(1.03); /* subtle lift */
}

/* Optional: respect motion */
@media (prefers-reduced-motion: reduce) {
    .underplayer_button--join .underplayer_button-text-join {
        transition: none;
        transform: none;
    }
}

.underplayer_button-icon {

  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  min-width: 30px;
  margin-left: auto;
}

.underplayer_button-icon .like-container {
    padding-right: 15px; /* match .up_icon-container */
    display: flex;
    align-items: center;
    justify-content: center;
}


.up_icon-container {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 15px;
}

.icon-default, .icon-hover {
  max-width: 20px;
  max-height: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.icon-default {
  opacity: 1;
}

.icon-hover {
  opacity: 0;
}

.underplayer_button:hover .icon-default {
  opacity: 0;
}

.underplayer_button:hover .icon-hover {
  opacity: 1;
}

.percentage {
  margin-right: 20px;
  transition: color 0.3s ease;
  font-size: 14px;
  white-space: nowrap;
  margin-left: -15px;
  padding-top: 3px;
}

.underplayer_button:hover .percentage {
  color: #e0f92b;
}

/* favorited states */
.underplayer_button.favorited .icon-default { opacity: 0; }
.underplayer_button.favorited .icon-hover   { opacity: 1; }
.underplayer_button.favorited .underplayer_button-text { color: #e0f92b; }

.up_title{display: none;}

.up_starring{ padding-left: 10px;font-size: 18px; padding-top: 10px; width: 100%; color: #adadad;}

.up_description{ padding-left: 10px;  font-size: 18px; font-weight: 200; padding-top: 10px; width: 95%; color: #adadad;}

.up_blockname{ padding: 20px 0px 10px 0px; font-size: 20px; font-weight:500;  width: 100%; color: #adadad;}

.up_blockname-v{ padding: 50px 0px 10px 0px; font-size: 20px; font-weight:500;  width: 100%; color: #adadad;}
.up_blockname-mod{ padding: 20px 0px 10px 0px; font-size: clamp(14px, 2.2vw, 20px); font-weight:500;  width: 100%; color: #adadad;}


.up_cat-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.up_cat {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  background-color: #000000ca;
  border-radius: 8px;
  padding: 10px 20px;
}



.up_models{

  display: flex;
  align-items: center;
  width: 100%;
}


.up_model-desc{ padding-left: 0px;  font-size: 18px; font-weight: 200; padding-top: 10px; width: 95%; color: #adadad;}


.mem_related {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 8px;

}



.clean_space{display:flex; height: 50px;}





/* IMAGE GALLERY */

.ph-outer {
  max-width: 1200px;
  margin: 0 auto;
}

/* Стили для режима сетки */
.ph-grid-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .ph-grid-view {
      grid-template-columns: repeat(2, 1fr);
  }

  .ph-controls {
      flex-direction: column;
      gap: 10px;
  }

  .ph-controls button {
      width: 100%;
  }

  .ph-btn-group {
      width: 100%;
      flex-direction: column;
  }

  .ph-viewer-img-container {
      height: 350px;
  }
}

@media (max-width: 480px) {
  .ph-grid-view {
      gap: 10px;
  }

  .ph-tile img {
      height: 150px;
  }

  .ph-viewer-img-container {
      height: 250px;
  }
}

.ph-tile {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.ph-tile:hover {
  transform: translateY(-5px);
}

.ph-tile img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.ph-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.ph-btn {
     font-family: 'Kanit';
     font-size: 18px;
     font-weight: 500;
     white-space: nowrap;
      display: flex;
      padding: 0px 40px;
      border: none;
      border-radius: 4px;
      color: white;
     padding: 5px 30px;
      cursor: pointer;
      transition: opacity 0.2s;
      flex-direction: row;
      align-items: center;
    }


.ph-btn:hover {

  color:#e0f92b;

}

.ph-btn-primary {
  background-color: #000000;
}

.ph-btn-secondary {
  background-color: #000000;
}

.ph-btn-accent1 {
  background-color: #000000;
}

.ph-btn-accent2 {
  background-color: #000000;
}

.ph-btn:disabled {
  background-color: #949494;
  cursor: not-allowed;
}

/* Стили для режима просмотра */
.ph-viewer {
  display: none;
  position: relative;
}

.ph-viewer.active {
  display: block;
}

.ph-grid-section.hidden {
  display: none;
}

.ph-viewer-counter {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 14px;
  z-index: 5;
}

.ph-viewer-img-container {
  position: relative;
  width: 100%;
  height: 500px;
  background-color: #f8f8f8;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
}

.ph-viewer-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s;
  background-color: #000;
}

.ph-viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 30px;
  z-index: 5;
  transition: background-color 0.3s;
}

.ph-viewer-nav:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.ph-nav-prev {
  left: 20px;
}

.ph-nav-next {
  right: 20px;
}

.ph-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  z-index: 5;
}

.ph-close-btn:hover {
  background-color: #000;
}

.ph-thumbs-container {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 5px 0;
  background-color: #111;
  border-radius: 4px;
}

.ph-thumbs-row {
  display: flex;
  gap: 10px;
  transition: transform 0.4s ease;
  padding: 0 5px;
}

.ph-thumb {
  flex: 0 0 calc(25% - 8px);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.ph-thumb.active {
  opacity: 1;
  border-color: #4CAF50;
}

.ph-thumb:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.ph-thumb img {
  display: flex;
      border-radius: 10px;
      width: 100%;
      height: 100px;
      object-fit: cover;
}

.ph-btn-group {
  display: flex;
  gap: 10px;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}
/* --- END IMAGE GALLER---Y */


.sidebar {
    margin-top: 75px;
    box-sizing: border-box;
    width: 90%;
    height: 100%;
    position: relative;
    flex-direction: column;
    font-family: 'kanit';
    display: flex;
    margin-left: 30px;
  }



  .sidebar-top {
    position: relative;
  }

  .sidebar-bottom {
    padding: 0px;
    position: relative;
  }

  .menu-container {
    width: 100%;
    position: relative;
  }

  .menu_side {
    transform-style: preserve-3d;
    position: relative;
    min-height: 65px;
    transition: height 0.5s cubic-bezier(0.3, 1.05, 0.4, 1.05);
    transform: translateZ(0);
  }

  .card {
    background-color: #222222;
    border-radius: 10px;
    color: white;
    font-weight: 400;
    font-size: 20px;
    font-family: "Kanit";
    cursor: pointer;
    position: absolute;
    width: 90%;
    left: 0;
    height: 66px;
    display: flex;
    align-items: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding-left: 30px;
    transition: all 0.4s cubic-bezier(0.3, 1.5, 0.4, 1.1);
    transform-origin: top center;
    justify-content: flex-start;

    will-change: transform;
  }

  .main-card {
    z-index: 10;
    margin-top: -10px;
    padding-left: 30px;
    background-color: #222222;
    height: 90px;
  }

  .arrowmen {
    transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.4, 1.1);
    font-size: 24px;
    font-weight: bold;
  }

  .menu_side.expanded .arrowmen {
    transform: rotate(90deg);
  }

  .card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 30px;
  }

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

  .stack-card {
    position: absolute;
    width: 90%;
    height: 75px;
    border-radius: 10px;
    transform-origin: center center;
    background-color: #2222227e;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
  }

  .menu_side:not(.expanded) .stack-card-1 {
    top: -15px;
    transform: translateZ(-20px) translateY(-4px);
    opacity: 0.8;
    z-index: 6;
    pointer-events: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  }

  .menu_side:not(.expanded) .stack-card-2 {
    top: -20px;
    transform: translateZ(-30px) translateY(-8px);
    opacity: 0.7;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  }

  .menu_side:not(.expanded) .stack-card-3 {
    top: -25px;
    transform: translateZ(-40px) translateY(-12px);
    opacity: 0.6;
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  }

  .menu_side:not(.expanded) .stack-card-4 {
    top: -30px;
    transform: translateZ(-50px) translateY(-16px);
    opacity: 0.5;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  }

  .menu_side:not(.expanded) .stack-card-5 {
    top: -35px;
    transform: translateZ(-60px) translateY(-20px);
    opacity: 0.4;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  }

  .menu_side:not(.expanded) .stack-card-6 {
    top: -40px;
    transform: translateZ(-70px) translateY(-24px);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  }

  .menu_side.expanded .stack-card {
    transition: all 0.4s cubic-bezier(0.3, 1.5, 0.4, 1.1);
    opacity: 0;
    transform: translateZ(0) translateY(0);
    pointer-events: none;
  }

  .menu_side.expanded .main-card {
    top: 0;
  }

  .menu_side.expanded .menu-card-1 {
    top: 100px;
    transition-delay: 0.05s;
    animation: flyOut 0.5s cubic-bezier(0.3, 1.5, 0.4, 1.1) 0.05s forwards;
  }

  .menu_side.expanded .menu-card-2 {
    top: 175px;
    transition-delay: 0.1s;
    animation: flyOut 0.5s cubic-bezier(0.3, 1.5, 0.4, 1.1) 0.1s forwards;
  }

  .menu_side.expanded .menu-card-3 {
    top: 250px;
    transition-delay: 0.15s;
    animation: flyOut 0.5s cubic-bezier(0.3, 1.5, 0.4, 1.1) 0.15s forwards;
  }

  .menu_side.expanded .menu-card-4 {
    top: 325px;
    transition-delay: 0.2s;
    animation: flyOut 0.5s cubic-bezier(0.3, 1.5, 0.4, 1.1) 0.2s forwards;
  }

  .menu_side.expanded .menu-card-5 {
    top: 400px;
    transition-delay: 0.25s;
    animation: flyOut 0.5s cubic-bezier(0.3, 1.5, 0.4, 1.1) 0.25s forwards;
  }

  .menu_side.expanded .menu-card-6 {
    top: 475px;
    transition-delay: 0.3s;
    animation: flyOut 0.5s cubic-bezier(0.3, 1.5, 0.4, 1.1) 0.3s forwards;
  }

  @keyframes flyOut {
    0% {
      opacity: 0;
      transform: translateX(30px) scale(0.9) translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
  }

  .menu_side.expanded {
    height: 510px;
  }

  .menu_side.closing .menu-card-6 {
    animation: flyBack 0.4s cubic-bezier(0.3, 1.05, 0.4, 1.05) forwards;
  }

  .menu_side.closing .menu-card-5 {
    animation: flyBack 0.4s cubic-bezier(0.3, 1.05, 0.4, 1.05) 0.05s forwards;
  }

  .menu_side.closing .menu-card-4 {
    animation: flyBack 0.4s cubic-bezier(0.3, 1.05, 0.4, 1.05) 0.1s forwards;
  }

  .menu_side.closing .menu-card-3 {
    animation: flyBack 0.4s cubic-bezier(0.3, 1.05, 0.4, 1.05) 0.15s forwards;
  }

  .menu_side.closing .menu-card-2 {
    animation: flyBack 0.4s cubic-bezier(0.3, 1.05, 0.4, 1.05) 0.2s forwards;
  }

  .menu_side.closing .menu-card-1 {
    animation: flyBack 0.4s cubic-bezier(0.3, 1.05, 0.4, 1.05) 0.25s forwards;
  }

  @keyframes flyBack {
    0% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    100% {
      opacity: 0;
      transform: translateX(20px) scale(0.9) translateY(-20px);
    }
  }

  .menu_side:not(.expanded):not(.closing) .menu-card {
    opacity: 0;
    transform: translateX(0) translateY(-40px);
    transition: none;
  }

  .menu_side.expanded .card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  .card:hover {
    background-color: #1e1d1d;
  }

  .icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
  }

  .icon_s {
    display: inline-block;
    width: 44px;
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
    margin-left: -16px;
  }


  .menu_side:not(.expanded) .menu-card,
  .menu_side.expanded .menu-card {
    pointer-events: none;
    opacity: 0;
  }

  .menu_side.expanded .menu-card {
    opacity: 1;
    pointer-events: auto;
  }

  .banner {
    width: 100%;
    height: 200px;
    background-color: #444444;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-top: 10px;
    transition: all 0.5s cubic-bezier(0.3, 1.1, 0.4, 1.05);
  }

  .menu-card {
    opacity: 0;
    transform: translateX(20px) scale(0.9) translateY(-20px);
    transition: opacity 0.4s cubic-bezier(0.3, 1.5, 0.4, 1.1),
                transform 0.4s cubic-bezier(0.3, 1.5, 0.4, 1.1);
    will-change: transform, opacity;
  }


  .sb_menu_sign {
    width: 26px;
    height: 26px;
    background-color: #000;
    border-radius: 5px;
    padding:6px;

}






  .side_title {
    width: 100%;
    height: 200px;
    background-image: url('/nasty/img/title_back.jpg');
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 40px;
    box-sizing: border-box;
  }

  .side_title_text {
    text-align: right;
    line-height: 20px;
  }

  .side-bold {
    font-weight: 500;
    font-size: 26px;
    margin-bottom: 5px;
    color:#f2f5f8 ;
  }

  .side-text {
    font-weight: normal;
    color: #f2f5f8;
    font-size: 22px;
    font-weight: 200;
  }




/* COMMENTS SECTION */



  .comments-section {
    margin-top: 50px;

    background-color: #222222;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #5151516d;
}

.comments-title {
    font-size: 20px;
    font-weight: 500;
    color: #adadad;
}

.comments-sort {
    position: relative;
}



.comment-input-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;

}


.user-avatar_own {
  width: 60px;
  height: 60px;

  margin-right: 15px;

  overflow: hidden;
}

.user-avatar_own img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  background-color: #ddd;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.comment-input {
    flex: 1;
    border: 1px solid #6a6a6aae;
    border-radius: 10px;
    padding: 12px 20px;
    padding-right: 100px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    background-color: #2d2d2d;
    height: 30px;
    color:#fff;
}

.comment-input:focus {
    border-color: #e0f92b;

}

.comment-button {
    position: absolute;
    border-radius: 8px;
    right: 7px;
    padding: 12px;
    background-color: #000000;
    color: rgb(255, 255, 255);
    border: none;

    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-weight: 600;

}

.comment-button:hover {
    background-color: #e0f92b;
    color: rgb(0, 0, 0);
}

/* Стили для существующих комментариев (для демонстрации) */
.comments-list {
    margin-top: 20px;
}

.comment {
    display: flex;
    margin-bottom: 20px;
}

.comment-content {
    flex: 1;
    margin-left: 15px;
}

.comment-author {
    font-weight: 400;
    margin-bottom: 5px;
    font-size: 16px;
    color: #adadad;
}

.comment-text {
    font-size: 16px;
    line-height: 1.5;
    color: #ffffffc3;
}

.comment-date {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}


.loadwrap{
display: flex;
justify-content: flex-end;
border-top: 1px solid #5151516d;

}

.load_comments {
  margin-top: 20px;
  font-family: 'Kanit';
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
   display: flex;
   padding: 5px 0px 5px 20px;
   border: none;
   border-radius: 12px;
   color: white;

   cursor: pointer;
   transition: opacity 0.2s;
   flex-direction: row;
   align-items: center;
 }


.load_comments:hover {

color:#e0f92b;

}




/* COMMENTS END */


.titlecg_members {

    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    padding-bottom: 20px;
    grid-template-areas: "first second selectors";

}

.titlecg_members > *:nth-child(1) {
    grid-area: first;
  }

  .titlecg_members > *:nth-child(2) {
    grid-area: second;
  }

  .titlecg_members > *:nth-child(3) {
    grid-area: selectors;
  }



.dropdown {
    position: relative;
    user-select: none;
    display: flex;



}




.con62_members {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    opacity: 0;
    transform: translateY(100px); /* Начальное положение */
    transition: transform 0.4s cubic-bezier(0, 1, 0.35, 1); /* Плавное появление */
}

/* Когда появляется */
.con62_members.visible {
    animation: smoothBounce 0.4s ease-out forwards; /* Добавлена директива 'forwards' */
    opacity: 1; /* Убираем исчезновение */
}



#showmore_members {

    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    z-index: 2;

}

/* Кнопка для открытия выпадающего списка */
.dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-right: 18px;
    padding-left: 10px;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "Kanit";
    color: #ffffff;
    width: 200px;
}


.dropdown-chn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 18px;
    padding-left: 10px;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "Kanit";
    color: #ffffff;
    width: 200px;
}


.dropdown-chn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color:rgb(221, 242, 70);
}

.dropdown.active .dropdown-chn {
    border-color: rgb(221, 242, 70);
}

.dropdown-chann {
    margin-right: 0px;
}

.dropdown-chann svg {
    display: flex;
    width: 20px;
    height: 20px;

}


.dropdown-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color:rgb(221, 242, 70);
}



/* Стрелка вниз */
.dropdown-arrow {
    margin-left: 10px;
    transition: transform 0.2s ease;
}


.dropdown-arrow svg {
    width: 14px;
    fill: #ffffff;
}

.dropdown-sort {
    margin-right: 10px;
}

.dropdown-sort svg {
    width: 14px;
    height: 14px;
    fill: #666;
}

/* Выпадающий контент */
.dropdown-content {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.236);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
}

.dropdown-content a.dropdown-option {
    color: #333;
    text-decoration: none;
}

.dropdown-content a.dropdown-option:hover {
    background-color: #f2f5f8;
    color: #333;
    text-decoration: none;
}

/* Опции в выпадающем списке */
.dropdown-option {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-option:hover {
    background-color: #f2f5f8;
    color: inherit;
    text-decoration: none;
}

/* Активное состояние выпадающего списка */
.dropdown.active .dropdown-btn {
    border-color: rgb(221, 242, 70);
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown.active .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}


/* for sort by dropdown in models blade: */

.dropdown-option a {
    display: block;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-option a:hover {
    background-color: #f2f5f8;
    color: #333;
}






.thumbgrid_members {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
    width: 100%;
}



.account_but {
    display: flex;
    text-align: right;
    justify-content: right;
    align-items: center;
    margin-left: 20px;
    border-radius: 10px;
    background-color: rgb(0, 0, 0, 0.7);
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 3px;
    padding-bottom: 3px;
    z-index: 2;

    outline: none;
    box-shadow: none;
    border: none;
    font-family: "kanit";
    font-size: clamp(18px, 1.4vw, 30px);
    font-family: "Kanit";

}


.account_but a {
    color: rgb(240, 86, 35);
}



.loadmore {
    display: flex;
    margin-top: 40px;
    padding-right: 10px;
    border-radius: 10px;
    background-color: rgb(240, 86, 35);
    width: clamp(300px, 40%, 600px);
    color: #fff;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    font-weight: 800;
    outline: none;
    box-shadow: none;
    border: none;
    font-family: "kanit";
    font-size: clamp(20px, 2vw, 24px);


}


.loadmore::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(221, 242, 70);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: -1;
}

.loadmore:hover {
    color: #333; /* Темный текст для лучшей читаемости на светлом фоне */

}

.loadmore:hover::before {
    transform: scaleX(1);
}

.loadmore::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.4s ease;
    opacity: 0;
}

.loadmore:hover::after {
    left: 120%;
    opacity: 0.8;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Стили для SVG изображения внутри кнопки */
.loadmore img {
    transition: filter 0.4s ease;
    /* Начальное состояние - без изменений */
    filter: brightness(1) invert(0);
}

.loadmore:hover img {
    /* Превращаем белый в черный при наведении */
    filter: brightness(0) invert(0);
}


.thumbline_mem {

    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 5px;
}


.thumbgrid_members_side {

  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  gap: 15px;

  width: 100%;
}

@media only screen and (max-width:1800px) {





    .thumbgrid_members {

        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;

        width: 100%;
    }


    .thumbgrid_members > *:nth-child(16n) {
        display: none;

}


}

@media only screen and (max-width:1100px) {


  .underplayer_button-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
 }

    .underplayer_button {

      font-size: 12px;
    }


.titlecg_members {

    grid-template-columns: auto 1fr 1fr;
    grid-template-areas: "second first selectors";
    font-size: 24px;
    margin-top: 20px;
  }


  .con62_members {
padding-left: 26px;

}
}


@media only screen and (max-width:1000px) {


  .cat_sites
  {display:block;}

  .infotitle{font-size: clamp(16px, 1.6vw, 20px); color: #adadad; font-weight: 200;}
.infodata{font-size: clamp(16px, 1.6vw, 20px);  color: #ffffff; font-weight: 200;}


  .account_but{display: none;}

  .menu_side {
    transform-style: preserve-3d;
    position: relative;
    min-height: 65px;
    transition: height 0.5s cubic-bezier(0.3, 1.05, 0.4, 1.05);
    transform: translateZ(0);
    margin-right: 30px;
  }


.thumbgrid_members {

    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    gap: 15px;

    width: 100%;

}



.card {

  width: 100%;

}

.sidebar {
  margin-top: -55px;
  padding-top: 50px;
  box-sizing: border-box;
  width: 90%;
  height: 100%;
  position: relative;
  flex-direction: column;
  font-family: 'kanit';
  display: flex;
  margin-left: 0px;
}


}




@media only screen and (max-width:800px) {



  .user_categories {

    display: grid;
    align-items: center;
    grid-template-columns: 1fr ;
    grid-template-rows: auto auto ;
    gap: 8px;
    padding: 0px 0px 20px 0px;
    color: #adadad;
    width: 100%;
    font-size: 20px;
    font-weight:500;
  }




  .user_categories > :first-child {
    grid-column: 1 / 3; /* первый элемент на всю ширину */
  }

  .user_categories > :nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .user_categories > :nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }




  .user_set_conteiner {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    gap: 8px;
  }

  .userseparator_conteiner{
display: none;
  }




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

  .dob,
  .sizes,
  .stats {
    grid-column: span 1;
  }

  .modline1 {
    grid-column: span 1;
  }




  .underplayer_button-text{display: none;}
  .up_title{ padding-left: 10px; display:flex; font-size:22px; font-weight: 400; padding-top: 20px; width: 100%; color: #adadad;}


  .underplayer_button-container {
    justify-content: center;
  }


  .mem_related {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;

  }



  .tab-title {
display: none;
}

    .con62_members {
        position: relative;
        text-align: center;
        padding: 0 15px;
        padding-left: 0px;
        font-size: 22px;
        width: 90%;

      }

      .con62_members::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.148);
        z-index: 0;
      }

      .con62_members span {
        position: relative;
        background-color: rgb(22, 22, 22, 1);
        padding: 0 10px;
        z-index: 1;
      }


    .thumbline_mem {

        display: none;
    }


    .dropdown-btn {
        margin-top: 10px;
        width: 140px;
        height: 40px;
    }

    .dropdown-chn {
        margin-top: 10px;
        width: 190px;
        height: 40px;
    }


    .titlecg_members {
        display: flex;
        flex-direction: column;
        align-items: center;
        grid-template-rows: auto auto auto;
        grid-template-columns: auto;
        grid-template-areas: "second first selectors";
        font-size: 24px;
        margin-top: 0px;
      }


    .slide {
        flex: 0 0 calc(100% - 20px);
    }

    .thumbgrid_members {

        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 1fr;
        gap: 15px;

        width: 100%;
    }







@media only screen and (max-width:600px) {


    .comments-title {
        font-size: 16px;
    }

    .mem_related {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        gap: 8px;

    }


    .tab-labels {
        display: flex;
        margin-right: 0px;
        flex-direction: row;
        justify-content: center;
    }


}}



/* PAGINATION FOR MODELS and VIDEOS BLADE: */

.pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 24px 0 32px;
    font-family: inherit;
    font-size: 16px;
}

.pager span,
.pager .page-link {
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    background: #2c2c2c;
    transition: background .2s;
}

.pager .page-link:hover {
    background: #099a19;
}

.pager .current {
    background: #099a19;
    cursor: default;
}



/* Mobile pagination */
@media (max-width: 800px){
    .pager{
        flex-wrap: wrap;
        gap: 6px;
        margin: 16px 0 24px;
        font-size: 14px;
    }

    .pager .page-link,
    .pager span{
        padding: 6px 10px;
        line-height: 1;             /* no extra vertical space */
    }

    .pager .page-link.next{
        white-space: nowrap;
        font-size: 13px;
        padding: 6px 8px;
        flex: 0 0 auto;
    }
}



/* Video block, under video titles: */

.cat_thumbbottom .left {
    font-size: 13px;
    width: 80% !important;
    line-height: 1.2;
    white-space: normal;
}


/* multi-format video dropdown on player page: */

.download-dropdown {
    display: none;
    flex-direction: column;
    background-color: #111;
    padding: 10px;
    border: 1px solid #444;
    margin-top: 5px;
    position: absolute;
    z-index: 100;
}

.download-dropdown a {
    color: #eee;
    padding: 5px;
    text-decoration: none;
    white-space: nowrap;
}

.download-dropdown.show {
    display: flex;
}

.download-dropdown a:hover {
    color: #ddf246;

}

/* selected player quality: */
.vjs-menu-item .vjs-menu-item-text {
    padding-right: 15px;
}

.vjs-menu-item.vjs-selected .vjs-menu-item-text::before {
    content: "\2713\0020"; /* ✓ + space */
    color: #4caf50;
    font-weight: bold;
    position: absolute;
    left: 5px;
}





/* Player mobile layout fix */
@media (max-width: 1000px){

    .thumb-limit > :nth-child(n+7) {
        display: none;
    }

    .mem_content_grid{
        display:block;
        width:94vw !important;
        margin:0 auto;
    }

    .sidebar{
        width:100% !important;
        margin:0 0 16px 0 !important;
        padding:0 !important;
    }
    .separator_conteiner{ display:none !important; }

    /* Main content rail */
    .memcontent{
        width:100%;
        max-width:94vw;
        margin:0 auto;
    }

    /* Player/tabs no overflow */
    .tabs-container,
    .tab-content,
    .player-container{
        width:100% !important;
        max-width:100% !important;
    }
    .tab-labels{
        margin:0;
        justify-content:center;
        flex-wrap:wrap;
        gap:8px;
    }

    /* responsive media */
    .player-container video,
    .player-container img{
        display:block;
        width:100% !important;
        max-width:100% !important;
        height:auto !important;
    }

    /* under-player controls: centered */
    .underplayer_button-container{
        justify-content:center;
        flex-wrap:wrap;
        gap:10px;
    }
}

/* kill 4K icon only in the videos.blade.php grid */
.mem_content_wrap .user_memcontent .mem_related .thumb .thumb-icon-right {
    display: none !important;
}

