:root {
  --bg-dark: black;
  --bg-card: #141414;
  --bg-card-light: #252525;
  --bg-menu: rgba(20, 20, 20, 0.9);
  --text-light: #EAEAEA;
  --text-muted: #888;
  --color-red: #7a0207;
  --color-red-light: #d71f2c;
  --color-green: #6bb752;
  --color-blue: #f61313;
  --color-teal: #00A99D;
  --color-yellow: #ffbe0b;
  --color-purple: #8338ec;
  --sidebar-width: 90px;
}
.lang-switcherphone{
  display: none;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.5;
  display: flex;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

video, img {
  max-width: 100%;
  display: block;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-teal);
  z-index: 102;
}

.sidebar {
  position: fixed;
  top: 4px;
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - 4px);
  background-color: var(--bg-card);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  z-index: 100;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
  padding: 0 5px;
  flex-grow: 1;
  justify-content: space-evenly;
}

.sidebar-nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s ease;
  text-align: center;
  line-height: 1.2;
}

.sidebar-nav-item a:hover, .sidebar-nav-item.active a {
  color: var(--color-red);
}

.sidebar-nav-item a i {
  font-size: 21px;
  transition: transform 0.3s ease;
}

.sidebar-nav-item a img {
  width: 22px;
  transition: transform 0.3s ease;
}

.sidebar-nav-item a:hover i {
  transform: scale(1.1);
}
.server-list-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.server-list-item {
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  padding: 0 20px;
  height: 103px;
  border-radius: 12px;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.server-player-count {
  position: relative;
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.server-player-count .count-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-red);
  border-radius: 50%;
  opacity: 0.3;
}
.server-player-count span {
  position: relative;
  z-index: 1;
}
.server-player-count::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-red);
  border-radius: 50%;
  transform: scale(0.8);
  filter: blur(10px);
  opacity: 0.5;
}
.server-info {
  flex-grow: 1;
}
.server-info h4 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 5px;
}
.server-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.btn-server-play {
  background-color: var(--bg-card-light);
  color: var(--text-light);
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.btn-server-play:hover {
  background-color: var(--color-red);
  color: white;
}
.sidebar-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
  position: relative;
  width: 100%;
}

.sidebar-counter-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-red);
  border-radius: 50%;
  animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.main-wrapper {
  flex-grow: 1;
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  padding-top: 4px;
}

.main-header {
  height: 90px;
  position: relative;
  z-index: 101;
}

.main-header .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none;
}

.header-logo .logo-video {
  height: 86px;
  object-fit: cover;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.lang-switcher:hover {
  background-color: var(--bg-card);
}

.lang-flag {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.header-right .btn-auth {
  background-color: #312123;
  color: #E44D5A;
  padding: 12px 24px;
  border-radius: 8px;
  align-items: center;
  text-align: center;
  display: block;
  font-weight: 600;
  transition: all 0.3s ease;
}

.header-right .btn-auth:hover {
  background-color: #412c2e;
  color: #ff6b79;
}

.menu-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.header-menu-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-card);
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.header-menu-toggle:hover {
  background-color: var(--bg-card-light);
}

.mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s 0.4s;
}

.mega-menu.open {
  opacity: 1;
  backdrop-filter: blur(52px);
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0s 0s;
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  padding: 40px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.mega-menu.open .mega-menu-content {
  transform: translateY(0);
}

.mega-menu-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  z-index: 10;
  border: none;
  color: var(--text-muted);
  font-size: 40px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mega-menu-close:hover {
  color: var(--text-light);
  transform: rotate(90deg);
}

.mega-menu-title {
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 15px;
  border-radius: 8px;
  background-image: linear-gradient(to right, rgba(215, 31, 44, 0.15), rgba(215, 31, 44, 0));
  margin-bottom: 15px;
}

.mega-menu-links li {
  margin-bottom: 5px;
}

.mega-menu-links a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.mega-menu-links a:hover {
  background-color: var(--bg-card-light);
}

.menu-link-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: var(--bg-card-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
}

.menu-link-text {
  display: flex;
  flex-direction: column;
}

.menu-link-title {
  font-weight: 600;
  color: var(--text-light);
}

.menu-link-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.mega-menu-links a.highlighted {
  border: 1px solid var(--color-red);
}

.mega-menu-links a.highlighted .menu-link-title {
  color: var(--color-red);
}

.mega-menu-links a.highlighted .menu-link-subtitle {
  color: #d71f2ca6;
}

.content-area {
  padding-top: 20px;
}

.promo-section {
  margin-bottom: 24px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.left-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.middle-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.promo-card {
  height: 268px;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.promo-card h2 {
  font-size: 33px;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.promo-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 1);
  max-width: 350px;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.promo-card .btn {
  align-self: flex-start;
  position: relative;
  z-index: 2;
}

.card-free-case {
  overflow: unset;
  background-color: #9b0009;
  background: url("../img/keysy.png");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
}

/*pattern 2 pricel*/
/*overflow: unset;*/
/*background-color: #9b0009;*/
/*background: radial-gradient(circle, transparent 20%, rgba(155, 0, 9, 0.64)20%, rgba(155, 0, 9, 0.64) 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, #9b0009 20%, #9b0009 80%, transparent 80%, transparent) 25px 25px, linear-gradient(black 2px, transparent 2px) 0 -1px, linear-gradient(90deg, black 2px, #9b0009 2px) -1px 0;*/
/*background-size: 50px 50px, 50px 50px, 25px 25px, 25px 25px;*/

.csgo-player-1 {
  position: absolute;
  right: 0;
  top: -32px;
  height: 300px;
  z-index: 1;
}

.promo-card h2, .promo-card p {
  text-shadow: 3px 3px 10px black;
}

.card-giveaway {
  background: url("../img/newBackblack.png");
  background-size: cover;
  position: relative;
}

.card-giveaway::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 70%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  border-radius: 12px 0 0 12px;
}

.card-shop {
  position: relative;
  background: #9b0009;
  background-position: center;
  transition: background-color 0.4s ease-in-out;
}

.card-shop:hover {
  background: #BE1100;
}

.card-shop:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 70%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  border-radius: 12px 0 0 12px;
}

.csgo2player {
  position: absolute;
  bottom: 0;
  right: -136px;
  width: 481px;
}

.card-shop .hover-video {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  position: absolute;
  bottom: 0;
  right: -201px;
  width: 556px !important;
  max-width: 560px !important;
}

.card-shop:hover .hover-video {
  opacity: 1;
}

.card-shop:hover .static-image {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.guest-card {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.guest-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-card-light);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-icon i {
  font-size: 32px;
  color: var(--text-muted);
}

.guest-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.guest-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 250px;
}

.guest-card .btn {
  width: 100%;
  margin-bottom: 10px;
  justify-content: center;
}

.register-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.register-link:hover {
  color: var(--text-light);
}

.info-section {
  display: flex;
  flex-direction: column;
  gap:24px;
}

.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 30px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  color: #f1f1f1;
  text-decoration: none;
  transition: transform 0.3s ease;
  animation: none;
  background: var(--bg-card);
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card-content {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
}

.info-card-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.info-card::before, .info-card::after {
  content: '';
  position: absolute;
  background-color: rgba(215, 31, 44, 0.08);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  z-index: 1;
  transition: transform 0.4s ease-out;
}

.info-knives::before {
  width: 80px;
  height: 80px;
  top: -25px;
  left: 10px;
  transform: rotate(-30deg);
}

.info-knives::after {
  width: 50px;
  height: 50px;
  bottom: -15px;
  right: 20px;
  transform: rotate(150deg);
}

.info-weapons::before {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: 30px;
  transform: rotate(20deg);
}

.info-weapons::after {
  width: 40px;
  height: 40px;
  top: -10px;
  right: -5px;
  transform: rotate(-120deg);
}

.info-chat::before {
  width: 60px;
  height: 60px;
  top: 5px;
  right: 15px;
  transform: rotate(45deg);
}

.info-chat::after {
  width: 90px;
  height: 90px;
  bottom: -35px;
  left: -20px;
  transform: rotate(190deg);
}

.info-card:hover::before {
  transform: scale(1.2) rotate(-10deg);
}

.info-card:hover::after {
  transform: scale(1.2) rotate(180deg);
}

.bottom-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.news-container {
  background-color: var(--bg-card);
  padding: 25px;
  border-radius: 12px;
}

.news-feed {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 307px;
  overflow-y: auto;
  padding-right: 10px;
  margin-top: 5px;
}

.user-list::-webkit-scrollbar{
  width: 4px;
}

.news-feed::-webkit-scrollbar {
  width: 4px;
}

.news-feed::-webkit-scrollbar-track {
  background: transparent;
}

.news-feed::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 2px;
}

.news-feed::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.news-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #212121;
  transition: border-color 0.3s ease;
}
.popupBalance button{
  width: 30px;
  height: 30px;
  background: var(--color-red);
  border: none;
  color: white;
  font-size: 20px;
  border-radius: 20px;
}

.popupBalance{
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.news-card:hover {
  border-color: var(--color-red);
}

.news-card-image {
  min-width: 60px;
  width: 60px;
  height: 60px;
  background-color: #333;
  border-radius: 8px;
  position: relative;
}

.news-card-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-red);
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

.news-card-main {
  flex-grow: 1;
}

.news-card-main h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.news-card-main p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-news {
  background: transparent;
  border: 1px solid #444;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 6px;
  margin-left: auto;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-news:hover {
  background-color: var(--color-red);
  color: white;
  border-color: var(--color-red);
}

.card-cs-builds {
  /*background: url("../img/original.png");*/
  background: #141414;
  background-size: cover;
  text-shadow: 3px 3px 5px black;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.recent-events-section {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 24px;
  height: 345px;
}

.recent-events-section::-webkit-scrollbar { width: 4px; }
.recent-events-section::-webkit-scrollbar-track { background: transparent; }
.recent-events-section::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }


.recent-events-section .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.events-list {
  display: flex;
  flex-direction: column;
  max-height: 307px;
  overflow-y: auto;
}

.events-list::-webkit-scrollbar {
  width: 4px;
}

.events-list::-webkit-scrollbar-track {
  background: transparent;
}

.events-list::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 2px;
}

.events-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.event-item {
  display: grid;
  grid-template-columns: 4fr 1fr 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.event-item:first-child {
  padding-top: 0;
}
.event-text {
  font-size: 14px;
}
.event-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.event-userfromlist {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-top: 10px;
}
.event-userfromlist img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}


.event-user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.nick-yellow {
  color: var(--color-yellow);
  text-shadow: 0 0 5px var(--color-yellow);
}
.event-time {
  text-align: end;
  color: var(--text-muted);
  font-size: 14px;
}
.event-item .btn-outline {
  padding: 8px 20px;
  border-color: #444;
}
.event-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
  position: absolute;
  top: -10px;
  right: 0;
}
.event-item{
  position: relative;
}
.event-close-btn:hover {
  color: var(--color-red);
}
@media (max-width: 992px) {
  .event-item {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
    padding: 20px 0;
  }
  .event-user, .event-time, .event-item .btn-outline, .event-close-btn {
    justify-self: center;
  }
  .event-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .event-item {
    position: relative;
  }
}

.header-image {
  width: 100%;
  height: 25vw;
  background: url("../img/header.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  border-radius: 15px;
  margin-bottom: 20px;
}

.card-cs-builds::before, .card-cs-builds::after {
  content: '';
  position: absolute;
  background-color: rgba(215, 31, 44, 0.08);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  z-index: 0;
  transition: transform 0.4s ease-out;
}

.card-cs-builds::before {
  width: 150px;
  height: 150px;
  top: -40px;
  right: -50px;
  transform: rotate(60deg);
}

.card-cs-builds::after {
  width: 120px;
  height: 120px;
  bottom: -50px;
  left: -30px;
  transform: rotate(210deg);
}

.card-cs-builds:hover::before {
  transform: scale(1.1) rotate(75deg);
}

.card-cs-builds:hover::after {
  transform: scale(1.1) rotate(195deg);
}

.card-cs-builds .section-title {
  margin-bottom: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-red {
  background-color: var(--color-red);
  color: var(--text-light);
}

.btn-red:hover {
  background-color: var(--color-red-light);
}

.btn-white {
  background-color: #fff;
  color: #111;
}

.btn-white:hover {
  background-color: #eee;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.main-footer {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.main-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none;
}

.footer-logo {
  position: relative;
}

.footer-logo .logo-video {
  height: 35px;
  object-fit: cover;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-light);
}

@keyframes pulse {
  from {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(215, 31, 44, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(215, 31, 44, 0);
  }
  to {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(215, 31, 44, 0);
  }
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 1400px) {
  .news-card {
    flex-direction: column;
    text-align: center;
  }

  .btn-news {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 1200px) {
  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .left-column {
    grid-column: 1 / -1;
  }

  .mega-menu-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .bottom-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {

  .lang-switcherphone{
    display: block;
  }
  .main-wrapper{
    padding-top: 20px;
  }
  .main-header .container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 10px;
  }
  .header-right{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-left: 7px;
  }

  .btn-auth{
    font-size: 13px;
    padding: 12px 9px;
    width: 100%;
    text-align: center;
  }

  .header-logo .logo-video{
    width: auto;
    height: 40px;
  }
  .menu-container{
    transform: unset;
    top: 50px;
    right: 0;
    left: unset;
    position: unset;

  }
  .mega-menu-content{
    display: flex;
    flex-wrap: wrap;
    height: auto;
  }
  .mega-menu{
    overflow: auto;
    align-items: unset;
  }
  .mega-menu-column{
    width: 100%;
  }
  .guest-card {
    display: none;
  }

  .promo-grid {
    grid-template-columns: 100%;
  }
  .csgo-player-1{
    top: unset;
    bottom: 0;
    height: 150px;
  }
  .server-list-item{
    padding: 10px;
  }
  .btn-server-play{
    display: none;
  }




  .main-footer .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  body {
    display: block;
  }

  .sidebar {
    width: 100%;
    height: 70px;
    flex-direction: row;
    justify-content: space-evenly;
    bottom: 0;
    top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none;
    padding: 0 10px;
  }

  .sidebar-nav {
    flex-direction: row;
    width: 100%;
    justify-content: space-evenly;
    gap: 15px;
  }

  .sidebar-nav-item span {
    display: none;
  }

  .sidebar-counter {
    display: none;
  }

  .main-wrapper {
    margin-left: 0;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 70px;
  }
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.sidebar-item-mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .menu-container{
    display: none;
  }
  .sidebar-item-desktop-only {
    display: none;
  }
  .sidebar-item-mobile-only {
    display: flex;
  }
}
.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s 0s;
}
.modal-window {
  background-color: #161616;
  border-radius: 12px;
  width: 100%;
  max-width: 700px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.modal-overlay.visible .modal-window {
  transform: scale(1);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
}
.modal-title-logo {
  position: relative;
  border: 2px dashed var(--color-red);
  padding: 5px 15px;
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}
.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
  margin-left: auto;
}
.modal-close-btn:hover {
  color: var(--text-light);
}
.modal-content {
  padding: 0 25px 25px;
  text-align: center;
}
.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}
.modal-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 25px;
}
.modal-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}
.modal-tab {
  background-color: #212121;
  border: 1px solid #333;
  color: var(--text-muted);
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.modal-tab:hover {
  background-color: #333;
  color: var(--text-light);
}
.modal-tab.active {
  background-color: var(--color-red);
  color: white;
  border-color: var(--color-red);
}
.modal-form.hidden {
  display: none;
}
.form-group {
  text-align: left;
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.form-group input {
  width: 100%;
  background-color: #212121;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--text-light);
  font-size: 16px;
  transition: border-color 0.2s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--color-red);
}
.modal-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  justify-content: center;
}
.social-auth {
  margin-top: 25px;
}
.social-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 15px;
}
.social-auth-divider::before,
.social-auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #333;
}
.social-auth-divider:not(:empty)::before {
  margin-right: .25em;
}
.social-auth-divider:not(:empty)::after {
  margin-left: .25em;
}
.btn-social-vk {
  width: 100%;
  background-color: #4a76a8;
  color: white;
  padding: 14px;
  justify-content: center;
  font-size: 16px;
}
.btn-social-vk:hover {
  background-color: #5b8ac6;
}
.right-sidebar-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-container {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
}
.chat-container.hidden {
  display: none;
}
.chat-header {
  padding: 15px 20px;
  font-weight: 700;
  background-color: var(--bg-card-light);
  text-align: center;
  flex-shrink: 0;
  position: relative;
}
.chat-messages {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-x: hidden;
}

#chat_messages {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.fixedMessage{
  position: absolute;
  top: 58px;
  left: 0;
  z-index: 10;
  width: 100%;
  cursor: pointer;
}
.fixedMessage .message-content{
  background: rgba(218, 5, 5, 0.53) !important;
  backdrop-filter: blur(5px);
}
.users-list {
  height: 340px;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  background: #141414;
  overflow-y: scroll;
}

.users-list h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.users-list h3 span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  background-color: rgba(122, 2, 7, 0.4);
  color: var(--color-red-light);
  font-size: 14px;
  width: 35px;
  height: 35px;
}

.users-list h3 .users-last-count {
  color: var(--color-green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.users-list h3 .users-last-count-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-green);
  border-radius: 50%;
  animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.sidebar-counter-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-red);
  border-radius: 50%;
  animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.fixedTime{
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.users-list::-webkit-scrollbar { width: 4px; }
.users-list::-webkit-scrollbar-track { background: transparent; }
.users-list::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

.fixedPin{
  top: 10px;
  right: 10px;
  position: absolute;
}
.fixedPin svg{
  width: 15px;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }
.message-group {
  display: flex;
  gap: 15px;
}
.message-avatar img {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
}
.message-content {
  background-color: #212121;
  border-radius: 0 12px 12px 12px;
  padding: 12px 15px;
  width: 100%;
}
.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.message-author {
  font-weight: 700;
}
.message-author.admin {
  color: #ff0000;
  text-shadow: 1px 0 4px red;
}
.message-author.vip {
  color: var(--color-yellow);
}
.message-author.user {
  color: var(--color-blue);
}
.message-actions {
  display: flex;
  gap: 10px;
}
.message-actions button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.message-actions button:hover {
  color: var(--text-light);
}
.message-text {
  font-size: 0.95rem;
  line-height: 1.6;
  padding-bottom: 10px;
}
.message-time {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}
.chat-footer {
  padding: 15px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background-color: var(--bg-card-light);
  text-align: center;
  flex-shrink: 0;
}
.chat-footer p {
  color: var(--color-red);
  font-weight: 500;
}
.server-modal-window {
  max-width: 800px;
  background-color: transparent;
  border: none;
  box-shadow: none;
}
.server-modal-header {
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.server-modal-bg {
  position: absolute!important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/backgroundSever.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.6);
  z-index: 1 !important;;
}
.server-modal-header > * {
  position: relative;
  z-index: 2;
}
.server-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}
.server-modal-players-count {
  background-color: rgba(0,0,0,0.3);
  display: inline-block;
  padding: 6px 15px;
  border-radius: 8px;
  font-weight: 600;
  margin: 10px 0 15px;
}
.server-modal-connect-link {
  color: var(--text-light);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px dashed var(--color-red);
  padding-bottom: 3px;
}
.server-modal-body {
  background-color: #212529;
  padding: 20px;
  border-radius: 0 0 12px 12px;
}
.server-player-list {
  display: flex;
  flex-direction: column;
}
.server-player-row {
  display: grid;
  grid-template-columns: 40px 1fr 1fr 1fr 150px;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.server-player-row:last-child {
  border-bottom: none;
}
.player-col-rank {
  background-color: rgba(215, 31, 44, 0.2);
  color: var(--color-red);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.player-col-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.player-col-info .player-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.player-col-info .player-nick {
  font-weight: 600;
}
.player-col-info .player-status {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}
.player-col-stat {
  text-align: center;
}
.player-col-stat .stat-value {
  font-weight: 600;
  display: block;
}
.player-col-stat .stat-label {
  font-size: 12px;
  color: var(--text-muted);
}
.player-col-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.btn-action {
  background-color: var(--bg-card-light);
  color: var(--text-muted);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-action:hover {
  background-color: #444;
  color: white;
}
.btn-action-check {
  background-color: var(--color-red);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn-action-check:hover {
  background-color: var(--color-red-light);
}
@media (max-width: 768px) {
  .server-modal-window {
    margin: 0 15px;
  }

  .server-player-row {
    grid-template-columns: 32px 1fr;
    grid-template-areas:
      "rank info"
      "stat-kills stat-time"
      "actions actions";
    padding: 15px;
    row-gap: 10px;
  }

  .player-col-rank {
    grid-area: rank;
  }

  .player-col-info {
    grid-area: info;
  }

  .player-col-stat:nth-of-type(1) {
    grid-area: stat-kills;
  }

  .player-col-stat:nth-of-type(2) {
    grid-area: stat-time;
  }

  .player-col-actions {
    grid-area: actions;
    justify-content: stretch;
    margin-top: 10px;
  }

  .player-col-stat {
    justify-content: flex-start;
    background-color: var(--bg-card-light);
    padding: 8px;
    border-radius: 6px;
  }

  .btn-action {
    flex-grow: 1;
    justify-content: center;
  }
}
.btn-action img, .btn-action-check img, .player-col-stat img {
  width: 16px;
  height: 16px;
  margin: 10px auto;
}
.hidden {
  display: none !important;
}
.post-reg-notifications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.notification-card {
  background-color: var(--bg-card);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--color-blue);
  height: 100%;
  position: relative;
}
.notification-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.notification-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.input-with-button {
  display: flex;
  gap: 10px;
}
.input-with-button input {
  flex-grow: 1;
  background-color: #212121;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px 15px;
  color: var(--text-light);
  font-size: 14px;
  min-width: 0;
}
.input-with-button input:focus {
  outline: none;
  border-color: var(--color-blue);
}
.input-with-button .btn-blue {
  background-color: #8f1e1e;
  color: white;
  padding: 10px 15px;
}
.input-with-button .btn-blue:hover {
  background-color: #2a8ac9;
}
.info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 8px 12px;
  border-radius: 8px;
  background-color: rgba(0, 169, 157, 0.1);
  color: var(--color-teal);
  font-size: 13px;
}
.info-tooltip .tooltip-content {
  visibility: hidden;
  opacity: 0;
  width: 250px;
  background-color: var(--bg-card-light);
  color: var(--text-light);
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  margin-left: -125px;
  transition: opacity 0.3s;
}
.info-tooltip .tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--bg-card-light) transparent transparent transparent;
}
.info-tooltip:hover .tooltip-content {
  visibility: visible;
  opacity: 1;
}
@media (max-width: 1200px) {
  .post-reg-notifications {
    grid-template-columns: 1fr;
  }
}
.hidden {
  display: none !important;
}
.user-actions-unauth,
.user-actions-auth {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 15px;
}
.balance-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-card);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}
.balance-item .fa-coins {
  color: var(--color-yellow);
}
.btn-add-balance {
  background-color: var(--color-red);
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  line-height: 24px;
}
.user-profile-menu-container {
  position: relative;
}
.user-avatar-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background-color: var(--bg-card);
  padding: 6px;
  border-radius: 8px;
}
.user-avatar-toggle img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.user-avatar-toggle i {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}
.user-avatar-toggle.open i {
  transform: rotate(180deg);
}
.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  background-color: #1c1c1c;
  border-radius: 12px;
  border: 1px solid #333;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  padding: 15px;
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.user-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-header {
  display: flex !important;
  align-items: center;
  gap: 15px;
  padding: 0 !important;
  color: var(--text-light) !important;
  font-size: 16px !important;
  font-family: 'Inter', sans-serif;
  padding-bottom: 15px !important;
  border-bottom: 1px solid #333;
}
.dropdown-header img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}
.dropdown-user-info {
  flex-grow: 1;
}
.dropdown-user-nick {
  font-weight: 700;
}
.dropdown-user-status {
  font-size: 14px;
  color: var(--text-muted);
}
.dropdown-header > i {
  color: var(--text-muted);
}
.dropdown-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #333;
}
.balance-info span {
  font-size: 1.2rem;
  font-weight: 700;
}
.balance-info a {
  display: block;
  font-size: 12px;
  color: var(--color-red);
  font-weight: 500;
}
.dropdown-balance > i {
  font-size: 24px;
  color: var(--text-muted);
}
.dropdown-links {
  padding: 10px 0;
  border-bottom: 1px solid #333;
}
.dropdown-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s;
}
.dropdown-links li a:hover {
  background-color: var(--bg-card-light);
}
.dropdown-links i {
  width: 20px;
  text-align: center;
  color: var(--text-muted);
}
.notification-count {
  margin-left: auto;
  background-color: var(--color-red);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}
.dropdown-footer {
  padding-top: 15px;
}
.logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s;
  color: var(--color-red);
}
.logout-btn:hover {
  background-color: rgba(215, 31, 44, 0.1);
}

@media (max-width: 1350px){

}

@media (max-width: 1200px){

}

@media (max-width: 900px){

}

@media (max-width: 760px){
  .promo-card{
    padding: 10px;
  }
  .left-column{
    width: 100%;
  }
  .post-reg-notifications {
    display: grid;
    grid-template-columns: 100% 100%;
    gap: 24px;
    margin-bottom: 24px;
  }
  .event-close-btn{
    top: 0;
    right: 0;
  }
}

.smile_input {
  width: 100%;
  gap: 10px;
}

.smile_input input {
  flex-grow: 1;
  background-color: #212121;
  border: 1px solid #333;
  padding: 12px 15px;
  border-radius: 8px;
  color: var(--text-light);
  font-size: 14px;
  width: 100%;
}

.smile_input input:focus {
  outline: none;
  border-color: var(--color-red);
}

.btn_message {
  padding: 0;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  font-size: 18px;
  cursor: pointer;
  border-radius: 10px;
  background-color: var(--color-red);
  transition: ease-in-out 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smile_input .smile_btn {
  max-width: 40px;
  max-height: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.btn_message:hover {
  opacity: 0.8;
}

.chat-footer .input-group {
  display: flex;
  align-items: center;
}

.chat-footer .input-group {
  gap: 10px;
}

.chat-footer .input-group .smile_input {
  display: flex;
  align-items: center;
}

.smiles_box {
  position: absolute;
  bottom: 20px;
  right: -90px;
  width: 410px;
  background-color: var(--bg-card-light);
  border-radius: 10px;
  padding: 10px;
}

.smiles_box .tabs input {
  display: none;
}

.smiles_box .tabs {
  text-align: center;
}

.smiles_box .tabs label {
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32%;
  cursor: pointer;
  border-radius: 10px;
  transition: ease-in-out 0.2s;
  background-color: var(--bg-card);
  box-sizing: border-box;
  border: 2px solid var(--bg-card);
}

#tab-btn-1:checked~label[for='tab-btn-1'],#tab-btn-2:checked~label[for='tab-btn-2'],#tab-btn-3:checked~label[for='tab-btn-3'] {
  border: 2px solid var(--color-red);
}

.smiles_box .tabs label img {
  width: 40px;
  height: 40px;
}

.smiles_box .smile {
  width: 40px;
  height: 40px;
  cursor: pointer;
}

#content-1, #content-2, #content-3 {
  display: none;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 20px;
}

#tab-btn-1:checked~#content-1,#tab-btn-2:checked~#content-2,#tab-btn-3:checked~#content-3 {
  display: flex;
}

#chat-block #drop_zone {
  height: 100%;
  position: relative;
  background: var(--bg-card-light);
  margin: 0 -16px -16px -16px;
  width: calc(100% + 32px);
  border-bottom: 1px solid #f1f2f4;
}

#chat-block > #drop_mask {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 20;
  display: none;
  margin: -1px;
}

#chat-block .loader {
  background: var(--bg-card-light);
  opacity: 0.4;
}
#chat-block .hover, #chat-block .error {
  font-family: Font Awesome\ 5 Pro;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-size: 1.33333em;
  line-height: 0.75em;
  vertical-align: -.0667em;
}

#chat-block {
  position: relative;
}

#chat-block.hover:after, #chat-block .error:after {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  border-radius: 2px;
  text-align: center;
  font-size: 400%;
  line-height: 500%;
  outline-offset: -10px;
  z-index: 12;
}

#chat-block.hover:after {
  font-family: "Font Awesome 6 Free", serif;
  content: "\f093";
  font-weight: 900;
  background: var(--bg-card-light);
  outline: 2px dashed var(--color-red);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-block .error:after {
  content: "\f2ed";
  background: var(--bg-card-light);
  outline: 2px dashed #e09292;
  color: #f03d3d;
}

.message-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: start;
}

.message-text .g_smile {
  width: 40px;
  height: 40px;
}

.modal-login-message {
  font-size: 14px;
  margin-top: 10px;
  display: none;
}

.text-danger {
  color: var(--color-red);
}

.sidebar-counter-users-outer:hover, .sidebar-counter:hover > .sidebar-counter-users-outer {
  display: block;
}

.sidebar-counter-users-outer {
  position: absolute;
  left: 85px;
  bottom: -10px;
  padding-left: 10px;
  box-sizing: content-box;
  width: 250px;
  display: none;
}

.sidebar-counter-users {
  background-color: var(--bg-card-light);
  padding: 10px;
  border-radius: 10px;
  box-sizing: content-box;
}

.sidebar-counter-users-title {
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--bg-card);
}

.sidebar-counter-users-title span {
  padding: 5px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: var(--bg-card);
  font-size: 10px;
  font-weight: 500;
}

.sidebar-counter-users-list {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-counter-users-list::-webkit-scrollbar {
  width: 4px;
}

.sidebar-counter-users-list::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-counter-users-list::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 2px;
}

.sidebar-counter-users-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.visit_users_online {
  display: flex;
  gap: 10px;
  align-items: center;
}

.visit_users_online .block_visit {
  display: flex;
  line-height: 20px;
  flex-direction: column;
}

.login_visit {
  font-size: 16px;
  font-weight: 600;
}

.gp_visit {
  font-size: 14px;
  font-weight: 500;
}

.sidebar-counter-users .last_online {
  width: 40px;
  height: 40px;
  border-radius: 100%;
}

.nick-save-notify {
  width: 50%;
  padding: 10px;
  font-size: 16px;
  background-color: rgba(107, 183, 82, 0.9);
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  display: none;
}
.nick-save-notify.show {
  display: block;
}


.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.pagination a {
  background-color: var(--bg-card);
  border: 1px solid #333;
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination a:hover {
  background-color: var(--bg-card-light);
  color: var(--text-light);
}

.pagination li.active a {
  background-color: var(--color-red);
  color: white;
  border-color: var(--color-red);
}

.tox .tox-toolbar, .tox .tox-toolbar__overflow, .tox .tox-toolbar__primary {
  background-color: #212121 !important;
  padding: 5px !important;
  border: none !important;
  border-bottom: 1px solid #333 !important;
}

.tox-tinymce {
  border: none !important;
}

.tox .tox-statusbar {
  border-top: 1px solid #333 !important;
  background-color: #212121 !important;
}

.tox .tox-menu {
  background-color: var(--bg-card) !important;
  border: 1px solid #333 !important;
  border-radius: 5px !important;
}

.tox .tox-collection--list .tox-collection__item--active {
  background-color: var(--bg-card) !important;
}

.tox .tox-dialog__body-nav-item--active {
  border-bottom: 2px solid var(--color-red) !important;
  color: var(--color-red) !important;
}

.tox .tox-tbtn:hover {
  background: var(--color-red) !important;
}

.tox .tox-tbtn--enabled, .tox .tox-tbtn--enabled:hover {
  background: var(--color-red-light) !important;
}

.tox .tox-dialog {
  border: 1px solid #333 !important;
  border-radius: 10px !important;
  background-color: #212121 !important;
}

.tox .tox-dialog__header {
  background-color: #212121 !important;
  border-bottom: 1px solid #333 !important;
  padding-bottom: 10px !important;
}

.tox .tox-dialog__footer {
  border-top: 1px solid #333 !important;
  background-color: #212121 !important;
}

.tox .tox-button, .tox .tox-button:active:not(:disabled) {
  background-color: var(--color-red) !important;
  border-color: var(--color-red) !important;
  transition: ease-in-out 0.2s;
}

.tox .tox-button:hover {
  opacity: 0.8 !important;
}

.tox .tox-button.tox-button--icon.tox-button--naked {
  background-color: rgba(0, 0, 0, 0) !important;
  border-color: rgba(0, 0, 0, 0) !important;
}

.tox .tox-button--secondary, .tox .tox-button--secondary:active:not(:disabled) {
  background-color: var(--bg-card) !important;
  border-color: var(--bg-card) !important;
}

.tox .tox-button--naked, .tox .tox-button--naked:hover {
  background-color: transparent; !important;
}

.tox .tox-button--naked:hover:not(:disabled) {
  background-color: transparent; !important;
}

.text-editor-mock {
  overflow: hidden;
  border-radius: 10px;
}

.tox .tox-selectfield select, .tox .tox-textarea, .tox .tox-textfield, .tox .tox-toolbar-textfield {
  background-color: #212121 !important;
  border: 1px solid #333 !important;
  color: var(--text-light) !important;
  border-radius: 8px;
  transition: ease-in-out 0.2s;
}

.tox .tox-selectfield select:focus, .tox .tox-textarea:focus, .tox .tox-textfield:focus, .tox .tox-toolbar-textfield:focus {
  border: 1px solid var(--color-red) !important;
}

@media (max-width: 1945px) {
  .info-card-content h3 {
    font-size: 1rem;
  }

  .info-card {
    padding: 49px 30px;
  }

  .server-info h4 {
    font-size: 0.9rem;
  }
}

@media (max-width: 1700px) {
  .event-user {
    font-size: 14px;
    gap: 5px;
  }

  .event-user img {
    width: 28px;
    height: 28px;
  }

  .event-time {
    font-size: 12px;
  }
}

@media (max-width: 1650px) {
  .promo-card h2 {
    font-size: 26px;
  }

  .info-card-content h3 {
    font-size: 0.9rem;
  }

  .info-card {
    padding: 50px 10px;
  }
}

@media (max-width: 1450px) {
  .server-info h4 {
    font-size: 0.85rem;
  }

  .server-info p {
    font-size: 0.75rem;
  }

  .btn-server-play {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}