body {
  margin: auto;
  font-family: Rubik, sans-serif;
  background: #121212;
  background-attachment: fixed;
  color: #fff;
  word-wrap: break-word;
  position:relative;
  max-width: 1920px;
}


a {
  text-decoration: none;
  color: #fff;
}

/* Верхняя панель */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: background 0.4s ease;
}





	
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300;
  src: url("/design/fonts/Oswald1.woff2") format("woff2");
  unicode-range: U+0400-04FF; /* Кириллица */
}


@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300;
  src: url("/design/fonts/Rubik1.woff2") format("woff2");
  unicode-range: U+0400-04FF; /* Кириллица */
}

/* Для английского текста */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300;
  src: url("/design/fonts/Oswald2.woff2") format("woff2");
  unicode-range: U+0000-007F; /* Латиница */
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300;
  src: url("/design/fonts/Rubik2.woff2") format("woff2");
    unicode-range: U+0000-007F; /* Латиница */
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300;
  src: url("/design/fonts/Rubik3.woff2") format("woff2");
    unicode-range: U+0030-0039; /* Только цифры 0-9 */
}




.title
{
	font-size: 2rem;
    line-height: 1;
    letter-spacing: .025em;
    text-transform: uppercase;
    text-align: center;
	color:#f2e8d9;
	font-family: Oswald, sans-serif;
}


/* Контейнер внутри панели */
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* По умолчанию фон прозрачный */
.navbar {
  background: transparent;
}

/* Фон при скролле */
.navbar.scrolled {
	background: rgba(24, 21, 18, 0.40) !important;
     
    backdrop-filter: blur(20px) !important;
}

/* Левая часть */
.navbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-left img {
  height: 40px;
}

.navbar-left a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.navbar-left a:hover {
  color: #fff6ea;
}

/* Правая часть */
.navbar-right button {
  display: flex;
  align-items: center;
  background: #f2e8d9;
  border: none;
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0px;
  font-size: 14px;
  color:#000000;
}

.navbar-right button:hover {
  background: #f0e5d5;
}

.navbar-right button img {
    height: 100%;
    margin-right: -20px;
}




/* Навигационные ссылки */
.nav-item {
  position: relative;
  opacity: 0.8;
  margin: 0 10px;
}

.nav-item:focus,
.nav-item:hover {
  opacity: 1;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}

.inactive-item,
.nav-item a {
  font-weight: 300;
  text-shadow: 0 4px 4px rgba(0,0,0,.25);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  color: #f2e8d9;
}

.nav-link:before {
  background-color: #ee991a;
  bottom: -.125rem;
  content: "";
  height: 1px;
  position: absolute;
  right: 0;
  transition: width .6s cubic-bezier(.25,1,.5,1);
  width: 0;
}

.nav-link:hover:before {
  left: 0;
  opacity: 1;
  right: auto;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  width: 100%;
}

.nav-item:has(.router-link-active) {
  opacity: 1 !important;
}





.navbar-right {
  position: relative;
  display: inline-block;
}

.login-btn {
  position: relative; /* для абсолютного позиционирования иконок */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 40px; /* оставляем место для иконок */
  background: #e7dac7;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.login-btn img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 18px; /* можно подстроить */
}

.icon-left {
  left: 8px;
}

.icon-right {
  right: 8px;
}

.login-btn:hover {
  background: #f0e5d5;
}


.customBg {
    background: linear-gradient(180deg, #12121200 52.81%, #121212), linear-gradient(180deg, #12121275 52.81%, #121212)
}

.customBg2 {
    background: linear-gradient(0deg, #12121200 52.81%, #121212), linear-gradient(0deg, #12121275 52.81%, #121212)
}

.mobile_panel_1
{
display:block;	
}
.mobile_panel_2
{
display:none;	
}





.p_1
{
    padding: 0px 60px;
}

.p_2
{
    text-align: left;font-size: 10px;width: 50%;margin: 15px 0px 10px 5%;color:#f3e8d9;
}



    /* Правая панель */
  .content2 {
    flex: 1;
    padding: 0px 0px 0px 30px;
    overflow-y: auto;
  }
  
  
    /* Левая панель */
  .sidebar {
    color: white;
    width: 250px;
    display: flex;
    flex-direction: column;
	transition: background 0.2s;
	background: #2a2a2a;
    padding: 17px;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }
  
     .container {
    display: flex;
  
  }
  
   .sidebarmobile {
       margin: 0px 0px 10px 0px;
	   width: 99%;
    }


.profile-container {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.profileblock1 {
  flex: 0 0 350px; /* по умолчанию фикс ширина */
}

.p_3 {
  flex: 1 1 300px; /* занимает всё остальное */
  min-width: 300px;
}

/* Когда ширины не хватает и блоки переносятся */
@media (max-width: 725px) { /* 350 + 300 + gap */
  .profileblock1,
  .p_3 {
    flex: 1 1 100%; /* оба блока растягиваются на всю ширину */
    max-width: 100%;
    width: 100%;
  }
}


.p_5
{
    max-width: 1000px;
    margin: 0 auto;
}



.p_4
{
margin: 6rem auto 0px auto;
}


.p_6
{
width: 30rem;
}



@media (max-width: 800px) {

.p_6
{
width: 90%;
}


.p_5
{
width: 100%;
}

.p_4
{
margin: 0rem auto 0px auto;
}


    .container {
      flex-direction: column;
    }

    .sidebar {
      width: auto;
      flex-direction: row;
      overflow-x: auto;
      padding: 10px;
    }
	
	
	 .sidebarmobile {
      margin: 0px 46px 0px 11px;
      width: 76%;
    }

.content2 {
    flex: 1;
    padding: 12px 0px 0px 0px;
    overflow-y: auto;
}

.p_1
{
    padding: 0px 0px;
}	

.p_2
{
    text-align: left;font-size: 10px;width: 91%;margin: 15px 0px 10px 5%;color:#f3e8d9;
}



	
.mobile_panel_1
{
display:none;	
}
.mobile_panel_2
{
display:block;	
}	


.mobile_panel_3
{
display:none;	
} 
	
}



.trailer {
    -webkit-mask: url(/design/img/v-mask.png) top right / 100% 100%;
    mask: url(/design/img/v-mask.png) top right / 100% 100%;
}

.w-full {
    width: 96%;
}
img, video {
    height: auto;
    max-width: 100%;
} 



@media (min-width: 1280px) {
    .xl\:mb-0 {
        margin-bottom: 0;
    }
}
@media (min-width: 1024px) {
    .lg\:flex-row {
        flex-direction: row;
    }
}
.gap-10 {
    gap: 2.5rem;
}
.justify-center {
    justify-content: center;
}
.items-center {
    align-items: center;
}
.flex-col-reverse {
    flex-direction: column-reverse;
}
.flex {
    display: flex
;
}
.mb-10 {
    margin-bottom: 2.5rem;
}
@media (min-width: 1280px) {
    .xl\:mb-0 {
        margin-bottom: 0;
    }
}
@media (min-width: 1024px) {
    .lg\:flex-row {
        flex-direction: row;
    }
}


.flex-col {
    flex-direction: column;
}
.max-w-\[41\.813rem\] {
    max-width: 41.813rem;
}

@media (min-width: 1280px) {
    .xl\:w-auto {
        width: auto;
    }
}
@media (min-width: 1024px) {
    .lg\:w-1\/2 {
        width: 50%;
    }
}



.text-orange {
    --tw-text-opacity: 1;
    color: rgb(238 153 26 / var(--tw-text-opacity));
}
.pl-4 {
    padding-left: 1rem;
}
.flex-col {
    flex-direction: column;
}
.list-disc {
    list-style-type: disc;
}
.list-outside {
    list-style-position: outside;
}
.flex {
    display: flex
;
}
menu, ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}



  .slider-wrapper {
    position: relative;
    padding: 20px 0;
  }

  .slider-container {
    display: flex;
    overflow: hidden; /* скрываем полосы прокрутки */
    gap: 20px;
    touch-action: pan-x;
    user-select: none;
    scroll-behavior: smooth;
  }

  .slide {
    flex: 0 0 auto;
    width: 410px;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    transition: transform 0.3s;
	mask: url(/design/img/v-mask.png) top right / 100% 100%;
	 cursor: grab;
	  scroll-snap-align: start;
  }
  
   .slide:hover {
    transform: scale(1.05);
  }


  .slide:active {
    cursor: grabbing;
  }
  
  
  #slider {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth; /* плавная прокрутка */
  scroll-snap-type: x mandatory; /* включаем snap */
}


  

  /* Прогресс-бар */
  .progress-bar {
	height: 7px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
    width: 202px;
    left: 50%;
    position: sticky;
    margin: 6px 0px 6px 0px;
    border: 1px solid hsla(36, 49%, 90%, .2);
    transform: translate(-50%);
  }

  .progress {
    width: 0%;
    height: 100%;
    background: #ee991a;
     transition: width 0.2s ease; /* плавное обновление */
  }
  
  
  
  
  #lightbox {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:1000;
}

#lightbox-overlay {
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.7);
}

#lightbox-content {
  position: relative;
  z-index: 1001;
  max-width: 90%;
  max-height: 90%;
}

#lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  display:block;
}

#lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 30px;
  text-align: center;
  padding: 0;
}


.divider {
    background: linear-gradient(90deg, #c7c7c700, #999 50%, #c7c7c700);
	height: 1px;
}




    .donate-box {
      background: #2a2a2a;
      padding: 24px;
      border-radius: 4px;
      max-width: 400px;
     
      box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    }
    .donate-box h2 {
      margin-bottom: 20px;
      font-size: 22px;
    }
    .donate-item {
      margin-bottom: 18px;
    }
    .donate-btn {
      background: #4ea1ff;
      border: none;
      color: #fff;
      padding: 12px 16px;
      font-size: 16px;
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.2s;
      width: 100%;
    }
    .donate-btn:hover {
      background: #2e7cd6;
    }
    .toast {
      margin-top: 12px;
      font-size: 14px;
      color: #a8ffa8;
      min-height: 20px;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .toast.show {
      opacity: 1;
    }
	
	
	
	
	 /* Задний фон */
 .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    background: url(/design/img/Grunge.png) no-repeat center center, rgb(0 0 0 / 81%);
    background-size: cover, cover;
    filter: brightness(12%);
}

  /* Само окно */
  .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 30px;
    width: 300px;
    max-width: 90%;
    z-index: 9999;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	background: #2a2a2a;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  }

  /* Крестик */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #d1c9bc;
  }

  .close-btn:hover {
    color: #9f3c3c;
  }
  
  
  
    #open {
    display: none;         
    opacity: 0;            
    transition: opacity 0.5s ease; 
  }


  #open.show {
    display: block;
    opacity: 1;
  }

  #close {
    cursor: pointer;
  }
  
  
  





  /* Правая панель */
  .content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
	z-index: 2;
    margin: -10% 0px 0px 0px;
    position: relative;
  }
  
  


  
  
   .player-card{
	width: 100%;
    background: #2a2a2a;
    border-radius: 4px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }
  .pc-header{ display:flex; gap:14px; align-items:center; }
  .pc-avatar{
   width: 72px;
    height: 72px;
    border-radius: 4px;
    object-fit: cover;
    background: #222;
  }
  .pc-head-meta{ min-width:0; }
  .pc-nick{ font-size:1.15rem; font-weight:700; line-height:1.2; }
  .pc-rank{
       display: inline-block;
    margin-top: 4px;
    padding: 6px 8px;
    font-size: .78rem;
    font-weight: 700;
    border-radius: 999px;
    background: #ee991a;
    color: #fff;
  }
 
  .pc-registered{ color:var(--muted); font-size:.85rem; margin-top:4px; }

  .pc-stats{ 
  margin-top: 14px;
    background: #3a3a3a;
    border-radius: 4px;
    padding: 10px;}
  .pc-level{ font-weight:700; margin-bottom:6px; }
  .pc-exp-bar{
       position: relative;
    height: 10px;
    background: #2a2a2a;
    border: 1px solid #2a2a2a;
    border-radius: 999px;
    overflow: hidden;
  }
  .pc-exp-bar > span{
   position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ee991a, #ee991a61);
    box-shadow: 0 0 12px rgb(238 153 26) inset;
    transition: width .4s ease;
  }
  .pc-exp-text{ margin-top:6px; font-size:.88rem; color:var(--muted); }

  .pc-currencies{
    margin-top:12px; display:flex; gap:10px; flex-wrap:wrap;
  }
  .pc-currency{
        flex: 1 1 160px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #3a3a3a;
    border-radius: 4px;
    padding: 10px 12px;
    color: #ffffff;
  }
  .pc-currency b{ font-weight:800; }
  .pc-currency svg{ flex:0 0 auto; }


.profilestats
{
    background: #3a3a3a;
    padding: 7px 7px;
    border-radius: 4px;
}



.baygold
{
    position: relative;
	width: 180px;
	background: #3a3a3a;
	border-radius: 10px;
	padding: 15px;
	text-align: center;
	color: white;
	font-family: Arial, sans-serif;
	box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}



.baygold:hover
{
	background: #545454;
}


.skidka
{
	position: absolute; top: 10px; right: -5px; background: #9f3c3c; color: #fff; font-size: 13px; font-weight: bold; padding: 4px 8px; border-radius: 6px; transform: rotate(5deg); box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}




.baygold {
    background: #222;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}
.baygold:hover {
    background: #333;
}



#buy-section {
    display: none;
    text-align: center;
    padding: 20px;
    position: relative; /* чтобы кнопка позиционировалась внутри */
}

.btn {
    background: #3a3a3a;
    color: #fff;
    margin: 9px 21px;
    padding: 18px 0px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: 0.3s;
    width: 190px;
}

.btn:hover
{
	background: #333;		
}



.btn-success
{
	background: #2f5828;
}

.btn-back {
position: absolute;
    top: -6px;
    left: 10px;
    background: #3a3a3a;
    color: #fff;
    margin: 0;
    padding: 2px 3.5px;
    font-size: 14px;
    border-radius: 4px;
	border: none;
	font-weight: bold;
	cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
	transition: 0.3s;
}

.btn-back:hover
{
	background: #333;		
}


.btn-ru { background: #d44; color: #fff; }
.btn-ua { background: #2a7; color: #fff; }



.section { display: none; }
.active { display: block; }



.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: inline;
}

.upload-btn {
  border: none;
  background: linear-gradient(135deg, #4cafef, #3578e5);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.upload-btn:hover {
  background: linear-gradient(135deg, #5cb2ff, #4c88f0);
  transform: translateY(-2px);
}

.upload-btn:active {
  transform: translateY(0);
}

.upload-btn-wrapper input[type=file] {
	position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    padding: 16px 0px;
    margin: -16px -9px;
}



   .vip-form {
      background: #333;
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      width: 300px;
    }
	
	
	

.bb-help { max-width: 90%; margin: 4px auto; }

.bb-toggle{
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 4px;
    background: #3a3a3a;
    cursor: pointer;
    transition: .2s ease;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.bb-toggle:hover{background: #333;}
.bb-toggle:active{background: #333;}
.bb-toggle .chev{ transition: transform .25s ease; opacity:.85 }

.bb-panel{
overflow: hidden;
    border-radius: 4px;
    margin-top: 10px;
    background: #3a3a3a;
    transition: max-height .28s ease;
}


.bb-list{ list-style:none; margin:0; padding:8px; }
.bb-list li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #2a2a2a;
    padding: 3px 5px;
    border-radius: 4px;
}
.bb-list li + li{ margin-top:8px; }

.bb-list code{
    font-size: 13px;
    color: #eaeaea;
    background: #111111;
    padding: 8px 7px;
    border-radius: 4px;
    user-select: text;
    white-space: nowrap;
    overflow: auto;
}

.bb-list .copy{
  flex:0 0 auto; padding:8px 10px; border-radius:8px; border:1px solid #2b2b2b;
  background:#202020; color:#dcdcdc; font-size:13px; cursor:pointer; transition:.2s;
}
.bb-list .copy:hover{ background:#3a3a3a;}
.bb-list .copy:active{ transform: translateY(0); }

.bb-help.open .bb-panel{ max-height: 100%; }
.bb-help.open .bb-toggle .chev{ transform: rotate(180deg); }





a.news-block {
  display: block;
  width: 500px;
  overflow: hidden;
  text-decoration: none; /* убираем подчеркивание ссылок */
}

/* Изображение внутри блока */
a.news-block ul li:first-child {
  width: 40%;
  float: left;
  overflow: hidden;
}

a.news-block ul li:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Увеличение картинки при наведении */
a.news-block:hover ul li:first-child img {
  transform: scale(1.1);
}

/* Контейнер текста */
a.news-block ul li:last-child {
  width: 57%;
  float: right;
  height: 113px;
  position: relative;
}

/* Стиль кнопки "Читать" */
a.news-block ul li:last-child span.read-btn {
  position: absolute;
  bottom: 0;
  color: #8c8983;
  transition: color 0.3s ease;
}

/* Меняем цвет кнопки при наведении на весь блок */
a.news-block:hover ul li:last-child span.read-btn {
  color: #ee991a;
}