/* Builds Page Styles */

.builds-hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 59, 47, 0.2);
}

.builds-hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.builds-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #a8b0b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.builds-hero .lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #a8b0b7;
}

.builds-section {
  padding: 4rem 0;
}

/* Filter Buttons */
.builds-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 1.5px solid rgba(255, 59, 47, 0.3);
  background: transparent;
  color: #a8b0b7;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(255, 59, 47, 0.3);
}

/* Builds Grid */
.builds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.build-card {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 59, 47, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.4s ease;
}

.build-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 59, 47, 0.2);
}

.build-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.6);
}

.build-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.build-card:hover .build-image img {
  transform: scale(1.05);
}

.build-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.build-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.build-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.build-platform {
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0 0 1rem;
  font-weight: 500;
}

.build-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #a8b0b7;
  margin: 0 0 1rem;
  flex: 1;
}

.build-specs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.build-specs span {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 59, 47, 0.1);
  color: var(--accent);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 59, 47, 0.2);
}

/* CTA Section */
.builds-cta {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(255, 59, 47, 0.1) 0%, rgba(255, 59, 47, 0.05) 100%);
  border-top: 1px solid rgba(255, 59, 47, 0.2);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.builds-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.builds-cta p {
  font-size: 1.1rem;
  color: #a8b0b7;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.build-card.fade-in {
  animation: fadeIn 0.4s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .builds-hero h1 {
    font-size: 2rem;
  }

  .builds-hero {
    padding: 4rem 0;
  }

  .builds-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .builds-filters {
    gap: 0.75rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .builds-cta h2 {
    font-size: 1.75rem;
  }
}

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

  .builds-hero h1 {
    font-size: 1.5rem;
  }

  .builds-filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .build-image {
    height: 200px;
  }
}
