/* Downloads Page Styles */
.downloads-main {
  padding: 0 0 6rem; /* Removed top padding to eliminate space */
  min-height: calc(100vh - 300px);
  position: relative; /* For relative positioning of elements */
}

.downloads-section {
  margin-top: 0; /* Ensure no top margin */
  padding-top: 1rem; /* Add a small padding at the top */
}

/* Style for the button container at the bottom */
.buttons-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 9, 9, 0.95);
  padding: 1.5rem 0;
  border-top: 1px solid var(--accent);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 100;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  backdrop-filter: blur(10px);
}

/* Button style */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.btn-primary:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 160, 61, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Downloads section styles */
.downloads-section {
  padding: 2rem 0;
}

.downloads-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--muted);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.download-category {
  background: rgba(20, 18, 18, 0.5);
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.download-category h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.download-item {
  background: linear-gradient(135deg, rgba(26, 22, 18, 0.8), rgba(20, 18, 18, 0.6));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.download-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 160, 61, 0.2);
}

.download-name {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.download-description {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.download-link:hover {
  background: #ffc107;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(242, 160, 61, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .downloads-grid {
    grid-template-columns: 1fr;
  }
  
  .download-item {
    padding: 1rem;
  }
  
  .buttons-container {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    max-width: 300px;
  }
}
