/* Hobbies page styles */
.page-content {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 16px;
}

.hobbies-header {
  text-align: center;
  margin-bottom: 40px;
}

.hobbies-header h1 {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 32px;
}

.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.hobby-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
}

.hobby-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0;
  transition: opacity 300ms ease;
}

.hobby-card:hover {
  transform: translateY(-12px) rotateZ(1deg);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.2);
  border-color: rgba(124, 58, 237, 0.2);
}

.hobby-card:hover::before {
  opacity: 0.5;
}

.hobby-card img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 300ms ease;
  position: relative;
  z-index: 1;
}

.hobby-card:hover img {
  transform: scale(1.05);
}

.hobby-card h3 {
  margin: 0;
  color: #2563eb;
  font-size: 22px;
  position: relative;
  z-index: 1;
}

.hobby-card p {
  margin: 0;
  color: #4a647b;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

@media (max-width: 620px) {
  .hobbies-grid {
    grid-template-columns: 1fr;
  }
}
