/* Catalog Page Styles - Exact from Vite Original */
@import '../variables.css';

.catalog {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  min-height: 100vh;
}

.catalog__header {
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  animation: fadeUp 0.8s ease-out;
}

.catalog__title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #FFFFFF 0%, #B0B0B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 900px;
}

@media (max-width: 1024px) {
  .catalog__title {
    font-size: 28px;
  }
}

.catalog__desc {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .catalog__desc {
    font-size: 16px;
  }
}

/* Product Grid */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

@media (max-width: 768px) {
  .catalog__grid {
    grid-template-columns: 1fr;
  }
}

/* Product Card */
.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease-out backwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.15s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.25s; }
.product-card:nth-child(5) { animation-delay: 0.3s; }
.product-card:nth-child(6) { animation-delay: 0.35s; }
.product-card:nth-child(7) { animation-delay: 0.4s; }

.product-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(155, 61, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #9B3DFF;
  font-weight: 700;
  background: rgba(155, 61, 255, 0.1);
  padding: 6px 12px;
  border-radius: 4px;
}

.product-card__image-box {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 35px;
  margin-bottom: 24px;
  position: relative;
}

.product-card__image-box::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  background: #9B3DFF;
  filter: blur(50px);
  opacity: 0.1;
  border-radius: 50%;
  pointer-events: none;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  border-radius: 20px;
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

.product-card__title {
  margin-top: 40px;
  font-size: 28px;
  color: #fff;
  margin-bottom: 1em;
  font-weight: 600;
  line-height: 1.2;
}

.product-card__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.product-card__price {
  font-size: 22px;
  font-weight: 700;
  color: #9B3DFF;
  margin-top: auto;
  margin-bottom: 16px;
}

.product-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.product-card__spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card__spec-item span:first-child {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.4);
}

.product-card__spec-item span:last-child {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}
