/* ============================================
   GEIST FONT FROM VERCEL
   ============================================ */
@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist-sans/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #000000;
  color: #ffffff;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: none;
  scroll-behavior: smooth;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3 {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 10rem);
}

h2 {
  font-size: clamp(1.25rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 3.5vw, 3.5rem);
}

p {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 6rem);
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Add subtle background overlay to sections for better content visibility */
section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
  z-index: -1;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 8vw, 8rem);
}

.section-title {
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 1;
  will-change: opacity, transform;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title:hover {
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(75, 0, 255, 0.8), 0 4px 16px rgba(0, 0, 0, 0.8);
}

.section-title.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.section-title .word {
  display: inline-block;
  overflow: hidden;
}

.section-title .char {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.5, 0, 0.5, 1);
}

.section-description {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, 
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
  line-height: 1.6;
  will-change: opacity, transform;
  padding: 0 1rem;
}

.section-description.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, 
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 10;
  align-items: center;
  justify-content: center;
}

.hero-title {
  text-align: center;
  opacity: 1;
  line-height: 0.9;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-line {
  display: block;
  opacity: 1;
  transform: translateY(0px);
  overflow: hidden;
  margin: 0;
  line-height: 0.9;
  width: 100%;
  text-align: center;
}

.hero-line .word {
  display: inline-block;
  overflow: hidden;
}

.hero-line .char {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.5, 0, 0.5, 1);
}

.hero-subtitle {
  font-size: clamp(0.75rem, 1.5vw, 1.125rem);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 1;
  max-width: 90%;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-subtitle.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-indicator {
  position: absolute;
  bottom: 4rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.5s forwards;
}

.chain-indicator {
  position: absolute;
  bottom: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 2s forwards;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeIn 0.8s ease 2s forwards;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.nav-link:hover {
  opacity: 1;
}

/* ============================================
   PROJECTS/WORK SECTION - CARD GRID LAYOUT
   ============================================ */
.work-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  justify-items: center;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 clamp(1rem, 4vw, 1.5rem);
  }
  
  .project-item {
    max-width: 100%;
  }
  
  .contact-link {
    min-width: auto;
    width: 100%;
  }
  
  section {
    padding: clamp(1.5rem, 4vw, 4rem);
  }
}

.project-item {
  width: 100%;
  max-width: 500px;
  height: auto;
  min-height: 600px;
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateY(80px) rotateX(10deg);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  perspective: 1000px;
  box-sizing: border-box;
}

.project-item.animate-in {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

/* Project item animation is handled above */

.project-item.animate-on-scroll {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(5, 5, 15, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(75, 0, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  display: flex;
  flex-direction: column;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: cardFloat 6s ease-in-out infinite;
}

/* Dramatic spotlight from top - LIGHT SWITCH EFFECT */
.project-wrapper::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 300%;
  background: radial-gradient(ellipse at 50% 35%, 
    rgba(75, 0, 255, 0.9) 0%, 
    rgba(75, 0, 255, 0.6) 15%,
    rgba(75, 0, 255, 0.3) 30%,
    transparent 60%);
  opacity: 0;
  transition: none;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  animation: lightFlicker 0.15s ease-out;
  animation-play-state: paused;
}

@keyframes cardFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1);
  }
  50% { 
    transform: translateY(-15px) scale(1.01);
  }
}

/* Staggered float delays for smooth, organic movement */
.project-wrapper:nth-child(1) { animation-delay: 0s; }
.project-wrapper:nth-child(2) { animation-delay: 0.5s; }
.project-wrapper:nth-child(3) { animation-delay: 1s; }
.project-wrapper:nth-child(4) { animation-delay: 1.5s; }
.project-wrapper:nth-child(5) { animation-delay: 2s; }
.project-wrapper:nth-child(6) { animation-delay: 2.5s; }

.skill-category:nth-child(1) { animation-delay: 0s; }
.skill-category:nth-child(2) { animation-delay: 0.7s; }
.skill-category:nth-child(3) { animation-delay: 1.4s; }
.skill-category:nth-child(4) { animation-delay: 2.1s; }

.experience-item:nth-child(1) { animation-delay: 0s; }
.experience-item:nth-child(2) { animation-delay: 0.8s; }
.experience-item:nth-child(3) { animation-delay: 1.6s; }
.experience-item:nth-child(4) { animation-delay: 2.4s; }

.project-wrapper:hover {
  transform: translateY(-20px) scale(1.05);
  background: rgba(25, 25, 55, 0.98);
  border-color: rgba(75, 0, 255, 1);
  box-shadow: 0 40px 120px rgba(75, 0, 255, 0.8),
              0 0 150px rgba(75, 0, 255, 0.6),
              inset 0 -50px 100px rgba(75, 0, 255, 0.3);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.05s ease-out,
              border-color 0.05s ease-out,
              box-shadow 0.1s ease-out;
  animation: none;
}

/* LIGHT SWITCH ON - instant with flicker */
.project-wrapper:hover::after {
  opacity: 1;
  animation: lightFlicker 0.15s ease-out;
  animation-play-state: running;
}

@keyframes lightFlicker {
  0% { opacity: 0; }
  20% { opacity: 1; }
  40% { opacity: 0.8; }
  60% { opacity: 1; }
  80% { opacity: 0.9; }
  100% { opacity: 1; }
}

.project-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: 20px;
}

.project-wrapper:hover::before {
  opacity: 0;
}

.project-inner {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1;
}

/* Style for projects without images */
.project-wrapper:not(:has(.project-inner)) .project-info {
  padding: 3rem 2.5rem;
}

.project-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.project-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.project-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-wrapper:hover .project-carousel-slide img {
  transform: scale(1.08);
}

.project-carousel-nav {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.project-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-carousel-dot.active {
  background: rgba(59, 130, 246, 0.9);
  border-color: rgba(59, 130, 246, 1);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.5);
}

.project-carousel-dot:hover:not(.active) {
  background: rgba(59, 130, 246, 0.6);
  border-color: rgba(59, 130, 246, 0.8);
}

.project-carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #3b82f6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
  backdrop-filter: blur(10px);
}

.project-wrapper:hover .project-carousel-button {
  opacity: 1;
}

.project-carousel-button:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.project-carousel-button.prev {
  left: 1rem;
}

.project-carousel-button.next {
  right: 1rem;
}

.project-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-wrapper:hover .project-inner img {
  transform: scale(1.08);
}

.project-info {
  position: relative;
  padding: 2.5rem;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 10;
  flex: 1;
  overflow: visible;
}

.project-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.project-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin: 0;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.98);
  flex: 1;
  min-width: 150px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), text-shadow 0.3s ease, color 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.project-wrapper:hover .project-title {
  color: #ffffff;
  filter: brightness(2);
  text-shadow: 0 0 30px rgba(75, 0, 255, 1),
               0 0 50px rgba(75, 0, 255, 0.8);
  transition: filter 0.05s ease-out, text-shadow 0.1s ease-out;
}

.project-wrapper:hover .project-description,
.project-wrapper:hover .project-category,
.project-wrapper:hover .project-tag {
  filter: brightness(1.8);
  text-shadow: 0 0 15px rgba(75, 0, 255, 0.5);
  transition: filter 0.05s ease-out, text-shadow 0.1s ease-out;
}

/* project-meta styles already defined below */

.project-category {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.project-year {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  letter-spacing: 0.01em;
}

.project-status {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.project-description {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.8;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.project-long-desc-wrapper {
  margin-bottom: 1.5rem;
}

.project-details-toggle {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.project-details-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.project-long-description {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.8;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.project-link {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.project-tags {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.project-tag {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.3), rgba(107, 32, 255, 0.4));
  border-radius: 8px;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #9B70FF;
  transition: all 0.3s ease;
  border: 1px solid rgba(75, 0, 255, 0.5);
  box-shadow: 0 2px 8px rgba(75, 0, 255, 0.4);
  animation: tagPulse 3s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% { 
    box-shadow: 0 2px 8px rgba(75, 0, 255, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 4px 16px rgba(75, 0, 255, 0.7);
    transform: scale(1.08);
  }
}

/* Staggered tag animations for visual interest */
.project-tag:nth-child(1), .experience-tech-tag:nth-child(1) { animation-delay: 0s; }
.project-tag:nth-child(2), .experience-tech-tag:nth-child(2) { animation-delay: 0.2s; }
.project-tag:nth-child(3), .experience-tech-tag:nth-child(3) { animation-delay: 0.4s; }
.project-tag:nth-child(4), .experience-tech-tag:nth-child(4) { animation-delay: 0.6s; }
.project-tag:nth-child(5), .experience-tech-tag:nth-child(5) { animation-delay: 0.8s; }
.project-tag:nth-child(6), .experience-tech-tag:nth-child(6) { animation-delay: 1s; }

.project-tag:hover {
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.5), rgba(107, 32, 255, 0.6));
  color: #C9A9FF;
  border-color: rgba(75, 0, 255, 0.8);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(75, 0, 255, 0.6);
  animation: none;
}

/* UI kit badge styles will enhance these */
.project-tag.ui-badge {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
.experience-section {
  padding-top: 8rem;
}

.experience-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
}

.experience-item {
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(80px) rotateX(10deg);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  background: rgba(5, 5, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(75, 0, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
  will-change: opacity, transform;
  box-sizing: border-box;
  perspective: 1000px;
  transform-style: preserve-3d;
  animation: cardFloat 6s ease-in-out infinite;
  overflow: hidden;
}

/* Dramatic spotlight */
.experience-item::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 300%;
  background: radial-gradient(ellipse at 50% 35%, 
    rgba(75, 0, 255, 0.9) 0%, 
    rgba(75, 0, 255, 0.6) 15%,
    rgba(75, 0, 255, 0.3) 30%,
    transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.experience-item:hover {
  transform: translateY(-20px) scale(1.03) rotateX(0deg);
  border-color: rgba(75, 0, 255, 1);
  background: rgba(25, 25, 55, 0.98);
  box-shadow: 0 40px 120px rgba(75, 0, 255, 0.8),
              0 0 150px rgba(75, 0, 255, 0.6),
              inset 0 -50px 100px rgba(75, 0, 255, 0.3);
  animation: none;
}

.experience-item:hover::after {
  opacity: 1;
  animation: lightFlicker 0.15s ease-out;
}

.experience-item:hover .experience-title {
  filter: brightness(2);
  text-shadow: 0 0 30px rgba(75, 0, 255, 1),
               0 0 50px rgba(75, 0, 255, 0.8);
}

.experience-item:hover .experience-company,
.experience-item:hover .experience-description,
.experience-item:hover .experience-tech-tag {
  filter: brightness(1.8);
  text-shadow: 0 0 15px rgba(75, 0, 255, 0.5);
}

.experience-item.animate-in {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.experience-header {
  margin-bottom: 1.5rem;
}

.experience-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.experience-company {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.experience-date {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

.experience-description {
  font-size: clamp(0.875rem, 1.2vw, 1.125rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
}

.experience-tech {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.experience-tech-tag {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.3), rgba(107, 32, 255, 0.4));
  border-radius: 8px;
  letter-spacing: 0.05em;
  color: #9B70FF;
  border: 1px solid rgba(75, 0, 255, 0.5);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(75, 0, 255, 0.4);
  animation: techGlow 2.5s ease-in-out infinite;
}

@keyframes techGlow {
  0%, 100% { box-shadow: 0 2px 8px rgba(75, 0, 255, 0.4); }
  50% { box-shadow: 0 4px 16px rgba(75, 0, 255, 0.7); }
}

.experience-tech-tag:hover {
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.5), rgba(107, 32, 255, 0.6));
  color: #C9A9FF;
  border-color: rgba(75, 0, 255, 0.9);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(75, 0, 255, 0.7);
  animation: none;
}

/* UI kit badge styles will enhance these */
.experience-tech-tag.ui-badge {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   EXPERIENCE PROJECTS
   ============================================ */
.experience-projects {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-projects-title {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.experience-projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.experience-project-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.experience-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #FF6B6B, #4ECDC4, #A78BFA);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.experience-project-card:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.experience-project-card:hover::before {
  transform: scaleY(1);
}

.experience-project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.experience-project-title {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin: 0;
  font-weight: 600;
}

.experience-project-year {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  white-space: nowrap;
}

.experience-project-description {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.experience-project-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.experience-project-link {
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding-top: 8rem;
}

.about-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  box-sizing: border-box;
}

@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-text {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 800px;
  will-change: opacity, transform;
}

.about-text.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, 
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.about-text {
  background: rgba(5, 5, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(75, 0, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: cardFloat 6s ease-in-out infinite;
  overflow: hidden;
}

.about-text::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 300%;
  background: radial-gradient(ellipse at 50% 35%, 
    rgba(75, 0, 255, 0.9) 0%, 
    rgba(75, 0, 255, 0.6) 15%,
    rgba(75, 0, 255, 0.3) 30%,
    transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.about-text:hover {
  transform: translateY(-10px);
  background: rgba(25, 25, 55, 0.98);
  box-shadow: 0 40px 120px rgba(75, 0, 255, 0.8),
              0 0 150px rgba(75, 0, 255, 0.6),
              inset 0 -50px 100px rgba(75, 0, 255, 0.3);
  border-color: rgba(75, 0, 255, 1);
}

.about-text:hover::after {
  opacity: 1;
  animation: lightFlicker 0.15s ease-out;
}

.about-text:hover p {
  filter: brightness(1.8);
  text-shadow: 0 0 15px rgba(75, 0, 255, 0.5);
}

.about-text p {
  margin-bottom: 2rem;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, 
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
  will-change: opacity, transform;
}

.skills-grid.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, 
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.skill-category {
  padding: 2rem;
  background: rgba(5, 5, 15, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 16px;
  border: 1px solid rgba(75, 0, 255, 0.2);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(80px) rotateX(10deg);
  perspective: 1000px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  animation: cardFloat 6s ease-in-out infinite;
}

/* Dramatic spotlight - LIGHT SWITCH */
.skill-category::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 300%;
  background: radial-gradient(ellipse at 50% 35%, 
    rgba(75, 0, 255, 0.9) 0%, 
    rgba(75, 0, 255, 0.6) 15%,
    rgba(75, 0, 255, 0.3) 30%,
    transparent 60%);
  opacity: 0;
  transition: none;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.skill-category.animate-in {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.2) 0%, rgba(107, 32, 255, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.skill-category:hover {
  transform: translateY(-20px) scale(1.05) rotateX(0deg);
  background: rgba(25, 25, 55, 0.98);
  border-color: rgba(75, 0, 255, 1);
  box-shadow: 0 40px 120px rgba(75, 0, 255, 0.8),
              0 0 150px rgba(75, 0, 255, 0.6),
              inset 0 -50px 100px rgba(75, 0, 255, 0.3);
  animation: none;
}

.skill-category:hover::after {
  opacity: 1;
  animation: lightFlicker 0.15s ease-out;
}

.skill-category:hover h3 {
  filter: brightness(2);
  text-shadow: 0 0 30px rgba(75, 0, 255, 1),
               0 0 50px rgba(75, 0, 255, 0.8);
}

.skill-category:hover .skill-tag {
  filter: brightness(1.8);
  text-shadow: 0 0 15px rgba(75, 0, 255, 0.5);
}

.skill-category:hover::before {
  opacity: 1;
}

.skill-category::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4B00FF, #6B20FF, #8B40FF, #4B00FF);
  background-size: 200% 100%;
  animation: gradientShift 2s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes morphBlob {
  0%, 100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  25% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 50% 60% 50% 60% / 70% 40% 50% 60%;
  }
  75% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

@keyframes floatBlob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(100px, -100px) scale(1.1);
  }
  66% {
    transform: translate(-100px, 100px) scale(0.9);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* UI kit card styles will enhance these */
.skill-category.ui-card {
  padding: 2rem;
}

.skill-category-title {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.98);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.skill-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.skill-item {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.15), rgba(107, 32, 255, 0.2));
  border-radius: 8px;
  border: 1px solid rgba(75, 0, 255, 0.4);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(75, 0, 255, 0.2);
}

.skill-item:hover {
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.3), rgba(107, 32, 255, 0.4));
  border-color: rgba(75, 0, 255, 0.7);
  transform: translateX(8px) scale(1.02);
  color: #C9A9FF;
  box-shadow: 0 6px 18px rgba(75, 0, 255, 0.5);
}

/* ============================================
   PUBLICATIONS SECTION
   ============================================ */
.publications-section {
  padding-top: 8rem;
}

.publications-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
}

.publication-item {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(80px) rotateX(10deg);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  background: rgba(5, 5, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(75, 0, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
  will-change: opacity, transform;
  box-sizing: border-box;
  perspective: 1000px;
  transform-style: preserve-3d;
  animation: cardFloat 6s ease-in-out infinite;
  overflow: hidden;
}

.publication-item::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 300%;
  background: radial-gradient(ellipse at 50% 35%, 
    rgba(75, 0, 255, 0.9) 0%, 
    rgba(75, 0, 255, 0.6) 15%,
    rgba(75, 0, 255, 0.3) 30%,
    transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.publication-item:hover {
  transform: translateY(-15px) scale(1.02) rotateX(0deg);
  border-color: rgba(75, 0, 255, 1);
  background: rgba(25, 25, 55, 0.98);
  box-shadow: 0 40px 120px rgba(75, 0, 255, 0.8),
              0 0 150px rgba(75, 0, 255, 0.6),
              inset 0 -50px 100px rgba(75, 0, 255, 0.3);
  animation: none;
}

.publication-item:hover::after {
  opacity: 1;
  animation: lightFlicker 0.15s ease-out;
}

.publication-item:hover .publication-title {
  filter: brightness(2);
  text-shadow: 0 0 30px rgba(75, 0, 255, 1),
               0 0 50px rgba(75, 0, 255, 0.8);
}

.publication-item:hover .publication-authors,
.publication-item:hover .publication-venue,
.publication-item:hover .publication-abstract,
.publication-item:hover .publication-tag {
  filter: brightness(1.8);
  text-shadow: 0 0 15px rgba(75, 0, 255, 0.5);
}

.publication-item.animate-in {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.publication-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.publication-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin: 0;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 200px;
  position: relative;
  z-index: 1;
}

.publication-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.publication-type,
.publication-status {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.publication-year {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  letter-spacing: 0.01em;
}

.publication-authors {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.publication-venue {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  color: rgba(139, 96, 255, 0.95);
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.publication-abstract {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.publication-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.publication-link {
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.publication-tags {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.publication-tag {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.3), rgba(107, 32, 255, 0.4));
  border-radius: 8px;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #9B70FF;
  transition: all 0.3s ease;
  border: 1px solid rgba(75, 0, 255, 0.5);
  box-shadow: 0 2px 8px rgba(75, 0, 255, 0.4);
  animation: tagPulse 3s ease-in-out infinite;
}

.publication-tag:hover {
  background: linear-gradient(135deg, rgba(75, 0, 255, 0.5), rgba(107, 32, 255, 0.6));
  color: #C9A9FF;
  border-color: rgba(75, 0, 255, 0.8);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(75, 0, 255, 0.6);
  animation: none;
}

/* ============================================
   AWARDS SECTION
   ============================================ */
.awards-section {
  padding-top: 8rem;
}

.awards-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .awards-container {
    grid-template-columns: 1fr;
  }
}

.award-item {
  opacity: 0;
  transform: translateY(80px) rotateX(10deg);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  background: rgba(5, 5, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(75, 0, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
  will-change: opacity, transform;
  box-sizing: border-box;
  perspective: 1000px;
  transform-style: preserve-3d;
  animation: cardFloat 6s ease-in-out infinite;
  overflow: hidden;
}

.award-item::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 300%;
  background: radial-gradient(ellipse at 50% 35%, 
    rgba(75, 0, 255, 0.9) 0%, 
    rgba(75, 0, 255, 0.6) 15%,
    rgba(75, 0, 255, 0.3) 30%,
    transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.award-item:hover {
  transform: translateY(-15px) scale(1.05) rotateX(0deg);
  border-color: rgba(75, 0, 255, 1);
  background: rgba(25, 25, 55, 0.98);
  box-shadow: 0 40px 120px rgba(75, 0, 255, 0.8),
              0 0 150px rgba(75, 0, 255, 0.6),
              inset 0 -50px 100px rgba(75, 0, 255, 0.3);
  animation: none;
}

.award-item:hover::after {
  opacity: 1;
  animation: lightFlicker 0.15s ease-out;
}

.award-item:hover .award-title {
  filter: brightness(2);
  text-shadow: 0 0 30px rgba(75, 0, 255, 1),
               0 0 50px rgba(75, 0, 255, 0.8);
}

.award-item:hover .award-organization,
.award-item:hover .award-description {
  filter: brightness(1.8);
  text-shadow: 0 0 15px rgba(75, 0, 255, 0.5);
}

.award-item.animate-in {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.award-item:nth-child(1) { animation-delay: 0s; }
.award-item:nth-child(2) { animation-delay: 0.6s; }
.award-item:nth-child(3) { animation-delay: 1.2s; }
.award-item:nth-child(4) { animation-delay: 1.8s; }
.award-item:nth-child(5) { animation-delay: 2.4s; }
.award-item:nth-child(6) { animation-delay: 3s; }

.award-header {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.award-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin: 0;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.award-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem;
}

.award-category {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.award-date {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  letter-spacing: 0.01em;
}

.award-organization {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  color: rgba(139, 96, 255, 0.95);
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.award-description {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

/* ============================================
   RESUME SECTION
   ============================================ */
.resume-section {
  padding-top: 8rem;
}

.resume-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: rgba(5, 5, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(75, 0, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
  box-sizing: border-box;
  width: 100%;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: cardFloat 6s ease-in-out infinite;
  overflow: hidden;
}

.resume-content::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 300%;
  background: radial-gradient(ellipse at 50% 35%, 
    rgba(75, 0, 255, 0.9) 0%, 
    rgba(75, 0, 255, 0.6) 15%,
    rgba(75, 0, 255, 0.3) 30%,
    transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.resume-content:hover {
  transform: translateY(-10px);
  background: rgba(25, 25, 55, 0.98);
  box-shadow: 0 40px 120px rgba(75, 0, 255, 0.8),
              0 0 150px rgba(75, 0, 255, 0.6),
              inset 0 -50px 100px rgba(75, 0, 255, 0.3);
  border-color: rgba(75, 0, 255, 1);
}

.resume-content:hover::after {
  opacity: 1;
  animation: lightFlicker 0.15s ease-out;
}

.resume-content:hover h2 {
  filter: brightness(2);
  text-shadow: 0 0 30px rgba(75, 0, 255, 1),
               0 0 50px rgba(75, 0, 255, 0.8);
}

.resume-content:hover p {
  filter: brightness(1.8);
  text-shadow: 0 0 15px rgba(75, 0, 255, 0.5);
}

.resume-description {
  font-size: clamp(0.875rem, 1.2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.8;
}

.resume-description.animate-in {
  opacity: 0.9;
  transform: translateY(0);
}

.resume-button {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.resume-button.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* UI kit styles will handle the button appearance */
.resume-button.ui-button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.resume-button.ui-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.resume-button-icon {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.resume-button:hover .resume-button-icon {
  transform: translateY(3px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding-top: 8rem;
  min-height: 80vh;
}

.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: rgba(5, 5, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(75, 0, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
  box-sizing: border-box;
  width: 100%;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: cardFloat 6s ease-in-out infinite;
  overflow: hidden;
}

.contact-content::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 300%;
  background: radial-gradient(ellipse at 50% 35%, 
    rgba(75, 0, 255, 0.9) 0%, 
    rgba(75, 0, 255, 0.6) 15%,
    rgba(75, 0, 255, 0.3) 30%,
    transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.contact-content:hover {
  transform: translateY(-10px);
  background: rgba(25, 25, 55, 0.98);
  box-shadow: 0 40px 120px rgba(75, 0, 255, 0.8),
              0 0 150px rgba(75, 0, 255, 0.6),
              inset 0 -50px 100px rgba(75, 0, 255, 0.3);
  border-color: rgba(75, 0, 255, 1);
}

.contact-content:hover::after {
  opacity: 1;
  animation: lightFlicker 0.15s ease-out;
}

.contact-content:hover h2 {
  filter: brightness(2);
  text-shadow: 0 0 30px rgba(75, 0, 255, 1),
               0 0 50px rgba(75, 0, 255, 0.8);
}

.contact-content:hover p {
  filter: brightness(1.8);
  text-shadow: 0 0 15px rgba(75, 0, 255, 0.5);
}

.contact-description {
  font-size: clamp(0.875rem, 1.2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.8;
}

.contact-description.animate-in {
  opacity: 0.9;
  transform: translateY(0);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  min-width: 280px;
  max-width: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
  will-change: opacity, transform;
}

.contact-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.contact-link.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-link:nth-child(1) { transition-delay: 0.1s; }
.contact-link:nth-child(2) { transition-delay: 0.2s; }
.contact-link:nth-child(3) { transition-delay: 0.3s; }
.contact-link:nth-child(4) { transition-delay: 0.4s; }

.contact-link:hover {
  background: rgba(0, 0, 0, 0.95);
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.contact-link:hover::before {
  left: 100%;
}

.contact-link:nth-child(1):hover {
  border-color: rgba(75, 0, 255, 0.9);
  box-shadow: 0 16px 40px rgba(75, 0, 255, 0.7);
}

.contact-link:nth-child(2):hover {
  border-color: rgba(107, 32, 255, 0.9);
  box-shadow: 0 16px 40px rgba(107, 32, 255, 0.7);
}

.contact-link:nth-child(3):hover {
  border-color: rgba(123, 64, 255, 0.9);
  box-shadow: 0 16px 40px rgba(123, 64, 255, 0.7);
}

.contact-link:nth-child(4):hover {
  border-color: rgba(139, 96, 255, 0.9);
  box-shadow: 0 16px 40px rgba(139, 96, 255, 0.7);
}

.contact-link-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.contact-link-value {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  opacity: 0.5;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.footer-text {
  font-size: 0.875rem;
}

/* ============================================
   BACKGROUND CANVAS
   ============================================ */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ============================================
   GRAPHICS LAYERS
   ============================================ */
.graphics-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
}

#particles-canvas {
  z-index: 0;
  opacity: 0.8;
  mix-blend-mode: screen;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
}

#helix-canvas {
  z-index: 5;
  opacity: 1;
  pointer-events: none;
  background: transparent;
  mix-blend-mode: normal;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
}

/* ============================================
   FLOATING SHAPES (3D GEOMETRIC SHAPES)
   ============================================ */
.floating-shapes-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  perspective: 1000px;
  opacity: 0.1;
}

.floating-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.1s linear;
}

.floating-shape-cube {
  border-radius: 0;
  transform: translate(-50%, -50%) 
             translateZ(var(--z, 0)) 
             rotateX(var(--rotateX, 0deg)) 
             rotateY(var(--rotateY, 0deg)) 
             rotateZ(var(--rotateZ, 0deg))
             scale(var(--scale, 1));
  transition: transform 0.1s linear;
}

.floating-shape-sphere {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  transform: translate(-50%, -50%) 
             translateZ(var(--z, 0)) 
             rotateX(var(--rotateX, 0deg)) 
             rotateY(var(--rotateY, 0deg)) 
             rotateZ(var(--rotateZ, 0deg))
             scale(var(--scale, 1));
  transition: transform 0.1s linear;
}

.floating-shape-pyramid {
  border: none;
  background: transparent;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transform: translate(-50%, -50%) 
             translateZ(var(--z, 0)) 
             rotateX(var(--rotateX, 0deg)) 
             rotateY(var(--rotateY, 0deg)) 
             rotateZ(var(--rotateZ, 0deg))
             scale(var(--scale, 1));
  transition: transform 0.1s linear;
}

.floating-shape-octahedron {
  border: none;
  background: transparent;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: translate(-50%, -50%) 
             translateZ(var(--z, 0)) 
             rotateX(var(--rotateX, 0deg)) 
             rotateY(var(--rotateY, 0deg)) 
             rotateZ(var(--rotateZ, 0deg))
             scale(var(--scale, 1));
  transition: transform 0.1s linear;
}

/* ============================================
   CURSOR EFFECTS
   ============================================ */
.cursor-trail {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  mix-blend-mode: difference;
  opacity: 0;
}

.cursor-trail.active {
  opacity: 1;
  width: 40px;
  height: 40px;
  border-color: rgba(255, 255, 255, 0.8);
}

.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(75, 0, 255, 0.25) 0%, rgba(75, 0, 255, 0.15) 30%, rgba(107, 32, 255, 0.08) 60%, transparent 80%);
  opacity: 0;
  transition: opacity 0.5s ease, width 0.5s ease, height 0.5s ease;
  filter: blur(60px);
  mix-blend-mode: screen;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

.cursor-glow.active {
  opacity: 1;
  width: 700px;
  height: 700px;
}

.cursor-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

.trail-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: particleFade 1s ease-out forwards;
  mix-blend-mode: difference;
}

@keyframes particleFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}

/* Hide cursor trail on mobile */
@media (max-width: 768px) {
  .cursor-trail,
  .cursor-particles {
    display: none;
  }
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loader-number {
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.5s ease;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.loader-3d-demo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.accelerate {
  will-change: transform;
  transform: translateZ(0);
}

/* Smooth scrolling for everything */
* {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* Hardware acceleration for smooth animations */
.project-wrapper,
.skill-category,
.experience-item,
.about-text,
.resume-content,
.contact-content,
.contact-link {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav {
    top: 1rem;
    right: 1rem;
    gap: 1rem;
    font-size: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    white-space: normal;
    max-width: 95%;
  }

  .projects-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .project-item {
    max-width: 100%;
    min-height: auto;
  }

  .project-wrapper {
    width: 100%;
  }

  .project-inner {
    height: 250px;
  }

  .project-info {
    padding: 1.5rem;
  }
  
  .project-title {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  
  .project-description {
    font-size: 0.875rem;
  }
  
  .project-title-row {
    gap: 1rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-link {
    min-width: 100%;
  }

  .section-description {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  
  .experience-title {
    font-size: 1.5rem;
    line-height: 1.4;
  }
  
  .skill-category-title {
    font-size: 1rem;
  }
}

