/* === НОВЫЕ ЭЛЕМЕНТЫ === */

@font-face {
  font-family: 'FutureZ';
  src: url('/Fonts/Future Z.ttf') format('truetype');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

/* Hero блок */
.about-hero {
  text-align: center;
  padding: 20px 10px 30px;
}

.about-hero-logo {
  font-family: 'FutureZ', sans-serif;
  font-size: 5rem;
  color: #dc3545;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: 6px;
  filter: drop-shadow(0 0 20px rgba(220, 53, 69, 0.6));
  animation: pulseGlow 3s ease-in-out infinite;
  user-select: none;
}

@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(220, 53, 69, 0.4)); }
  50% { filter: drop-shadow(0 0 32px rgba(220, 53, 69, 0.85)); }
}

.about-hero-sub {
  font-size: 1.1rem;
  color: rgba(226, 225, 225, 0.7);
  margin: -10px 0 28px;
  font-style: italic;
  letter-spacing: 0.3px;
}

.about-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 10px auto 0;
  max-width: 600px;
  background: rgba(255, 77, 77, 0.06);
  border: 1px solid rgba(255, 77, 77, 0.15);
  border-radius: 16px;
  padding: 18px 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.hero-stat i {
  font-size: 1.2rem;
  color: #ff4d4d;
  margin-bottom: 4px;
}

.hero-stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ff4d4d;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(226, 225, 225, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 77, 77, 0.2);
  flex-shrink: 0;
}

/* Section heading с иконкой */
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin-bottom: 0 !important;
}

.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 77, 77, 0.15);
  border-radius: 10px;
  font-size: 1.1rem;
  color: #ff4d4d;
  flex-shrink: 0;
  border: 1px solid rgba(255, 77, 77, 0.25);
}

/* Теги секций */
.section-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.2);
  border-radius: 20px;
  font-size: 0.82rem;
  color: #ff8080;
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(255, 77, 77, 0.18);
  border-color: rgba(255, 77, 77, 0.4);
  color: #ffaaaa;
}

/* Заголовок секции возможностей */
.features-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6666;
  letter-spacing: 0.5px;
}

.features-section-title i {
  font-size: 1rem;
  color: #ff4d4d;
  opacity: 0.7;
}

/* Feature footer */
.feature-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #ff8080;
}

.feature-tag i {
  color: #4caf50;
}

/* CTA блок */
.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 77, 77, 0.07);
  border: 1px solid rgba(255, 77, 77, 0.18);
  border-radius: 16px;
  padding: 24px 30px;
  margin: 20px 0 0;
}

.cta-text {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #e6e6e6;
}

.cta-icon {
  font-size: 2rem;
  color: #ff4d4d;
  flex-shrink: 0;
}

.cta-text strong {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.cta-text p {
  font-size: 0.9rem;
  color: rgba(226, 225, 225, 0.7);
  margin: 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

/* Иконки в сайдбаре — показываем */
.admin-section h3 i {
  display: inline !important;
  margin-right: 6px;
  font-size: 1rem;
  color: #ff8080;
}

/* Иконка external-link в ссылках */
.support-ext {
  margin-left: auto;
  font-size: 0.7rem !important;
  color: rgba(226, 225, 225, 0.35) !important;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.support-link:hover .support-ext {
  opacity: 1;
  color: rgba(226, 225, 225, 0.7) !important;
}

/* === БАЗОВЫЕ СТИЛИ === */

.about-server {
  display: flex;
  flex-direction: column;
  padding: 40px 30px;
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 16px;
  max-width: 1100px;
  margin: 80px auto 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  color: #e6e6e6;
  position: relative;
  overflow: hidden;
}

.about-server::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ff4d4d, #ff8080);
  z-index: 1;
}

/* === LAYOUT ДЛЯ САЙДБАРА === */

.about-layout {
  display: flex;
  gap: 30px;
  max-width: 1400px;
  margin: 80px auto 40px;
  padding: 0 20px;
}

.main-content {
  flex: 1;
  min-width: 0;
}

.main-content .about-server {
  margin: 0;
  width: 100%;
}

/* === ЗАГОЛОВКИ === */

.about-server .about-section:first-child h1 {
  font-size: 2.8rem;
  color: #ff4d4d;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  line-height: 1.2;
  position: relative;
}

.about-server .about-section:first-child h1::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: #ff4d4d;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.about-server .about-section:first-child h2 {
  font-size: 1.8rem;
  color: #ff8080;
  text-align: center;
  margin: 10px 0 25px;
  font-weight: 600;
}

.about-section h2 {
  font-size: 1.8rem;
  color: #ff6666 !important;
  margin-bottom: 20px;
  font-weight: 600;
}

/* === СЕКЦИИ И КОНТЕНТ === */

.about-section {
  margin-bottom: 30px;
}

.about-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(226, 225, 225, 0.9);
  margin-bottom: 15px;
  text-align: justify;
}

.about-section.with-screenshot {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.about-section.with-screenshot:nth-child(even) {
  flex-direction: row-reverse;
}

.section-content {
  flex: 1;
}

.section-screenshot {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.section-screenshot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  transition: background 0.4s ease;
  z-index: 1;
}

.section-screenshot:hover::before {
  background: rgba(0,0,0,0.2);
}

/* === КАРУСЕЛЬ === */

.image-carousel {
  position: relative !important;
  width: 100% !important;
  height: 350px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.4s ease !important;
  display: block !important;
}

.carousel-container {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background: #000 !important;
  display: block !important;
}

.carousel-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  opacity: 0 !important;
  transition: opacity 1.2s ease-in-out, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform-origin: center !important;
  will-change: transform, opacity !important;
  z-index: 1 !important;
  display: block !important;
}

.carousel-image.active {
  opacity: 1 !important;
  transform: scale(1) !important;
  z-index: 2 !important;
}

.image-carousel:hover .carousel-image.active {
  transform: scale(1.05) !important;
}

.carousel-timer {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 0 !important;
  height: 3px !important;
  background: #ff4d4d !important;
  z-index: 15 !important;
  transition: width linear !important;
}

.carousel-controls {
  position: absolute !important;
  bottom: 15px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  z-index: 20 !important;
}

.carousel-prev, .carousel-next {
  background: rgba(0,0,0,0.5) !important;
  color: white !important;
  border: none !important;
  padding: 5px 10px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  font-size: 1rem !important;
  min-width: 30px !important;
  min-height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.carousel-prev:hover, .carousel-next:hover {
  background: rgba(0,0,0,0.8) !important;
}

.carousel-dots {
  display: flex !important;
  gap: 10px !important;
}

.dot {
  width: 10px !important;
  height: 10px !important;
  background: rgba(255,255,255,0.5) !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  min-width: 10px !important;
  min-height: 10px !important;
  display: block !important;
}

.dot.active {
  background: #ff4d4d !important;
}

/* === КАРТОЧКИ ФУНКЦИЙ === */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.feature-card {
  background-color: rgba(20, 20, 22, 0.7);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border-left: 3px solid #ff4d4d;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: calc(0.1s * var(--index, 0));
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.feature-card h2 {
  font-size: 1.5rem;
  color: #ff6666 !important;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

.feature-card h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #ff4d4d;
  transition: width 0.3s ease;
}

.feature-card:hover h2::after {
  width: 60px;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(226, 225, 225, 0.85);
  margin-bottom: 0;
  flex-grow: 1;
}

.feature-icon {
  font-size: 2.5rem;
  color: #ff4d4d;
  margin-bottom: 15px;
  text-align: center;
}

/* === САЙДБАР АДМИНИСТРАЦИИ === */

.admin-sidebar {
  width: 320px;
  flex-shrink: 0;
}

.admin-panel {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(220, 53, 69, 0.3) transparent;
  padding-right: 4px;
}

.admin-panel::-webkit-scrollbar {
  width: 4px;
}

.admin-panel::-webkit-scrollbar-track {
  background: transparent;
}

.admin-panel::-webkit-scrollbar-thumb {
  background: rgba(220, 53, 69, 0.3);
  border-radius: 2px;
}

.admin-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 53, 69, 0.5);
}

.admin-section {
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.admin-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff4d4d, #ff8080);
  z-index: 1;
}

.admin-section h3 {
  color: #ff6666;
  font-size: 1.3rem;
  margin: 0 0 15px 0;
  font-weight: 600;
}

.admin-section h3 i {
  display: none; /* Скрываем Font Awesome иконки */
}

/* === КАРТОЧКИ АДМИНИСТРАТОРОВ === */

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: rgba(20, 20, 22, 0.7);
  border-radius: 12px;
  border-left: 3px solid #ff4d4d;
  transition: all 0.3s ease;
}

.admin-card:hover {
  background-color: rgba(30, 30, 32, 0.8);
  transform: translateX(5px);
}

.admin-avatar {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ff4d4d;
}

.admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.8);
}

.status-indicator.online {
  background-color: #28a745;
}

.status-indicator.offline {
  background-color: #6c757d;
}

.admin-info {
  flex: 1;
  min-width: 0;
}

.admin-name {
  font-weight: 600;
  color: #e6e6e6;
  font-size: 1rem;
  margin-bottom: 4px;
}

.admin-position {
  font-size: 0.85rem;
  color: #ff8080;
  margin-bottom: 4px;
}

.admin-status {
  font-size: 0.8rem;
  color: rgba(226, 225, 225, 0.7);
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-status .fa-circle {
  font-size: 0.6rem;
}

.text-success {
  color: #28a745 !important;
}

.text-muted {
  color: #6c757d !important;
}

.no-admins {
  text-align: center;
  padding: 20px;
  color: rgba(226, 225, 225, 0.6);
}

.no-admins i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #6c757d;
}

/* === ССЫЛКИ ПОДДЕРЖКИ === */

.support-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background-color: rgba(20, 20, 22, 0.7);
  border-radius: 10px;
  text-decoration: none;
  color: #e6e6e6;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.support-link:hover {
  background-color: rgba(30, 30, 32, 0.8);
  transform: translateX(5px);
  text-decoration: none;
  color: #fff;
}

.support-link.discord {
  border-left-color: #5865F2;
}

.support-link.discord:hover {
  background-color: rgba(88, 101, 242, 0.1);
}

.support-link.telegram {
  border-left-color: #0088cc;
}

.support-link.telegram:hover {
  background-color: rgba(0, 136, 204, 0.1);
}

.support-link.steam {
  border-left-color: #171a21;
}

.support-link.steam:hover {
  background-color: rgba(23, 26, 33, 0.3);
}

.support-link i {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.support-link span {
  font-weight: 500;
}

/* === СТАТИСТИКА === */

.server-stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stat-item {
  text-align: center;
  padding: 15px;
  background-color: rgba(20, 20, 22, 0.7);
  border-radius: 10px;
  border-left: 3px solid #ff4d4d;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff4d4d;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(226, 225, 225, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === БЫСТРАЯ ПОМОЩЬ === */

.quick-help {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-item {
  width: 100%;
}

.help-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background-color: rgba(20, 20, 22, 0.7);
  border-radius: 8px;
  text-decoration: none;
  color: #e6e6e6;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  font-size: 0.9rem;
}

.help-link:hover {
  background-color: rgba(30, 30, 32, 0.8);
  transform: translateX(3px);
  text-decoration: none;
  color: #fff;
  border-left-color: #ff4d4d;
}

.help-link i {
  font-size: 1rem;
  width: 16px;
  text-align: center;
  color: #ff8080;
}

.help-link span {
  font-weight: 500;
}

/* === CTA КНОПКА И РАЗДЕЛИТЕЛИ === */

.cta-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ff4d4d;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 20px auto 0;
  text-align: center;
  align-self: center;
  box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #ff6666;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(255, 77, 77, 0.4);
  text-decoration: none;
  color: #fff;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 40px 0;
}

/* === АНИМАЦИИ === */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === АДАПТИВНОСТЬ === */

@media (max-width: 1200px) {
  .about-layout {
    max-width: 100%;
    padding: 0 15px;
  }
  
  .admin-sidebar {
    width: 280px;
  }
}

@media (max-width: 992px) {
  .about-layout {
    flex-direction: column;
    gap: 20px;
    margin: 20px auto;
  }
  
  .admin-sidebar {
    width: 100%;
    order: -1;
  }
  
  .admin-panel {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .admin-section {
    flex-shrink: 0;
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  /* Принудительно показываем все элементы карусели */
  .about-section.with-screenshot {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
  }
  
  .section-screenshot {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    min-height: 200px !important;
    overflow: visible !important;
    flex: none !important;
  }
  
  .image-carousel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: 220px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #000 !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important;
  }
  
  .carousel-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }
  
  .carousel-image {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    opacity: 0 !important;
    transition: opacity 1s ease-in-out !important;
    z-index: 1 !important;
  }
  
  .carousel-image.active {
    opacity: 1 !important;
    z-index: 2 !important;
  }
  
  .carousel-timer {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 3px !important;
    background: #ff4d4d !important;
    z-index: 10 !important;
  }
  
  .carousel-controls {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    bottom: 15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    z-index: 20 !important;
    width: auto !important;
  }
  
  .carousel-prev, 
  .carousel-next {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(0,0,0,0.7) !important;
    color: white !important;
    border: none !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 1.2rem !important;
    min-width: 44px !important;
    min-height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    flex-shrink: 0 !important;
  }
  
  .carousel-dots {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  
  .dot {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    background: rgba(255,255,255,0.5) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    flex-shrink: 0 !important;
  }
  
  .dot.active {
    background: #ff4d4d !important;
  }
  
  /* Убираем все конфликтующие стили */
  .section-screenshot::before {
    display: none !important;
  }
  
  .image-carousel:hover .carousel-image.active {
    transform: scale(1) !important;
  }

  /* === АДАПТАЦИЯ АДМИНИСТРАЦИИ === */
  
  .admin-panel {
    flex-direction: column;
  }
  
  .admin-section {
    min-width: 100%;
  }
  
  .admin-card {
    padding: 12px;
  }
  
  .admin-avatar {
    width: 45px;
    height: 45px;
  }
  
  .support-links {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .support-link {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
  
  .server-stats {
    flex-direction: row;
  }
  
  .stat-item {
    flex: 1;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .quick-help {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .help-item {
    flex: 1;
    min-width: 120px;
  }
  
  .help-link {
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 12px 8px;
    text-align: center;
  }
  
  .help-link span {
    font-size: 0.8rem;
  }

  /* === АДАПТАЦИЯ ОСТАЛЬНЫХ ЭЛЕМЕНТОВ === */
  
  /* Основной контейнер */
  .about-server {
    padding: 20px 15px !important;
    margin: 20px auto !important;
    max-width: 100% !important;
    border-radius: 12px !important;
  }
  
  /* Заголовки */
  .about-server .about-section:first-child h1 {
    font-size: 1.8rem !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
  }
  
  .about-server .about-section:first-child h1::after {
    width: 60px !important;
    bottom: -10px !important;
  }
  
  .about-server .about-section:first-child h2 {
    font-size: 1.3rem !important;
    margin: 8px 0 20px !important;
  }
  
  .about-section h2 {
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
  }
  
  /* Параграфы */
  .about-section p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    text-align: left !important;
  }
  
  .about-section {
    margin-bottom: 25px !important;
  }
  
  /* === FEATURES GRID АДАПТАЦИЯ === */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin: 30px 0 !important;
  }
  
  .feature-card {
    padding: 20px 15px !important;
    border-radius: 10px !important;
  }
  
  .feature-card h2 {
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
  }
  
  .feature-card p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  .feature-icon {
    font-size: 2rem !important;
    margin-bottom: 12px !important;
  }
  
  /* CTA кнопка */
  .cta-button {
    padding: 15px 25px !important;
    font-size: 1rem !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 25px auto 0 !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .divider {
    margin: 30px 0 !important;
  }
  
  /* Отключаем hover эффекты на мобильных */
  .feature-card:hover {
    transform: none !important;
  }
}

/* === ДОПОЛНИТЕЛЬНЫЕ МОБИЛЬНЫЕ СТИЛИ === */

@media (max-width: 480px) {
  .image-carousel {
    height: 180px !important;
    border-radius: 10px !important;
  }
  
  .carousel-container,
  .carousel-image {
    border-radius: 10px !important;
  }
  
  .carousel-controls {
    bottom: 8px !important;
    gap: 10px !important;
  }
  
  .carousel-prev, 
  .carousel-next {
    padding: 8px 12px !important;
    font-size: 1rem !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }
  
  .dot {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
  }
  
  /* Еще более компактные стили */
  .about-server {
    padding: 15px 10px !important;
    margin: 15px auto !important;
    border-radius: 10px !important;
  }
  
  .about-layout {
    padding: 0 10px;
  }
  
  .admin-section {
    padding: 15px;
  }
  
  .admin-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .support-links {
    flex-direction: column;
  }
  
  .server-stats {
    flex-direction: column;
  }
  
  .about-server .about-section:first-child h1 {
    font-size: 1.6rem !important;
    margin-bottom: 15px !important;
  }
  
  .about-server .about-section:first-child h1::after {
    width: 50px !important;
    bottom: -8px !important;
  }
  
  .about-server .about-section:first-child h2 {
    font-size: 1.2rem !important;
    margin: 6px 0 15px !important;
  }
  
  .about-section h2 {
    font-size: 1.3rem !important;
    margin-bottom: 12px !important;
  }
  
  .about-section p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
  }
  
  .features-grid {
    gap: 15px !important;
    margin: 25px 0 !important;
  }
  
  .feature-card {
    padding: 15px 12px !important;
    border-radius: 8px !important;
  }
  
  .feature-card h2 {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
  }
  
  .feature-card p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }
  
  .feature-icon {
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
  }
  
  .cta-button {
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    max-width: 280px !important;
  }
}

@media (max-width: 360px) {
  .about-server {
    padding: 12px 8px !important;
  }
  
  .about-server .about-section:first-child h1 {
    font-size: 1.4rem !important;
  }
  
  .about-server .about-section:first-child h1::after {
    width: 40px !important;
  }
  
  .image-carousel {
    height: 160px !important;
  }
  
  .feature-card {
    padding: 12px 10px !important;
  }
  
  .feature-card h2 {
    font-size: 1rem !important;
  }
  
  .feature-card p {
    font-size: 0.8rem !important;
  }
  
  .feature-icon {
    font-size: 1.6rem !important;
  }
}

/* Touch-устройства */
@media (hover: none) and (pointer: coarse) {
  .carousel-prev, 
  .carousel-next,
  .cta-button {
    min-height: 44px !important;
  }
  
  .carousel-prev, 
  .carousel-next {
    min-width: 44px !important;
  }
  
  /* Точки остаются маленькими, но с увеличенной областью касания */
  .dot {
    position: relative !important;
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
  }
  
  .dot::before {
    content: '' !important;
    position: absolute !important;
    top: -16px !important;
    left: -16px !important;
    right: -16px !important;
    bottom: -16px !important;
    border-radius: 50% !important;
    background: transparent !important;
  }
  
  /* Полностью отключаем hover эффекты */
  .feature-card:hover,
  .image-carousel:hover .carousel-image.active,
  .cta-button:hover,
  .support-link:hover,
  .help-link:hover,
  .admin-card:hover {
    transform: none !important;
    filter: none !important;
  }
}

.support-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}

/* =====================================================
   FULL VISUAL UPGRADE — About Page
   Palette: #dc3545 accent | deep dark bg
   ===================================================== */

/* --- Hero h1 --- */
.about-hero h1 {
  font-size: 2.6rem;
  color: #f0f0f0;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: none;
}

/* --- section-heading h2 не нужен левый бордер, есть иконка --- */
.section-heading h2 {
  padding-left: 0 !important;
}
.section-heading h2::before {
  display: none !important;
}

/* --- CTA block mobile --- */
@media (max-width: 768px) {
  .cta-block {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .cta-text {
    flex-direction: column;
    gap: 10px;
  }
  .about-hero-stats {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-stat-divider {
    display: none;
  }
  .hero-stat {
    flex: 1 1 40%;
  }
  .about-hero h1 {
    font-size: 1.8rem;
  }
  .features-section-title {
    font-size: 1.2rem;
  }
}

/* --- Базовый фон и типографика --- */
.about-layout {
  margin-top: 40px;
}

/* --- Основной контейнер --- */
.about-server {
  background: rgba(10, 12, 18, 0.94);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 45px;
}

.about-server::before {
  background: linear-gradient(90deg, #dc3545, #f87171, #dc3545);
  background-size: 200% auto;
  animation: gradientShift 4s ease infinite;
  height: 4px;
}

@keyframes gradientShift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* --- Заголовок страницы --- */
.about-server .about-section:first-child h1 {
  font-size: 3rem;
  color: #f0f0f0;
  text-shadow: none;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}

.about-server .about-section:first-child h1::after {
  background: linear-gradient(90deg, #dc3545, transparent);
  width: 100px;
  height: 3px;
  bottom: -18px;
  border-radius: 2px;
}

/* --- Заголовки секций --- */
.about-section h2 {
  font-size: 1.75rem !important;
  color: #f0f0f0 !important;
  font-weight: 600;
  position: relative;
  padding-left: 18px;
  margin-bottom: 16px !important;
}

.about-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #dc3545;
  border-radius: 2px;
}

/* --- Параграфы --- */
.about-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(220, 220, 220, 0.9);
  text-align: left !important;
}

/* --- Секции с каруселью --- */
.about-section.with-screenshot {
  gap: 50px;
  margin-bottom: 60px;
  align-items: center;
}

/* --- Карусель --- */
.image-carousel {
  border-radius: 14px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.06) !important;
  height: 370px !important;
}

.carousel-container {
  border-radius: 14px !important;
  background: rgba(8, 10, 16, 1) !important;
}

.carousel-image {
  border-radius: 14px !important;
}

.image-carousel:hover .carousel-image.active {
  transform: scale(1.03) !important;
}

.carousel-timer {
  background: #dc3545 !important;
  height: 4px !important;
  border-radius: 0 2px 2px 0 !important;
}

.carousel-prev, .carousel-next {
  background: rgba(10, 10, 18, 0.75) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  font-size: 1rem !important;
  transition: all 0.2s ease !important;
  min-width: 36px !important;
  min-height: 36px !important;
}

.carousel-prev:hover, .carousel-next:hover {
  background: rgba(220, 53, 69, 0.8) !important;
  border-color: #dc3545 !important;
}

.dot {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  background: rgba(255,255,255,0.25) !important;
  transition: all 0.3s ease !important;
}

.dot.active {
  background: #dc3545 !important;
  width: 22px !important;
  border-radius: 4px !important;
}

/* --- Разделитель --- */
.divider {
  background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.3), transparent);
  height: 1px;
  margin: 50px 0;
}

/* --- Feature Cards --- */
.features-grid {
  gap: 24px;
  margin: 0 0 10px 0;
}

.feature-card {
  background: rgba(14, 16, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid #dc3545;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(220, 53, 69, 0.08);
  border-left-color: #f87171;
}

.feature-icon {
  color: #dc3545;
  font-size: 2.2rem;
  margin-bottom: 18px;
  text-align: left;
}

.feature-card h2 {
  font-size: 1.3rem !important;
  color: #f0f0f0 !important;
  font-weight: 600;
  padding-left: 0 !important;
  padding-bottom: 12px;
  margin-bottom: 14px !important;
}

.feature-card h2::before {
  display: none;
}

.feature-card h2::after {
  background: #dc3545;
  width: 36px;
  height: 2px;
  transition: width 0.3s ease;
}

.feature-card:hover h2::after {
  width: 56px;
}

.feature-card p {
  color: rgba(200, 200, 210, 0.85);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* --- CTA кнопка --- */
.cta-button {
  background: linear-gradient(135deg, #dc3545, #b91c2c);
  padding: 15px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(220, 53, 69, 0.35);
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
}

.cta-button:hover {
  background: linear-gradient(135deg, #b91c2c, #9a1728);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(220, 53, 69, 0.45);
  color: #fff;
  text-decoration: none;
}

/* --- Sidebar --- */
.admin-section {
  background: rgba(10, 12, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  padding: 14px 16px;
}

.admin-section::before {
  background: linear-gradient(90deg, #dc3545, #f87171);
  height: 3px;
  border-radius: 14px 14px 0 0;
}

.admin-section h3 {
  color: #f0f0f0 !important;
  font-size: 1rem;
  letter-spacing: 0.3px;
  margin-bottom: 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 8px;
}

/* Admin cards */
.admin-card {
  background: rgba(16, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid #dc3545;
  border-radius: 8px;
  padding: 9px 11px;
  transition: all 0.25s ease;
}

.admin-card:hover {
  background: rgba(22, 24, 34, 0.95);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.08);
  border-left-color: #f87171;
}

.admin-avatar {
  border: 2px solid #dc3545;
  box-shadow: 0 0 0 1px rgba(220,53,69,0.2);
  width: 38px !important;
  height: 38px !important;
}

.admin-name {
  color: #e8e8e8;
  font-weight: 600;
  font-size: 0.9rem;
}

.admin-position {
  color: #f87171;
  font-size: 0.76rem;
}

/* Support links */
.support-link {
  background: rgba(16, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 3px solid transparent;
  color: #d4d4d4;
  transition: all 0.25s ease;
}

.support-link:hover {
  background: rgba(22, 24, 34, 0.95);
  color: #fff;
  transform: translateX(4px);
}

.support-link.discord { border-left-color: #5865F2; }
.support-link.discord:hover { background: rgba(88, 101, 242, 0.12); }

.support-link.telegram { border-left-color: #29b6f6; }
.support-link.telegram:hover { background: rgba(41, 182, 246, 0.1); }

.support-link.vk { border-left-color: #4680C2; }
.support-link.vk:hover { background: rgba(70, 128, 194, 0.1); }

/* Help links */
.help-link {
  background: rgba(16, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid transparent;
  color: #d4d4d4;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.help-link:hover {
  background: rgba(22, 24, 34, 0.95);
  color: #fff;
  border-left-color: #dc3545;
  transform: translateX(3px);
}

.help-link i {
  color: #dc3545;
}

/* No-admins placeholder */
.no-admins {
  color: rgba(200,200,210,0.5);
}

/* Section screenshot shadow upgrade */
.section-screenshot {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  border-radius: 14px;
}

/* Touch overrides for new colors */
@media (hover: none) and (pointer: coarse) {
  .carousel-prev:hover, .carousel-next:hover {
    background: rgba(10, 10, 18, 0.75) !important;
    border-color: rgba(255,255,255,0.1) !important;
  }
  .cta-button:hover {
    background: linear-gradient(135deg, #dc3545, #b91c2c) !important;
    transform: none !important;
    box-shadow: 0 6px 24px rgba(220, 53, 69, 0.35) !important;
  }
}

/* Скрываем лишние FA иконки в support-link, но не support-ext */
.support-link > i:not(.support-ext) {
  display: none;
}

/* Адаптивность для SVG иконок */
@media (max-width: 768px) {
  .support-icon {
    width: 24px;
    height: 24px;
  }
  
  .support-link {
    flex-direction: column;
    gap: 8px;
    padding: 15px 10px;
    text-align: center;
  }
  
  .support-link span {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .support-icon {
    width: 20px;
    height: 20px;
  }
  
  .support-link span {
    font-size: 0.8rem;
  }
}
