* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #0f0f0f;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.project-card {
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 16px;
  padding: 40px;
  max-width: 400px;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  transition: left 0.8s ease;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: #555;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-number {
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1;
  position: relative;
}

.project-number::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.project-card:hover .project-number::after {
  width: 60px;
}

h3 {
  color: orange;
  text-align: center;
  margin-bottom: 5px;
}
.project-name {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.project-date {
  font-size: 14px;
  font-weight: 400;
  color: #999;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-link {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #fff;
  transition: width 0.3s ease;
  z-index: 0;
}

.project-link span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.project-link:hover::before {
  width: 100%;
}

.project-link:hover span {
  color: #000;
}

.project-link:hover {
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .project-card {
    padding: 30px 25px;
    margin: 10px;
  }

  .project-number {
    font-size: 48px;
  }

  .project-name {
    font-size: 20px;
  }

  .project-date {
    font-size: 12px;
  }
}
