/* Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #7000FF;
  --secondary: #FF00F5;
  --accent: #bf00ff;
  --dark: #0A0A12;
  --darker: #06060A;
}
/* Базовые стили */
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark);
  color: #fff;
  line-height: 1.6;
}
body::-webkit-scrollbar {
  width: 0 !important;
  display: none;
}
server-categories {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 2rem 0;
  margin: 0 auto;
  max-width: 1200px;
}

.server-btn {
  background: rgba(255,255,255,0.05);
  border: 2px solid var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.server-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(112,0,255,0.2), transparent);
  transition: 0.5s;
}

.server-btn:hover::before {
  left: 100%;
}

.server-btn.active {
  background: var(--primary);
  box-shadow: 0 0 25px rgba(112,0,255,0.4);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .server-categories {
    flex-direction: column;
    padding: 1rem;
  }
  
  .server-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}
/* Hero секция магазина */
.hero-shop {
  position: relative;
  height: 70vh;
  background: var(--darker);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid var(--primary);
}

.hero-shop::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(112,0,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112,0,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-move 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  background: rgba(16,16,26,0.9);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid var(--primary);
  box-shadow: 0 0 50px rgba(112,0,255,0.3);
}

.hero-title {
  font-size: 4.5rem;
  text-transform: uppercase;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-pulse 4s ease infinite;
  position: relative;
  margin-bottom: 1.5rem;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-shadow: 4px 4px 0 var(--secondary), -4px -4px 0 var(--primary);
  opacity: 0.3;
  z-index: -1;
}

.hero-subtitle {
  font-family: 'Courier New', monospace;
  color: #00ff9d;
  font-size: 1.5rem;
  text-shadow: 0 0 20px #00ff9d;
  text-align: center;
}

.hero-subtitle-love {
  font-family: 'Courier New', monospace;
  color: #ae00ff;
  font-size: 1.5rem;
  text-shadow: 0 0 20px #e600ff;
}


/* Контейнер магазина */
.shop-container {
  padding: 4rem 2rem;
  max-width: 20000px;
  margin: 0 auto;

}

/* Сетка товаров */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Карточка товара */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 20000px;
  margin: 0 auto;
}

/* Галерея наборов */
.kits-container {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;

}
.kits-container::-webkit-scrollbar{
  display: none;
}

.kit-modal-section {
  background: rgba(16, 16, 26, 0.9);
  border-radius: 15px;
  border: 1px solid var(--primary);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(112, 0, 255, 0.1);
  
}

.kit-gallery {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 1.5rem;
}

.kit-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(9, 8, 10, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: zoom-in;
  background: #0A0A12;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.kit-gallery img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(112, 0, 255, 0.3);
  border-color: var(--secondary);
}

/* Заголовок набора */
.kit-modal-section h3 {
  color: var(--secondary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.kit-modal-section h3::before {
  content: "";
  color: var(--primary);
  font-size: 1.2em;
}

/* Описание набора */
.kit-modal-section p {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  padding-left: 1.8rem;
}

/* Адаптивность */
@media (max-width: 768px) {
  .kit-gallery {
    grid-template-columns: 1fr;
  }
  
  .kit-gallery img {
    height: 250px;
  }
  
  .kit-modal-section {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .kit-gallery img {
    height: 180px;
  }
}

.section-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(112,0,255,0.3);
}

.kit-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.kit-images img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(112,0,255,0.3);
}
/* Базовые стили карточек */
.product-card {
  background: linear-gradient(145deg, #13131A, #0D0D12);
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(112,0,255,0.25);
}

/* Заголовок и цена */
.product-title {
  font-size: 1.8rem;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.price-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-secondary);
  opacity: 0.7;
}

.new-price {
  color: var(--success);
  font-size: 1.4rem;
  font-weight: 700;
}

.current-price {
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 700;
}

/* Секции с контентом */
.product-section {
  padding: 1.2rem;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(112,0,255,0.15);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-title i {
  font-size: 1.2rem;
}

/* Сетки возможностей и команд */
.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.upgrade-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem;
  background: rgba(112,0,255,0.1);
  border-radius: 8px;
}

.upgrade-item i {
  color: var(--success);
}

.command-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.command-item {
  background: rgba(255,255,255,0.05);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  color: var(--secondary);
}

/* Бейдж скидки */
.discount-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(45deg, #ff0000, #ff6a00);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 700;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  z-index: 2;
}

.discount-amount {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Изображения */
.product-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.product-image {
  width: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.item-image {
  width: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-image:hover {
  transform: scale(1.03);
}

.chat-tag-image {
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(112,0,255,0.3));
}

/* Адаптивность */
@media (max-width: 768px) {
  .product-card {
    padding: 1rem;
  }
  
  .product-title {
    font-size: 1.4rem;
  }
  
  .upgrade-grid {
    grid-template-columns: 1fr;
  }
  
  .product-image {
    height: 180px;
  }
}
.command-list {
    list-style: none;
    font-family: 'Courier New', monospace;
    color: #00ff9d;
    padding-left: 1rem;
}

.command-list li {
    margin-bottom: 0.5rem;
    position: relative;
}

.command-list li::before {
    content: "▹ ";
    color: var(--secondary);
}

.upgrade-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.upgrade-badge {
    background: rgba(112,0,255,0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--primary);
}
.kit-modal-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(16,16,26,0.9);
  border-radius: 15px;
  border: 1px solid var(--primary);
}

.kit-modal-section h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.kit-gallery {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.kit-gallery img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(112,0,255,0.2);
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.kit-gallery img:hover {
    transform: scale(1.02);
}

.modal-body {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
}
.modal-body::-webkit-scrollbar{
  width: 0 !important;
  display: none;
}
.card-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-actions button {
  background: none;
  border: 2px solid var(--primary);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-actions button::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 25%, 
    rgba(112,0,255,0.3) 50%, 
    transparent 75%);
  transform: skewX(-30deg);
  left: -200%;
  transition: left 0.6s ease;
}

.card-actions button:hover {
  background: rgba(112,0,255,0.1);
}

.card-actions button:hover::before {
  left: 200%;
}

/* Модальное окно */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: linear-gradient(145deg, #0f0f1a, #131320);
  border-radius: 16px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid var(--primary);
  box-shadow: 0 0 30px rgba(112,0,255,0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 20px;
  background: linear-gradient(90deg, rgba(112,0,255,0.2), transparent);
  border-bottom: 1px solid rgba(112,0,255,0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.8rem;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-modal:hover {
  transform: rotate(90deg);
  background: rgba(255,255,255,0.1);
}

.modal-body {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px;
}

.modal-main-content {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.modal-image-container {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(112,0,255,0.3);
  background: rgba(0,0,0,0.3);
}

.modal-product-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modal-price {
  font-size: 2rem;
  color: var(--secondary);
  margin: 0 0 15px 0;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255,0,245,0.3);
}

.modal-description {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.neon-button {
  background: rgba(112,0,255,0.2);
  border: 2px solid var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.neon-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(112,0,255,0.4), transparent);
  transition: 0.5s;
  z-index: -1;
}

.neon-button:hover {
  box-shadow: 0 0 15px var(--primary);
}

.neon-button:hover::before {
  left: 100%;
}

/* Адаптивность */
@media (max-width: 768px) {
  .modal-main-content {
    flex-direction: column;
  }
  
  .modal-image-container {
    min-width: auto;
  }
  
  .modal-title {
    font-size: 1.5rem;
  }
  
  .modal-price {
    font-size: 1.5rem;
  }
}
/* Корзина */
.balance-info {
  padding: 1rem;
  margin: 1rem 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--primary);
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
  color: #fff;
  backdrop-filter: blur(5px);
}

.balance-label {
  color: var(--primary);
  font-weight: 500;
  margin-right: 0.5rem;
}

.balance-amount {
  color: var(--secondary);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 0, 245, 0.3);
}

.top-up-btn {
  margin-left: 1rem;
  padding: 0.3rem 0.8rem;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.top-up-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(112, 0, 255, 0.3);
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -500px;
  width: 500px;
  height: 100%;
  background: linear-gradient(145deg, #13131A, #0D0D12);
  box-shadow: -10px 0 30px rgba(112,0,255,0.2);
  padding: 2rem;
  transition: right 0.4s ease;
  z-index: 150;
} 
.cart-sidebar.active {
  right: 0;
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.cart-header h2 {
  color: var(--primary);
  font-size: 1.8rem;
  text-shadow: 0 0 20px rgba(112,0,255,0.3);
}
.close-cart {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}
.cart-items {
  max-height: 60%;
  overflow-y: auto;
  margin-bottom: 1.5rem;
}
.cart-item {
  padding: 0.8rem;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(112,0,255,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-item p {
  margin: 0;
}
.remove-item-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--secondary);
  cursor: pointer;
}
.cart-total {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.checkout-btn {
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  font-size: 1.1rem;
  text-transform: uppercase;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.checkout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(112,0,255,0.3);
}

/* Кнопка корзины */
.cart-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 1rem 2rem; 
  border-radius: 40px;
  cursor: pointer;
  z-index: 200;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(112, 0, 255, 0.4);
  transition: transform 0.3s ease;
}

.cart-toggle:hover {
  transform: scale(1.05);
}


/* Футер */
footer {
  background: #1a1a1a;
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  flex-wrap: wrap;
  margin-top: 4rem;
}
.footer-col {
  max-width: 200px;
  margin-bottom: 20px;
}
.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
footer p,
footer a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
  header .navbar {
    padding: 15px 20px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .cart-sidebar {
    width: 100%;
  }
}

.steam-btn {
  background: linear-gradient(135deg, #ff00ff, #0000ff);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.3s ease;
}
.steam-btn:hover {
  transform: scale(1.05);
}
.duration-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(112,0,255,0.3);
  z-index: 2;
}

#custom-alert {
  position: fixed;
  top: -100px;
  right: 20px;
  background: #1a1d24;
  border: 2px solid #2d313a;
  border-radius: 8px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  z-index: 1000;
}

#custom-alert.show {
  top: 20px;
  opacity: 1;
}

.alert-icon {
  width: 24px;
  height: 24px;
  background-size: contain;
  filter: brightness(0.9);
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-text {
  margin: 0;
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 500;
}

.success .alert-icon {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234CAF50"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
}

.error .alert-icon {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F44336"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
}

.warning .alert-icon {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFC107"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></svg>');
}

@keyframes skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.skeleton-item {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.05) 25%,
    rgba(112,0,255,0.1) 50%,
    rgba(255,255,255,0.05) 75%
  );
  background-size: 400% 100%;
  animation: skeleton-loading 1.5s ease infinite;
  border-radius: 12px;
  height: 120px;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.add-to-cart-btn::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 25%,
    rgba(255,255,255,0.2) 50%,
    transparent 75%
  );
  transform: skewX(-30deg);
  left: -200%;
  transition: left 0.6s ease;
}

.add-to-cart-btn:hover::after {
  left: 200%;
}
/* Стили для инвентаря */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 1000px;
  margin: 1rem auto;
  background: rgba(16, 16, 26, 0.5);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 10px;
}

.inventory-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: rgba(112, 0, 255, 0.1);
  border: 1px solid rgba(112, 0, 255, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.inventory-slot.empty {
  background: rgba(255, 255, 255, 0.03);
}

.inventory-slot img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
}

.slot-count {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
}