.repository-section {
  position: relative;
  background-color: var(--color-bg-repository);
  padding: clamp(5rem, 12svh, 10rem) var(--header-padding-x);
}

.repository-section::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 63px;
  background-image: url("../../../assets/img/Index/repository/RepositorySeparatorA.svg");
  background-repeat: no-repeat; background-size: 100% 63px;
}

.repository-section::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 63px;
  background-image: url("../../../assets/img/Index/repository/RepositorySeparatorB.svg");
  background-repeat: no-repeat; background-size: 100% 63px;
}

.repository-card {
  background-color: var(--color-card-green);
  border-radius: clamp(1.5rem, 3svw, 2.5rem);
  padding: clamp(2.5rem, 6svw, 4.5rem);
  max-width: 1400px; margin: 0 auto;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: clamp(2.5rem, 5svw, 4rem);
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
}

.repository-card__bg-illu {
  position: absolute; right: 0; bottom: -15%; height: 120%; width: auto;
  opacity: 0.15; pointer-events: none; z-index: 1;
}

.repository-card__header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; position: relative; z-index: 2; flex-wrap: wrap;
}

.repository-card__text { max-width: 650px; color: var(--color-bg-white); }
.repository-card__title { font-size: var(--font-size-h1); font-weight: 500; margin-bottom: 1rem; }
.repository-card__desc { font-size: clamp(0.95rem, 1.2svw, 1.1rem); line-height: 1.6; color: rgba(255, 255, 255, 0.9); }

.btn-repo-explore {
  background-color: var(--color-bg-white);
  color: var(--color-brand-magenta);
  font-weight: 800; font-size: clamp(1rem, 1.2svw, 1.15rem);
  padding: 1em 2.5em; border-radius: 3em; text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-repo-explore:hover {
  background-color: var(--color-brand-orange); color: var(--color-bg-white);
  transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.repository-card__actions {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; position: relative; z-index: 2;
}

.repo-action-btn {
  background-color: #333333; color: var(--color-bg-white);
  padding: clamp(1.5rem, 2svw, 2rem); border-radius: 0.5rem;
  display: flex; justify-content: space-between; align-items: center;
  text-decoration: none; transition: background-color 0.3s ease, transform 0.3s ease;
}
.repo-action-btn:hover { background-color: #4a4a4a; transform: translateY(-2px); }

.repo-action-btn__content { display: flex; flex-direction: column; gap: 0.3rem; }
.repo-action-btn__title { font-weight: 800; font-size: clamp(1.05rem, 1.2svw, 1.15rem); }
.repo-action-btn__desc { font-size: 0.85rem; color: #b3b3b3; }

.repo-action-btn__icon {
  width: 24px; height: 24px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.repo-action-btn:hover .repo-action-btn__icon { transform: translateX(8px); }

@media (max-width: 900px) {
  .repository-card__header { flex-direction: column; }
  .btn-repo-explore { width: 100%; text-align: center; }
  .repository-card__bg-illu { right: -20%; opacity: 0.08; }
}
