* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    color: #fff;
    background: #0a0a0a;
  }
  
  .background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
  }
  
  #particles { width: 100%; height: 100%; opacity: 0.6; }
  
  .container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 2rem 5%;
    background: rgba(10, 10, 15, 0.45);
    backdrop-filter: blur(20px);
  }
  
  /* Header */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 4rem;
  }
  
  .logo a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: -2px;
    text-decoration: none;
  }
  
  .glow {
    background: linear-gradient(90deg, #00f5ff, #ff00ff, #00f5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: gradientShift 6s linear infinite;
  }
  
  nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 2.5rem;
    font-weight: 500;
    position: relative;
  }
  
  nav a:hover {
    color: #00f5ff;
  }
  
  nav a.active {
    color: #00f5ff;
  }
  
  nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(to right, #00f5ff, #ff00ff);
    transition: width 0.4s ease;
  }
  
  nav a:hover::after, nav a.active::after { width: 100%; }
  
  /* Portfolio Hero */
  .portfolio-hero {
    text-align: center;
    margin-bottom: 5rem;
  }
  
  .title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3.2rem, 8vw, 6rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -3px;
    margin-bottom: 1.2rem;
  }
  
  .gradient-text {
    background: linear-gradient(90deg, #00f5ff, #a855f7, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .subtitle {
    font-size: 1.35rem;
    color: #a0a0cc;
    max-width: 620px;
    margin: 0 auto;
  }
  
  /* Portfolio Grid */
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
  }
  
  .portfolio-card {
    background: rgba(20, 20, 35, 0.85);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
  }
  
  .portfolio-card:hover {
    transform: translateY(-12px);
    border-color: #a855f7;
    box-shadow: 0 30px 60px rgba(168, 85, 247, 0.2);
  }
  
  .card-image {
    height: 260px;
    position: relative;
    overflow: hidden;
  }
  
  .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
  }
  
  .project-tag {
    background: rgba(0,0,0,0.6);
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 0.85rem;
    backdrop-filter: blur(8px);
  }
  
  .card-content {
    padding: 1.8rem;
  }
  
  .card-content h3 {
    font-size: 1.45rem;
    margin-bottom: 0.4rem;
  }
  
  .category {
    color: #00f5ff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
  }
  
  .description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
  }
  
  .tags span {
    background: rgba(255,255,255,0.08);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.8rem;
  }
  
  .view-project {
    color: #00f5ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .view-project:hover {
    color: #ff00ff;
    letter-spacing: 0.5px;
  }
  
  /* Footer */
  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    color: #777;
    margin-top: 6rem;
  }
  
  .heart { color: #ff3366; animation: heartbeat 1.5s infinite; }
  
  /* Animations */
  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  @keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
  }
  
  @media (max-width: 768px) {
    .portfolio-grid {
      grid-template-columns: 1fr;
    }
  }