/* Nova UI — карточки режимов, шапка join_us, иконки. Подключается ПОСЛЕ style.min.css */
#join_us {
  display: block !important;
  position: relative !important;
  min-height: 320px !important;
  padding: 32px 32px 28px 280px !important;
  background:
    url(../images/top.webp) no-repeat right top,
    url(../images/bottom.webp) no-repeat left bottom,
    linear-gradient(180deg, rgba(22, 10, 36, 0.98) 0%, rgba(10, 5, 18, 0.98) 100%) !important;
  background-size: 170px, 100px, cover !important;
  border: 1px solid rgba(168, 85, 247, 0.45) !important;
  border-radius: 28px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(168, 85, 247, 0.15) !important;
}

#join_us .join_us_arrow {
  background: url(../images/join_us_arrow.webp?v=21) no-repeat center bottom / contain !important;
  width: 270px !important;
  height: 270px !important;
  left: 8px !important;
  bottom: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(168, 85, 247, 0.45)) !important;
}

#join_us .join_us_text {
  display: block !important;
  width: 100% !important;
}

#join_us .join_us_text h2 {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.25 !important;
}

#join_us .join_us_text h5 {
  font-size: 14px !important;
  color: #c4b5d4 !important;
  margin: 0 0 16px 0 !important;
}

.server-modes {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 0 18px 0 !important;
  max-width: none !important;
  flex-direction: unset !important;
}

.mode-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  background: rgba(30, 16, 52, 0.92) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.55) !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(10px) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.mode-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(216, 180, 254, 0.9) !important;
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.45), inset 0 0 18px rgba(168, 85, 247, 0.25) !important;
  background: rgba(42, 22, 74, 0.96) !important;
}

.mode-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.mode-badge {
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  color: #fff !important;
  text-transform: uppercase !important;
  display: inline-block !important;
  white-space: nowrap !important;
}

.badge-smp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45) !important;
}

.badge-vanila {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.45) !important;
}

.badge-politics {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%) !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5) !important;
}

.mode-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.mode-desc {
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #e9d5ff !important;
  margin: 0 !important;
}

#join_us .copy_ip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  height: auto !important;
  background: rgba(20, 10, 36, 0.75) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  border-radius: 16px !important;
  padding: 12px 20px !important;
  margin-top: 4px !important;
  grid-template-columns: none !important;
}

#join_us .copy_ip .left,
#join_us .copy_ip > span {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #e9d5ff !important;
}

#store_header .s-left img {
  background: transparent !important;
  mix-blend-mode: normal !important;
}

@media only screen and (max-width: 1120px) {
  #join_us {
    padding: 24px 20px 24px 20px !important;
    display: block !important;
    grid-template-columns: none !important;
  }
  .server-modes {
    grid-template-columns: 1fr !important;
  }
  #join_us .join_us_arrow {
    position: relative !important;
    left: 0 !important;
    width: 180px !important;
    height: 180px !important;
    margin: 0 auto 12px auto !important;
  }
}

/* ===== HERO: тёмная цитадель + рыцарь Диктатор ===== */
#head {
  background: #12081c !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55) !important;
  overflow: hidden !important;
}
#head:before {
  background: url(/images/citadel.webp) center / cover no-repeat !important;
  opacity: 0.92 !important;
  z-index: 0 !important;
}
#head #head_pics {
  z-index: 1 !important;
}
#head #head_pics .flying {
  background: url(/images/head/dictator.webp) no-repeat center bottom / contain !important;
  background-color: transparent !important;
  width: 520px !important;
  height: 560px !important;
  right: 40px !important;
  bottom: 70px !important;
  left: auto !important;
  top: auto !important;
  z-index: 4 !important;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 28px rgba(168, 85, 247, 0.45)) !important;
}
/* Скрываем окно со статусом онлайна сервера */
#head .head_bottom,
.s-online-wrapp,
.s-online {
  display: none !important;
}


/* ===== ИКОНКИ YOUTUBE И DISCORD ===== */
.social-yt {
  background: url(../images/social-yt.svg?v=25) center / contain no-repeat !important;
  box-shadow: 0 4px 18px rgba(255, 0, 50, 0.4), 0 0 16px rgba(168, 85, 247, 0.45) !important;
  border-radius: 14px !important;
}
.social-yt:hover {
  transform: translateY(-3px) scale(1.06) !important;
  box-shadow: 0 8px 25px rgba(255, 0, 50, 0.65), 0 0 24px rgba(216, 180, 254, 0.8) !important;
}

.social-discord {
  background: url(../images/social-discord.svg?v=25) center / contain no-repeat !important;
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.5), 0 0 16px rgba(168, 85, 247, 0.45) !important;
  border-radius: 14px !important;
}
.social-discord:hover {
  transform: translateY(-3px) scale(1.06) !important;
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.75), 0 0 24px rgba(216, 180, 254, 0.8) !important;
}

/* Отключаем псевдоэлементы FontAwesome, чтобы не перекрывали картинку */
#social i:before,
#social i:after,
.social-yt:before,
.social-yt:after,
.social-discord:before,
.social-discord:after,
footer .social i:before,
footer .social i:after {
  content: none !important;
  display: none !important;
}

#social i {
  display: inline-block !important;
  width: 80px !important;
  height: 80px !important;
  border-radius: 16px !important;
  margin: 24px 28px !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
}

footer .social .social-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: inline-block !important;
  margin-left: 12px !important;
}


/* ===== ПАРАЛЛАКС-КРИСТАЛЛЫ В ШАПКЕ ===== */
#head #head_pics .block_1 { background: url(../images/head/block-1.webp?v=24) center/contain no-repeat !important; }
#head #head_pics .block_2 { background: url(../images/head/block-2.webp?v=24) center/contain no-repeat !important; }
#head #head_pics .block_3 { background: url(../images/head/block-3.webp?v=24) center/contain no-repeat !important; }
#head #head_pics .block_4 { background: url(../images/head/block-4.webp?v=24) center/contain no-repeat !important; }
#head #head_pics .block_5 { background: url(../images/head/block-5.webp?v=24) center/contain no-repeat !important; }
#head #head_pics .block_6 { background: url(../images/head/block-6.webp?v=24) center/contain no-repeat !important; }
#head #head_pics .block_7 { background: url(../images/head/block-7.webp?v=24) center/contain no-repeat !important; }
#head #head_pics .block_8 { background: url(../images/head/block-8.webp?v=24) center/contain no-repeat !important; }
#head #head_pics .block_9 { background: url(../images/head/block-9.webp?v=24) center/contain no-repeat !important; }
#head #head_pics .block_10 { background: url(../images/head/block-10.webp?v=24) center/contain no-repeat !important; }

/* Социальные иконки с обновленным кэшем */
.social-yt, #social .social-yt, footer .social .social-yt {
  background: url(../images/social-yt.svg?v=25) center/contain no-repeat !important;
}
.social-discord, #social .social-discord, footer .social .social-discord {
  background: url(../images/social-discord.svg?v=25) center/contain no-repeat !important;
}


/* ===== ВЫДЕЛЕНИЕ 3 СЕРВЕРОВ (SMP IMPERIUM, VANILA PLUS IMPERIUM, ПОЛИТИКА) ===== */
.server-modes {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 16px 0 20px 0 !important;
}

.mode-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  border-radius: 18px !important;
  padding: 18px 20px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(12px) !important;
}

.mode-top-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 8px !important;
}

.server-tag {
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.server-status-pill {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #4ade80 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  letter-spacing: 0.8px !important;
}
.server-status-pill i {
  font-size: 7px !important;
  animation: pulse-online 2s infinite !important;
}

@keyframes pulse-online {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 4px #4ade80); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

.mode-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.mode-badge {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  letter-spacing: 0.5px !important;
}

.mode-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: 0.5px !important;
}

.mode-desc {
  font-size: 0.85rem !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

/* === СЕРВЕР 1: SMP Imperium (Изумрудный) === */
.mode-card.mode-smp {
  background: linear-gradient(145deg, rgba(8, 38, 22, 0.92) 0%, rgba(5, 20, 14, 0.96) 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.55) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(16, 185, 129, 0.2) !important;
}
.mode-card.mode-smp:hover {
  transform: translateY(-4px) !important;
  border-color: #34d399 !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.45) !important;
}
.mode-card.mode-smp .server-tag {
  background: rgba(16, 185, 129, 0.22) !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
}
.mode-card.mode-smp .mode-badge {
  background: #10b981 !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4) !important;
}
.mode-card.mode-smp .mode-desc {
  color: #a7f3d0 !important;
}

/* === СЕРВЕР 2: Vanila Plus Imperium (Лазурный) === */
.mode-card.mode-vanila {
  background: linear-gradient(145deg, rgba(12, 28, 54, 0.92) 0%, rgba(6, 16, 36, 0.96) 100%) !important;
  border: 1.5px solid rgba(14, 165, 233, 0.55) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(14, 165, 233, 0.2) !important;
}
.mode-card.mode-vanila:hover {
  transform: translateY(-4px) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(14, 165, 233, 0.45) !important;
}
.mode-card.mode-vanila .server-tag {
  background: rgba(14, 165, 233, 0.22) !important;
  color: #7dd3fc !important;
  border: 1px solid rgba(14, 165, 233, 0.45) !important;
}
.mode-card.mode-vanila .mode-badge {
  background: #0ea5e9 !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.4) !important;
}
.mode-card.mode-vanila .mode-desc {
  color: #bae6fd !important;
}

/* === СЕРВЕР 3: Vanila Plus Imperium Приват (Фиолетовый) === */
.mode-card.mode-politics {
  background: linear-gradient(145deg, rgba(38, 14, 58, 0.92) 0%, rgba(18, 6, 30, 0.96) 100%) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(168, 85, 247, 0.25) !important;
}
.mode-card.mode-politics:hover {
  transform: translateY(-4px) !important;
  border-color: #c084fc !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(168, 85, 247, 0.5) !important;
}
.mode-card.mode-politics .server-tag {
  background: rgba(168, 85, 247, 0.22) !important;
  color: #d8b4fe !important;
  border: 1px solid rgba(168, 85, 247, 0.45) !important;
}
.mode-card.mode-politics .mode-badge {
  background: #a855f7 !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4) !important;
}
.mode-card.mode-politics .mode-desc {
  color: #e9d5ff !important;
}

@media only screen and (max-width: 1120px) {
  .server-modes {
    grid-template-columns: 1fr !important;
  }
}


/* ===== НОВЫЕ IP АДРЕСА СЕРВЕРОВ (МОСКВА & ГЕРМАНИЯ) ===== */
.nova-servers-ip-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  background: rgba(18, 9, 32, 0.85) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.4) !important;
  border-radius: 20px !important;
  padding: 18px 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.nova-ip-top-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  color: #d8b4fe !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(168, 85, 247, 0.2) !important;
  padding-bottom: 10px !important;
}

.nova-ip-top-bar b {
  color: #fff !important;
}

.nova-ip-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

.nova-ip-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(30, 15, 52, 0.8) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  border-radius: 14px !important;
  padding: 12px 18px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nova-ip-card:hover {
  transform: translateY(-2px) !important;
  border-color: #c084fc !important;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35) !important;
  background: rgba(45, 20, 75, 0.9) !important;
}

.nova-ip-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.nova-ip-flag {
  font-size: 24px !important;
  line-height: 1 !important;
}

.nova-ip-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.nova-ip-location {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #a78bfa !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
}

.nova-ip-val {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #fff !important;
  font-family: monospace, monospace !important;
  letter-spacing: 0.5px !important;
}

.nova-ip-btn {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%) !important;
  border: none !important;
  color: #fff !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  padding: 8px 14px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.nova-ip-btn:hover {
  filter: brightness(1.15) !important;
}

.nova-ip-card.copied .nova-ip-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

@media only screen and (max-width: 768px) {
  .nova-ip-list {
    grid-template-columns: 1fr !important;
  }
  .nova-ip-top-bar {
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-start !important;
  }
}

#store_cats {
  padding: 26px 20px 0 20px;
}

#store_cats .cats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

#store_cats .cat {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  background: rgba(18, 8, 28, 0.72);
  color: #b9b3c4;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

#store_cats .cat:hover {
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.6);
}

#store_cats .cat.active {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.35);
}

#store_cats .cat.disabled {
  opacity: .45;
}

@media only screen and (max-width: 768px) {
  #store_cats {
    padding: 18px 12px 0 12px;
  }
  #store_cats .cat {
    padding: 7px 13px;
    font-size: 13px;
  }
}
