@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap");

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --gray: #94a3b8;
  --dark-gray: #334155;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background-color: var(--darker);
  color: var(--light);
  overflow-x: hidden;
}

* {
    transition-property: all !important;
    transition-timing-function: var(--default-transition-timing-function) !important;
}

.glass-card-tiled {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    z-index: 1;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* transition-duration: 0.5s; */
}

.glass-card-tiled:hover {
    z-index: 10;
    border-color: rgba(99, 102, 241, 0.5);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.4));
}

/* .glass-card-tiled:hover .content_title_card {
    color: #a855f7 !important;
} */

.glass-card-tiled .content_title_desc {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-tiled:hover .content_title_desc {
    color: var(--light) !important;
}

/*
  This tells all children (*) inside a tiltable card to ignore mouse events.
  The mouse will pass right through them.
*/
/* .glass-card-tiled * {
    pointer-events: none;
} */

/*
  BUT, we then re-enable mouse events for the specific elements
  we need to be interactive, like links and buttons.
*/
/* .glass-card-tiled a,
.glass-card-tiled button {
    pointer-events: auto;
} */

.glass-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(45deg, var(--primary), #a855f7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.language-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

.contribution-cell {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.contribution-cell:hover {
  transform: scale(1.2);
}

.contribution-0 {
  background-color: rgba(148, 163, 184, 0.1);
}
.contribution-1 {
  background-color: rgba(16, 185, 129, 0.3);
}
.contribution-2 {
  background-color: rgba(16, 185, 129, 0.5);
}
.contribution-3 {
  background-color: rgba(16, 185, 129, 0.7);
}
.contribution-4 {
  background-color: rgba(16, 185, 129, 0.9);
}

.skill-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), #a855f7);
}

.nav-link {
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #a855f7);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.trophy {
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
  transition: all 0.3s ease;
}

.trophy:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
}

.repo-card:hover .repo-title {
  color: var(--primary);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr !important;
  }

  .pinned-grid {
    grid-template-columns: 1fr !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Add these after your existing media query */
