/* Custom styles for the summary page to ensure readability while maintaining the theme */
body {
  overflow-x: hidden;
  overflow-y: auto;
}

.summary-container {
  max-width: 840px;
  margin: 0 auto;
  padding: 4rem 1.5rem 8rem;
}

.summary-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.summary-author {
  font-family: "Inter", system-ui, sans-serif;
  color: #d1d1d1;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.summary-title {
  font-family: "Audiowide", monospace;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #ffe81f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(255, 232, 31, 0.3);
}

.summary-subtitle {
  font-family: "Audiowide", monospace;
  color: #4eb7ec;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

.summary-section {
  margin-bottom: 4rem;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.summary-section h2 {
  font-family: "Audiowide", monospace;
  color: #ffe81f;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.summary-section h3 {
  font-family: "Audiowide", monospace;
  color: #4eb7ec;
  font-size: 1.2rem;
  margin: 2.5rem 0 1rem;
  letter-spacing: 0.05em;
}

.summary-section p {
  margin-bottom: 1.25rem;
  color: #d1d1d1;
  font-size: 1.05rem;
  line-height: 1.7;
}

.summary-section p:last-child {
  margin-bottom: 0;
}

.summary-section ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #d1d1d1;
}

.summary-section li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 1.05rem;
}

.summary-section li strong {
  color: #fff;
  font-weight: 600;
}

.summary-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.summary-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(78, 183, 236, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.summary-card:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 183, 236, 0.6);
}

.summary-card h4 {
  font-family: "Audiowide", monospace;
  color: #4eb7ec;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.summary-card p {
  font-size: 0.95rem;
  color: #aaa;
}

.back-nav {
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffe81f;
  text-decoration: none;
  font-family: "Audiowide", monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 232, 31, 0.3);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.8);
}

.back-link:hover {
  color: #fff;
  border-color: rgba(255, 232, 31, 0.8);
  transform: translateX(4px);
}

/* Subtle background stars effect */
.stars-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/hero.png");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
}

.stars-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(5, 5, 5, 0.45) 0%,
    rgba(5, 5, 5, 0.88) 70%,
    rgba(5, 5, 5, 0.98) 100%
  );
}

@media (max-width: 768px) {
  .summary-section {
    padding: 1.5rem;
  }
}

.summary-footer {
  text-align: center;
  margin-top: 6rem;
  padding-bottom: 2rem;
}

.summary-footer-text {
  font-family: "Audiowide", monospace;
  color: #4eb7ec;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  text-shadow: 0 0 12px rgba(78, 183, 236, 0.4);
}