@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

:root {
--accent-color-800: #d06a3a !important;
--accent-color-900: #b9572d !important;

--font-color-700: #f2f2f2 !important;
--font-color-800: rgba(242, 242, 242, 0.7) !important;
--font-color-900: #8a8a8a !important;

--bg-color-900: #141312 !important;
--bg-color-800: #1b1a18 !important;
--bg-color-700: #24221f !important;

--product-items-trans-bg-color: rgba(20, 18, 16, 0.65) !important;

}



html, a, button, span, div, p, h1, h2, h3 {
  font-family: "Roboto Condensed", sans-serif !important; 
}

.video_background {
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
  filter: blur(8px);
}

.video_background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) saturate(0.9);
}

.Banner-module__img {
    display: block;

}


.BGImage-module__img {
z-index: -100;
}



.Categories-module__categories {
  justify-content: space-between;
  
  ::after {
      content: "";
  flex: 1 1 120px;  
  max-width: 180px; 
  height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  }
  
  
  button {
    font-size:17px;
  }
}


.Header-module__wrapper {
  display: flex;
  justify-content: space-between;
  
  .PlayerMenu-module__wrapper {
   margin-left: 0; 
  }
}


.HeaderNav-module__link,
.SupportLink-module__link {
    position: relative;
    padding-left: 22px;
  font-size: 20px;
}

/* Общие настройки иконок */
.HeaderNav-module__link::before,
.SupportLink-module__link::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
    color: var(--accent-color-800);
    opacity: 0.9;
}

/* Магазин */
.HeaderNav-module__link[href="/"]::before {
    content: "\f07a"; /* cart-shopping */
}

/* Поддержка */
.SupportLink-module__link::before {
    content: "\f059"; /* circle-question */
}

/* Telegram */
.HeaderNav-module__link[href*="t.me"]::before {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    content: "\f2c6";
}

/* Discord */
.HeaderNav-module__link[href*="discord.gg"]::before {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    content: "\f392";
}

/* Rules */
.HeaderNav-module__link[href="/page/rules"]::before {
    content: "\f0e3"; /* gavel */
}

/* Info */
.HeaderNav-module__link[href="/page/info"]::before {
    content: "\f05a"; /* info-circle */
}

/* Wipeblock */
.HeaderNav-module__link[href="#"]::before {
     content: "\f017"; /* clock */
}

/* Банлист */
.HeaderNav-module__link[href="/page/banlist"]::before {
     content: "\f05e"; /* ban */
}



.HeaderNav-module__link:hover::before,
.SupportLink-module__link:hover::before {
    color: var(--accent-color-900);
}




.Index-module__wrapper, .headerContainer, .CustomPage-module__wrapper, .Support-module__wrapper, .Profile-module__wrapper, .ProfileHistory-module__wrapper, .ProfileBasket-module__wrapper {
width: 90vw;
  max-width: 1920px;
}

.Products-module__wrapper {
     grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  
  .Product-module__name {
    font-size: 18px;
  }
    
    .Product-module__img {
  transition: 0.45s;
}
  
  img.Product-module__img:hover {
    filter: drop-shadow(rgba(75, 82, 82, 0.8) 2px 2px 4px) drop-shadow(rgba(70, 82, 82, 0.8) -2px -2px 4px) saturate(180%);
  rotate: 9deg;
    transform: scale(1.06);
}
  .Product-module__price {
    margin-top: 8px;
    margin-left: 8px;
    rotate: -7deg;
    font-size: 16px;
  }
  
  .Product-module__discount {
    font-size: 16px; 
    margin: 7px;
    font-weight: bold;
    border: solid 2px var(--accent-color-800);
    border-radius: 6px;
    rotate: 3deg;
    
    color: white;
    background: url(https://patched.to/images/sparkles.gif);
  }
}



.Widgets-module__widgetWrapper {
  button {
    font-size: 20px;
  }
}

  .commands_wrapper {
    
    display:flex;
    flex-direction: column;
    
    .commands_body {
          padding: 15px;
      font-size: 18px;
      font-weight: regular;
      background-color: var(--bg-color-900);
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    
 span:first-child {
     background-color: var(--bg-color-700);
    font-weight: bold;
      padding: 2px 5px;
  }   
}

/* ================================
   NextRust Social Widget (TG / DS)
   Paste as-is (full widget CSS)
================================ */

.nextsocial_widget {
  background: transparent;
}

/* wrapper */


/* tabs header (TG / DS) */
.nextsocial_tabsHeader {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* radio inputs hidden */
.nextsocial_tab {
  display: none;
}

/* labels */
.nextsocial_label {
  align-items: center;
  gap: 0px;
  cursor: pointer;
  padding: 15px;
  display: table-cell;

  background: var(--bg-color-700);
  color: var(--font-color-800);

  font-size: 18px;
  transition: 0.25s;
  user-select: none;
  width: 132px;
  
  
  svg {
  width: 16px;
  height: 16px;
  opacity: 0.95;
    margin: -2px 0px;

}
  
}


/* active label */
#nextsocial_tg:checked + .nextsocial_label,
#nextsocial_ds:checked + .nextsocial_label {
  background: var(--bg-color-900);
  color: var(--font-color-700);
}

/* panels */
.nextsocial_panels {
  position: relative;
}

.nextsocial_panel {
  display: none;
  justify-content:center;
  
  div {
    text-align: center;
    align-items:center;
  }
}

#nextsocial_tg:checked ~ .nextsocial_panels .nextsocial_panel--tg,
#nextsocial_ds:checked ~ .nextsocial_panels .nextsocial_panel--ds {
  display: block;
}

/* card */
.nextsocial_card {
  background: var(--bg-color-900);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* badges */
.nextsocial_badge {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.nextsocial_badge--tg {
  color: #3fa9f5;
}

.nextsocial_badge--ds {
  color: #7289da;
}

.nextsocial_avatar {
 width: 100px;
  height: 100px;
  background-image: url(https://nextrust.top/server_media/social_logo.png);
    border-radius: 100px;
  background-position: center center;
background-size: cover;
}

.nextsocial_title {
  font-size: 20px;
  font-weight: 700;
  color: var(--font-color-700);
}

.nextsocial_subtitle {
  font-size: 16px;
  color: var(--font-color-800);
  line-height: 1.4;
}

.nextsocial_btn {
  margin-top: 8px;
  padding: 10px 14px;
  text-align: center;
  font-size: 18px;
  text-decoration: none;
  color: var(--font-color-700);

  background: linear-gradient(125deg, var(--accent-color-900), var(--accent-color-800));
  transition: 0.25s;
  width: 100%;
}

.nextsocial_btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}


.LangSwitcher-module__wrapper {
  display: none;
}

/* Виджет бонусов пополнения */

.deposit {
  
  h2 {
    font-size: 17px;
      }
  h3 {
	background-color: var(--bg-color-900);
    font-size: 18px;
    padding: 10px 15px;
  }
  
  span {
    background-color: var(--bg-color-700);
    font-weight: bold;
    padding: 2px 7px;
  }
  
  h3:first-child {
    padding-top: 20px;
  }
  
  h3:last-child {
    padding-bottom: 20px;
  }
  
  
  
  .deposit_body {
    display: flex;
    flex-direction: column;
    gap: 0px;
  } 
}

.deposit_body .boxHeader span {
  font-weight: 700;
  border-radius: 4px;
  display: inline-block;
}

/* 10% */
.deposit_body .boxHeader:nth-child(1) span {
  color: #ffd7a3;
  background: rgba(255, 170, 80, 0.15);
  animation: glow-soft 4s infinite ease-in-out;
}

/* 15% */
.deposit_body .boxHeader:nth-child(2) span {
  color: #ffc36b;
  background: rgba(255, 160, 50, 0.2);
  animation: glow-soft 3s infinite ease-in-out;
}

/* 25% */
.deposit_body .boxHeader:nth-child(3) span {
  color: #ffad3b;
  background: rgba(255, 140, 0, 0.25);
  animation: glow-medium 2.4s infinite ease-in-out;
}

/* 35% */
.deposit_body .boxHeader:nth-child(4) span {
  color: #ff9500;
  background: rgba(255, 120, 0, 0.3);
  animation: glow-strong 1.8s infinite ease-in-out;
}

/* 50% */
.deposit_body .boxHeader:nth-child(5) span {
  color: #ff7a00;
  background: rgba(255, 100, 0, 0.35);
  animation: glow-max 1.2s infinite ease-in-out;
}

/* Анимации */

@keyframes glow-soft {
  0%, 100% {
    box-shadow: 0 0 4px rgba(255, 170, 80, 0.3);
  }
  50% {
    box-shadow: 0 0 8px rgba(255, 170, 80, 0.45);
  }
}

@keyframes glow-medium {
  0%, 100% {
    box-shadow: 0 0 6px rgba(255, 140, 0, 0.45);
  }
  50% {
    box-shadow: 0 0 14px rgba(255, 140, 0, 0.7);
  }
}

@keyframes glow-strong {
  0%, 100% {
    box-shadow: 0 0 8px rgba(255, 120, 0, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 120, 0, 0.9);
  }
}

@keyframes glow-max {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 100, 0, 0.7);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 100, 0, 1);
  }
}

/* Модалки по центру */

.ModalLayout-module__positionWrapper {
  align-items: center;

  .ProductModal-module__item {
    width: 40vw;
    min-width: 420px;
  }
}

/* Вайпблок */
.wipeblock {
  width: 62vw;
  padding: 0 1vh;

  .wipeblock__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .wipeblock__note {
    text-align: left;
  }

  .wipeblock__grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    margin-bottom: 40px;
  }

  .wipeblock__section-title {
    margin: 15px 0px;
    padding: 5px 0px;
    display: flex;
    gap: 5px;
    border-bottom: solid 1px var(--bg-color-700);
    font-size: 20px;

    .wipeblock__section-time {
      color: var(--accent-color-800);
    }
  }

  .Product-module__price {
    font-size: 15px;
  }
  .Product-module__oldPrice {
    display: none;
  }
}