* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

body {
  background: #f0fafb;
  min-height: 100vh;
  padding: 2rem;
  color: #2d3a4a;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

.item {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid #d0eae2;
  box-shadow: 0 4px 15px rgba(124, 179, 178, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: blur(4px);
}

.item:hover {
  background: #ffffff;
  transform: translateY(-3px);
  border-color: #9cd3d5;
  box-shadow: 0 8px 25px rgba(124, 179, 178, 0.15);
}

.item a {
  text-decoration: none;
  color: #2d3a4a;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.item:hover a {
  /* color: #38a89d; */
}

.item:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  /* color: #38a89d; */
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
  border: 1px solid #c5e8e6;
  box-shadow: 0 4px 12px rgba(124, 179, 178, 0.1);
  opacity: 0;
  animation: tooltipFade 0.2s ease-out forwards;
}

@keyframes tooltipFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.new-badge {
  background: linear-gradient(45deg, #4ecdc4, #38a89d);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  margin-left: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  body {
    padding: 1.5rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .item a {
    font-size: 1rem;
  }

  .item:hover::after {
    display: none;
  }
}

@media (min-width: 1600px) {
  .item a {
    font-size: 1.1rem;
  }
}