body {
  margin: 0;
  padding: 0;
  font-family: 'Rubik', sans-serif;
  background: url("../images/font.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}


/* Стиль для навигационной панели (navbar) */
.navbar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 910px;
  padding: 12px 24px;
  background-color: #111;
  border: 1px solid #555;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center; /* Центрируем элементы */
  gap: 24px; /* Добавляем промежуток между элементами */
}

/* Логотип */
.logo {
  font-weight: 900;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(to right, #ff3366, #FFC054); /* Градиент для текста */
  -webkit-background-clip: text; /* Применяем градиент к тексту */
  background-clip: text; /* Совместимость с другими браузерами */
  color: transparent; /* Делаем текст прозрачным, чтобы был виден только градиент */
}


/* Навигация (ссылки в меню) */
nav {
  display: flex;
  gap: 24px;
  font-weight: bold; /* Толстый шрифт */
  font-size: 14px; /* Размер шрифта */
  color: #ccc; /* Цвет текста */
  justify-content: center; /* Центрируем навигацию */
}

/* Стиль для ссылок */
nav a {
  color: #ccc;
  text-decoration: none; /* Убираем подчеркивание */
}

nav a:hover {
  color: #FFC054; /* Цвет при наведении */
  text-decoration: none; /* Убираем подчеркивание при наведении */
}


    .login {
      background: none;
      border: none;
      color: white;
      font-size: 0.9rem;
      cursor: pointer;
    }

    .login:hover {
      text-decoration: underline;
    }

    .title {
      font-size: 4rem;
      font-weight: 900;
      background: linear-gradient(to right, #D42C56, #ff3366, #ff3366, #FFC054, #FFC054, #FFC054);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 10px;
    }

    .subtitle {
      font-size: 1.8rem;
      font-weight: 500;
    }

    .highlight {
      color: #FFC054;
      font-weight: bold;
    }

    .description {
      margin-top: 20px;
      font-size: 1rem;
      color: #ccc;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    .features {
      margin: 30px 0;
      font-size: 1.1rem;
    }

    .features span {
      display: inline-block;
      margin: 0 15px;
    }

    .actions {
      margin-top: 20px;
    }

    .start {
      background: linear-gradient(to right, #ff3366, #FFC054);
      color: white;
      border: none;
      padding: 12px 24px;
      font-size: 1rem;
      border-radius: 8px;
      cursor: pointer;
    }

    .version {
      margin-left: 15px;
      padding: 10px 15px;
      border: 1px solid #FFC054;
      color: #FFC054;
      border-radius: 6px;
      font-weight: bold;
    }

.social-section {
  background-color: #323131;
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  color: white;
  max-width: 900px;
  margin: 0 auto;
}

.social-section {
 background-color: #000000;
  color: #ccc;
  padding: 40px 20px;
  font-size: 14px;
  max-width: 900px; /* Ограничение ширины */
  margin: 0 auto 30px auto; /* Центрируем и отступ снизу */
  border-radius: 20px; /* Немного скруглим */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05); /* Лёгкая тень */
}
.social-section p {
  font-weight: 500;
  margin-bottom: 20px;
  color: #eee;
}

.gradient-text {
  background: linear-gradient(to right, #ff3366, #FFC054);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.icons a {
  color: white;
  font-size: 40px;
  margin: 0 10px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.icons a:hover {
  transform: scale(1.1);
  color: #FFC054;
}


    .why {
      padding: 60px 20px;
      text-align: center;
      background-color: #000;
    }

    .why h2 {
      color: #FFC054;
      font-size: 2rem;
      margin-bottom: 30px;
    }

    .cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .card {
      background-color: #1f1f1f;
      color: #eee;
      border-radius: 10px;
      padding: 20px;
      width: 300px;
      text-align: left;
      box-shadow: 0 0 10px rgba(255, 77, 136, 0.2);
    }

    .cards .card:nth-child(4),
    .cards .card:nth-child(5) {
      margin-top: 20px;
    }

.social-section {
  margin-bottom: 60px; /* ДОБАВЛЯЕМ отступ снизу */
}
	
.footer {
  background-color: #000000;
  color: #ccc;
  padding: 40px 20px;
  font-size: 14px;
  max-width: 900px; /* ДОБАВЛЯЕМ ограничение ширины */
  margin: 0 auto 30px auto; /* ЦЕНТРИРУЕМ и отступ снизу */
  border-radius: 20px; /* Немного скруглим */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05); /* Лёгкая тень */
}

.footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.2s;
}

.footer a:hover {
  color: #FFC054;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-socials a {
  font-size: 24px;
  margin-left: 10px;
}

.footer-separator {
  border: none;
  border-top: 1px solid #333;
  margin: 20px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left {
  max-width: 400px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  max-width: 500px;
}

.footer-left a {
  color: #ccc;
  text-decoration: underline;
}

.server-info {
  margin: 100px auto -100px; /* ⬅ добавляем верхний отступ */
  max-width: 900px;
  padding: 20px 30px;
  background-color: #000;
  border-radius: 20px; /* Сглаженные углы */
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05); /* Светящееся свечение, можно настроить цвет и интенсивность */
}

    .hero {
      padding: 120px 20px 60px;
      text-align: center;
    }
	
    .server-left {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .server-address {
      font-size: 1.2rem;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .server-address i {
      cursor: pointer;
      transition: color 0.2s ease;
    }

    .server-address i:hover {
      color: #FFC054;
    }

    .server-online {
      font-size: 0.95rem;
      color: #ccc;
    }

    .server-right a {
      color: white;
      font-size: 24px;
      margin-left: 15px;
      transition: transform 0.2s ease, color 0.2s ease;
    }

    .server-right a:hover {
      transform: scale(1.1);
      color: #FFC054;
    }

.copy-notification {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  top: 20px; /* Отступ сверху */
  right: 20px; /* Отступ от правого края */
  background-color: #4CAF50; /* Зеленый цвет для успешного уведомления */
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 19; /* Чтобы уведомление было поверх других элементов */
}

.shop-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #1f1f1f;
  border: 1px solid #333;
  color: #ccc;
  font-weight: bold;
  border-radius: 12px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.shop-button:hover {
  background: linear-gradient(to right, #ff3366, #FFC054);
  color: white;
  transform: scale(1.02);
}

.shop-button.active {
  background: linear-gradient(to right, #ff3366, #FFC054);
  color: white;
  border-left: 4px solid #FFC054;
  transform: scale(1.03);
}

.shop-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 16px;
  color: #eee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 250px;
  transition: transform 0.2s ease;
  box-sizing: border-box;
}

.shop-card:hover {
  transform: translateY(-4px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* максимум 4 карточки в ряд */
  gap: 20px;
}


        .card img {
            width: 80px;
            height: 80px;
            margin-bottom: 10px;
        }
		
.card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.card p {
  margin: 0 0 10px;
  color: #ccc;
  font-size: 0.95rem;
}

.card .buy-button {
  background: linear-gradient(to right, #ff3366, #FFC054);
  border: none;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  align-self: flex-start;
}

.product-card {
  width: 220px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  background-color: #fff;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-title {
  font-size: 18px;
  margin: 12px 0 4px;
}

.product-price {
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
}

.buy-button {
  padding: 10px 16px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.buy-button:hover {
  background-color: #45a049;
}

.subtitl {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(to right, #2A9B0B, #2A9B0B, #FFC054, #FFC054, #FFC054); 
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.shop-card__image {
  width: 130px;
  height: 120px;
  display: block;
  margin: 0 auto 1px auto; /* центрирование по горизонтали */
  object-fit: contain;       /* сохраняет пропорции */
}

.shop-card__images {
  width: 130px;
  height: 120px;
  display: block;
  margin: 0 auto 1px auto; /* центрирование по горизонтали */
  object-fit: contain;       /* сохраняет пропорции */
  image-rendering: pixelated; /* делает пиксельное изображение чётким */
}

.shop-card__info {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-card__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #FFC054;
}

.shop-card__titled {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: #FFC054;
}

.shop-card__price {
  font-size: 20px;
  color: #fff;
  margin: 0;
}

.shop-card__button {
  margin-top: auto;
  padding: 8px 12px;
  background-color: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.shop-card__button:hover {
  background-color: #2563eb;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.modal {
    display: none; /* по умолчанию скрыт */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.modal-content {
    background-color: #1e1e1e;
    padding: 30px 25px;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.4s ease forwards;
    position: relative;
    text-align: center;
}



.modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.modal-content input,
.modal-content button {
    width: 100%;
    padding: 12px 15px;
    margin-top: 15px;
    font-size: 15px;
    border-radius: 8px;
    border: none;
    box-sizing: border-box;
}

.modal-content input {
    background-color: #2e2e2e;
    color: #fff;
    border: 1px solid #444;
}

.modal-content input::placeholder {
    color: #aaa;
}

.modal-content button {
    background-color: #ffc107;
    color: #000;
    font-weight: 600;
    transition: background 0.3s;
}

.modal-content button:hover {
    background-color: #e0a800;
}

.close {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 22px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #fff;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

		
		#modalDescription {
  text-align: left;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-fade-in {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeInUpCard {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-animated {
  opacity: 0;
  animation: fadeInUpCard 0.6s ease forwards;
}

.shop-card__button.small {
  font-size: 14px;
  padding: 6px 12px;
  background-color: #FFC054;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.shop-card__button.small:hover {
  background-color: #e6a939;
}

.shop-card__prices {
  display: flex;
  align-items: center;
  gap: 10px;
}

.old-price {
  font-size: 16px;
  color: #888;
  text-decoration: line-through;
}

.new-price {
  font-size: 20px;
  color: #FFC054;
  font-weight: bold;
}

.shop-card {
  position: relative;
  overflow: hidden;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff3366;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 6px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.recent-donations {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: #1f1f1f;
  border-radius: 12px;
  color: #fff;
}

.recent-donations h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

#donation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#donation-list li {
  margin-bottom: 8px;
  padding: 6px 10px;
  background-color: #2a2a2a;
  border-radius: 8px;
}
