html {
  font-family: "Jost", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

i {
  font-family: Libre Bodoni !important;
  font-style: italic;
  font-weight: 600;
}

.italic-font {
  font-family: Libre Bodoni !important;
  font-style: italic;
  font-weight: 400;
}

.link {
  font-family: Jost;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  text-decoration: none;
  letter-spacing: 0%;
  text-decoration-style: solid;
  text-decoration-offset: 0%;
  text-decoration-thickness: 0%;
  color: #0C0904;
}

#copy-tooltip {
  position: fixed;
  background-color: black;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

header.scrolled {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 3px solid rgba(255, 255, 255, 0.14);
}

.blur-border {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.blur-border::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 6px;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.2) 0%,
    rgba(255,255,255,0.4) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  filter: blur(20px);
}

/* Page Load Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animations on page load */
body {
  animation: fadeInUp 0.6s ease-out;
}

.back-btn {
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.page-content {
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.project-hero {
  animation: scaleIn 1s ease-out 0.3s both;
}

/* Scroll-triggered animations */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for cards */
.scroll-fade-in[data-delay="1"] {
  transition-delay: 0s;
}

.scroll-fade-in[data-delay="2"] {
  transition-delay: 0.2s;
}

.scroll-fade-in[data-delay="3"] {
  transition-delay: 0.4s;
}
