@keyframes floatBubble {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-40px) scale(1.1);
    opacity: 0.7;
  }
}

@keyframes duckFloatAnimation {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(-4deg);
  }
}

.bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
  animation: floatBubble 6s infinite ease-in-out;
}

.duck-float {
  animation: duckFloatAnimation 3s ease-in-out infinite;
}

/* Custom scrollbar for clean playful aesthetic */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #e0f4ff;
}

::-webkit-scrollbar-thumb {
  background: #ffd93d;
  border-radius: 9999px;
  border: 2px solid #fff;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff8400;
}

body {
  background: linear-gradient(135deg, #e0f4ff 0%, #fff4d2 50%, #e8f8f5 100%);
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

.lang-btn {
  color: #7c4a03;
}

.lang-btn:hover {
  background: #ffe9a0;
}

.lang-btn-active,
.lang-btn-active:hover {
  background: #ffd93d;
  color: #431407;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.skill-chip {
  background: #fff;
  border: 2px solid #fde68a;
  color: #92400e;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.stat-card {
  background: rgba(255, 255, 255, 0.8);
  border: 3px solid #fde68a;
  border-radius: 1.5rem;
  padding: 1rem;
}

.filter-chip {
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  border: 2px solid #fde68a;
  background: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  color: #92400e;
  transition: all 0.15s;
}

.filter-chip:hover {
  background: #fff4d2;
}

.filter-chip[aria-pressed="true"] {
  background: #ffd93d;
  border-color: #ffd93d;
  color: #431407;
}

.repo-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  border: 4px solid #fde68a;
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 10px 25px -12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, border-color 0.2s;
}

.repo-card:hover {
  transform: translateY(-4px);
  border-color: #ffd93d;
}

@media (prefers-reduced-motion: reduce) {
  .bubble,
  .duck-float {
    animation: none;
  }
}
