/* Custom Styles */
body {
  font-family: 'Inter', sans-serif;
  background-color: #0A0A0A;
  color: #EAEAEA;
  overflow-x: hidden;
  /* FOUC fix */
  opacity: 0;
  transition: opacity 0.4s ease-in;
}
.hero-gradient-text {
  background: linear-gradient(90deg, #5E72EB 0%, #FF5E9E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.accent-gradient-text {
  background: linear-gradient(90deg, #5E72EB 0%, #FF5E9E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title-initial {
  opacity: 0;
  transform: translateY(30px);
}
.card {
  background-color: #1A1A1A;
  border: 1px solid #2a2a2a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.25);
}
.tag {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.tag:hover {
  border-color: #FF5E9E;
  color: #FF5E9E;
}
.btn-primary {
  background: linear-gradient(90deg, #5E72EB, #FF5E9E);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(255, 94, 158, 0.2);
}
.btn-secondary {
  border: 1px solid #4A4A4A;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: #EAEAEA;
  color: #0A0A0A;
}

/* New Work Section Styles */
.work-item-row { padding: 10vh 0; }
.work-item-row:nth-of-type(odd)  { background-color: #0D0D0D; }
.work-item-row:nth-of-type(even) { background-color: #100E14; }
.work-item-content-wrapper {
  opacity: 0;
  transform: translateY(100px);
}
.work-image-container, .work-text-container {
  position: relative;
  aspect-ratio: 4/3;
}
.work-scene-image, .work-scene-text {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  will-change: transform, opacity;
}
.work-scene-image img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 1rem;
}

/* Hero SVG Background */
#hero-intro-container {
  position: fixed; top:0; left:0; right:0; bottom:0;
  display: flex; align-items:center; justify-content:center;
  z-index:100; background-color:#0A0A0A;
}
#hero-intro-container svg { width:90%; max-width:400px; }
#hero-bg-container {
  position:absolute; top:0; left:0; right:0; bottom:0;
  z-index:-1; overflow:hidden; display:flex;
  align-items:center; justify-content:center;
}
#hero-bg-container svg {
  position:absolute; width:100%; max-width:1200px; opacity:0;
}
.hero-bg-blur {
  position:absolute; border-radius:9999px;
  mix-blend-mode:screen; filter:blur(80px);
}

/* Mini Project Card Styles */
.mini-project-card {
  overflow:hidden; position:relative; padding:1.5rem;
  display:flex; flex-direction:column; justify-content:flex-end;
  color:white; transition:transform 0.3s ease;
}
.mini-project-card:hover { transform:scale(1.03); }
.mini-project-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  z-index:1;
}
.mini-project-card img {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; transition:transform 0.4s ease;
}
.mini-project-card:hover img { transform:scale(1.05); }
.mini-project-card .content { position:relative; z-index:2; }
.hero-bg-blur {
  position:absolute; border-radius:9999px;
  mix-blend-mode:screen; filter:blur(80px);
}

/* Mini Project Card Styles */
.mini-project-card {
  overflow:hidden; position:relative; padding:1.5rem;
  display:flex; flex-direction:column; justify-content:flex-end;
  color:white; transition:transform 0.3s ease;
}
.mini-project-card:hover { transform:scale(1.03); }
.mini-project-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  z-index:1;
}
.mini-project-card img {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; transition:transform 0.4s ease;
}
.mini-project-card:hover img { transform:scale(1.05); }
.mini-project-card .content { position:relative; z-index:2; }
