/* Shared Galaxy Lab project / notes pages */

.galaxy-section-page {
  --section-bg: rgba(8, 13, 31, 0.76);
  --section-card: rgba(10, 16, 36, 0.72);
  --section-border: rgba(115, 215, 255, 0.2);
  --section-text: rgba(255, 255, 255, 0.92);
  --section-muted: rgba(220, 235, 255, 0.68);
  --section-blue: #73d7ff;
  --section-green: #5eead4;
  --section-purple: #a78bfa;

  color: var(--section-text);
}

.section-hero-card,
.project-hero-card {
  padding: 2.2rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 10%, rgba(115, 215, 255, 0.18), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(240, 171, 252, 0.16), transparent 32%),
    var(--section-bg, rgba(8, 13, 31, 0.78));
  border: 1px solid var(--section-border, rgba(115, 215, 255, 0.22));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  margin-bottom: 2rem;
}

.section-kicker,
.project-kicker {
  color: var(--section-blue, #73d7ff);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.section-hero-card h1,
.project-hero-card h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1;
  margin: 0 0 1rem;
  color: #e9fbff;
}

.section-hero-card p,
.project-hero-card p {
  max-width: 860px;
  color: var(--section-muted, rgba(220, 235, 255, 0.72));
  line-height: 1.85;
}

.section-hero-card a {
  color: var(--section-blue, #73d7ff) !important;
  text-decoration: none !important;
  font-weight: 700;
}

.project-category-block {
  margin: 2rem 0;
}

.project-category-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.project-category-header span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 12px;
  color: var(--section-blue);
  background: rgba(115, 215, 255, 0.12);
  border: 1px solid rgba(115, 215, 255, 0.18);
  font-weight: 900;
}

.project-category-header h2 {
  margin: 0;
  color: #ffffff;
}

.project-matrix,
.note-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card,
.note-card {
  padding: 1.35rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(115, 215, 255, 0.12), transparent 30%),
    rgba(10, 16, 36, 0.72);
  border: 1px solid rgba(115, 215, 255, 0.18);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.project-card.featured {
  grid-column: 1 / -1;
  border-color: rgba(94, 234, 212, 0.34);
  background:
    radial-gradient(circle at 18% 0%, rgba(94, 234, 212, 0.16), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(115, 215, 255, 0.13), transparent 34%),
    rgba(10, 16, 36, 0.78);
}

.project-card-kicker,
.note-card-meta {
  color: var(--section-blue);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.project-card h3,
.note-card h2 {
  margin: 0 0 0.75rem;
  color: #ffffff;
}

.project-card p,
.note-card p {
  color: var(--section-muted);
  line-height: 1.78;
  margin: 0 0 1rem;
}

.project-card-tags,
.project-tag-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.project-card-tags span,
.project-tag-panel span {
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  background: rgba(115, 215, 255, 0.1);
  border: 1px solid rgba(115, 215, 255, 0.22);
  color: #dff8ff;
  font-weight: 700;
  font-size: 0.86rem;
}

.project-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.project-card-actions a,
.note-card a,
.section-link-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: #06101f !important;
  background: linear-gradient(135deg, var(--section-blue), var(--section-green));
  font-weight: 800;
  text-decoration: none !important;
}

.section-link-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.1rem;
  border: 1px solid rgba(115, 215, 255, 0.18);
  border-radius: 22px;
  background: rgba(10, 16, 36, 0.6);
}

.project-action-row {
  margin-top: 1.5rem;
}

.project-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #73d7ff, #5eead4);
  color: #04111d !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 12px 32px rgba(94, 234, 212, 0.22);
}

.project-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.project-info-card {
  padding: 1.1rem;
  border-radius: 18px;
  background: rgba(10, 16, 36, 0.72);
  border: 1px solid rgba(115, 215, 255, 0.18);
}

.project-info-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
}

.project-info-value {
  color: #ffffff;
  font-weight: 800;
}

.project-timeline {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.project-step {
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 4.2rem;
  border-radius: 18px;
  background: rgba(10, 16, 36, 0.68);
  border: 1px solid rgba(115, 215, 255, 0.18);
}

.project-step span {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  color: #73d7ff;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.project-step strong {
  display: block;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.project-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 900px) {
  .project-matrix,
  .note-card-grid {
    grid-template-columns: 1fr;
  }

  .project-card.featured {
    grid-column: auto;
  }
}

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

  .project-hero-card,
  .section-hero-card {
    padding: 1.4rem;
    border-radius: 22px;
  }
}

@media (max-width: 520px) {
  .project-info-grid {
    grid-template-columns: 1fr;
  }
}
