html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

body { line-height: 1; }

ol, ul { list-style: none; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }

* { -webkit-box-sizing: border-box; box-sizing: border-box; }

html, body { position: relative; overflow-x: hidden; }

body { 
  width: 100%; 
  background: url(../images/top-fon-home.jpg) center top no-repeat, url(../images/bottom-fon-home-1.jpg) center bottom no-repeat; 
  background-color: #dedfe6; 
  font-family: Open Sans, Candara, Arial, sans-serif; 
  font-size: 14px;
  color: #394c7f; 
 }

a { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; text-decoration: none; color: #62d8ff; }

a {
    position: relative;
    z-index: 10;
}

a:hover { color: #fff; text-decoration: none; }

p { margin-bottom: 20px; }

h1, h2, h3, h4 { color: #fff; margin-bottom: 20px; line-height: 1.3; }
h5 { color: #000000; margin-bottom: 0px; line-height: 1.3; }

h1 { font-size: 20px; }

h2 { font-size: 18px; }

h3 { font-size: 16px; }

h5 { font-size: 16px; }

/* Закругленные углы для изображений в таблицах и других контейнерах */
table img, td img, th img, .content img {
    border-radius: 10px;
    overflow: hidden;
    display: inline-block; /* Убираем display: block, чтобы изображения не уходили в столбик */
    vertical-align: middle; /* Выравниваем их по вертикали */
    margin: 2px; /* Немного пространства между изображениями */
}

/* Границы таблиц в зависимости от border */
table {
  width: 100%;
  background: rgba(239, 241, 247, 0.8); /* Прозрачный фон с 80% непрозрачностью */
  border-collapse: collapse; /* Убедитесь, что границы ячеек не дублируются */
}

table[border="0"] {
    border: none;
    border-collapse: collapse;
}

table[border="1"] {
    border: 1px solid #7589ba;
}


caption {
  margin-bottom: 15px;
  font-size: 1.5em; /* Увеличьте размер шрифта для заголовка таблицы */
  font-weight: bold; /* Выделение заголовка таблицы */
  color: #234451; /* Цвет заголовка таблицы */
}

select {
 background: #0f0f0e;
  border: 0px solid #262a32; 
  color: #71d5fd;
   padding: 0px 30px;
    height: 45px; 
    position: relative; 
  }

input, textarea {
  background: #e6f0ff; /* светло-синий фон */
  border: 1px solid #a3c9f9; /* нежно-синяя рамка */
  color: #003366; /* тёмно-синий текст */
  padding: 12px 20px;
  text-align: left;
  font-size: 15px;
  min-width: 220px;
  font-family: Open Sans, Candara, Arial, sans-serif;
  border-radius: 5px;
}

input::placeholder,
textarea::placeholder {
  color: #5c87b2; /* синий, но мягкий */
}

button {
    background-color: #5a6ea8; /* ярко-синий */
    border: none;
    color: #fff;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#button:hover {
    background-color: #1565c0; /* темнее при наведении */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.button-small {
  position: relative;
  transition: all 0.3s ease; 
  cursor: pointer;
  font-size: 14px;
  text-transform: none; 
  height: 40px;
  width: 115px;
  color: #fff; 
  border-radius: 10px;
  display: inline-block; 
  text-decoration: none;
  text-align: center; 
  justify-content: center;
  padding-top: 12px;
  background-color: #7589ba;
  box-shadow: 0px 10px 20px 0px rgb(74 104 169 / 0.5);
  margin-right: 8px;
  z-index:1;
}
.button-small:hover{
 -webkit-filter: brightness(120%);
  filter: brightness(120%); 
}

.buttons-block{
  position: absolute;
  bottom: 40px;
  left: 35%
}

:focus { outline: none; }

::-webkit-input-placeholder { color: #00aac3; }

::-moz-placeholder { color: #00aac3; }

:-moz-placeholder { color: #00aac3; }

:-ms-input-placeholder { color: #00aac3; }

.wrapper { max-width: 1200px; width: 100%; margin: 0 auto; position: relative; }

.flex { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; }

.flex-c { 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; }

.flex-s { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -ms-flex-wrap: wrap; flex-wrap: wrap; }

.flex-s-c { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -ms-flex-wrap: wrap; flex-wrap: wrap; }

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

.bright:hover { -webkit-filter: brightness(120%); filter: brightness(120%); }

.menu {
  margin-top: -13px;
}

.menu li a:before {
  content: "";
  position: absolute;
  height: 23px;
  width: 4px;
  left:0px;
  top: 22px;
}

.menu li:first-child a:before{
  display: none;
}
.menu li: a{
  margin: 0px; 8px;
}

.menu li {
  margin: 0px 8px;
}

.menu a {
  color: #377594;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0px 26px;
  display: block;
  height: 88px;
  line-height: 88px;
  position: relative;
}

.menu a:after {
  content: "";
  transition: 0.3s;
  height: 0px;
  width: 0px;
}

.menu a:hover {
  color: #010101;
  background: linear-gradient(to bottom, #a9b9dc 0%, rgba(0, 0, 0, 0));
}

.menu a:hover:after {
  content: "";
  height: 1px;
  width: 100%;
  bottom: 0px;
  left: 0px;
  position: absolute;
  background: #475183;
}

.menu .active a:after {
  content: "";
  height: 1px;
  width: 100%;
  bottom: 0px;
  left: 0px;
  position: absolute;
  background: #475183;
}
.menu .active a {
  color: #010101;
  background: linear-gradient(to bottom, #a9b9dc 0%, rgba(0, 0, 0, 0));
}

header { height: 750px; position: relative; }

.topPanel {  
  position: absolute; 
  width: 100%; 
  top: 0px; 
  left: 0px; 
  z-index: 20; 
}
.topPanel-wrapper { 
  max-width: 1400px; 
  width: 100%; 
  margin: 0 auto; 
  position: relative; 
}

.topPanel-wrapper_right{
  margin-top: -13px;
}

.sign-in {
 margin: 0px 20px; 
 font-weight: bold;
 color: #5c83cb; 
}

.sign-in:hover {
 color: #000; 
 text-decoration: underline;
}

.topPanel-wrapper_right span { 
 font-weight: bold;
  color: #5c83cb;
  margin-right: 10px;
}

/* end menu */

.logo { position: absolute; top: 70px; left: -125px; }


.headerBlock { 
  position: absolute; 
  bottom: 55px; 
  left: 0; 
  right: 0; 
  width: 100%; 
}

.headerButtons {
 -ms-flex-wrap: nowrap; 
 flex-wrap: nowrap; 
}

/* server*/
.radial{
  display: flex;
  padding-left: 18px;
}
.radial-stat {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgb(7 23 67 / 0.4);
  width: 153px;
  height: 153px;
  border-radius: 50%;
  margin-right: 46px;
}

.circle-online { 
  text-align: center; 
  position: relative; 
  display: inline-block; 
  z-index: 2; 
  background: rgb(7 23 67 / 0.4);
  border-radius: 50%;
}

.circle-online:after{
  content: "";
  position: absolute;
  top: -54px;
  left: -50px;
  height: 178px;
  width: 221px;
  background: url(../images/radial-stat-fon.png) no-repeat;
}

.serverInfo {
  position: absolute;
  width: 124px;
  height: 124px;
  padding-top: 29px;
}

.serverInfo span { display: block; width: 100%; text-align: center; position: relative; }

.serverInfo__name { font-size: 14px; color: #fff; margin-bottom: 3px; }

.serverInfo__online { 
  color: #a2ff00;
 font-size: 14px;
 padding-top: 10px;
}

.serverInfo__offline { 
  color: #ed1f24;
 font-size: 14px;
 padding-top: 10px;
 font-weight: bold;
}
/* end serwer*/
/*download*/

.download-buttons {
  position: absolute;
  bottom: 50px;
  right: 0;
  z-index: 2;
  display: flex; /* Ключевой момент — flex-контейнер */
  gap: 20px; /* Расстояние между иконками */
  align-items: center;
}

.download-buttons img {
  transition: transform 0.3s ease-in-out;
  width: 220px; /* Задайте подходящий размер */
  height: auto;
}

.download-buttons img:hover {
  transform: scale(1.1);
}

.small-download { 
  width: 174px; 
  height: 70px; 
  background-repeat: no-repeat; 
  background-position: center; 
  padding-top: 21px; 
  padding-left: 75px;
   color: #354970; 
}

.small-download:hover { -webkit-filter: brightness(105%); filter: brightness(105%); color: #6581b9; }
.small-download p { font-size: 13px; font-weight: bold; margin-bottom: 3px; } 

.small-download span {
 font-size: 20px; 
 font-weight: bold;
}

.ios { 
  background-image: url(../images/download-ios.jpg);
}

.android { 
  background-image: url(../images/download-android.jpg);
}

/**/

.h-button { 
  width: 350px; 
  height: 130px; 
  border-radius: 10px;
  background-repeat: no-repeat; 
  background-position: center; 
  padding-top: 32px; 
  padding-left: 127px;
  margin-top: 2px;
}

.h-button:hover { -webkit-filter: brightness(120%); filter: brightness(120%); }
.h-button p { font-size: 30px; font-weight: bold; text-transform: uppercase; margin-bottom: 5px; letter-spacing: 2px; }

.h-button span {
 font-family: 'Candara';
 font-size: 16px; 
 color: #fff;
 text-shadow: 0px 1px 0px rgb(0 0 0 / 0.7);
}

.h-button.download { 
  background-image: url(../images/download-button.jpg);
}

.h-button.download p { 
  color: #fff;
  text-shadow: rgb(0 0 0 / 0.7) 0px 1px 0px;
}

 }
.h-button.download span {
 color: #1bcdff; 
}

/*end download*/

.news-panel{
  z-index: 1;
}

/*slider*/
.swiper-news {
    position: relative;
    width: 600px;
}



.swiper-news .swiper-slide {
    position: relative;
    height: 330px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.swiper-news .swiper-slide .button-more {
    display: block;
    position: absolute;
    right: 100px;
    bottom: 120px;
    transition: all 0.3s ease; 
    background: url(../images/more-news.jpg) no-repeat;
    width: 60px;
    height: 25px;
    padding-top: 5px;
    padding-left: 7px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    color: #dfbc60;
    font-size: 12px;
    opacity: 0.6;
}
 
 .swiper-news .swiper-slide .button-more:hover{
     opacity: 100;
 }

.newsPagination {
    position: absolute;
    left: 225px;
    bottom: 10px;
    width: 120px;
    height: 35px;
    z-index: 11;
}
  
.swiper-news .swiper-button-next, .swiper-news .swiper-button-prev {
  width: 20px;
  height: 20px;
  background: none;
  background-color: #0d0f1a;
  margin-top: -10px;
  text-align: center;
  line-height: 1.4;
  color: #c0d107;
  background-image: url(../images/next-p.png);
}

.swiper-news .swiper-button-prev {
  width: 20px;
  height: 20px;
  background: none;
  background-color: #0d0f1a;
  margin-top: -10px;
  text-align: center;
  line-height: 1.4;
  color: #c0d107;
  background-image: url(../images/prev-p.png);
}
  
.swiper-news .swiper-pagination {
    color: #5887ff;
    font-size: 15px;
}
  
.swiper-news .swiper-pagination-current {
    color: #fff;
}
  
.slider-title {
    position: absolute;
    left: 40px;
    top: -140px;
    font-size: 36px;
    font-weight: normal;
    line-height: 1;
    margin-bottom: 0px;
    color: #fff;
    padding-right: 20px;
    transition: 1.5s;
}

.swiper-slide-active .slider-title {
    top: 40px;
}

.slider-info {
    position: absolute;
    width: 440px;
    left: 40px;
    bottom: -140px;
    line-height: 1.5;
    margin-bottom: 0px;
    color: #fff;
    padding-right: 20px;
    transition: 1.5s;
}

.swiper-slide-active .slider-info {
    bottom: 40px;
}

/*news*/
.events-block {
    display: flex;
    flex-direction: column;
    background: url('../images/fon-last-news.jpg') no-repeat;
    border-radius: 10px;
    padding: 35px 0px 40px 0px;
    width: 590px;
    position: relative;
    z-index: 1;
}

.events-block:before {
    content: "";
    position: absolute;
    left: 230px;
    top: -27px;
    width: 134px;
    height: 124px;
    background: url('../images/news-icon.png') no-repeat;
}

.news-top-title {
  position: relative;
  display: flex;
  padding: 0px 40px;
  font-family: 'Candara'
  }

.news-top-title span.active {
  color: #3f5a99;
  font-weight: 700;
}

.news-top-title span {
  display: block;
  color: #c163ed;
  font-size: 20px;
  font-weight: bold;
  padding: 5px 5px 10px 0px;
  text-transform: uppercase;
  position: relative;
  transition: 0.3s;
}

.news-top-title span:hover{
  color: #3f5a99;
  cursor: pointer;
}

.tab-block {
  display: none;
}
.tab-block.active {
  display: block;
  animation: tab 0.6s linear;
}

.pp{
 color: #3f5a99;
  font-size: 20px;
  font-weight: bold;
  padding: 5px 5px 0px 0px;  
}

/*1news*/
.newsContent {
  transition: 0.3s;
  padding-right: 110px;
}
.newsContent:hover {
  background-color: #435480;
  box-shadow: 0px 8px 10px -3px rgba(0, 0, 0, 0.45);
  transition: 0.4s;
  margin: 0px -10px 0px -10px;
  cursor: pointer;
}
.newsContent:hover .newsContent_info-text a, .newsContent:hover .newsContent_info-link {
  color: #fff;
}

.newsContent:hover .newsContent_info {
    width: 340px;
    margin-left: -20px;
    transition: all 0.3s ease;
}

.newsContent_img img {
  display: block;
  padding-left: 30px;
}

.newsContent_info span{
  color: #b100f6;
}

.newsContent:hover .newsContent_info span{
  color: #98b2f0;
}

.newsContent_info {
  position: relative;
  width: 340px;
  transition: all 0.3s ease;
  font-weight: bold;
}
.newsContent_info-link {
  font-size: 14px;
  color: #394c7f;
  display: block;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: -3px;
}
.newsContent_info-text {
  font-size: 13px;
  color: #909fc7;
}

.newsContent:hover .newsContent_info-text{
  color: #e0b1f6;
}

.newsContent_info-text a {
  color: #fff;
}

.blue-a{
  position: absolute;
  top: 8px;
  right: -80px;
  background: url('../images/more-news.jpg') no-repeat;
  width: 60px;
  height: 25px;
  padding-top: 5px;
  padding-left: 7px;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
  color: #dfbc60;
  font-size: 12px;
  display: none;
}

.blue-a:hover {
  opacity: 100 !important;
  color: #dfbc60;
}

.newsContent:hover .blue-a{
  display: inline-block;
   opacity: 0.4;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

/*end 1 news/
/*end news*/


.block-widget{
  position: relative;
  margin-top: 89px;
  width: 1200px;
  height: 550px;
  background: url(../images/fon-widget-center-top.jpg)top no-repeat, url(../images/fon-widget-center-bottom.jpg) bottom no-repeat, url(../images/fon-widget-center-y.jpg) repeat-y;
  border-radius: 10px;
  box-shadow: 0px 0px 60px 0px rgb(67 84 128 / 0.4);
}

.block-widget:before{
  content: "";
  position: absolute;
  top: -158px;
  height: 708px;
  width: 985px;
  background: url(../images/hero-top-page.png) center no-repeat;
}

.widget-fon{
  width: 398px;
  padding: 40px;
  z-index: 1;
}

.widget-fon-guilds{
  width: 398px;
  padding: 40px;
  z-index: 1;
}

.block-widget-title{
  padding-bottom: 35px;
  color: #3f5a99;
  font-size:20px;
  font-weight: bold;
  text-align: center;
  font-family: 'Candara';
}

.guild .top-number {
  width: 60px;
}
.top-block.guild .top-number img {
  margin-bottom: -2px;
  margin-left: 5px;
}


.top-block.guild .score {
  padding-left: 55px
}

.top-block {
  width: 100%;
  padding-bottom: 15px;
  z-index: 1;
  position: relative;
}
.top-block span {
  display: block;
}
.top-block .top-number {
  width: 20px;
}

.guild img{
  border: 1px solid #360e17;
}

.top-block .top-flag {
  width: 30px;
  padding-top: 2px;
}

.top-block .top-name {
  width: 162px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-block .top-lvl {
  width: 80px;
}

.top-block .top-Res sup {
  font-size: 10px;
  color: #ff0000;
  position: absolute;
  margin-top: -5px;
}

.top-list {
  height: 41px;
  display: flex;
  align-items: center;
  font-size: 15px;
  transition: 0.3s;
  color: #394c7f;
}
.top-list a {
  color: #394c7f;
  text-decoration: none;
}
.top-list:hover {
  background-color: #435480;
  box-shadow: 0px 8px 10px -3px rgba(0, 0, 0, 0.45);
  height: 41px;
  margin: 0px -40px 0px -40px;
  padding: 0px 25px 0px 25px;
  color: #fff;
  position: relative;
  z-index: 5;
}

.top-list:hover a {
  color: #fff;
}

.top-title {
  color: #b100f6;
  font-weight: bold;
  display: flex;
  align-items: center;
  font-size: 15px;
  margin-bottom: 15px;
}


.top-block.guild .top-number {
    width: 60px;
}

/**/


.fast-links{
  display: flex;
  margin-top: 57px;
  font-family: 'Roboto';
}

.fast-links span{
  margin-right: 30px;
}

/*fast 1*/

.fast-links-left{
  width: 380px;
  height: 140px;
  background: url(../images/fast-links-left.jpg) no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  padding-left: 35px;
  padding-top: 25px;
}

.fast-links-left span {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  font-style: italic;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  z-index: 1;
}

.fast-links-left p {
  font-size: 14px;
  font-style: italic;
  line-height: 1.2;
  color: #f7ddbf;
}

.fast-links-left:before {
  content: "";
  background: url(../images/hero-links.png) no-repeat;
  width: 170px;
  height: 168px;
  position: absolute;
  left: 231px;
  top: -28px;
  transition: 0.3s;
}

.fast-links-left:hover:before {
  left: 216px;
}

/*fast 2*/
.fast-links-center{
  width: 380px;
  height: 140px;
  background: url(../images/fast-links-center.jpg) no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  padding-left: 35px;
  padding-top: 25px;
}

.fast-links-center span {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  font-style: italic;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  z-index: 1;
}

.fast-links-center p {
  font-size: 14px;
  font-style: italic;
  line-height: 1.2;
  color: #f7ddbf;
}

.fast-links-center:before {
  content: "";
  background: url(../images/hero-links-center.png) no-repeat;
  width: 200px;
  height: 167px;
  position: absolute;
  left: 187px;
  top: -27px;
  transition: 0.3s;
}

.fast-links-center:hover:before {
  left: 172px;
}

/*fast 3*/
.fast-links-right{
  width: 380px;
  height: 140px;
  background: url(../images/fast-links-right.jpg) no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  padding-left: 35px;
  padding-top: 25px;
}

.fast-links-right span {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  font-style: italic;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  z-index: 1;
}

.fast-links-right p {
  font-size: 14px;
  font-style: italic;
  line-height: 1.2;
  color: #f7ddbf;
}

.fast-links-right:before {
  content: "";
  background: url(../images/hero-links-right.png) no-repeat;
  width: 204px;
  height: 168px;
  position: absolute;
  left: 184px;
  top: -28px;
  transition: 0.3s;
}

.fast-links-right:hover:before {
  left: 169px;
}

/*end fast links*/

.bottom-block{
display: flex;
}

.bottom-block-span{
margin-right: 30px;
}

.dis-1{
  padding-top: 15px;
}

/*discussion*/

.discussions-title{
  padding-top: 140px;
  position: relative;
  z-index: 1;
}

.discussions-title-panel{
  padding-top: 40px;
  position: relative;
  z-index: 1;
}

.widget-fon-discussions{
  background: url(../images/fon-top-block-bm.jpg)top no-repeat, url(../images/fon-bottom-block-bm.jpg) bottom no-repeat, url(../images/fon-center-block-bm.jpg) repeat-y;
  box-shadow: 0px 0px 60px 0px rgb(67 84 128 / 0.4);
  height: 670px;
  border-radius: 10px;
  width: 380px;
  position: relative;
  padding: 0px 35px 35px 35px;
}

.fon-discussions:before{
  content: "";
  position: absolute;
  width: 640px;
  height: 594px;
  top: -80px;
  right: 0;
  background: url(../images/hero1-block-bm.png)top no-repeat;
}

.discussions-content-top{
  z-index: 1;
  position: relative;
}

.discussions-content-market{
  z-index: 1;
  position: absolute;
}

.discussions-content-panel{
  z-index: 1;
  position: absolute;
}

.block-players{
  padding: 0px 35px 35px 35px;
  margin-top: 76px;
}

.discussionsContent {
  transition: 0.3s;
  padding: 10px 0px 10px 0px;
}
.discussionsContent:hover {
  background-color: #435480;
  box-shadow: 0px 8px 10px -3px rgba(0, 0, 0, 0.45);
  transition: 0.4s;
  margin: 0px -40px 0px -40px;
  padding: 10px 26px 10px 26px;
  cursor: pointer;
}
.discussionsContent:hover .discussionsContent_info-text a, .discussionsContent:hover .discussionsContent_info-link {
  color: #fff;
}
.discussionsContent:hover .discussionsContent_info {
    width: 211px;
    margin-left: -20px;
    transition: all 0.3s ease;
}
.discussionsContent:hover .discussionsContent_number span {
  background-color: #768ecc;
  color: #fff;
}
.discussionsContent_img img {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: block;
  box-shadow: 0em 8px 15px rgba(0, 0, 0, 0.3);
}

.discussionsContent_number span {
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: #dedfe6;
  color: #000;
  font-size: 12px;
}
.discussionsContent_info {
  width: 211px;
  transition: all 0.3s ease;
}
.discussionsContent_info-link {
  font-size: 14px;
  color: #394c7f;
  display: block;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.discussionsContent:hover .discussionsContent_info-text {
color: #dedfe6;
}
.discussionsContent_info-text {
  font-size: 14px;
  color: #958ebc;
  font-weight: 600;
}
.discussionsContent_info-text a {
  color: #bd51f1;
}

.discussionsContent:hover .discussionsContent_info-text a{
  color: #e0b1f6;
}

/* Контейнер таймеров */
.timers {
    max-height: 40vh;
    overflow-y: auto;
    padding: 10px;
}

/* Контейнер событий */
.event-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    color: #fff;
    gap: 10px; /* Добавляем пространство между элементами */
}

/* Название события */
.event-name {
    flex-grow: 1; /* Занимает всю доступную ширину */
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Таймер */
.timer {
    font-weight: bold;
    color: #ffcc00;
    text-align: right;
    min-width: 80px; /* Фиксированная ширина, чтобы текст не прыгал */
}





/* Адаптация для мобильных */
@media (max-width: 600px) {
    .event-row {
        font-size: 12px;
        gap: 5px;
    }
    .event-name {
        max-width: 55%;
    }
    .timer {
        flex-basis: 40%;
    }
}

@media (max-width: 768px) {
    .twitch-footer-container {
        right: 10px;
        width: 200px;
        height: 120px;
    }
}


/*event*/

.fon-event:after{
  content: "";
  position: absolute;
  width: 389px;
  height: 487px;
  top: -70px;
  right: 0;
  background: url(../images/hero2-block-bm.png)top no-repeat;
}


/*end event*/

.fon-accpanel:after {
  content: "";
  position: absolute;
  width: 676px;
  height: 733px;
  top: -70px;
  left: 0;
  z-index: -1; /* 🔐 Важно */
}

.fon-accpanel {
  line-height: 16px; /* Уменьшите до нужного значения */
  position: relative; /* обязательно */
}

.fon-accpanel li {
  line-height: 16px; /* Уменьшите до нужного значения */
}

/*MARKET*/
.fon-market:after{
  content: "";
  position: absolute;
  width: 676px;
  height: 733px;
  top: -70px;
  left: 0;
  background: url(../images/hero3-block-bm.png)top no-repeat;
}

.marketContent {
  position: relative;
  transition: 0.3s;
  padding: 10px 0px 10px 0px;
}
.marketContent:hover {
  background-color: #435480;
  box-shadow: 0px 8px 10px -3px rgba(0, 0, 0, 0.45);
  transition: 0.4s;
  margin: 0px -40px 0px -40px;
  padding: 10px 26px 10px 26px;
  cursor: pointer;
}
.marketContent:hover .marketContent_info-text a, .marketContent:hover .marketContent_info-link {
  color: #fff;
}
.marketContent:hover .marketContent_info {
    width: 211px;
    margin-right: 5px;
    transition: all 0.3s ease;
}
.marketContent:hover .marketContent_number {
  left: 148px;
  color: #fff;
}
.marketContent_number:hover{
  background-color: #768ecc;
}
.marketContent_number{
  position: absolute;
  left: 100px;
  top: 60px;
  padding: 7px 27px;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: #435480;
  color: #fff;
  font-size: 12px;
  box-shadow: 0em 8px 15px rgba(0, 0, 0, 0.3);
  transition: 0.4s;
}

.marketContent_img img {
  width: 78px;
  height: 78px;
  display: block;
  box-shadow: 0em 8px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.marketContent:before{
  content: "";
  position: absolute;
  height: 100px;
  width: 86px;
  background: url(../images/border-market.png)top no-repeat;
  top: 0;
  left: -4px;
  transition: 0.4s;
  z-index: 1;
}

.marketContent:hover:before{
  left:22px;
}

.marketContent_info {
  position: relative;
  top: -20px;
  width: 211px;
  transition: all 0.3s ease;
}
.marketContent_info-link {
  font-size: 14px;
  color: #394c7f;
  display: block;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.marketContent:hover .marketContent_info-text {
color: #dedfe6;
}
.marketContent_info-text {
  font-size: 14px;
  color: #bd52f1;
  font-weight: 600;
}

.marketContent_info-text img{
  position: relative;
  top: 2px;
}

/*end market*/

/* Footer
-----------------------------------------------------------------------------*/
.footer{
min-height: 620px;
}

.footer-block-t{
  padding-top: 105px;
}

.f-menu li {
  display: inline-block;
  margin: 15px 23px;
}

.f-menu li a {
  text-transform: uppercase;
  color: #101620;
  font-size: 14px;
  font-weight: bold;
}

.f-menu li a:hover{
  color: #5781e9;
}

.f-menu li a:active{
  color: #5781e9;
}

.f-menu .active a{
  color: #5781e9;
}


/*lenguadge*/

.lang-block {
  position: relative;
  margin-left: 80px;
}
.lang-block:after {
  border: 5px solid transparent;
  border-top-color: #000;
  position: absolute;
  left: -15px;
  top: 8px;
  content: '';
}

.lang-block a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
}

.lang-block a:hover  {
  color: #5781e9;
}
.img-lang {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-left: 8px;
  margin-bottom: -2px;
  border: 1px solid #fff;
  transition: all 0.3s ease;
}

.main-item {
  color: #000;
}

.hidden-block {
  border-radius: 5px;
  visibility: visible;
  opacity: 1;
  position: absolute;
  background: #000;
  min-width: 140px;
  z-index: 2;
  left: -40px;
  top: 25px;
  transition: all 0.5s ease;
  visibility: hidden;
  opacity: 0;
  padding: 10px 0px;
  box-shadow: 0 0 20px 0px rgba(0,0,0,0.8);;
}

.hidden-block a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 25px;
  color: #ffffff;
}
.hidden-block a:hover {
  background: #272320;
  color: #5a89f8;
}

.hidden-block a:hover:before {
  content: ">";
  position: absolute;
  margin-left: -12px;
  color: #5a89f8;
}

.hidden-block:after {
  border: 5px solid transparent;
  border-bottom-color: #151414;
  position: absolute;
  left: 24px;
  top: -10px;
  content: "";
}
/*.main-item:focus ~ .hidden-block,
.main-item:active ~ .hidden-block {
  visibility: visible;
  opacity: 1;
}*/
/**/

.footer-end{
  margin-top: 135px;
}

.footer-block-coperite{
  color: #2f4a8a;
  position: relative;
  top: -30px;
}

.footer-block-coperite a{
  color: #5a89f8;
}

.footer-block-coperite a:hover{
  text-decoration: underline;
}

.footer-block-r {

}

.soc-block{
  margin-bottom: 24px;
}

.soc-block a {
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  padding-top: 8px;
  margin-left: 20px;
  background-color: #000;
  height: 33px;
  width: 33px;

}
.soc-block a:hover {
  box-shadow: inset 0px 0px 5px 0px rgba(152, 224, 229, 1);
  filter: drop-shadow(0px 0px 5px rgba(152, 224, 229, 0.5));
  box-shadow: inset 0px 0px 10px 0px rgba(152, 224, 229, 1);
  border: 1px solid #62d8ff;
}

.footer-logo{
  text-align: center;
  position: relative;
  top: -50px;
}

.footer-logo:hover{
  -webkit-filter: brightness(120%); 
  filter: brightness(120%);
}

.templstock{
  padding-bottom: 47px;
}

.templstock:hover{
  -webkit-filter: brightness(120%); 
  filter: brightness(120%);
}

.copyright{
  color: #fff;
}

.toTop-fon{
    display: flex;
    justify-content: center;
    height: 42px;
    background: url(../images/fon-totop.png) no-repeat;
    justify-content: center;
    align-items: center;
    margin-top: 103px;
}

.toTop {
  background: url(../images/fon-circle.png) no-repeat;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  opacity: 0.6;
}

.toTop:hover {
  box-shadow: inset 0px 0px 10px 0px rgba(152, 224, 229, 1);
  filter: drop-shadow(0px 0px 5px rgba(152, 224, 229, 0.5));
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 100;
}

/**/

.payment {
  width: 618px;
  margin-left: auto;
  margin-right: auto;
}

.payment a {
    transition: 0.5s;
}

.payment .visa a {
    display: block;
    width: 60px;
    height: 20px;
    background: url('../images/payment.png') 0 0 no-repeat;
    opacity: 0.2;
}

.payment .mastercard a {
    display: block;
    width: 105px;
    height: 24px;
    background: url('../images/payment.png') -115px 0 no-repeat;
    opacity: 0.2;
}

.payment .g2apay a {
    display: block;
    width: 158px;
    height: 26px;
    background: url('../images/payment.png') -277px 0 no-repeat;
    opacity: 0.2;
}

.payment .entergames a {
    display: block;
    width: 135px;
    height: 26px;
    background: url('../images/payment.png') -485px 0 no-repeat;
    opacity: 0.2;
}

.payment a:hover {
  opacity: 100;
}
/**/

/* end Footer
-----------------------------------------------------------------------------*/

/*animation*/
.small-light {
  position: absolute;
  background: url(../images/small-light.png) center no-repeat;
  width: 465px;
  height: 163px;
  left: -40px;
  top: 174px;
  animation-name: small-light;
  animation-duration: 14s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  z-index: 1;
}
@keyframes small-light {
  0% {
    transform: scale(0.1);
  }
  20% {
    transform: scale(0.1);
  }
  40% {
    transform: scale(1);
  }
  60% {
    transform: scale(1);
  }
  80% {
    transform: scale(0.1);
  }
  100% {
    transform: scale(0.1);
  }
}

/*sparks*/

.sparks2 {
    position: absolute;
    width: 1200px;
    margin-left: 200px;
    top: 600px;
    z-index: 1;
}
.sparks2 > div {
  position: absolute;
    z-index: 1;
}
.sparks2 .spark_11 {
  background: url(../images/spark_11.png) no-repeat;
  width: 764px;
  height: 313px;
  right: 0;
  bottom: -320px;
  transform: scale(0.6);
  animation: spark-1 4s linear infinite;
  animation-delay: 1s;
}
@keyframes spark-1 {
  0% {
    bottom: -320px;
    transform: scale(0.6);
    opacity: 1;
  }
  25% {
    bottom: -240px;
    transform: scale(0.7);
    opacity: 1;
  }
  50% {
    bottom: -160px;
    transform: scale(0.8);
    opacity: 1;
  }
  75% {
    bottom: -80px;
    transform: scale(0.9);
    opacity: 0.5;
  }
  100% {
    bottom: 0px;
    transform: scale(1);
    opacity: 0;
  }
}
.sparks2 .spark_22 {
  background: url(../images/spark_22.png) no-repeat;
  width: 179px;
  height: 335px;
  right: 230px;
  bottom: -320px;
  transform: scale(0.6);
  animation: spark-1 4s linear infinite;
  animation-delay: 2s;
}
.sparks2 .spark_33 {
  background: url(../images/spark_33.png) no-repeat;
  width: 128px;
  height: 165px;
  right: 280px;
  bottom: -140px;
  transform: scale(0.6);
  animation: spark-3 4s linear infinite;
  animation-delay: 2s;
}
@keyframes spark-3 {
  0% {
    bottom: -140px;
    transform: scale(0.6);
    opacity: 1;
  }
  25% {
    bottom: -80px;
    transform: scale(0.7);
    opacity: 1;
  }
  50% {
    bottom: -20px;
    transform: scale(0.8);
    opacity: 1;
  }
  75% {
    bottom: 40px;
    transform: scale(0.9);
    opacity: 0.5;
  }
  100% {
    bottom: 100px;
    transform: scale(1);
    opacity: 0;
  }
}
.sparks2 .spark-big2 {
  background: url(../images/spark_44.png) no-repeat;
  width: 794px;
  height: 176px;
  right: 0;
  bottom: -180px;
  transform: scale(0.6);
  animation: spark-5 4s linear infinite;
}


.sparks2 .spark_55 {
  animation-delay: 2s;
  right: 40px;
}
@keyframes spark-5 {
  0% {
    bottom: -180px;
    transform: scale(0.6);
    opacity: 1;
  }
  25% {
    bottom: -120px;
    transform: scale(0.7);
    opacity: 1;
  }
  50% {
    bottom: -60px;
    transform: scale(0.8);
    opacity: 1;
  }
  75% {
    bottom: 0px;
    transform: scale(0.9);
    opacity: 0.5;
  }
  100% {
    bottom: 60px;
    transform: scale(1);
    opacity: 0;
  }
}
/*end sparks*/
.ani.stone {
  transform-origin: center center;
}
.ani.stone.on {
  opacity: 1;
}
.stone {
  display: table;
  -webkit-transition: opacity 800ms ease;
  -moz-transition: opacity 800ms ease;
  transition: opacity 800ms ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.ani {
  opacity: 0;
  position: absolute;
  text-indent: -9999px;
  font-size: 0;
  line-height: 0;
  background-repeat: no-repeat;
  background-position: 0 0;
  z-index: 2;
}
.ani.s1 {
  top: 300px;
  left: -230px;
  width: 234px;
  height: 369px;
  background: url(../images/s1.png) no-repeat 0 0;
  z-index: 3;
  animation: updown 4s infinite;
}
.ani.s2 {
  top: 100px;
  left: 1000px;
  width: 195px;
  height: 265px;
  background: url(../images/s2.png) no-repeat 0 0;
  z-index: 3;
  animation: updown2 4.2s 500ms infinite;
}
.ani.s3 {
  top: 300px;
  left: 750px;
  width: 64px;
  height: 146px;
  background: url(../images/s3.png) no-repeat 0 0;
  z-index: 3;
  animation: updown 4s 500ms infinite;
}
.ani.s4 {
  top: 345px;
  left: 300px;
  width: 144px;
  height: 261px;
  background: url(../images/s4.png) no-repeat 0 0;
  z-index: 3;
  animation: updown2 4.2s 800ms infinite;
}

/* Animations */
@keyframes updown {0%, 100% {transform:translateY(30px) rotate(5deg)} 50% {transform:translateY(-30px) rotate(0)}}
@keyframes updown2 {0%, 100% {transform:translateY(40px) rotate(8deg)} 50% {transform:translateY(-40px) rotate(0)}}
/*end animation*/

/*left block*/
.block-widget-1{

}

.block-widget-2{
  display: flex;
  margin-top: 60px;
}

.block-players-2:before{
  content: "";
  position: absolute;
  width: 676px;
  height: 733px;
  top: -70px;
  right: 0;
  background: url(../images/hero4-block-bm.png)top no-repeat;
}

.block-players-1:before{
  content: "";
  position: absolute;
  width: 640px;
  height: 594px;
  top: -80px;
  right: 0;
  background: url(../images/hero1-block-bm.png)top no-repeat;
}

.block-players-1{
  z-index: 1;
  position: relative;
}

.block-left{
  margin-bottom: 76px;
}

/*end left block*/

/*page*/


.page-content{
  width: 810px;
  padding: 40px 40px 40px 40px;
  margin-left: 10px;
  min-height: 1356px;
  background: url(../images/page-content-top.jpg)top no-repeat, url(../images/page-content-bottom.jpg) bottom no-repeat, url(../images/page-content-center.jpg) repeat-y;
  z-index: 1;
  box-shadow: 0px 0px 60px 0px rgb(67 84 128 / 0.4);
  position: relative;
}

.page-content:after{
  content: "";
  position: absolute;
  top: -30px;
  left: -8px;
  height: 128px;
  width: 826px;
  background: url(../images/page-top-fon.png) center top no-repeat;
}

.page-content:before{
  content: "";
  position: absolute;
  bottom: -16px;
  left: -5px;
  height: 32px;
  width: 822px;
  background: url(../images/page-bottom-fon.png) center bottom no-repeat;
}

.page-top{
  text-transform: uppercase;
  padding-top: 65px;
  color: #3f5a99;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  font-family: 'Candara';
}

.page-title{
  padding-top: 35px;
  padding-bottom: 30px;
}

.page-title-time{
  margin-top: 35px;
  padding-top: 14px;
  padding-left: 20px;
  color: #b100f6;
  font-size: 14px;
  height: 43px;
  font-weight: 600;
  background: url(../images/page-title-time.png) repeat-x;
}

.page-title-news{
  color: #b100f6;
  text-transform: uppercase;
  font-size: 18px;
  text-align: center;
}

.page-text{
  line-height: 20px;
}

.page-text p{
 padding-top: 20px;
} 

.page-text a{
  color: #ca25ca;
  text-decoration: underline;
}

.page-text a:hover{
  text-decoration: none;
  color: #00ffae;
}

/*end page-content*/

/*page download*/
.downloadBlock{
  text-align: center;
}

.download-block-1{
  margin-bottom: 25px;
}

.client-text a {
  color: #b100f6;
}

.client-text a:hover {
  text-decoration:underline;
}

.driverBlock {
  position: relative;
  margin: 0px -15px;
  padding-bottom: 20px;
  padding-top: 25px;
}

.driver {
  padding: 15px;
}
.driver img {
  max-width: 100%;
}

.driver img:hover {
box-shadow: 0px 10px 20px 0px rgb(74 104 169 / 0.5);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
}

.driver-s{
  margin-top: 70px;
}
/*end page download*/

/** Modal **/

.modalx-overlay {
  position: fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  z-index: 1000;
  cursor: pointer;
  overflow: auto;
  -webkit-transition: background 0.25s linear;
  -moz-transition: background 0.25s linear; 
  transition: background 0.25s linear;
}

.modal_window {
  width: 420px;
  height: 550px;
  background-color: #101620;
  border-radius: 10px;
  padding: 90px 60px 40px 60px;
  z-index: 1002;
  position: fixed;
  top:0;
  bottom:0;
  left:40%;
  right:0;
  z-index: 1000;
  cursor: pointer;
  -webkit-transition: background 0.25s linear;
  -moz-transition: background 0.25s linear; 
  transition: background 0.25s linear;
  display: none;
  opacity: 0;
  visibility: hidden;
}

.lost-pass {
  display: block;
  text-align: center;
  margin-top: 10px;
}

.modal_window:after{
  content: "";
  position: absolute;
  width: 436px;
  height: 129px;
  top: -30px;
  left: -8px;
  background: url(../images/fon-modal-top.png)top no-repeat;
}

.modal_window:before{
  content: "";
  position: absolute;
  width: 432px;
  height: 32px;
  bottom: -15px;
  left: -6px;
  background: url(../images/fon-modal-bottom.png)top no-repeat;
}

.modal_window h3 {
  margin: -8px 0px 45px 0px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

#close_modal {
    width: 60px;
    height: 60px;
    display: block;
    position: absolute;
    background: url(../images/close_icon_dark.png) 50% 50% no-repeat;
    background-size: 16px 16px;
     margin-top: -89px;
    right: 0px;
    opacity: 0.4;
    z-index: 10;
}

#close_modal:hover {
  opacity: 1;
}

.modal_form {
  text-align: center;
  box-sizing: border-box;
}

.modal_form input,
.modal_form select,
.modal_form textarea {
  width: 100%;
  box-sizing: border-box;
}

.formGroup {
  margin-bottom: 20px;
  position: relative;
  max-width: 450px;
}
.formGroup-name {
  display: block;
  padding-bottom: 10px;
  color: #75b3ff;
}
.formGroup.error .formGroup-name {
  color: #df3b5a;
}
.formGroup.error input {
  border: 1px solid #df3b5a;
  box-shadow: 0px 0px 10px 0px rgba(233, 59, 90, 0.4), inset 0px 0px 10px 0px rgba(233, 59, 90, 0.4);
}

.formGroup-2 {
  display: flex;
  justify-content: space-between;
}
.formGroup-2 > div {
  position: relative;
  width: calc(50% - 10px);
}

.errorGroup {
  background: url(../images/wrong-icon.png) left 20px top 17px no-repeat;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 17px 20px 17px 50px;
  border-radius: 10px;
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.4);
  line-height: 1.5;
  font-size: 13px;
  text-align: left;
  position: absolute;
  left: 100%;
  min-width: 400px;
  color: #fff;
  margin-left: 30px;
  top: 8px;
}
.errorGroup:before {
  content: '';
  border: 8px solid transparent;
  border-right-color: rgba(0, 0, 0, 0.9);
  position: absolute;
  right: 100%;
  top: 50%;
  margin-top: -7px;
}

.flex-s-c {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.formGroup-button {
    margin-top: 40px;
    text-align: center;
}

#timers {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
    top: -400px;
    left: 75px;
}

#timer_div_title {
    font-size: 28px;
    font-weight: 600;
    color: #2c5f7a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 0 4px rgba(44, 95, 122, 0.4);
}

#timer_div_time {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.timmer_inner_block {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 70px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease; /* Анимация изменения масштаба */
    cursor: pointer; /* Меняем курсор при наведении */
}

.timmer_inner_block:hover {
    transform: scale(1.1); /* Увеличение на 10% */
    z-index: 1; /* Поднимаем блок над другими элементами */
}

.timmer_inner_block .title {
    color: #ffd700;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}

.timmer_inner_block .count {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 6px rgba(255,255,255,0.6);
}

    .item-list {
      font-family: 'Segoe UI', sans-serif;
      color: #738ABD;
      font-size: 16px;
      line-height: 1.6;
      text-align: center;
    }

    .item-name {
      font-weight: bold;
    }

    .item-amount {
      color: #b0a87e;
      font-weight: normal;
      font-size: 15px;
      margin-left: 4px;
    }

  .item-name-bank {
  font-weight: bold;
  color: #000;
}

/* Модальное окно */
#auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Контейнер модального окна */
.auth-modal {
  position: relative; /* вместо fixed */
  margin: 40px auto;
  max-width: 400px;
  width: 100%;
  box-shadow: none; /* если хочешь без тени */
  background: transparent; /* или как нужно */
  padding: 0;
}

/* Заголовок */
.auth-modal__title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 24px;
  text-align: center;
}

/* Форма */
.auth-form {
  display: flex;
  flex-direction: column;
}

/* Группа поля */
.auth-form__group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

/* Лейбл */
.auth-form__label {
  margin-bottom: 6px;
  font-size: 14px;
  color: #34495e;
  font-weight: 600;
}

/* Инпуты */
.auth-form__input {
  padding: 10px 14px;
  font-size: 15px;
  border: 1.8px solid #bdc3c7;
  border-radius: 6px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-form__input:focus {
  border-color: #2980b9;
  box-shadow: 0 0 8px rgba(41, 128, 185, 0.3);
  outline: none;
}

.auth-form__actions {
  display: flex;
  flex-direction: column; /* Кнопка сверху, ссылка снизу */
  align-items: center; /* Центрируем по горизонтали */
  gap: 12px; /* Отступ между кнопкой и ссылкой */
  margin-top: 15px;
  width: 100%;
}

.auth-form__button {
  width: 100%; /* Кнопка занимает всю ширину контейнера */
  max-width: 300px; /* Максимальная ширина кнопки */
  padding: 12px 0;
  background-color: #2980b9;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.auth-form__button:hover {
  background-color: #1f6391;
}

.auth-form__lostpass {
  font-size: 14px;
  color: #2980b9;
  text-decoration: none;
  cursor: pointer;
}

.auth-form__lostpass:hover {
  text-decoration: underline;
  color: #1f6391;
}

#sell_item_button {
    background-color: #5a6ea8; /* ярко-синий */
    border: none;
    color: #fff;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#sell_item_button:hover {
    background-color: #1565c0; /* темнее при наведении */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 8px;
    font-size: 14px;
    max-width: 600px;
}

.page-center {
    display: flex;
    justify-content: center;   /* по горизонтали */
    height: 100vh;             /* вся высота окна */
}

.form-container {
    width: 100%;
    max-width: 700px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.ticket-view-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.ticket-view-box {
    background: #fff;
    max-width: 800px;
    width: 100%;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.ticket-message-block {
    margin-bottom: 30px;
}

.ticket-message {
    padding: 15px;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
}

.ticket-meta {
    margin-top: 20px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.meta-row .label {
    font-weight: bold;
    color: #333;
}

.meta-row .value {
    color: #555;
}

textarea#ticket_reply {
    width: 100%;
    height: 120px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 20px;
}

.market-item {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    text-align: center;
}

.market-icon {
    margin-bottom: 10px;
}

.market-name a {
    font-weight: bold;
    text-decoration: none;
}

.market-price {
    margin-top: 10px;
    font-size: 14px;
}

.market-button {
    margin-top: 10px;
}

.custom_button {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    transition: background-color 0.3s ease;
}

.custom_button:hover {
    background-color: #2980b9;
}

.market-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Отступы между карточками */
    justify-content: center;
}

.market-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 120px;
    height: 168px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tooltip-box {
    position: absolute;
    background: #222;
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    z-index: 1000;
    white-space: pre-wrap;
    max-width: 250px;
    display: none;
}

.item-filter-container {
    padding: 20px;
    background-color: #f9f9f9;
}

.item-filter-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
}

.item-filter-header h2 {
    margin-top: 0;
    font-size: 20px;
}

.item-filter-content {
    margin-top: 10px;
}

.filter-label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
    font-size: 14px;
}

.filter-divider {
    margin: 5px 0;
    border: none;
    border-bottom: 1px solid #ccc;
}

.filter-input {
    width: calc(100% - 10px);
    padding: 5px;
    margin-bottom: 10px;
}

.filter-button {
    padding: 5px 10px;
    margin-top: 5px;
    margin-right: 5px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.filter-button:hover {
    background-color: #45a049;
}

.filter-checkbox, .filter-radio {
    display: block;
    margin: 3px 0;
}

.filter-actions {
    text-align: center;
    margin-top: 15px;
}

.class-img {
    width: 32px;
    height: 32px;
    border: 2px solid transparent;
    border-radius: 6px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.class-img.selected {
    border-color: #007bff;
    transform: scale(1.1);
}

.category-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.category-icon input[type="checkbox"] {
    display: none;
}

.category-icon img {
    width: auto;
    height: 32px;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border 0.2s, transform 0.2s;
}

.category-icon input[type="checkbox"]:checked + img {
    border-color: #357ABD;
    transform: scale(1.05);
}

.category-icon span {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
}
