* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: "Inter", sans-serif;
  color: #f3f3f3;
  overflow-x: hidden;
  background-color: #14161c;
}

body::-webkit-scrollbar {
  display: none;
}

.page-viewport {
  width: 100%;
  min-height: 100vh;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.credits-section {
  width: 100%;
}

.credits-section h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.timeline-container {
  position: relative;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1;
  background: transparent;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0 auto;
}

.timeline-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.timeline-text {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem 1.5rem 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.timeline-link {
  margin-left: 8px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.timeline-link:hover {
  opacity: 1;
}

.spotlight-footer {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
  overflow: hidden;
}

.spotlight-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.spotlight-text {
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: #f3f3f3;
  font-size: 1.2rem;
  font-weight: 500;
  transition: opacity 0.3s ease;
  margin-top: 6rem;
}

.spotlight-text:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 1.5rem;
  }

  .credits-section h1 {
    font-size: 1.6rem;
  }

  .timeline {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .timeline-container {
    height: 240px;
  }

  .timeline-text {
    padding: 1.5rem 1rem 1rem;
  }

  .timeline-text h3 {
    font-size: 1rem;
  }

  .spotlight-footer {
    height: 150px;
    margin-top: 2rem;
  }

  .spotlight-glow {
    width: 400px;
    height: 400px;
    bottom: -100px;
  }

  .spotlight-text {
    font-size: 1rem;
  }
}
