/* about.css */
/* Стили для страницы "О проекте" */

.about-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, #1a1a2e, #0f0f1c);
  display: flex;
  flex-direction: column;
}

.about-hero {
  padding: 120px 0 80px;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(155, 131, 255, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(102, 126, 234, 0.06) 0%,
      transparent 40%
    );
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-title i {
  color: #9b83ff;
  font-size: 3.2rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #e2e2ff;
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
  opacity: 0.9;
  font-weight: 400;
  order: 2;
}

/* Статистика - исправленная версия */
/* about.css - Исправленная статистика с правильными размерами */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 35px; /* Оптимальный отступ */
  flex-wrap: wrap;
  max-width: 950px;
  margin: 30px auto 0;
  order: 3;
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px 20px; /* Больше вертикальных отступов */
  text-align: center;
  min-width: 180px; /* Значительно увеличил ширину */
  flex: 1;
  max-width: 200px; /* Ограничил максимальную ширину */
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #9b83ff, #667eea);
  opacity: 0.8;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: rgba(155, 131, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-size: 2.6rem; /* Немного уменьшил для баланса */
  font-weight: 800;
  color: #9b83ff;
  margin-bottom: 8px;
  display: block;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(155, 131, 255, 0.3);
}

.stat-label {
  color: #e2e2ff;
  font-size: 13px; /* Уменьшил размер текста */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px; /* Уменьшил межбуквенный интервал */
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
  word-wrap: break-word;
  max-width: 100%;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .hero-stats {
    gap: 30px;
    max-width: 800px;
  }

  .stat-item {
    min-width: 160px;
    max-width: 180px;
    padding: 30px 18px;
  }

  .stat-number {
    font-size: 2.4rem;
  }

  .stat-label {
    font-size: 12px;
    letter-spacing: 0.7px;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    gap: 20px;
    margin-top: 25px;
  }

  .stat-item {
    min-width: 140px;
    max-width: 160px;
    padding: 25px 15px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 11px;
    letter-spacing: 0.6px;
    padding: 0 5px;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    gap: 15px;
    justify-content: space-around;
  }

  .stat-item {
    min-width: 120px;
    max-width: 140px;
    padding: 22px 12px;
    flex: none;
    width: auto;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 12px;
  }

  .stat-item {
    min-width: 110px;
    max-width: 130px;
    padding: 20px 10px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 9px;
    letter-spacing: 0.4px;
  }
}

@media (max-width: 360px) {
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .stat-item {
    width: calc(50% - 5px);
    min-width: auto;
    max-width: none;
    padding: 18px 8px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 9px;
  }
}

/* Основной контент */
.about-content {
  padding: 60px 0;
  flex: 1;
  position: relative;
  z-index: 1;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Карточки контента */
.section-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.section-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.section-card h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid rgba(155, 131, 255, 0.3);
  padding-bottom: 12px;
}

.section-card h2 i {
  color: #9b83ff;
  font-size: 1.6rem;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #c8c8e8;
  margin-bottom: 32px;
  text-align: justify;
}

/* Особенности */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  align-items: flex-start;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(155, 131, 255, 0.2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #9b83ff, #667eea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-content h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.feature-content p {
  color: #c8c8e8;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Команда */
.team-grid {
  display: grid;
  gap: 20px;
}

.team-member {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  align-items: flex-start;
}

.team-member:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(155, 131, 255, 0.2);
  transform: translateY(-2px);
}

.member-avatar {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #9b83ff, #667eea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  flex-shrink: 0;
}

.member-info {
  flex: 1;
}

.member-info h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.member-info p {
  color: #c8c8e8;
  margin-bottom: 12px;
  line-height: 1.5;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9b83ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 14px;
}

.telegram-link:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Боковая панель */
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.support-card,
.thanks-card,
.contacts-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.support-card:hover,
.thanks-card:hover,
.contacts-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.support-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.support-header i {
  color: #9b83ff;
  font-size: 24px;
}

.support-header h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0;
  font-weight: 600;
}

.support-card p {
  color: #c8c8e8;
  margin-bottom: 24px;
  line-height: 1.5;
}

.support-actions {
  text-align: center;
}

/* Благодарности */
.thanks-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  font-weight: 600;
}

.thanks-card h3 i {
  color: #9b83ff;
}

.thanks-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.thank-item strong {
  color: #fff;
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.thank-item ul {
  color: #c8c8e8;
  padding-left: 20px;
  margin: 0;
}

.thank-item li {
  margin-bottom: 6px;
  line-height: 1.4;
}

/* Список людей для благодарностей */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.person-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.person-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(155, 131, 255, 0.2);
  transform: translateY(-2px);
}

.person-name {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.person-role {
  color: #9b83ff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

/* Контакты */
.contacts-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  font-weight: 600;
}

.contacts-card h3 i {
  color: #9b83ff;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c8c8e8;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
  z-index: 2;
  font-size: 14px;
}

.contact-link:hover {
  color: #9b83ff;
  transform: translateX(4px);
}

.contact-link i {
  font-size: 18px;
  width: 20px;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #9b83ff, #667eea);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8a72ee, #5a6fd8);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(155, 131, 255, 0.3);
}

/* Красивый дизайн модального окна поддержки с анимациями */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
}

.modal-content {
  background: linear-gradient(
    135deg,
    rgba(30, 30, 46, 0.98) 0%,
    rgba(20, 20, 35, 0.98) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  width: 90%;
  max-width: 520px;
  max-height: 80vh;
  margin: 60px auto;
  backdrop-filter: blur(40px);
  position: relative;
  z-index: 10001;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(155, 131, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9b83ff, #667eea, #ff6b6b);
  border-radius: 28px 28px 0 0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 100%
  );
  flex-shrink: 0;
}

.modal-header h3 {
  color: #fff;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #9b83ff, #667eea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-header h3::before {
  content: "💝";
  font-size: 1.3rem;
}

/* Анимированный крестик */
.modal-close {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c8c8e8;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.modal-close::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.modal-close:hover::before {
  left: 100%;
}

.modal-close:hover {
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.2) 0%,
    rgba(255, 107, 107, 0.1) 100%
  );
  border-color: rgba(255, 107, 107, 0.3);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3),
    0 0 0 1px rgba(255, 107, 107, 0.1);
}

.modal-body {
  padding: 24px 32px;
  overflow-y: auto;
  flex: 1;
}

/* Красивые платежные методы */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.payment-method {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.payment-method::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #9b83ff, #667eea);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.payment-method:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-color: rgba(155, 131, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(155, 131, 255, 0.1);
}

.payment-method:hover::before {
  opacity: 1;
}

.payment-method h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-method p {
  color: #c8c8e8;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
}

.payment-details {
  color: #9b83ff;
  font-size: 14px;
  line-height: 1.5;
  background: rgba(155, 131, 255, 0.08);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(155, 131, 255, 0.15);
  font-family: "Courier New", monospace;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.payment-details:hover {
  background: rgba(155, 131, 255, 0.12);
  border-color: rgba(155, 131, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(155, 131, 255, 0.2);
}

.payment-details::after {
  content: "📋";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.payment-details:hover::after {
  opacity: 1;
}

.payment-details.copied::after {
  content: "✅";
}

.payment-details a {
  color: #9b83ff;
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-all;
}

.payment-details a:hover {
  color: #fff;
  text-decoration: underline;
}

.support-note {
  background: linear-gradient(
    135deg,
    rgba(155, 131, 255, 0.15) 0%,
    rgba(102, 126, 234, 0.1) 100%
  );
  border: 1px solid rgba(155, 131, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.support-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(155, 131, 255, 0.5),
    transparent
  );
}

.support-note p {
  color: #e2e2ff;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.support-note i {
  color: #9b83ff;
  font-size: 16px;
}

/* Специфичные стили для каждого метода оплаты */
.payment-method:nth-child(1) h4::before {
  content: "💳";
}
.payment-method:nth-child(2) h4::before {
  content: "🎯";
}
.payment-method:nth-child(3) h4::before {
  content: "₿";
}

.payment-method:nth-child(1)::before {
  background: linear-gradient(90deg, #667eea, #9b83ff);
}
.payment-method:nth-child(2)::before {
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
}
.payment-method:nth-child(3)::before {
  background: linear-gradient(90deg, #4ecdc4, #44a08d);
}

/* Стили для скролла */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #9b83ff, #667eea);
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #8a72ee, #5a6fd8);
}

/* Адаптивность */
@media (max-width: 768px) {
  .modal-content {
    margin: 30px auto;
    max-width: 90%;
    max-height: 85vh;
  }

  .modal-header {
    padding: 24px 28px 18px;
  }

  .modal-body {
    padding: 20px 28px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    margin: 20px auto;
    border-radius: 24px;
  }

  .modal-header {
    padding: 20px 24px 16px;
  }

  .modal-body {
    padding: 18px 24px;
  }

  .payment-method {
    padding: 20px;
  }

  .support-note {
    padding: 14px;
  }
}

/* Обновленные стили для команды с фотографиями */
.team-member {
  display: flex;
  gap: 35px;
  padding: 35px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  align-items: flex-start;
}

.team-member:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(155, 131, 255, 0.2);
  transform: translateY(-5px);
}

.member-avatar {
  width: 160px; /* Увеличил размер аватара */
  height: 160px;
  border-radius: 24px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid rgba(155, 131, 255, 0.3);
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 21px;
  transition: transform 0.3s ease;
}

.team-member:hover .avatar-image {
  transform: scale(1.05);
}

.avatar-overlay {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b83ff, #667eea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  border: 3px solid rgba(25, 25, 35, 0.9);
  backdrop-filter: blur(10px);
  z-index: 3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.member-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Уменьшил gap для более плотного расположения */
}

.member-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.member-header h3 {
  color: #fff;
  font-size: 1.6rem; /* Увеличил размер имени */
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

.member-badge {
  background: linear-gradient(135deg, #9b83ff, #667eea);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.member-role {
  color: #9b83ff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.member-info > p:not(.member-role) {
  color: #c8c8e8;
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
  opacity: 0.9;
}

.member-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px; /* Уменьшил gap между тегами */
  margin: 5px 0;
}

.skill-tag {
  background: rgba(155, 131, 255, 0.1);
  color: #9b83ff;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid rgba(155, 131, 255, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.skill-tag:hover {
  background: rgba(155, 131, 255, 0.2);
  transform: translateY(-1px);
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9b83ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 14px;
  padding: 8px 18px;
  background: rgba(155, 131, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(155, 131, 255, 0.2);
  align-self: flex-start;
  margin-top: 5px;
}

.telegram-link:hover {
  color: #fff;
  background: rgba(155, 131, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(155, 131, 255, 0.3);
}
.thanks-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  font-weight: 600;
  justify-content: center; /* Добавляем центрирование */
  text-align: center;
}

/* Адаптивность для обновленной команды */
@media (max-width: 1024px) {
  .team-member {
    gap: 30px;
    padding: 30px;
  }

  .member-avatar {
    width: 140px;
    height: 140px;
  }

  .member-header h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .team-member {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 25px;
    gap: 20px;
  }

  .member-avatar {
    width: 150px;
    height: 150px;
  }

  .member-header {
    justify-content: center;
    text-align: center;
  }

  .member-header h3 {
    font-size: 1.4rem;
  }

  .member-role {
    font-size: 1rem;
  }

  .member-skills {
    justify-content: center;
  }

  .member-info {
    text-align: center;
    align-items: center;
  }

  .telegram-link {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .team-member {
    padding: 20px;
  }

  .member-avatar {
    width: 130px;
    height: 130px;
  }

  .member-header {
    flex-direction: column;
    gap: 8px;
  }

  .member-header h3 {
    font-size: 1.3rem;
  }

  .member-role {
    font-size: 0.95rem;
  }

  .skill-tag {
    font-size: 10px;
    padding: 4px 8px;
  }

  .telegram-link {
    padding: 7px 16px;
    font-size: 13px;
  }

  .member-info > p:not(.member-role) {
    font-size: 14px;
  }
}

/* Дополнительные улучшения */
.member-avatar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(155, 131, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 21px;
  z-index: 1;
}

.team-member:hover .member-avatar::before {
  opacity: 1;
}

/* Убедимся, что текст не перекрывает фото на мобильных */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .about-main {
    order: 1;
  }

  .about-sidebar {
    order: 2;
  }
}
